1 wrote:
I'm trying to get procmail up and running to defend against mailbombs
from a particular site. This is the .procmailrc I'm trying to
use, but it is just inactive......
:0 c
* ^From
(xx(_at_)xx(_dot_)com|xxx(_at_)xxx(_dot_)com|mail(_dot_)imagiware(_dot_)com(_at_)proteus(_dot_)imagiware(_dot_)com
)
! webmaster(_at_)dirtydicks(_dot_)com,johnd(_at_)dirtydicks(_dot_)com
Dunno if it really matters or not, but I'd remove the blank line following
the ":0 c".
I believe your actual problem is that of comparing the "From" header,
relying on ONE space, and not checking the "From:" header... You may care
to use something like:
:0 c
* ^(From|From:).*\
(xx(_at_)xx(_dot_)com|xxx(_at_)xxx(_dot_)com|mail(_dot_)imagiware(_dot_)com(_at_)proteus(_dot_)imagiware(_dot_)com)
! webmaster(_at_)dirtydicks(_dot_)com,johnd(_at_)dirtydicks(_dot_)com
(I inserted the \ and 2nd line for clarity of reading on 80 cols... It CAN
work as one line, as you had it, or as the above.)