Webmin – Read User Mail Error ‘The mail server in the module configuration was not found on your system’

KB ID 0000885 

Problem

While setting up and configuring a new Postfix mail server, I attempted to use the Webmin ‘Read User Mail’ module, and got this error.

Module Config Read User Mail
The mail server set in the module configuration was not found on your system, You will need to adjust the configuration to use the correct server.

Solution

At first I thought I needed to enter a servername into the config. However it seems when my VPS hosting company provisioned my server it installed sendmail by default, I needed to change it to Postfix instead.

1. Open the link it provides to the Read User Mail module configuration.

2. Scroll down to the system configuration section.

3. Change the Mail server Installed to Postfix.

4. DON’T FORGET to scroll to the bottom and press ‘Save’.

Related Articles, References, Credits, or External Links

NA

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