|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Exim .forward with MaildirHi, I am using MailScanner with Exim using Maildir and it works fine. Now I am trying to use .forward for email filtering (i.e. move SPAM tagged messaged by MailScanner in users homedir/SPAM), however i am getting some errors. error: 2009-07-02 19:54:25 1MMYup-00019N-TB == /home/azher/Maildir/.SPAM/ [1]<azher@...> R=userforward defer (-30): transport "address_directory" not found in userforward router I have tried following the post, but no luck: [2]http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404. mbox/ Any help / pointer would be appreciated. -Azher ============================= .forward # Exim filter if error_message then finish endif if $h_Subject: contains "Disarmed" then save Maildir/.SPAM/ endif -------------- exim.conf userforward: driver = redirect check_local_user # local_part_suffix = +* : -* # local_part_suffix_optional file = $home/.forward allow_filter no_verify no_expn check_ancestor file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply directory_transport = address_directory ------------ References Visible links 1. mailto:azher@... 2. http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom@...%3E Hidden links: 3. http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom@...%3E -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/ |
|
|
Re: Exim .forward with MaildirHi Azher,
On Thu, 2 Jul 2009, Azher Mughal wrote: > 2009-07-02 19:54:25 1MMYup-00019N-TB == /home/azher/Maildir/.SPAM/ > [1]<azher@...> R=userforward defer (-30): transport > "address_directory" not found in userforward router Did you create a transport called address_directory? You don't show it in the small excerpt of exim.conf that you posted. Either create one, or find another way to deliver from the userforward router. > I have tried following the post, but no luck: http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom@...%3E If you follow the instructions of someone who failed to get it working, then I'm not surprised that it didn't work for you either. The only thing you need to do to enable Maildirs is add two lines to the local_delivery *transport*: maildir_format directory = $home/Mail Nothing else. You don't need to touch the userforward router at all. My advice is to undo all the changes you made so far, make your config as similar to the original one as possible, and then add just those two lines to the local_delivery transport *and nothing else*. Cheers, Chris. -- _____ __ _ \ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK | / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer | \__/_/_/_//_/___/ | We are GNU : free your mind & your software | -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/ |
|
|
Re: Exim .forward with MaildirHi Chris, Yes, i was missing the transport section :) Thanks for details. -Azher Chris Wilson wrote: Hi Azher, On Thu, 2 Jul 2009, Azher Mughal wrote: 2009-07-02 19:54:25 1MMYup-00019N-TB == /home/azher/Maildir/.SPAM/ [1][1]<azher@...> R=userforward defer (-30): transport "address_directory" not found in userforward router Did you create a transport called address_directory? You don't show it in the small excerpt of exim.conf that you posted. Either create one, or find another way to deliver from the userforward router. I have tried following the post, but no luck: [2]http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CN AELLANKCCGNAJLGFMDFCEPCCPAA.tom@...%3E If you follow the instructions of someone who failed to get it working, then I'm not surprised that it didn't work for you either. The only thing you need to do to enable Maildirs is add two lines to the local_delivery *transport*: maildir_format directory = $home/Mail Nothing else. You don't need to touch the userforward router at all. My advice is to undo all the changes you made so far, make your config as similar to the original one as possible, and then add just those two lines to the local_delivery transport *and nothing else*. Cheers, Chris. References 1. mailto:azher@... 2. http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom@...%3E -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/ |
| Free embeddable forum powered by Nabble | Forum Help |