Plesk 9 – disable postfix local mail delivery for webhosting
The scenario is – you provide only webhosting for certain domain – and you want emails to go wherever MX record points to. So you turn off mail services in the Plesk control panel, but keep receiving mails back with This address no longer accepts mail. when you send emails via your server.
You can check that there is no local delivery for this domain:
postmap -s /var/spool/postfix/plesk/virtual_domains
But the trick is that you have to set emails to this address to be rejected instead of bounced (what seems to be the default). My guess is that the bounce check comes before the local delivery check.
Categories: Missing Answers