[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to block a LOT of spam (Was: RE: [cobalt-users] excessive spam)



Reformatted to plain text

-----Original Message-----
From:  Jeroen Wunnink
Sent: Wednesday, July 16, 2003 10:36 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: How to block a LOT of spam (Was: RE: [cobalt-users] excessive
spam)


Okay, I have some time on my hands now, let me add a few solutions for
spam which seem to work fairly well on my side..


#####
# Blocking Email Marketing spammer
#####
HSubject:<TAB>$>Check_Subject
D{MPat}Email Marketing
D{MMsg}This message is SPAM, it is blocked from this host.
SCheck_Subject
R${MPat} $*<TAB>$#error $: 553 ${MMsg}
RRe: ${MPat} $*<TAB>$#error $: 553 ${MMsg}
RFwd: ${MPat} $*<TAB>$#error $: 553 ${MMsg}

----------------

Thanks for those. I hadn't realized a subject check could be added to
Sendmail to reject during the SMTP.

FYI: Something I've noticed in doing sendmail restart on my RaQ4 that
often Sendmail doesn't restart that way. It stops, says it's restarting,
but running:
ps waux | grep sendmail
I do not get the normal
root     12503  0.1  0.3  2644 1384 ?        S    10:23   0:00 sendmail:
accepting connections

I have noticed that if instead I run:
/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail start
Then the RaQ seems to start up properly.

-- 
C2003 Dan Kriwitsky

Please reply to the list only. Off list replies are not read.