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 catchall@example.com. However when an email is sent to bob@example.com the Delivered-To header seems to get rewritten by Postfix and becomes catchall@example.com. 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 catchall@example.com account using MS Exchange as it tries to deliver mail to catchall@example.com on the local domain instead of bob@example.com 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