Mail Relay [ Help Index ]

The Mail Relay Utility of @Mail enables you to define specific IP-ranges that you would want access to the SMTP server to relay mail. This is helpful in cases where the IP does not authenticate via POP3, and thus is not appended to the Mail Relay Table.

You can use this utility in place of SMTP Authentication and POP3-before-SMTP Auth. You can also place specific IPs (e.g, 192.168.0.1) . Entire net-blocks can be defined by manually editing the SMTP configure file: /usr/local/atmail/mailserver/configure

Locate the line: hostlist relay_from_hosts = localhost:mysql;MYSQL_RELAY

IP ranges can be hardcoded into the configuration file, for example: localhost:mysql;MYSQL_RELAY:192.168.0.0/24

Note the changes in bold. This enables the entire 192.168.0.* netblock to relay messages.

Note that hostnames cannot be added to the list, only raw IPs or netblocks in the SMTP configuration file are considered valid