Monday, March 29, 2010

How to let postfix to allow some ip to relay email

SkyHi @ Monday, March 29, 2010

To allow postfix accept email relaying from a specific ip adress, we can edit /etc/postfix/

mynetworks =


mynetworks =, a.b.c.d/e

where a.b.c.d/e is the new group of ip address, or you can simply add one ip address in it. Restart postfix and now postfix will consider a.b.c.d/e as trusted ip and allow email from this ip address relaying email using this postfix mail server.