Posts: 0
Threads: 1
Joined: Dec 2024
Reputation:
0
I was going nuts with the "SASL authentication failure: Password verification failed" message until I discovered the Courier Pop verification was using the email field in authmysql for the username<br /><br />> MYSQL_MAILDIR_FIELD CONCAT(SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/')<br /><br />and /etc/pam.d/smtp used the mailusername field:<br /><br />> auth required pam_mysql.so user=ehcp passwd=".$params['ehcppass']." host=127.0.0.1 db=ehcp table=emailusers usercolumn=mailusername passwdcolumn=password crypt=1<br /><br />since the mailusername field is only the user without the domainname portion, my outlook and thunderbird clients failed when sending messages since i used the "user at domain" format for both pop and smtp.<br /><br />This can also cause problems if I want the same user name for more than one domain (for example postmaster and abuse).<br /><br />Will there be any issue if I change /etc/pam.d/smtp to use email instead of mailusername to ensure unique names?
Restored from old drupal forum, for user uid:137 username:cannonfodder
You may reset your password to access your new account here.
Posts: 1,386
Threads: 252
Joined: Dec 2024
Reputation:
0
Normally many domains may use info@domainname for example.
This is supported in ehcp.
i will check again if there is something that i miss, write here again after check..
Restored from old drupal forum, for user uid:137 username:cannonfodder
You may reset your password to access your new account here.
Posts: 0
Threads: 1
Joined: Dec 2024
Reputation:
0
EHCP is working perfectly for me on 7.10.
In /etc/default/saslauthd the name PARAMS had to be replaced with OPTIONS, but the parameters remained the same. This was the only change needed to the "canned" package.
I did change /etc/pam.d/smtp to use "email" instead of "emailusers" as the field name to read. It worked even before I changed this, but I had to use just the user name instead of the username.domain that was used for the POP client. Now both use username.domain.
Thank you for this great software. It makes installing a mail server child's play.
Now I can address adding SpamAssassin!!
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Posts: 0
Threads: 1
Joined: Dec 2024
Reputation:
0
Correction --
I did change /etc/pam.d/smtp to use "email" instead of "mailusername" as the field name to read. It worked even before I changed this, but I had to use just the user name instead of the username.domain that was used for the POP client. Now both use username.domain.
Restored from old drupal forum, for user uid:137 username:cannonfodder
You may reset your password to access your new account here.
Posts: 0
Threads: 2
Joined: Dec 2024
Reputation:
0
Using Version: 0.29.09.
This makes the setting to be unconsistant : full email address for IMAP or POP but only mailusername without @domain for sending.
Restored from old drupal forum, for user uid:137 username:cannonfodder
You may reset your password to access your new account here.