[Exim] Vaction set-up and .forward file

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dermot Paikkos
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [Exim] Vaction set-up and .forward file
Hi,
I am new to exim and am trying to set-up a vacation facility for our
installation (v3.16). I have been trying to do this using .forward files
and filtering rules in a test mail account home directory. I have
created the following .forward file which was copied practically
verbatim from the User's mail filtering doc.

# Exim filter

  if personal then
    seen mail                     #  Seen has been added here
          to $reply_address
          subject "Re: $h_subject:"
          file $home/.vacation.msg
          once_repeat 10d
  endif
  if error_message then finish endif


I also tried:

# exim filter
if personal then vacation endif

For each of these I get:
>exim -bf new-filter < mail.txt


  Sender    = user@???
  Recipient = root@???
  Testing Exim filter file new-filter


Filter processing ended:
Filtering did not set up a significant delivery.
Normal delivery will occur.

I added "seen" before the mail command in the 1st filter rule and
also tried placing it at the before the endif. This hasn't effected any
change. I have looked at the other messages regarding the vacation
in the archive and people seem to have set up transports
specifically for vacation which have the "unseen" option. I am
guessing a little but I think I need to update my exim.conf to make
this work, would that seem correct? Below is an extract from the
exim.conf transport and directors sections: Can anyone offer any
advice here?
Thanx in advance.

local_delivery
driver = appendfile
file = /var/mail/${local_part}
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660

address_pipe:
driver = pipe
return_output

address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add

address_reply:
driver = autoreply

Directors:
userforward:
driver = forwardfile
file = .forward
no_verify
no_expn
check_ancestor
filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

localuser:
driver = localuser
transport = local_delivery

~~
Dermot Paikkos * dermot@???
Network Administrator @ Science Photo Library
Phone: 0207 432 1100 * Fax: 0207 286 8668