Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: exim: users

Exim .forward with Maildir

 

 

exim users RSS feed   Index | Next | Previous | View Threaded


azher at hep

Jul 2, 2009, 8:17 PM

Post #1 of 3 (416 views)
Permalink
Exim .forward with Maildir

Hi,
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[at]mail-ul.caltech.edu> 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[at]mail-ul.caltech.edu
2. http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom[at]thevivians.net%3E

Hidden links:
3. http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom[at]thevivians.net%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/


chris+exim at qwirx

Jul 3, 2009, 1:26 AM

Post #2 of 3 (390 views)
Permalink
Re: Exim .forward with Maildir [In reply to]

Hi Azher,

On Thu, 2 Jul 2009, Azher Mughal wrote:

> 2009-07-02 19:54:25 1MMYup-00019N-TB == /home/azher/Maildir/.SPAM/
> [1]<azher[at]mail-ul.caltech.edu> 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[at]thevivians.net%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/


azher at hep

Jul 3, 2009, 7:53 AM

Post #3 of 3 (390 views)
Permalink
Re: Exim .forward with Maildir [In reply to]

Hi 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[at]mail-ul.caltech.edu> 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[at]thevivians.net%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[at]mail-ul.caltech.edu
2. http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3CNAELLANKCCGNAJLGFMDFCEPCCPAA.tom[at]thevivians.net%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/

exim users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.