Postfix und SMTP relay

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Oct 12 14:02:59 CEST 2007


On Fri, 2007-10-12 10:59:43 +0200, Andre Naehring <anaehring at sauerland-spielgeraete.de> wrote:
> tom at digital-century.ath.cx schrieb:
> > Kann man Postfix so konfigurieren, das es den smtp meines ISP's als relay
> > nutzt? Bzw. sich dem smtp gegenüber wie ein Mailclient verhält?? Habe mir
> > gerade mal die main.cf angesehen, aber weder da, noch bei der Suchmaschine
> > meines vertrauens bin ich fündig geworden!
> 
> Wenn ich mich nicht irre, bist Du auf der Suche nach dem Paramter 
> "relayhost" in der main.cf.
> 
> Such einfach mal direkt nach "main.cf relayhost", da findest Du dann 
> auch passende Einträge für evtl. nötige Authentifizierung beim smtp 
> Deines Providers.

Dazu: Die meisten machen (hoffentlich) SMTP-Auth oder sowas in der
Art.

Dazu braucht man in "kurz":

bixie:/etc/postfix# grep sasl main.cf 
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpassword

In der /etc/postfix/saslpassword steht dann sowas drin:

relay.yourprovider.de	youremail at provider.de:yourpassword

bixie:/etc/postfix# postmap saslpassword
bixie:/etc/postfix# /etc/init.d/postfix restart

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:              What we do for ourselves dies with us. What we do for
the second  :         others and the world remains and is immortal. (Albert Pine)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20071012/d13495a0/attachment.sig>


More information about the Linux mailing list