« Postfix en tant que relay » : différence entre les versions

Aller à la navigation Aller à la recherche
aucun résumé des modifications
(Page créée avec « <pre>aptitude install postfix</pre> Configuez le en tant que "internet with smarthost". Dans SMTP Relay Host, entrez l'hostname:port que vous souhaitez utiliser comme smt... »)
 
Aucun résumé des modifications
Ligne 4 : Ligne 4 :


<pre>
<pre>
echo "login@domain:password" > /etc/postfix/smarthost_passwd
echo "login@domain password" > /etc/postfix/smarthost_passwd
chown root:root /etc/postfix/smarthost_passwd
chown root:root /etc/postfix/smarthost_passwd
chmod 600 /etc/postfix/smarthost_passwd
chmod 600 /etc/postfix/smarthost_passwd
Ligne 16 : Ligne 16 :
smtp_sasl_password_maps = hash:/etc/postfix/smarthost_passwd
smtp_sasl_password_maps = hash:/etc/postfix/smarthost_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_security_options = noanonymous
</pre>
<pre>
/etc/init.d/postfix restart
</pre>
</pre>
4 231

modifications

Menu de navigation