The Postfix Parameter "mynetworks"

Support knowledgebase (jdinten_imapIII_subnetz)
Applies to

Postfix (SuSE Linux Mailserver)

Situation

You want to modify the Postfix parameter mynetworks in /etc/postfix/main.cf to allow relaying.

Procedure

Edit the file and change the set value. For example, to add the networks 10.10.0.0/255.255.0.0 and 192.168.0.0/255.255.255.0 to the local host, enter:
mynetworks= 127.0.0.0/8, 10.10.0.0/16, 192.168.0.0/24
This parameter might be disabled with a comment sign. If this is the case, remove the comment sign. Then restart Postfix:
openexchange:~ # rcpostfix restart

From this moment on, all clients from the above-specified networks will be able to send messages directed to external domains to the server. The server performs the relaying function. Make sure you only enter your own network. Otherwise, you will create an open relay that can be misused by SPAM senders.


Keywords: OPENEXCHANGESERVER, SLOX41, POSTFIX, MYNETWORKS, SLEMS, IMAP31, MAIL, RELAY, ACCESS, DENIED

Categories: Installation

SDB-jdinten_imapIII_subnetz, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 07. Mar 2002
SuSE Linux AG - Last generated: 26. Jun 2003 by ip (sdb_gen 1.40.0)