Using SpamAssassin for outgoing mail?

Discussion in 'Server Operation' started by AlArenal, Oct 18, 2007.

  1. AlArenal

    AlArenal New Member

    Hi!

    We have several Debian Etch machines running with the famous ISPConfig :) using Postfix, policyd-weight, SpamAssassin, saslauth, Courier IMAP+POP3, ...

    While our system proved pretty effective in regards of incoming spam mails, I am aware that today infected and otherwise compromised machines are used to send spam. What I'd like to do is check outgoing mail (from our customers and ourselves) and detect spam within them.
    This would inform our customers/us if something may be wrong with a pc and may also prevent our servers from getting blacklisted (they never were, but you can never be cautious enough).

    I just wonder how to achieve this.
     
  2. AlArenal

    AlArenal New Member

    OT:
    Wow, I just found my own post in Google. Seems they're pretty fast today ;)
     
  3. falko

    falko Super Moderator Howtoforge Staff

    You could do this by integrating amavisd-new into Postfix: http://www.howtoforge.com/amavisd_postfix_debian_ubuntu
     
  4. AlArenal

    AlArenal New Member

    Let me see, if I get it right:

    While in my case SpamAssassin is invoked via procmail whenever a mail is delivered to a local mailbox/-dir amavis-new fetches every queued mail, invokes some actions and then reöinserts it into the queue?

    Just curious, but while communication is done over network, would it be possible to set up a dedicated machine, running amavis-new, SA and ClamAV that does nothing more than spam- and virus scanning and acts as kind of workhorse for frontend servers (mixed mail- / web-servers, e.g. running ISPC ) ?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Yes, that's right.

    That should be possible.
     

Share This Page