editing forwarders deletes 'username: username' in aliases file

Driesp

Verified User
Joined
Mar 12, 2007
Messages
195
Location
Belgium
Hi

I have found an issue with the latest directadmin version 1.61.3 running on CentOS 8.

When adding or deleting a forwarder, directadmin seems to be deleting an important rule in the aliases file for that domain.
the rule 'username: username' gets deleted.
This causes e-mail to get rejected for that particular account.

I don't have this issue with directadmin servers running on CentOS 6 or CentOS 7, but I am not running the latest directadmin release yet on these servers.

I have deleted my forwarder_create_pre.sh script, and same issue occurs.

Kr,
Dries
 
Why do we need "username: username" there? You may want to disable system_user_to_virtual_passwd feature for this :)
 
Thank you. I have disabled system_user_to_virtual_passwd.

I recently did a migration from CentOS 6 to CentOS 8 manually, using rsync for these servers.
Migrating using backup/restore is not possible for me.
Using rsync I can migrate and only having downtime of a couple of minutes.

Because of that, there is no passwd entry for the system accounts.
Maybe this is the issue I am having.
 
Back
Top