Manually invoking MailScanner
Julian Field
mailscanner at ecs.soton.ac.uk
Sun Feb 8 19:00:42 GMT 2004
The standard solution to this setup is to use fetchmail and have it poll
all your pop3 accounts and then deliver via SMTP to localhost. MailScanner
then picks up the incoming mail and scans it. Your existing sendmail setup
then delivers the mail into local mailboxes as before.
Plenty of people here use this setup and you should find whatever help you
need.
At 18:20 08/02/2004, you wrote:
>I am using MailScanner with Postfix to scan my incoming email. I am also
>using getmail to poll my pop3 accounts and download my email. I would
>like to process all of the email that getmail retrieves in
>MailScanner. The way to do this is to invoke MailScanner manually. Is
>this possible? If so, what is the command to do this?
>
>Below is a message that I posted to the getmail mailing list. The reply
>is from the author of getmail.
>
> > I am in the process of setting up a new mail server with Postfix (using
> > /Maildir's) , getmail, MailScanner and Maildrop. I have everything working
> > except for getmail. I would like to have getmail first send my email to
> > MailScanner for virus scanning and spam checking and then to Maildrop for
> > sorting.
>
>Okay. In this case, MailScanner must add headers to the message to allow you
>to sort based on it's spam/non-spam decision? If that's the case, it must
>write the modified message to stdout. So your getmail delivery directive
>would be something like this:
>
> postmaster="|/path/to/mydeliveryagent.sh"
>
>where that script is something like:
>
> #!/bin/bash
> cat - \
> | /path/to/mailscanner [options] \
> | /path/to/maildrop [options]
>
>I've never used MailScanner, so I can't help you with what specific options
>you'll need to get it to operate in filter mode (read stdin, modify, write
>stdout). It should be clearly spelled out in its documentation.
>
>Thanks,
>Kevin
--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
More information about the MailScanner
mailing list