When a message is to be sent through an SMTP server that requires authentication, AfterLogic XMail Server provides ability to handle this task if the 'userauth/smtp' subdirectory is set up properly.
Suppose a mail is to be sent through the SMTP server 'mail.foo.net'. This makes AfterLogic XMail Server to search for a file named (inside userauth/smtp):
'mail.foo.net.tab'
then:
'foo.net.tab'
then:
'net.tab'
If one of these files is found, its content is used to authenticate the SMTP client session. The structure of this file, as the extension says, is the TAB one used for most of the configuration files inside AfterLogic XMail Server. Only the first valid line (uncommented #) is used to choose the authentication method and lines has this format:
"auth-type"[TAB]"param1"...[TAB]"paramN"[NEWLINE]
Valid lines are:
"PLAIN" "username" "password"
or
"LOGIN" "username" "password"
or
"CRAM-MD5" "username" "password"