Thank you all for your answers. I am running courier on debian with
mysql authentization so I suppose I won't be able to use those rpm's but
I will download them and study the source code. It would be probably the
easiest way.

Regards,

David Bruha

Scott wrote:
> 
> This sounds like something I just implemented on my servers.  It was
> posted by Gordon Messmer a while back:
> ---------- Forwarded message ----------
> Date: 21 Oct 2002 22:00:42 -0700
> From: Gordon Messmer <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]"
>     <[EMAIL PROTECTED]>
> Subject: virus scanning and spam protection -- easy
> 
> I've just completed packaging the newest SpamAssassin, OpenAntiVirus
> ScannerDaemon, and AMaViS and all their dependencies (except for java,
> you're on your own there) for Red Hat Linux and courier.
> 
> All of the packages required to run these programs are available here:
> http://www.dragonsdawn.net/apt/redhat/7.3/en/i386/RPMS.dragonsdawn/
> http://www.dragonsdawn.net/apt/redhat/7.3/en/i386/SRPMS.dragonsdawn/
> 
> These are all apt-get-able, and you should be able to install the whole
> thing on a Red Hat 7.3 system with just:
> apt-get install courier courier-imap ... spamassassin ScannerDaemon \
>         amavis-courier
> 
> Courier is built according to Sam's instructions, without
> modifications.  SpamAssassin is also pretty much straight out of the
> box.  I only had to write an init script for ScannerDaemon.  AMaViS
> required a bit of customization to become a tool usable as an xfilter.
> It should support virus scanners other than OAV, but that's the one it
> defaults to.
> 
> These packages "Work For Me".  I'm using IBM's Java2 SDK 1.3.1 to run
> ScannerDaemon.  Further testing and bug reports are welcome.  I'm
> excited to have a 100% Free Software (except for Java...) mail system
> featuring virus scanning and spam filtering.
> 
> A working /etc/courier/maildroprc looks like this:
> ## Run virus scanner
> import SENDER
> import RECIPIENT
> if ($SENDER ne "")
> {
>         FROM=$SENDER
> }
> else
> {
>         FROM="unknown"
> }
> xfilter "/usr/sbin/amavis $FROM $RECIPIENT"
> 
> ## Run spam filter
> xfilter "/usr/bin/spamc"
> 
> Thanks to [EMAIL PROTECTED] for the basic docs at
> http://www.fremerx.com/open-source/mail/courier.html
> 
> Alexander Gretha said:
> > hi david,
> > i have written a perl filter for incoming and outgoing mail, which uses
> > amavis as a virus scanner. the main problem i had was, that to
> > successfully do so i had to modify the controlfiles if a virus was
> > detected. once i had done that, the rest was easy... i suggest you read
> > the chapter about controlfiles and datafiles from the documentation.
> >
> > alex
> >
> >> Hi,
> >> I was trying to search archives for this theme but have found no
> >> satisfying answer.
> >>
> >> I am trying to set up filtering of incoming and outgoing mail based on
> >> the message contents. We have something similar done at our university
> >> firewall where QMail is able to block messages with suspicious content
> >> (viruses, spam etc). Is this possible with courier?
> >>
> >> I think maildrop filters can recognize message like that and delete it
> >> (or remove the content or whatever) but that is IMHO appliable by
> >> incoming mail only. Am I right? Is there a way how to block these
> >> messages comming from internal network as well?
> >>
> >> Regards,
> >>
> >> David Bruha.
> >>
> >>
> >>
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by: Influence the future
> > of Java(TM) technology. Join the Java Community
> > Process(SM) (JCP(SM)) program now.
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> > _______________________________________________
> > courier-users mailing list
> > [EMAIL PROTECTED]
> > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to