Hi.

Am Mittwoch, 3. Oktober 2007 schrieb Jean-Christophe Boggio:
> I use catch_alls on most of the domains I maintain and

That's what I would avoid for future projects. If you want the comfort of this 
without being a spam target, use catch-all with a fix preifix. So e.g. I use 
[EMAIL PROTECTED] as a catch all.


> I would like to reject mails when "To:" match a regex
> (for example, I receive several mails addressed to
> [EMAIL PROTECTED], the "number part" being random).
> I know these are always spams.
>
> Is there a way to do this ?

Two ways:
1. Write a courierfilter. This is not that hard if you know a language where 
an example filter exists (python => pythonfilter, perl => perlfilter).

2. bounce or drop via a script executed by .courier files.

Last one is for sure the easiest way to go but not really a good solution.

cu, Bernd

-- 
Wenn man mit Raubkopien wirklich Gruppen wie BroSis, die Backstreet Boys
oder gar Britney Spears verhindern könnte, würde ich noch heute ein paar
CD-Brenner und einen Zentner Rohlinge bestellen.  -  B. Mangelsdorff in ger.ct

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to