Re: [exim] saving mails to a file

Góra strony
Delete this message
Reply to this message
Autor: Jim Pazarena
Data:  
Dla: exim-users
Temat: Re: [exim] saving mails to a file
userforward:
driver = redirect
check_local_user
file = $home/.forward
no_verify
no_expn
no_rewrite
check_ancestor
allow_filter
allow_fail
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
local_parts = root:admin:pgmr


address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add


Thanks, again!

On 2015-08-01 11:10 AM, Jeremy Harris wrote:
> On 01/08/15 18:39, Jim Pazarena wrote:
>>> I assume this delivery is not being done as one of the usual
>>> mail file types (mailbox, mbx, maildir). How are you doing it?
>>>
>>
>> in a dot forward, with a condition such as:
>>
>> if $h_subject: contains "file update (uuencoded)"
>>     then save $home/saved_file.uue
>>          finish
>> endif

>
> OK, this would be actioned by a redirect router, and returns
> the filename to that router. There will then be a transport
> handling delivery to file. What is the configuration of that?
> Also, is the file local to the system (not NFS-mounted)?
>