Submitted by arjones85 on Wed, 10/07/2009 - 00:52
When you select for a virtual server to use the "user@domain" format for usernames under Server Templates > Default Settings > Mail for domain.... IMAP and POP3 work correctly, however under CentOS saslauthd never gets the correct "-r" flag needed for SMTP authentication to work with that format for usernames.
/etc/sysconfig/saslauthd:
Additional flags to pass to saslauthd on the command line. See saslauthd(8) for the list of accepted flags. FLAGS=-r
"-r" needs to be added to the FLAGS configuration section there.
Status:
Active
Comments
Yes, there's a FAQ about this:
http://www.virtualmin.com/documentation/email/faq#what_s_the_deal_with_i...
I've considered making it the default, but I've never been able to find information on what the repercussions of that change might be (if it were a reasonable and safe default, it seems like it would be the default in saslauthd already). So, I punted and simply documented it.
Submitted by arjones85 on Wed, 10/07/2009 - 09:37 Comment #2
I understand there's a FAQ about it, however at least on CentOS the user@domain authentication is essentially broken until we add this flag in. I would think Virtualmin should do this for us when we select to use "user@domain".
No need for it to be the default, just add -r to the FLAGS= for us in the saslauthd file if/when we select the "user@domain" option.
Submitted by arjones85 on Thu, 04/01/2010 - 01:13 Comment #3
Just curious what the status is on this particular issue? I still feel strongly that /etc/sysconfig/saslauthd should be automatically edited for us whenever we select the user@domain format.