Qmail SMTP Route and Relay Permission

SMTP Routing

SMTP Routing

By adding :hostname.fieldname.com to the smtproute file, incoming mails to the server get routed to the hostname.fieldname.com machine.

Note: The specified fieldname should appear in the control/locals and control/virtualdomains files. Don’t delete them from the rcpthosts host file.

 

To allow relaying to the 10.0.0 and 10.0.1 networks

127.:allow,RELAYCLIENT=””

10.0.0.:allow,RELAYCLIENT=””

10.0.1.:allow,RELAYCLIENT=””