This is a discussion on Configure Postfix as an SMTP Mailclient? within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hello, i need for the PHP mail() function an Postfix (sendmail) that act only as an SMTP Client same as ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
i need for the PHP mail() function an Postfix (sendmail) that act only as an SMTP Client same as i.e. Outlook Express. That means, postfix should all mails send to my Freemail Account (gmx.net). To do this, postfix must login with username (someone@gmx.net) and password. Also must postfix fill the Mail From field with someone@gmx.net and the MailTo field with webmaster@somedomain.dyndns.org Please, can me someone give a hint, where i can find a Example how to configure this? Thank You! Otmar |
|
|||
|
Spoettel Otmar wrote:
> Hello, > > i need for the PHP mail() function an Postfix (sendmail) that act only > as an SMTP Client same as i.e. Outlook Express. > That means, postfix should all mails send to my Freemail Account (gmx.net). > To do this, postfix must login with username (someone@gmx.net) and > password. Also must postfix fill the Mail From field with > someone@gmx.net and the MailTo field with webmaster@somedomain.dyndns.org > > Please, can me someone give a hint, where i can find a Example how to > configure this? > > Thank You! > > Otmar === main.cf ===================== relayhost = gmx.net smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd === /etc/postfix/sasl_passwd === gmx.net username:password Run "postmap /etc/postfix/sasl_passwd" after that to create a .db-file. Don't forget to restart postfix to make these changes effective. For adress-rewriting check: http://www.postfix.org/ADDRESS_REWRITING_README.html |
|
|||
|
"Bioperler" <usenet@ts-cs.de> schrieb im Newsbeitrag news:394682F5up1o3U1@individual.net... >[...] > === main.cf ===================== > relayhost = gmx.net > smtp_sasl_auth_enable = yes > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd > > > === /etc/postfix/sasl_passwd === > gmx.net username:password > > > > Run "postmap /etc/postfix/sasl_passwd" after that to create a .db-file. > Don't forget to restart postfix to make these changes effective. > For adress-rewriting check: > http://www.postfix.org/ADDRESS_REWRITING_README.html Thank you for your help! Now, my mailserver is running! Otmar |