First thing to do is configure Postfix in your machine. Once done, edit the configuration file for Postfix (usually under /etc/main.cf) and editing the below value:
#relayhost =
to
relayhost = smtp.emailprovider.com
Once done, all emails sent via your Postfix server will be relayed through the desired Outgoing server.
Other options that may interest you are as follows:
The last option will correct the envelopes shows as "user@emailprovider.com".
- myhostname = hostname.emailprovider.com
- mydomain = emailprovider.com
- masquerade_domains = emailprovider.com
Hope that helps someone :-)

1 comments:
cooooooooooool.. nice feature.. lemme try this one..
Post a Comment