Hi all,
I'd like to configure my postfix mailserver (running under FreeBSD v7.0) to relay outgoing email to an external mailserver for final delivery.
I found this page with the Google:
SMTP Authentication for Mail servers
Quote:
SMTP AUTH for mail server is a feature that is often required to relay mail through other mail servers. To enable SMTP AUTH for Postfix, acting as mail client in this scenario, you need to do the following steps:
|
The instructions appear straightforward: creating the saslpasswd file, and adding these lines to main.cf:
Code:
# SASL SUPPORT FOR SERVERS
#
# The following options set parameters needed by Postfix to enable
# Cyrus-SASL support for authentication of mail servers.
#
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/saslpass
smtp_sasl_security_options =
Then I restarted postfix.
Postfix reloads OK, but when I try to send a mail I get an error message in maillog:
Code:
Sep 19 15:07:07 venus postfix/postfix-script[75167]: refreshing the Postfix mail system
Sep 19 15:07:07 venus postfix/master[94963]: reload -- version 2.6.5, configuration /usr/local/etc/postfix
Sep 19 15:07:19 venus postfix/smtpd[75183]: connect from ariel[192.168.1.2]
Sep 19 15:07:19 venus postfix/smtpd[75183]: 2ED055C1E: client=ariel[192.168.1.2]
Sep 19 15:07:19 venus postfix/cleanup[75187]: 2ED055C1E: message-id=<4AB4D790.2080908@example.com>
Sep 19 15:07:19 venus postfix/qmgr[75171]: 2ED055C1E: from=<me@example.com>, size=1047, nrcpt=1 (queue active)
Sep 19 15:07:19 venus postfix/smtp[75188]: warning: unsupported SASL client implementation: cyrus
Sep 19 15:07:19 venus postfix/smtp[75188]: fatal: SASL library initialization
Sep 19 15:07:19 venus postfix/smtpd[75183]: disconnect from ariel[192.168.1.2]
Sep 19 15:07:20 venus postfix/master[94963]: warning: process /usr/local/libexec/postfix/smtp pid 75188 exit status 1
Sep 19 15:07:20 venus postfix/master[94963]: warning: /usr/local/libexec/postfix/smtp: bad command startup -- throttling
Googling a bit, I find this command tells me, according to the man page, "List the available SASL client plug-in types."
returns nothing alas, even though I explicitly ran
make config and recompiled postfix explicitly with Cyrus support:
Code:
Options for postfix 2.6.5,1
│
[...]
[X] SASL2 Cyrus SASLv2 (Simple Auth. and Sec. Layer)
[X] DOVECOT Dovecot SASL authentication method
[...]
What am I missing here?
Thanks