config issue?
Rob Livermore
rlivermore at TWNS.COM
Mon Aug 25 17:42:33 IST 2003
Below is the Mailscanner.conf spam portion of the file
Spam Checks = yes
Spam Header = X-MailScanner-SpamCheck:
Spam Modify Subject = yes
Spam Subject Text = {SPAM?}
Spam Action = delete
Log Spam = no
Use SpamAssassin = yes
Max SpamAssassin Size = 50000
SpamAssassin Timeout = 10
Max SpamAssassin Timeouts = 10
SpamAssassin Prefs File =
/usr/local/MailScanner/etc/spam.assassin.prefs.conf
SpamAssassin Auto Whitelist = yes
Compile SpamAssassin Once = yes
Always Include SpamAssassin Report = no
High SpamAssassin Score = 15
High Scoring Spam Action = delete
----------------------------------------------------------------
Below is a log showing what happens to a message "tagged" as SPAM.
Aug 24 01:51:05 malachi sendmail[20188]: h7O8p1G20188:
from=<9ksklbkihz at yahoo.co
m>, size=6054, class=0, nrcpts=1, msgid=<vn-onn-$5mmdf$$p at dqw5f>,
proto=SMTP, da
emon=MTA, relay=[211.90.202.200]
Aug 24 01:51:05 malachi sendmail[20188]: h7O8p1G20188:
to=<mmerrill at transwesttel
.com>, delay=00:00:03, mailer=esmtp, pri=36054, stat=queued
Aug 24 01:51:06 malachi MailScanner[20180]: New Batch: Scanning 1 messages,
6484
bytes
Aug 24 01:51:07 malachi MailScanner[20180]: Spam Checks: Found 1 spam
messages
Aug 24 01:51:08 malachi MailScanner[20180]: Virus and Content Scanning:
Starting
Aug 24 01:51:08 malachi MailScanner[20180]: Uninfected: Delivered 1 messages
Aug 24 01:51:08 malachi sendmail[20238]: h7O8p1G20188:
to=<mmerrill at transwesttel
.com>, delay=00:00:06, xdelay=00:00:00, mailer=esmtp, pri=126054,
relay=mail.tra
nswesttel.com. [207.218.8.8], dsn=2.0.0, stat=Sent (OK)
-----------------------------------
We are using sendmail and I appreciate your suggestions regarding blocking
certain email addresses.
Rob
-----Original Message-----
From: Antony Stone [mailto:Antony at SOFT-SOLUTIONS.CO.UK]
Sent: Monday, August 25, 2003 9:08 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: config issue?
On Monday 25 August 2003 4:47 pm, Rob Livermore wrote:
> I've configured the mailscanner.conf file to delete anything that is
marked
> {SPAM}
How have you done this? Please post the relevant bits of your
MailScanner.conf (without comments).
> however the SPAM is still delivering to the mailboxes.
Check the headers of an email which gets delivered - make sure it got
processed by your MailScanner, and check the syslogs on the mail server when
it processed the mail - see what it says for "Spam Actions:" just after
logging all the reasons why it got tagged as spam.
> On a side note - is it possible to block certain internal email addresses
> from receiving external emails?
If you are using sendmail, then these can be configured in your
virtusertable:
baduser at mydomain.com error:nouser No such user
If you're not using sendmail, maybe someone else can suggest how to do this.
Regards,
Antony.
--
It is also possible that putting the birds in a laboratory setting
inadvertently renders them relatively incompetent.
- Daniel C Dennett
More information about the MailScanner
mailing list