What is the syntax of /etc/mailips file?

 

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.

Please note: IP address must be public IP addresses that are accessible via the Internet.

  • 2 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

How to change a cPanel password through WHM?

  From time to time, account holders lose their passwords, and need to rest them. Using...

How to modify an account's disk quota in WHM?

  You can use Quota Modification directly from the WHM to affect on how much disk space...

Can I modify the suspended account page?

  Feel free to modify the suspended account page it to your liking. Follow these steps to...

How do I list the suspended accounts in WHM?

  If you want to list the suspended accounts, please do the following: Login to your WHM...

How to get info on bandwidth usage from WHM?

  This process is simple. Simply follow the below outlined instructions: Log to the WHM...

Powered by WHMCompleteSolution