The Postfix Unused Parameter Bug.
Posted: Tue Aug 29, 2023 3:43 pm
Impact Level: LOW
Fix Found: YES
Fix Complexity: EASY
Bug Description
There is a few lines int the man postfix configuration file, that postfix does not understand.
This is because later versions of postfix no longer use this.
Symptom
Sometimes in the system log you may have seen this warning.
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 68.
With cursor on the first letter of the above line, press I for insert.
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.
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
Save and Exit (escape :w (enter) :q (eneter))
Now reboot your server with the normal command
sudo shutdown -r now
We are done here.
Fix Found: YES
Fix Complexity: EASY
Bug Description
There is a few lines int the man postfix configuration file, that postfix does not understand.
This is because later versions of postfix no longer use this.
Symptom
Sometimes in the system log you may have seen this warning.
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 68.
With cursor on the first letter of the above line, press I for insert.
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.
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
Save and Exit (escape :w (enter) :q (eneter))
Now reboot your server with the normal command
sudo shutdown -r now
We are done here.