+ Post New Thread
Results 1 to 5 of 5
*nix Thread, Spam / MTA's in Technical; Morning/Afternoon Folks, Any ever tried to filter spam through a linux server? Currently trialing Stop spam with the Anti-Spam-SMTP-Proxy (ASSP) ...
  1. #1
    ahuxham's Avatar
    Join Date
    Apr 2008
    Posts
    1,122
    Thank Post
    76
    Thanked 138 Times in 109 Posts
    Rep Power
    30

    Spam / MTA's

    Morning/Afternoon Folks,

    Any ever tried to filter spam through a linux server? Currently trialing Stop spam with the Anti-Spam-SMTP-Proxy (ASSP) (A decent free alternative), and can't quite get my head around the configuration.

    Firewall - Redirecting P25 traffic to 10.0.0.1
    ASSP: 10.0.0.1 Port 25
    Exchange 10.0.0.2 Port 26 on the SMTP connector, allowing only 10.0.0.1 to relay/connect

    Some wiki examples show the server running as:

    Internet > Assp > Exchange > Client [inbound]
    Client > Assp > Exchange > Internet [outbound]

    And the majority show MTA examples, i.e.

    Internet > Assp > Exchange > Client
    Client > Assp > Exchange > MTA > Internet

    My questions;

    Will exchange act as a MTA when sending out emails, and how would a client outlook know to connect to ASSP outbound rather than exchange.

    The product is packed with features, and is very regarded however the documentation is very poor, and examples are very vague. Hopefully someone has a few ideas

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123
    Depends on the client, but if you're using Outlook configured to talk to Exchange with MAPI then it's not going to talk to your ASSP box.

    If you need to filter outbound then you need to set up Exchange to route all email via the ASSP box (there's a setting somewhere under SMTP that allows this)

    I'm guessing the examples you're seeing assume that users have their Outlook configured using IMAP or POP/SMTP (which is barking!) - that way you could just specify that they talk directly to the ASSP.

    I would hope that most people won't deliberately send spam that a spam filter will pick up so what you need to protect against is botnets etc. If you make sure that port 25 outbound through your firewall only accepts email from Exchange then you may not need to worry about outbound filtering except for messages coming from Exchange.

  3. #3
    Iain's Avatar
    Join Date
    Oct 2006
    Location
    Warwickshire
    Posts
    187
    Thank Post
    28
    Thanked 93 Times in 53 Posts
    Rep Power
    31
    Hi,

    I've no idea about ASSP, but with my spam filter setup (Postfix/Mailscanner/SpamAssassin/ClamAV), I've got it as:

    Internet -> Spam Filter -> Exchange -> Client(outlook) [Inbound]

    Client -> Exchange -> Spam Filter -> Internet [Outbound]

    On the inbound side, i would say that 90% of our spam is stopped at the postfix stage using a number of DNSBLs (spamhaus etc.) Mailscanner and SpamAssassin are then very good at catching anything else that gets through, this gets labeled with a spam tag, so it ends up in the the users Junk Mail folder in outlook.

    If anything does manage to get past (which seems to be very rare now), the users here have been taught to move the offending message into a public folder called spam on the exchange server. This is checked hourly by the spam filter box, and any messages in the spam public folder are used to train the bayesian filter of spamassassin. (There is also a not-spam folder for false positives).

    On the outbound side, the exchange server has been set up to use the spam filter box as a smart host. Also for outbond, the filter has been set up to that it only checks for viruses / banned attachment types etc. and not spam.

    In answer to your question, yes Exchange is a MTA. I think it is just that some use Exchange internaly, and use a different MTA as a gateway, but you don't need to do this, especially if you don't need / want to filter outbound messages.

    As for getting the outlook client to send messages via ASSP, then I agree, the only way I can think of is setting outlook to connect to exchange via imap/pop, which as Steve said is barking! I think a better bet would be to try and get your ASSP box to act as a smarthost for the Exchange box.

    Anyway, that's enought of my ramblings. Hope something in there is useful!

    Iain.

  4. #4
    Tyiell's Avatar
    Join Date
    Apr 2009
    Location
    Like everyone in IT - I'm omnipresent...
    Posts
    373
    Thank Post
    147
    Thanked 67 Times in 44 Posts
    Rep Power
    24
    Hi,

    I have built (but not yet tested) a linux server running Postfix, MailScanner and ClamAV to run as a Spam Filter in front of our exchange. Still waiting for the opportune moment to test it, because if it doesnt work I will no doubt be assassinated by angry teachers that suddenly cant see their facebook alerts Might be half term now...

    Paul

  5. #5
    Tyiell's Avatar
    Join Date
    Apr 2009
    Location
    Like everyone in IT - I'm omnipresent...
    Posts
    373
    Thank Post
    147
    Thanked 67 Times in 44 Posts
    Rep Power
    24
    Oh, and heres the guide I used if its any help, I'l let you know if it works when I test it!!!

    The Perfect SpamSnake - Ubuntu 8.04 LTS | HowtoForge - Linux Howtos and Tutorials

    Paul

SHARE:
+ Post New Thread

Similar Threads

  1. Spam spam spam...
    By Ryan in forum Windows
    Replies: 12
    Last Post: 8th April 2008, 01:47 PM
  2. Spam
    By tartarus in forum Wireless Networks
    Replies: 21
    Last Post: 2nd January 2008, 02:37 PM
  3. how do you like your spam ?
    By callumtuckey in forum General Chat
    Replies: 7
    Last Post: 4th October 2007, 12:35 PM
  4. Spam, spam, spam, spam, spam, beans, sausage, spam.
    By indie in forum How do you do....it?
    Replies: 14
    Last Post: 13th June 2006, 07:39 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •