• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs the "catch-all" in mail settings is written to postfix aliases even if mail is disabled

mr-wolf

Silver Pleskian
Plesk Guru
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:
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
Code:
client.nl               smtp:remote.client.nl:25
.client.nl              smtp:remote.client.nl:25
grep client.nl /etc/postfix/relay_domains
Code:
client.nl            OK
Code:
postmap /etc/postfix/relay_domains
postmap /etc/postfix/transport
egrep 'postfix/(transport|relay_domains)' /etc/postfix/main.cf
Code:
relay_domains = $mydestination, hash:/etc/postfix/relay_domains
transport_maps = hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport
ACTUAL RESULT:
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:
From developer:

This issue could be reproduced only in the case when the additional external configuration of Postfix is present and a domain is present in both Postfix databases (Plesk and manual). The issue cannot be reproduced when the domain was configured only using Plesk.
So, I cannot confirm a bug in our products.
 
I should recheck this and post a separate issue, but it does this too if I explicitly tell the migration tool to NOT transfer the mail.
 
Hello Mr-wolf,

If you mean checkbox "Migrate mail messages" or according options for config.ini file then they are disable transferring of mail messages only. All mail business objects like mail box, settings, mail lists and etc will be transferred to the target server always. Another words this checkbox disable the rsync command that copy files with messages to the target server.
It is impossible to disable migration of a some part of business objects using Plesk Migrator.
 
Back
Top