Mailscanner and fetchmail

S Mohan smohan at VSNL.COM
Fri Jul 5 03:35:27 IST 2002


Mailscanner obviously looks at files in mqueue.in, scan them and puts
them into mqueue. This means mailscanner does not listen to port 25.
sendmail listen to port 25 and stores the mails in mqueue.in. Thus, can
I call that part of mailscanner which unpacks attachments, scans them
and returns the cleaned file - thro' procmail?

Alternatively, can a config be provided in mailscanner whereby I mention
local email ids and these mails are delivered to procmail after scanning
instead of sendmail thro' the mqueue directory?

Mohan

-----Original Message-----
From: Julian Field [mailto:mailscanner at ecs.soton.ac.uk]
Sent: Thursday, July 04, 2002 1:06 PM
To: S Mohan
Subject: Re: Mailscanner and fetchmail


At 03:23 04/07/2002, you wrote:
>I've not been able to get mails coming thro' fetchmail scanned by
>mailscanner. In my scenario, I've a mail host hosting my domain
>vectrasystems.com. All mails destined for vectrasystems.com does get
>scanned - no issues. For a few users, I'm using fetchmail to pick up
>personal mail from their personal mailbags in different email provider
>domains. Thus those domains are not local and fetchmail delivers to a
>local user specified for each pick up. If I pass these mails to port
>25, the mail will never reach the user on the machine as the domain is
>not local. It will introduce a vicious loop too.

You have to get it to pass in the mail on port 25. You should be able to

avoid your loop problem by using the virtual user table to handle mail
for
those addresses.

>Can I call the mailscanner engine as a filter program in procmail?

No, you can't. MailScanner scans all mail coming in through port 25.

Post you question on the list, I'm pretty sure there are some fetchmail
users there.
There are quite a few fetchmail questions in the archive, I just
searched using
http://www.jiscmail.ac.uk/cgi-bin/wa.exe?S2=mailscanner&q=fetchmail&s=&f
=&a=&b=

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list