You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Robert Müller <rm...@thinxsolutions.com> on 2008/05/07 00:01:02 UTC
typo in 20_vbounce.cf?
Hi all,
as I'm facing raising amount of bounces on my mailserver in the last 2
months, I tried to use the vbounce ruleset to identify the ones caused
by UBE faking the sender address.
This was generally successful, but surprisingly there are a lot of
UBE-bounces which are not recognized by vbounce.
After digging a little bit into this (I'm not a SA-expert), it showed
that the body-rule " __HAVE_BOUNCE_RELAYS" is giving a "1", but often no
header rule "__BOUNCE*" seems to give a hit.
One of the most likely rules to be IMHO true is the
"__BOUNCE_FROM_DAEMON" one, but this one nearly never gives a hit.
Looking at the regexp in this line, the "+" after the \S seems not to be
correct from my point of view, I would suggest a "*" here, as it is in
"__BOUNCE_RPATH_MD".
So for testing purposes I modified the line
old:
header __BOUNCE_FROM_DAEMON From =~
/(?:(?:daemon|deamon|majordomo|postmaster|virus|scanner|devnull|automated-response|SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S+\@|<>)/i
to new:
header __BOUNCE_FROM_DAEMON From =~
/(?:(?:daemon|deamon|majordomo|postmaster|virus|scanner|devnull|automated-response|SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S*\@|<>)/i
and now, also the bounces formerly not recognized are correctly identified.
Can someone confirm that this is a "typo"? Or have I misunderstood
something?
THX,
Robert
Re: typo in 20_vbounce.cf?
Posted by Robert Müller <rm...@thinxsolutions.com>.
Sorry for missing the most important part of the information in the body
- I fully agree with you.
On the other side, I learned at school to carefully read all parts of
the document - seems also to be true :-)
Robert
Jari Fredriksson schrieb:
>> doh!
>> I guess if I read the subject line that would have helped.
>>
>
> You are not alone with this ;D It's a good practise to include all data in the body of the message, and not to refer to the subject. I once learned that in school and it seems to be true..
>
> jarif
>
>
>
>
>> On May 7, 2008, at 11:15 AM, JP Kelly wrote:
>>
>>
>>> where is this line found?
>>>
>>> On May 6, 2008, at 3:01 PM, Robert Müller wrote:
>>>
>>>
>>>> So for testing purposes I modified the line
>>>> old:
>>>> header __BOUNCE_FROM_DAEMON From =~
>>>> /(?:(?:daemon|deamon|
>>>> majordomo|postmaster|virus|scanner|devnull|automated-response|
>>>> SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S+\@|
>>>> <>)/i
>>>>
>>>> to new:
>>>> header __BOUNCE_FROM_DAEMON From =~
>>>> /(?:(?:daemon|deamon|
>>>> majordomo|postmaster|virus|scanner|devnull|automated-response|
>>>> SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S*\@|
>>>> <>)/i
>>>>
>
>
Re: typo in 20_vbounce.cf?
Posted by Jari Fredriksson <ja...@iki.fi>.
> doh!
> I guess if I read the subject line that would have helped.
You are not alone with this ;D It's a good practise to include all data in the body of the message, and not to refer to the subject. I once learned that in school and it seems to be true..
jarif
>
> On May 7, 2008, at 11:15 AM, JP Kelly wrote:
>
>> where is this line found?
>>
>> On May 6, 2008, at 3:01 PM, Robert Müller wrote:
>>
>>> So for testing purposes I modified the line
>>> old:
>>> header __BOUNCE_FROM_DAEMON From =~
>>> /(?:(?:daemon|deamon|
>>> majordomo|postmaster|virus|scanner|devnull|automated-response|
>>> SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S+\@|
>>> <>)/i
>>>
>>> to new:
>>> header __BOUNCE_FROM_DAEMON From =~
>>> /(?:(?:daemon|deamon|
>>> majordomo|postmaster|virus|scanner|devnull|automated-response|
>>> SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S*\@|
>>> <>)/i
Re: typo in 20_vbounce.cf?
Posted by JP Kelly <li...@jpkvideo.net>.
doh!
I guess if I read the subject line that would have helped.
On May 7, 2008, at 11:15 AM, JP Kelly wrote:
> where is this line found?
>
> On May 6, 2008, at 3:01 PM, Robert Müller wrote:
>
>> So for testing purposes I modified the line
>> old:
>> header __BOUNCE_FROM_DAEMON From =~ /(?:(?:daemon|deamon|
>> majordomo|postmaster|virus|scanner|devnull|automated-response|
>> SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S+\@|
>> <>)/i
>>
>> to new:
>> header __BOUNCE_FROM_DAEMON From =~ /(?:(?:daemon|deamon|
>> majordomo|postmaster|virus|scanner|devnull|automated-response|
>> SMTP.gateway|mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S*\@|
>> <>)/i
>
Re: typo in 20_vbounce.cf?
Posted by JP Kelly <li...@jpkvideo.net>.
where is this line found?
On May 6, 2008, at 3:01 PM, Robert Müller wrote:
> So for testing purposes I modified the line
> old:
> header __BOUNCE_FROM_DAEMON From =~ /(?:(?:daemon|deamon|majordomo|
> postmaster|virus|scanner|devnull|automated-response|SMTP.gateway|
> mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S+\@|<>)/i
>
> to new:
> header __BOUNCE_FROM_DAEMON From =~ /(?:(?:daemon|deamon|majordomo|
> postmaster|virus|scanner|devnull|automated-response|SMTP.gateway|
> mailadmin|mailmaster|surfcontrol|You_Got_Spammed)\S*\@|<>)/i