Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 12:02:22 +0100
From:      Simon Barner <barner@in.tum.de>
To:        Martin Hudec <corwin@aeternal.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Postfix+TLS+SASL
Message-ID:  <20040127110222.GB10820@zi025.glhnet.mhn.de>
In-Reply-To: <200401261507.15378.corwin@aeternal.net>
References:  <200401261507.15378.corwin@aeternal.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--C7zPtVaVf+AK4Oqc
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Martin,

I am using almost the same setup, but with sasl version 1 (I selected
only sasl1 and ssl/tls support in the postfix port).

My /usr/local/etc/postfix/saslpasswd file looks like this (you need to
create a .db file with `postmap')

<domain name of mail server or ip-adress>    <user name>:<password>

My main.cf is as follows

--- main.cf ---
inet_interfaces =3D localhost
relayhost =3D <your mail relay>
myorigin=3D $mydomain=20
mydestination =3D localhost localhost.my.domain hostname hostname.my.domain=
=20

virtual_maps =3D hash:/usr/local/etc/postfix/virtual
alias_maps =3D hash:/etc/mail/aliases
alias_database =3D hash:/etc/mail/aliases

sender_canonical_maps =3D hash:/usr/local/etc/postfix/sender_canonical
readme_directory =3D no
append_at_myorigin=3Dyes
append_dot_mydomain=3Dyes

sample_directory =3D /usr/local/etc/postfix
sendmail_path =3D /usr/local/sbin/sendmail
command_directory =3D /usr/local/sbin
manpage_directory =3D /usr/local/man
daemon_directory =3D /usr/local/libexec/postfix
newaliases_path =3D /usr/local/bin/newaliases
mailq_path =3D /usr/local/bin/mailq
queue_directory =3D /var/spool/postfix

setgid_group =3D maildrop
mail_owner =3D postfix
unknown_local_recipient_reject_code =3D 450

#SMTP Auth
smtp_sasl_auth_enable =3D no
smtp_sasl_security_options =3D
smtp_sasl_password_maps =3D hash:/usr/local/etc/postfix/saslpasswd
smtp_tls_note_starttls_offer =3D yes
smtp_tls_loglevel =3D 0

------

There's no need to run a sasld daemon (check /usr/local/etc/rc.d whether
the port installed a start-up script there).

Simon

--C7zPtVaVf+AK4Oqc
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAFkU+Ckn+/eutqCoRAsdMAKCSvpkBropMAwNdUkLvTiVg3hyY0ACeI+4f
T92M4KCG5dBUm7HreMCWrLA=
=TQQl
-----END PGP SIGNATURE-----

--C7zPtVaVf+AK4Oqc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040127110222.GB10820>