Quantcast
Channel: Linux and Mac Hacks
Viewing all articles
Browse latest Browse all 39

Postfix: Send from a particular IP address

$
0
0
To make Postfix send from a specified IP address, first make sure the IP address is present on the server and routable (i.e. has right subnet, gateway, and is enabled). Then add the following to /etc/postfix/main.cf:

smtp_bind_address=the.new.ip.address

and make sure you reload the configuration:

/etc/init.d/postfix reload

Viewing all articles
Browse latest Browse all 39

Trending Articles