Postfix – Change The ‘Welcome Banner’

KB ID 0000907

Problem

After my recent DNS troubles, I was checking my mail server’s (MX) records, and got a warning about not having any reverse lookup records (PTR) configured properly. I telnetted to the mail server on port 25, and saw it was responding with the servers host-name.

I know my records are correct for the FQDN of the server, I just needed to change its welcome banner.

Solution

Change the Postfix Welcome Banner by Editing The Postfix main.cf File

1. Connect to the server via SSH, (or open a terminal session). Logon as, (or su to) root.

2. Execute the following command;

[box]

nano /etc/postfix/main.cf

[/box]

3. Locate and edit the myhostname value, to match your servers public FQDN.

4. Once you have saved and exited nano, restart the Postfix service with the following command;

[box]postfix stop && postfix start[/box]

Change the Postfix Welcome Banner Using Webmin

1. Connect to the Webmin console > Postfix Mail server > General Options.

4. Scroll down to internet host-name of this mail system > Edit to match your servers public FQDN > Save and Apply.

5. Stop then Start Postfix.

Related Articles, References, Credits, or External Links

NA

BT Domains Center – Setup Your Mail Server DNS Records

KB ID 0000900 

Problem

If you are used to setting up DNS records, then the BT Web Portal (btdomainmanager.com) can be a little confusing. I was stuck yesterday, luckily I had another client I could get to check their records for me.

Solution

In the example below I’ve got two IP addresses to which I want mail delivering to, 123.123.123.123 and 123.123.123.125, (yours may be on completely different ranges, that’s OK.)

In addition to the two MX records, I’ve also setup two A (host) records that point the host-names mail and mail2 to those two IP addresses.

Note: Most of you, will only have one IP address, and one host record to create.

Related Articles, References, Credits, or External Links

Setting up the Correct DNS Records for your Web or Mail Server