On Wed, 9 Jan 2019 at 13:09, Jacky <ja...@jesstech.com> wrote: > Hi Gerald, > > in my postfix/main.cf > > smtpd_sasl_authenticated_header = yes > smtpd_sasl_security_options = noanonymous > smtpd_sasl_local_domain = $myhostname > smtpd_sasl_type = dovecot > smtpd_sasl_path = /var/run/dovecot/auth-client > broken_sasl_auth_clients = yes > > I am already using dovecot for SASL > > The dovecot submission service authenticates users and already added the > AUTH= parameter in the MAIL FROM > > MAIL FROM:<ja...@xxx.com> AUTH=ja...@xxx.com SIZE=1430 > > But, it seems that postfix does not accept the AUTH= parameter and > reject the sender as no logged in. > > > Best regards, > > Jacky > > Hi Jacky,
Your question belongs to postfix mailinng list. Anyway, the last time I was playing with postfix (I am an Exim user normally), I had to check that: smtpd_sasl_path = /var/run/dovecot/auth-client ..the socket is readable by the postfix user: So, check 10-master.conf for the socket. Something like: # Postfix smtp-auth unix_listener var/run/dovecot/auth-client { mode = 0666 } Restart dovecot and see... You can read the https://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)