Forum OpenACS Q&A: Re: Guide to configuring OpenACS to use Postfix

Collapse
Posted by Steve Manning on
Nick

Bouncing emails for unknown recipient in the local domain is the default for Exim (and probably most MTA's). It sounds as if your postfix/virtual file might be the answer - you need to direct all mail sent to bounce--* to the mailbox configured in mail-lite.

Exims' equivalent of this - the alias file can't handle wildcards in the same way so I think in Exim I need to define a new transport to direct the email for local delivery.  I will have to get my hands dirty in the config to work this out.

    Steve

Collapse
Posted by Nick Carroll on
Hi Steve,

For handling the bounce emails, you just need to add the following regexp to the postfix/virtual file...

/^bounce-(.*)@hostname\.mydomain\.tld/ service0

Emails that match that regexp will be directed to the Maildir directory for the service0 user.  I believe Mail Lite will scan that directory for bounce- emails.

Hope that helps.

Cheers,
Nick.