B
BritainC
Guest
I just upgraded to v9.2.3 today (I figured it would be a quick thing, oh well). I had many issues with the upgrade, most of which I believe I have worked out. Last one is that it appears as though the authpsa library will accept mail account alias names as valid account names, and if the password provided matches the password of the account associated with the alias then it allows that to pass. But it doesn't all the way work, it puts an error like the following in the maillog:
Dec 24 19:57:50 vps imapd: IMAP connect from @ [nnn.nnn.nnn.nnn]chdir "/var/qmail/mailnames/domain.com/alias_name": No such file or directory
So what it does is find the first mail account or alias (not sure what the ordering criteria is) that matches both the provided name and password. It then tried to find the path associated with the mail account. The problem is that if it found an alias, there is no directory to find.
Can someone else try this and confirm or not? Easiest way to test is use telnet to 110 on your server with the USER and PASS commands to perform a login. It will either says "+OK logged in", "-ERR Login failed." or it will immediately drop the connection. The latter indicates that it tried to authenticate using an alias and failed to find the qmail maildir folder.
Should the /usr/local/psa/admin/bin/mail_auth_view app include mail aliases?
Dec 24 19:57:50 vps imapd: IMAP connect from @ [nnn.nnn.nnn.nnn]chdir "/var/qmail/mailnames/domain.com/alias_name": No such file or directory
So what it does is find the first mail account or alias (not sure what the ordering criteria is) that matches both the provided name and password. It then tried to find the path associated with the mail account. The problem is that if it found an alias, there is no directory to find.
Can someone else try this and confirm or not? Easiest way to test is use telnet to 110 on your server with the USER and PASS commands to perform a login. It will either says "+OK logged in", "-ERR Login failed." or it will immediately drop the connection. The latter indicates that it tried to authenticate using an alias and failed to find the qmail maildir folder.
Should the /usr/local/psa/admin/bin/mail_auth_view app include mail aliases?