Am 08.01.2013 16:43, schrieb Urban Loesch:
For this you don't need dovecot on your site.
I use it as follows on my debian lenny. installed packages: postfix, libsasl2-modules needed main.cf configuration options:
... relayhost = [the.relayserver.com] smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd smtp_use_tls = yes smtp_sasl_security_options = noanonymous
but he wants to use dovecot and uninstall cyrus-sasl-lib for whatever reason - it makes sense to use dovecot for SASL auth to make sure using the same auth-mechs and password databases in SMTP / IMAP / POP3
but i see no sense in using dovecot here
you do NOT want to authenticate with your passwords on a foreign server nor leave the option to this due accident