On Wed, May 18, 2011 at 11:07 AM, Noel Jones <[email protected]> wrote:
> On 5/18/2011 8:54 AM, Steve wrote:
>>
>> -------- Original-Nachricht --------
>>>
>>> Datum: Wed, 18 May 2011 08:49:25 -0500
>>> Von: Noel Jones<[email protected]>
>>> An: [email protected]
>>> Betreff: Re: Filtering spam with a partial pattern
>>
>>> On 5/18/2011 8:06 AM, Lima Union wrote:
>>>>
>>>> Hi all! i'm seeing a huge quantity of spam during this week (~156K
>>>> messages) all from an smtp addresses that begins with '0-', like:
>>>>
>>>> from=<[email protected]>
>>>> from=<[email protected]>
>>>> from=<[email protected]>
>>>> from=<[email protected]>
>>>> from=<[email protected]>
>>>> from=<[email protected]>
>>>>
>>>> I tried to reject them by writing a simple rule in my
>>>> smtpd_sender_checks by simply appending 0- at the beginning of a new
>>>> line but for some reason it isn't matching the pattern, finally
>>>> getting rejected by my RBL provider. Anyway I want to avoid doing RBL
>>>> checks for this case, any ideas why my rule isn't working? any
>>>> suggetions on how to write a filter for this pattern?
>>>
>>> Add to your smtpd_sender_checks.regexp file:
>>>
>>> /^0-/  REJECT invalid sender address
>>>
>> Should that not be:
>> /^0\-/  REJECT invalid sender address
>
>
> Not necessary.  The "-" is not special outside character classes.
>
>
>  -- Noel Jones
>

One last question regarding this, due that the amount of spam is huge
I'd like to catch some of these messages, how should I configure
Postfix in order to let this kind of messages (beginning with /^0-/ )
bypass all my checks (RBL,etc) and redirect them to my account to
review them? is this possible?
Thanks once again.

Reply via email to