[nlug] Re: postfix + spamassassin + transport help

From: David R. Wilson (david@wwns.com)
Date: 07/20/07

  • Next message: Jason Reusch: "[nlug] Re: postfix + spamassassin + transport help"

    Hi guys,

    What about some thoughts on how to reduce this problem at the server?
    How about a silent disconnect to the sending email server when the note
    is found to be spam to keep the server from going to the next spam victim?

    I don't know about you fellows, but I have been using some filtering,
    and my mail box is a continuous stream of traffic. Much of which is
    from lists I am on, however much of it gets past the filters. They
    still take up bandwidth that I really hate to see wasted.

    Any thoughts or suggestions?

    Dave

    Brian McNabb wrote:
    > Timothy Ball wrote:
    >> Okay so I'm not sure explicitly how to best do this but what I have is
    >> the following:
    >> in my postfix/transport (and transport.db) is lines like this:
    >> --snip--snip--snip--
    >> foobar.org :[mx-recv.bazthud.org]
    >> .foobar.org :[mx-recv.bazthud.org]
    >> --snip--snip--snip--
    >>
    >> and in my postfix/master.cf I have: --snip--snip--snip--
    >> spamassassin unix - n n - - pipe
    >> user=spamkiller argv=/usr/bin/spamc -f -e
    >> /usr/sbin/sendmail -oi -f ${sender} ${recipient}
    >>
    >> # Spam & Ham
    >> sa-spam unix - n n - - pipe
    >> user=spamkiller argv=/usr/local/bin/sa-wrapper.pl spam ${sender}
    >> sa-ham unix - n n - - pipe
    >> user=spamkiller argv=/usr/local/bin/sa-wrapper.pl ham ${sender}
    >> --snip--snip--snip--
    >>
    >> What I want is I want instead of the emails to foobar.org being directly
    >> relayed to mx-recv.bazthud.org I would like the emails to be filtered
    >> (agressively) by spamc *first*.
    >> If anyone has any hints I would really appreciate it. :)
    >>
    >> --timball
    >>
    > I'm sure there's a way to do it via pipes in the master.cf, but I'm
    > not familiar with that method. The method I have always used is a
    > content_filter from within the main.cf.
    >
    > Brian

    -- 
    Send all requests to:  nlug-request@linuxlists.org
     Put your command in the SUBJECT of the message:
       "subscribe" or "unsubscribe"
    Quick unsubscribe: <mailto:nlug-request@linuxlists.org?Subject=3Dunsubscribe>
    Mailing list archives may be found at: <http://www.nlug.org/mail/>
    **********************************************************************
    This list is from your pals at NetCentral <http://www.netcentral.com/>
    

  • Next message: Jason Reusch: "[nlug] Re: postfix + spamassassin + transport help"

    This archive was generated by hypermail 2.1.6 : 12/02/07 CST