POP3 scanning?
John Rudd
jrudd at UCSC.EDU
Mon Sep 15 19:47:45 IST 2003
On Monday, Sep 15, 2003, at 06:59 US/Pacific, Julian Field wrote:
>
> At 03:28 15/09/2003, you wrote:
>> On Monday 15 September 2003 3:23 am, S Mohan wrote:
>>
>> > One such proxy exists in sourceforge called emailproxy which is a
>> POP3 and
>> > SMTP proxy. It has the capability to pipe either incoming "popped"
>> mail or
>> > outgoing smtp thro' a commandline program - either a scanner or any
>> other
>> > program. However, here I guess Mailscanner will be invoked for
>> every mail
>> > as an instance. DO not know if it would be efficient.
>>
>> It is not the piping I have the problem with.
>>
>> The question is whether MailScanner can process the file format,
>> since the
>> scanned mails won't be queue files from some standard MTA such as
>> sendmail or
>> exim - they'll be mbox files.
>>
>> Thanks to everyone who is suggesting various proxy programs, but this
>> really
>> is a MailScanner question I'm asking here :)
>
> Sounds like we need support for a pseudo-MTA that puts RFC822 messages
> in a
> directory, and places the results in another directory. It would have
> to be
> implemented as another mailer.
>
> This is not a trivial thing to write, but I'm prepared to put it on the
> "todo" list.
>
If you use my scripts as a starting point, and store the RCPT
recipients in headers named "Envelope-To:", and the MAIL-FROM sender in
the "Reply-Path:" header, then it is pretty trivial.
CGP has that as one option for dealing with RFC822 files, but I chose
not to use that method. It would be trivial to modify my scripts to go
that route (instead of using the extra block at the top of the cgp
queue file for that purpose). It would, at that point, just be another
sendmail queue.
I can't do it this week or next week, as we're finally putting our CGP
cluster into production, but I should have time to work on it later
this quarter.
More information about the MailScanner
mailing list