Szerző: Peter Bowyer Dátum: Címzett: Exim Users Mailing List Tárgy: Re: [exim] problem with .forward
On Wed, 16 Feb 2005 08:38:33 +0100, dziury@??? <dziury@???> wrote: > Hello exim folks.
> i have problem with executing .forward files.
> my userforward and localuser parts :
> -----------------------
> userforward:
> driver = redirect
> allow_filter
> check_ancestor
> check_local_user
> no_expn
> file = $home/.forward
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
> no_verify
>
> localuser:
> driver = accept
> check_local_user
> transport = local_delivery
>
> local_delivery:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> file = /var/mail/$local_part
> group = mail
> mode = 0660
> return_path_add
> user = ${local_part}
> -------------------------
> and when i will create a .forward file in some home directory
> [root@server test2]# cat .forward
> "|/bin/touch lll"
> while sending mail it is executed(file created) , but mail isnt
> delivered. logs shows me that mail has been delivered by "completed"
> command.
> I dont know where to look for errors. please send any suggestions.
What did you expect to happen to a mail which you piped to the 'touch'
command? 'man touch' on my server doesn't say anything about it
reacting usefully to anything on stdin.
If the file was created, then I think it has done exactly what you told it to.