[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix relay smtp authentication



On Tue, Dec 05, 2006 at 09:27:45PM -0600, Ron Johnson wrote:
> On 12/05/06 18:55, Roberto C. Sanchez wrote:
> > 
> > Here is what I have done when I had an ISP that required SMTP AUTH:
> > 
> > # cat /etc/postfix/sasl_passwd
> > upstream.mail.exchange                user@isp.tld:password
> 
> Can you have multiple entries, one per user?
> 
I don't think so.  You can check the docs to be sure, though.

> > # grep -r sasl_passwd /etc/postfix/
> > /etc/postfix/main.cf:smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> > 
> > Then, make sure to run:
> > 
> > # postmap hash:/etc/postfix/sasl_passwd
> > 
> > This should leave you with a file called /etc/postfix/sasl_passwd.db
> > which postfix which actually use as the source of the authentication
> > information.
> > 
> > Also, make sure that the sasl_passwd and sasl_passwd.db have mode 600
> 
> So the password would be in cleartext?
> 
Yes.  I'm not aware of another to do this, which is why I don't like it.

> > and that you have libsasl2-modules installed.
> 
Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: