Postfix-tls and client smtp auth
Tony Arnold
tony.arnold at manchester.ac.uk
Mon Apr 18 06:47:00 UTC 2005
David,
On Sun, 2005-04-17 at 21:28 -0400, David Rasch wrote:
> I'm running (K)Ubuntu 5.04 Hoary and I've been attempting to get my
> postfix installation to authenticate with my outgoing smtp server so
> that it might send me email from wherever my laptop is connected.
>
> In any case, I've installed the following packages:
>
> postfix-tls
> libsasl2
> libsasl2-modules (which contains both the PLAIN and DIGEST MD5
> authentication modules I'm used to installing in debian as
> separate packages)
>
> I've added the following tweaked my postfix configuration as follows...
>
> /etc/postfix/main.cf:
> smtp_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> smtp_sasl_mechanism_filter = plain, login
I've just doing this on my system and got it to work. The lines in my
main.cf look like this:
#
# SASL Support for servers
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
I didn't do anything with mechanism filter. Note the the file
sasl_passwd should be owned by root and have permission bits of 600 set.
> /etc/postfix/sasl_passwd:
> server_name user:pass
>
> and I run "postmap sasl_passwd".
I did 'postmap hash:sasl_passwd' here. Not sure if hash: is the default.
Presumably you did a postfix reload after making the changes?
Regards,
Tony.
--
Tony Arnold, IT Security Coordinator, University of Manchester,
Manchester Computing, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users
mailing list