• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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 [email protected], 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 '[email protected]' in mail authorization database
Nov 4 14:28:44 xxxx plesk_saslauthd[24338]: failed mail authenticatication attempt for user '[email protected]' (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