Wilhelm du Plessis:
my problem is that all mail that has picture attachments or even
pps, gets sent to spam(_at_)mydomain(_dot_)
Your recipe looks very strange.
Because the condition-lines end in a backslash, the conditions will be
concatenated, so each starting '*' at the next line becomes a '0 or
more' operator for the last part of the previous line. That will
disable a lot of your intentions.
Further there are assumptions on casing, but no D-flag.
And it looks like you wanted the conditions OR-ed in stead of AND-ed.
Messages with txt attachment come through. How would i allow
attachments to come through ?
The showed recipe does not do anything special with attachments,
so thatquestion does not apply.
I guess this is what you meant at the start:
OR = '9876543210^0'
:0
*$ $OR ^Message-ID:.*<>
*$ $OR ^(To|CC):.*(\
res05564|\
undisclosed-recipients|\
spambot)
*$ $OR ^From:.*(\
galamail\.com|\
agentoflove|\
absoluteagency\.com|\
delphi\.com|\
238525)
*$ $OR ^Subject:.*(\
offer|\
free|\
pay|\
v[i1]agra|\
wanted|\
penis|\
offer|\
chip|\
inch|\
please|\
pill|\
hydrocodone)
*$ $OR B ?? (\
v[il]agra|\
prescription|\
1-800|\
inch|\
remove|\
XXX|\
sex|\
adults|\
business opportunity)
! spam(_at_)mydomain
It's still ugly, but just try that first.
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail