 |
Special format for using IP addresses in 'mailertable'
added 7.8.2005 -- no source information provided
|
In order to use an IP address in 'mailertable', you need to place the IP address within square brackets, like so:
mydomain.com esmtp:[192.168.70.4]
The same goes if you want to deliver mail via mailertable using the A record from DNS, instead of the MX record. If you place a hostname within square brackets, the IP address it resolves to will be used, instead of the MX host.
For example, say mydomain.com resolves to 192.168.70.2, yet the MX record for mydomain.com points to mail.mydomain.com which resolves to 192.168.70.4.
If you want mail delivered to 192.168.70.2 instead of 192.168.70.4, you would put this in your mailertable:
mydomain.com esmtp:[mydomain.com]
instead of:
mydomain.com esmtp:mydomain.com
|
|
|
 |