Wednesday, May 26, 2010

/etc/mailips

Mailips is mainly auto-generated file and is used for outgoing SMTP interface. However, you can also manually update and manage the mailips file. Full path to the mailips is: "/etc/mailips"

The syntax is:

* Add default sending IP address

*: IP

The above line will send outgoing mail from the default (eth0) IP address. Entry begins with an asterisk (*) will sets the default sending IP (from the eth0) address for domains without their own specific entry.

* Add specific entry for the domain.

domain.tld: IP1
sub.domain.tld: IP2
addondomain.tld: IP3
other.domain.tld: IP4

Each line defines a personal outgoing server for the domain. Doing it this way, each domain can have its own outgoing IP and that way, you will be able to setup RDNS (Reverse DNS) for each IP for that domain name.

No comments:

Post a Comment