Nikolaos Milas: > Also, to disable sending outgoing mails from this server (which is only > there to receive mail from the Internet as MX-designated mail server and > work as a local relay to internal mail server) I am planning to use the > setting: > > mynetworks = <empty> > > Would this have any impact on the relay role of the server; which means: > would relaying of relay_domains as defined in transport_maps be > inhibited in any way)? I believe no, but I am asking, just in case?
mynetworks is used by the permit_mynetworks feature. If you don't use permit_mynetworks at all (check with: "postconf | grep permit_mynetworks"), then mynetworks can be empty. To allow mail from local programs that send SMTP mail through the loopback interface, you could set one of the following: mynetworks = 127.0.0.1/32 mynetworks = 127.0.0.1/32 [::1]/128 Wietse