Re: [exim] Questions about Routers, Transports and Exim Filt…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Eric A. Bonney
日付:  
To: exim-users
題目: Re: [exim] Questions about Routers, Transports and Exim Filters.
Please allow me to apologize for the duplicate postings. I was having issues
with my email server and it was showing the messages as not deliverable, but
I guess it finally fixed and sent all the emails at once.

I do apologize for that.

-Eric

On Tuesday 21 October 2008 10:20:30 Eric A. Bonney wrote:
> 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-Clam
>AV-Dovecot/#features
>
> Thanks for the input.
>
> -Eric