Re: [exim] Random Idea... Possible?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Michael J. Tubby B.Sc G8TIC
Fecha:  
A: Odhiambo Washington
Cc: exim-users, Jan-Piet Mens
Asunto: Re: [exim] Random Idea... Possible?
On 20/04/2012 06:16, Odhiambo Washington wrote:
> On Thu, Apr 19, 2012 at 09:55, Jan-Piet Mens<jpmens.dns@???> wrote:
>
>>> Has anyone ever used / configured Exim as an email server to receive
>>> incoming e-mails, capture an attached file and then save the file off
>>> somewhere in a directory?
>> I recommend MailScanner [1] which, apart from a number of other useful
>> tasks, has done that for me in the past. It's rather easy to integrate
>> with Exim and documentation is pretty good.
>>
>> Otherwise a transport to a pipe with a custom made program ought to do
>> the trick.
>>
>>         -JP

>>
>>
> Procmail would be a lot easier. One global rule and voila!
>


Or you could "capture" you files in the MIME ACL while they are unpacked
for you and identified in:

     /var/spool/exim/scan/...


and just trap the sender address and content type and call a bit of PERL
to do the dirty work, or if your requirement is particularly simple and
you know the sender you can just use:

     decode = <filename/path>



Mike