Postfix Catch-all

Discussion in 'Server Operation' started by chrisb, Oct 17, 2009.

  1. chrisb

    chrisb New Member

    I’ve looked all over the internet and can’t find an answer to this, so I’m hoping someone can help me!
    I’m running Postfix 2.3.3 on CentOS and I’m using virtual domains which are stored in a MySQL database. Basically some of the domains have a catch-all account for example [email protected] However when an email is sent to [email protected] the Delivered-To header seems to get rewritten by Postfix and becomes [email protected] This is fine as the mail is delivered to the catchall mailbox. My problem comes however when our end user downloads the mail from the [email protected] account using MS Exchange as it tries to deliver mail to [email protected] on the local domain instead of [email protected] and that user doesn’t exist so the mail gets bounced back. This also happens if the transport mappings are set to forward all mail via SMTP directly to the end users exchange server.

    Is there any why I can get round this, or can I configure postfix so that it delivers the mail to the catchall mailbox without changing the Delivered-To header?

Share This Page