reject spam at SMTP time

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

tomred
Posts: 52
Joined: Thu Nov 09, 2006 9:54 am

reject spam at SMTP time

Postby tomred » Thu Aug 14, 2008 1:25 pm

Hi,

I have noticed that, although spassassin/spamass correctly marks spam, it isn't rejected.

Is is possible to configure smtpd to reject spam during the smtp/data session but before the email is accepted or is that feature reserved for the scalix anti-spam commercial product?

Thanx,
Dp

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Thu Aug 14, 2008 1:56 pm

Most people flag spam (something like ***SPAM***) and let the users delete it (manually or through a rule). That way you don't lose ham, thinking it's spam :)

tomred
Posts: 52
Joined: Thu Nov 09, 2006 9:54 am

Postby tomred » Thu Aug 14, 2008 2:12 pm

Of course you don't want to lose legitmate email. On my site I currently reject about 600 emails a day but set the threshold high to ensure against false-positives. This is all done during the smtp session, so your server resources are not wasted on spam and your users don't have to trawl through their junk folder. If you want to be really kind you can also teergrubee the sending host, that is keep the connection alive for 900 seconds, to make you less palitable to them :D

From my brief reading of the new scalix antispam commercial product they will offer
Real time detection blocks upwards of 97% of spam


Which sounds like commerical scalix are going to at least allow the admin to configure it so that you can reject at SMTP time.

But it sounds like your saying that's not possible without the commercial anti-spam add-on.
Thanx,
Dp.

bikerider
Posts: 103
Joined: Fri May 09, 2008 1:16 pm

Postby bikerider » Thu Aug 14, 2008 3:50 pm

look into setting X-SPAM-FLAG and configuring the clients as well
__O
=\ \
(=)/(=)

idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum

tomred
Posts: 52
Joined: Thu Nov 09, 2006 9:54 am

Postby tomred » Fri Aug 15, 2008 4:44 am

Setting X flags and configuring clients all happens once you have accepted the email. I want to reject it before the SMTP session from the remote host is terminated. My goal is to not accept email from a remote host if it is considered spam.

Thanx,
Dp.

bikerider
Posts: 103
Joined: Fri May 09, 2008 1:16 pm

Postby bikerider » Fri Aug 15, 2008 11:56 am

I use a two tier system. one with a highly tuned postfix system
with multiple rbl's , multiple antivirus , and spamassassin
this in conjunction with a users list that this filtering server
can receive for really helps.

I then forward to the Scalix server which in turn has different av vendors
and spamaasassin with higher level of ocr and bigger file scan settings

and I still set X-flags after that...

read..learn..enjoy and do not expect a single tier to be able to handle all the problems
__O
=\ \
(=)/(=)

idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum

tomred
Posts: 52
Joined: Thu Nov 09, 2006 9:54 am

Postby tomred » Fri Aug 15, 2008 12:02 pm

I was beginning to come to that conclusion.

I think I will maintain a primary MX with an MTA using SA and AV that forwards to scalix. I will not advertise the scalix server in DNS but allow access via port 25/80/433 to allow users access to SWA from outside the Local network but users will have to memorise the hostname. It doesn't provide for a fallback server but perhaps that can be a dealt with by another non-scalix server.

Thanx for the feed back,
Dp.

bikerider
Posts: 103
Joined: Fri May 09, 2008 1:16 pm

Postby bikerider » Fri Aug 15, 2008 12:10 pm

my setup is port 25 to the 1st filter server only. Clients use 465 and 993 to the scalix only and the only the filter server talks on port 25 to scalix.

This has two advantages ..1st if anybody other then the filter server talks to port 25 on scalix it's a red flag
2nd using secured the mobile clients bypass a lot of port 25 locks from
other isp providers, and should we not all be on secure comms anyway?

hope this helps
__O
=\ \
(=)/(=)

idea=`grep -i clue /dev/brain` ; test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer-the-forum

tomred
Posts: 52
Joined: Thu Nov 09, 2006 9:54 am

Postby tomred » Fri Aug 15, 2008 12:36 pm

Good point. I hadn't thought of restricting port 25. Nice and secure.
Thanx again,
Dp


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest