Re: [exim] email archiving to file using router and transpor…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Andrew Nelson
Fecha:  
A: exim-users, ph10
Cc: 
Asunto: Re: [exim] email archiving to file using router and transport?
Thanks Phillip!

This works:
unseen save /var/mail/archive/$reply_address

But this doesn't:
unseen save /var/mail/archive/$domain (or $local_part)

Why is that? Also, is there a way I can switch between
domainname_mail_in, domainname_mail_out depending
on whether the domain is local or not? If not - how do I
access my MySQL database from the system filter?

Maybe it's best to parse it all to a perl script and do it
manually? Actually, I want handle all my own SPAM / Virus
filtering (and let each domain configure it though a MySQL interface)
so a big all-encompassing perl script might be the best way to go -
breaking out system commands to 3rd part filtering/scanning
software from perl.. Will that cause any problems do you think? Is
that my best option?

Thanks, Andrew.


>From: Philip Hazel <ph10@???>
>Reply-To: exim-users@???
>To: Andrew Nelson <andrew__nelson@???>
>CC: exim-users@???
>Subject: Re: [exim] email archiving to file using router and transport?
>Date: Wed, 17 Nov 2004 10:53:48 +0000 (GMT)
>
>On Wed, 17 Nov 2004, Andrew Nelson wrote:
>
> > Hi,
> >
> > I have a number of domains who want to dump all email sent to/from
> > their domains to a file before delivery.
> >
> > I'm wondering how I setup a router to match every email
>
>Probably easier to use a system filter, which runs once per message
>rather than once per recipient.
>
>FAQ->index->"c"->copy will lead you to a solution for emailing a copy.
>It's a simple matter to save to a file instead.
>
>--
>Philip Hazel            University of Cambridge Computing Service,
>ph10@???      Cambridge, England. Phone: +44 1223 334714.
>Get the Exim 4 book:    http://www.uit.co.uk/exim-book