[linux] Re: Postfix mail via andere server

Richard Klein Leugemors rkl op xs4all.nl
Di Jun 21 17:25:13 CEST 2005


Gerard wrote:

> Nu vraag ik me af of het mogelijk is om Postfix
> niet zelf te laten mailen, maar z'n mail via
> een andere server te laten sturen.

In /etc/postfix/main.cf:

relayhost = smtp.whatever.nl

> Een ander  probleem in deze is dat de server in kwestie SMTP
> authenticatie nodig heeft om iets door te laten.

In /etc/postfix/main.cf:

smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

En vervolgens in /etc/postfix/sasl_passwd:

smtp.whatever.nl       login:password

Daarna nog even "postmap sasl_passwd" en "postfix reload" en dan zou 't 
moeten werken.

-- 
|)egards
|\ichard

rkl op xs4all.nl
http://www.xs4all.nl/~rkl/



More information about the Linux mailing list