OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: regexp sender_bcc map not working

From: Marco De Vitis (marcodevitisgmail.com)
Date: Sat Sep 01 2007 - 18:13:07 CDT


2007/8/31, Wietse Venema <wietseporcupine.org>:

[Sorry Wietse for the two private replies, they were meant for the
list, I just noticed the error. Please don't hate me - yet]

> Where does the Postfix documentation say that "From: "
> is in included in used in sender_bcc_maps lookups?

Oops, sorry. That's what happens when you read too many docs and
tutorials at the same time %-). I took the idea from the regexp I saw
in a howto, but it was indeed on a different subject, and forgot to
adapt it correctly to my case. I was then spoiled and could not get
out of it :-P.

Thanks Noel, too. It works now.
Just a note: the ending $ was wrong in the goofy condition, because I
only used "mydomain" there, without .com|.it, so "mydomain$" would not
match anything. I didn't want to repeat the (com|it) part there to be
more generic, although I know that's somehow pointless, but well... I
replaced the whole goofy condition with "!/goofy.*/".

...or even better: !/^goofy.*/

--
Ciao,
 Marco.