On 6/29/2014 8:36 AM, Jerry wrote: > Okay, I know I am doing something really stupid, but I am not sure what. > > I have "smtp_sasl_password_maps=hash:/usr/local/etc/postifx/sasl_passwd" > > Now, when I run "postmap hash:sasl_passwd" I receive an error about > "duplicate entry:" > > The file file looks like this: > > # /usr/local/etc/postfix/sasl_passwd file > # Used by Postfix > > [homie.mail.dreamhost.com]:587 u...@stemnc.org:Secret > [mail.twc.com]:587 u...@nc.rr.com:Secret > [mail.twc.com]:587 us...@nc.rr.com:Secret_2 > [smtp.gmail.com]:587 us...@gmail.com:Secret3 > [smtp.gmail.com]:587 us...@gmail.com:Secret_5
This file must have each host listed only once. You have hosts listed multiple times, which triggers the error about duplicate entries. If you need different credentials for different senders, please see: http://www.postfix.org/SASL_README.html#client_sasl_sender -- Noel Jones