GN Latest News

The Postfix Unused Parameter Bug.

The EHCP / EHCP force Mailbox creation bug.
The Apache http Service Randomly stops.
The Postfix Unused Parameter Bug.
KCOM SMTP Email issues.
Post Reply
Rob Swan
Site Admin
Posts: 75
Joined: Tue Oct 31, 2017 3:03 pm
Location: UK
Contact:

The Postfix Unused Parameter Bug.

Post by Rob Swan »

Impact Level: LOW

Fix Found: YES

Fix Complexity: EASY

Bug Description
If you are not using Dovecot, there are a few lines in the man postfix configuration file, that postfix does not understand.
This is because these commands no longer exist in newer versions of Postfix.

Symptom
If you chose not to go with Dovecot when you first installed EHCP force, whilst viewing the system log in the EHCP force web control panel, you may see these warnings.

Image

This could potentially, slow down postfix a tiny bit, as it is running pointless code.

Postfix is the service on you server that is in charge of email, a bit like exchange server on windows.

The Fix
We can fix this by simply commenting out these lines.

Log into your server using your PC and PuTTY, then issue this command.

sudo vi /etc/postfix/main.cf

Move to the line.

virtual_create_maildirsize = yes

It’s around line 109.

With cursor on the first letter of the above line, press I for insert.

Image

Type in a single #

Go down one line to.

virtual_mailbox_extended = yes

Making sure the cursor is on the first letter, again type #

This line may be repeated underneath if so, do the same to that line also.

Image

Next, go down around 2 lines to the line.

virtual_mailbox_limit_override = yes

Put a # at the beginning of this line as above.

Do the same for these two lines.

virtual_maildir_limit_message = "The user you are trying to reach is over quota."

virtual_overquota_bounce = yes

Image

Save and Exit (escape :w (enter) :q (eneter))

Now reboot your server with the normal command

sudo shutdown -r now

We are done here.


Last bumped by Rob Swan on Tue Aug 29, 2023 3:43 pm.
Post Reply