TITLE:
the "catch-all" in mail settings is written to postfix aliases even if mail is disabled
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk 17.5.3 / Ubuntu 16.0.4 LTS
PROBLEM DESCRIPTION:When a "catch-all address" is entered in mail settings it will be written to aliases even if mail is not activated or if "reject" is chosen.
This happens after migrating the non-mail enabled to another server.
This comes to a conflict when postfix is also configured to relay mail foreign to Plesk.
https://talk.plesk.com/threads/afte...il-enabled-although-it-was-turned-off.342628/
STEPS TO REPRODUCE:This happens after migrating the non-mail enabled to another server.
This comes to a conflict when postfix is also configured to relay mail foreign to Plesk.
https://talk.plesk.com/threads/afte...il-enabled-although-it-was-turned-off.342628/
Enter e-mail address in Mail Settings => Forward to address:
Disable mail for that domain.
Migrate the domain to another server
Configure postfix to relay domains
grep client.nl /etc/postfix/transport
grep client.nl /etc/postfix/relay_domains
egrep 'postfix/(transport|relay_domains)' /etc/postfix/main.cf
ACTUAL RESULT:Disable mail for that domain.
Migrate the domain to another server
Configure postfix to relay domains
grep client.nl /etc/postfix/transport
Code:
client.nl smtp:remote.client.nl:25
.client.nl smtp:remote.client.nl:25
Code:
client.nl OK
Code:
postmap /etc/postfix/relay_domains
postmap /etc/postfix/transport
Code:
relay_domains = $mydestination, hash:/etc/postfix/relay_domains
transport_maps = hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport
It will translate all mail for client.nl to the address in the disabled mail account and then relay that translated address.
EXPECTED RESULT:It should not configure postfix if mail is disabled in Plesk
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug
Last edited: