[exim] Questions about Routers, Transports and Exim Filters.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Eric A. Bonney
Dátum:  
Címzett: exim-users
Tárgy: [exim] Questions about Routers, Transports and Exim Filters.
I am trying to take advantage of Exim filters to move incoming messages around
to specific folders on my IMAP server and/or to send a duplicate message off
to someone that might need it. I have the delivery part working just fine,
but I can't seem to save the file into the specific folder.

Here is my .forward file:

      # Exim filter
      logfile /mnt/hd4/MailBoxes/vanhlebarsoftware.com/mailinglists/filter.log
0755
      if
         $h_subject: contains "[Kmymoney2-developer]"
      then
           logwrite "Made it to the KMyMoney-developer clause"
     
save /mnt/hd4/MailBoxes/vanhelbarsoftware.com/mailinglists/.KMyMoney-Dev/new/
     elif
         $h_subject: contains "[Kmymoney2-user]"
     then      
save /mnt/hd4/MailBoxes/vanhlebarsoftware.com/mailinglists/.KMyMoney-User/new/
     endif

Here is my router that I am using and it is the very first router declared:
    userforward:
       driver = redirect
       check_local_user = false
    # local_part_suffix = +* : -*
    # local_part_suffix_optional
       file = /mnt/hd4/MailBoxes/${domain}/${local_part}/.forward
      allow_filter
      no_verify
      no_expn
      check_ancestor
      directory_transport = address_directory
      file_transport =  address_file
      pipe_transport = address_pipe
      reply_transport = address_reply
      owners = vmail
      user = vmail
      group = mail
      filter_prepend_home = false
      router_home_directory = /mnt/hd4/MailBoxes/

My Transport is as follows:
    address_directory:
      driver = appendfile
      maildir_format
      delivery_date_add
      envelope_to_add
      return_path_add
      user = vmail
      group = mail
      mode = 0775
      directory_mode = 0775

If there is anything else that I can tell you about this situation, please let
me know. I am using a virtual domain setup as described at the following
site:
http://struction.de/projects/HOWTO_VirtualMail_Exim-MySQL-Spamassassin-ClamAV-Dovecot/#features

Thanks for the input.

-Eric