• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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