Carlo Gambino
19th July 2008, 18:33
Hello All,
I have been toying with the idea of hosting my own server recently and stumbled upon falko's tutorial with Ubuntu. I have been going pretty well but have run into trouble with configuring postfix.
Page 5 directs the following changes to the postfix config:
postconf -e 'smtpd_sasl_local_domain ='
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'broken_sasl_auth_clients = yes'
postconf -e 'smtpd_sasl_authenticated_header = yes'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination'
postconf -e 'inet_interfaces = all'
echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf
However, when I attempt to do this, I get:
postconf -e 'smtpd_sasl_local_domain ='
>postconf -e 'smtpd_sasl_auth_enable = yes'
postconf: fatal: edit accepts no multi-line input
Where am I going wrong?
I have been toying with the idea of hosting my own server recently and stumbled upon falko's tutorial with Ubuntu. I have been going pretty well but have run into trouble with configuring postfix.
Page 5 directs the following changes to the postfix config:
postconf -e 'smtpd_sasl_local_domain ='
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'broken_sasl_auth_clients = yes'
postconf -e 'smtpd_sasl_authenticated_header = yes'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination'
postconf -e 'inet_interfaces = all'
echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf
However, when I attempt to do this, I get:
postconf -e 'smtpd_sasl_local_domain ='
>postconf -e 'smtpd_sasl_auth_enable = yes'
postconf: fatal: edit accepts no multi-line input
Where am I going wrong?