|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Bernardo Pons (bernardo.pons
gmail.com)
Date: Thu Jun 25 2009 - 07:44:09 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
I'm looking for a way to add a header to the messages before they are
delivered to a multidrop mailbox with virtual aliases.
After searching the postfix-users list archives I've found that this subject
has been already discused here and I've found a message from Zoltan Balogh
that seemed to be exactly what I needed:
------8<--------------------------------------------------------------------------------------------
> So basically I just need to help fetchmail "guessing" the correct
> envelope recipients by appending "X-Envelope-To" (or similar header
> entry) to the email message. I did the following:
>
> smtpd_recipient_restrictions =
> ...
> check_recipient_access pcre:/etc/postfix/recipient_access
>
> /etc/postfix/check_recipient_access:
> /(.*
somedomain.com)/ PREPEND X-Envelope-To: <$1>
------8<--------------------------------------------------------------------------------------------
But it doesn't work for me. No header is added at all!
Maybe it is because I use LMTP as a delivery method from Postfix to Cyrus?
Should I place the check_recipient_access rule in another phase of smtp
check instead of smtpd_recipient_restrictions?
Thanks
--
Bernardo Pons
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]