Configure Postfix as an SMTP Mailclient?

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 ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2005
Spoettel Otmar
 
Posts: n/a
Default Configure Postfix as an SMTP Mailclient?

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

Reply With Quote
  #2 (permalink)  
Old 03-07-2005
Bioperler
 
Posts: n/a
Default Re: Configure Postfix as an SMTP Mailclient?

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

Reply With Quote
  #3 (permalink)  
Old 03-09-2005
Spoettel Otmar
 
Posts: n/a
Default Re: Configure Postfix as an SMTP Mailclient?


"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

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:14 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0