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

Re: postfix relay smtp authentication



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/05/06 18:55, Roberto C. Sanchez wrote:
> On Wed, Dec 06, 2006 at 12:13:26AM +0100, Martin Fuzzey wrote:
>> Hi,
>>
>> I have been succesfully running postfix on Sarge as a local mailserver 
>> relaying all outbound mail (from multiple internal accounts) to my ISP.
>>
>> However my ISP has just decided to require SMTP authentication.
>>
> 
> 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?

> # 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?

> and that you have libsasl2-modules installed.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFdjixS9HxQb37XmcRAqMRAKCIB3wkmh3NHiKpF26OeZZQiJTyfQCguDTK
bUB5ZbFClzHz7cA74+fSDPo=
=kzzP
-----END PGP SIGNATURE-----



Reply to: