• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Cannot authenticate via SMTP for mail users with only-forwarded e-mail address

Peter77

New Pleskian
I use Plesk 10.2 on "Linux 2.6.18-028stab091.2" with standard mail settings (postfix)

For a domain hosted on the server (be it "example.com") I created a mail address info@example.com, which is forwarded to another mail address.

The user for this mail address cannot authenticate via smtp to send mails.

See this telnet session:

telnet xx.xx.xx.xx 25
Trying xx.xx.xx.xx...
Connected to xx.xx.xx.xx.
Escape character is '^]'.
220 myserver.com ESMTP Postfix (Ubuntu)
EHLO example.com
250-myserver.com
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-AUTH PLAIN DIGEST-MD5 LOGIN CRAM-MD5
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
auth login
334 VXNlcm5hbWU6
mymimeencodedusername
334 UGFzc3dvcmQ6
mymimeencodedpassword
535 5.7.8 Error: authentication failed: authentication failure
quit
221 2.0.0 Bye

And this is from the mail.info log:
Nov 4 14:28:44 xxxx plesk_saslauthd[24338]: listen=6, status=5, dbpath='/plesk/passwd.db', chroot=1, unprivileged=1
Nov 4 14:28:44 xxxx plesk_saslauthd[24338]: privileges set to (108:111) (effective 108:111)
Nov 4 14:28:44 xxxx plesk_saslauthd[24338]: No such user 'info@example.com' in mail authorization database
Nov 4 14:28:44 xxxx plesk_saslauthd[24338]: failed mail authenticatication attempt for user 'info@example.com' (password len=15)
Nov 4 14:28:44 xxxx postfix/smtpd[24308]: warning: myip[yy.yy.yy.yy]: SASL login authentication failed: authentication failure

I looked into passwd.db with sqlite3, there is no user for my domain.


Users for mail-addresses with a mailbox can use smtp. I expect that for users without mailboxes, too.
 
Back
Top