

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
1 message in net.sourceforge.lists.courier-maildrop[maildropl] Just cant get it to work....| From | Sent On | Attachments |
|---|---|---|
| David W Bell | Apr 11, 2003 2:23 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [maildropl] Just cant get it to work....... | Actions... |
|---|---|---|
| From: | David W Bell (dav...@chaoscrypt.com) | |
| Date: | Apr 11, 2003 2:23:44 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
I am running courier-mta with courier-imap-ssl quite happily
I am now wanting to add courier-maildrop to the equation.
I am running Debain Linux, so have installed the packages with dselect.
I cannot get mailfilter to work - when I try to use maildrop I get the following in my /var/log/mail.log
Apr 11 22:16:47 ebon courierlocal: id=0000A0C3.3E9730BE.00004DA0,from=<sg...@chaoscrypt.org>,addr=<dav...@chaoscrypt.com>: maildrop: signal 0x0B Apr 11 22:16:47 ebon courierlocal: id=0000A0C3.3E9730BE.00004DA0,from=<sg...@chaoscrypt.org>,addr=<dav...@chaoscrypt.com>,status: deferred Apr 11 22:16:47 ebon courierd: completed,id=0000A0C3.3E9730BE.00004DA0 Apr 11 22:16:47 ebon courierd: Waiting. shutdown time=Fri Apr 11 23:09:52 2003, wakeup time=Fri Apr 11 22:17:57 2003, queuedelivering=5, inprogress=0
Can anyone help?
I apologise in advance for the lenght of the mail.
My configs are as such
ebon:/etc/courier# ls -la total 236 drwxr-xr-x 6 root root 4096 Apr 7 19:48 . drwxr-xr-x 58 root root 4096 Apr 10 18:50 .. drwxr-xr-x 2 root root 4096 Mar 6 14:11 aliases -rw-rw-r-- 1 root root 12697 Mar 6 14:12 aliases.dat -rw-r--r-- 1 root root 2672 Nov 14 13:57 authdaemonrc -rw-r--r-- 1 root root 11 Nov 14 13:56 authmodulelist drwxr-xr-x 2 root root 4096 Mar 6 14:11 courier -rw-r--r-- 1 root root 7876 Apr 11 21:34 courierd -rw-r--r-- 1 root root 15 Nov 19 20:01 defaultdomain -rw-r--r-- 1 root root 802 Nov 14 13:56 dsndelayed.txt -rw-r--r-- 1 root root 214 Nov 14 13:56 dsndelivered.txt -rw-r--r-- 1 root root 187 Nov 14 13:56 dsnfailed.txt -rw-r--r-- 1 root root 335 Nov 14 13:56 dsnfooter.txt -rw-r--r-- 1 root root 29 Feb 25 15:14 dsnfrom -rw-r--r-- 1 root root 191 Nov 14 13:56 dsnheader.txt -rw-r--r-- 1 root root 530 Nov 14 13:56 dsnrelayed.txt -rw-r--r-- 1 root root 30 Nov 14 13:56 dsnsubjectnotice.txt -rw-r--r-- 1 root root 23 Nov 14 13:56 dsnsubjectwarn.txt -rw-r--r-- 1 root root 6 Dec 18 13:28 enablefiltering -rw-r--r-- 1 root root 128 Nov 19 20:46 esmtpacceptmailfor -rw-r--r-- 1 root root 12416 Mar 6 14:12 esmtpacceptmailfor.dat -rw-r--r-- 1 root root 128 Nov 19 20:48 esmtpacceptmailfor.dir -rw------- 1 daemon daemon 0 Nov 14 13:56 esmtpauthclient -rw-r--r-- 1 root root 8555 Nov 19 21:57 esmtpd -rw-r--r-- 1 root root 3374 Nov 14 13:57 esmtpd-msa -rw-r--r-- 1 root root 343 Jan 10 18:24 esmtpd.cnf drwxr-xr-x 3 root root 4096 Mar 6 14:11 filters -rw-r--r-- 1 root root 8278 Mar 4 15:21 imapd -rw-r--r-- 1 root root 5607 Feb 24 19:42 imapd-ssl -rw-r--r-- 1 root root 337 Feb 26 13:18 imapd.cnf -rw------- 1 root root 2133 Feb 25 15:15 imapd.pem -rw-r--r-- 1 root root 128 Nov 19 20:27 locals -rw-r--r-- 1 root root 18 Apr 7 19:43 maildrop -rw-r--r-- 1 root root 71 Nov 14 13:56 module.dsn -rw-r--r-- 1 root root 98 Nov 14 13:56 module.esmtp -rw-r--r-- 1 root root 91 Mar 6 14:07 module.fax -rw-r--r-- 1 root root 86 Nov 14 13:56 module.local -rw-r--r-- 1 root root 93 Nov 14 13:56 module.uucp -rw-r--r-- 1 root root 346 Nov 14 13:57 rfcerr2045.txt -rw-r--r-- 1 root root 369 Nov 14 13:57 rfcerr2046.txt -rw-r--r-- 1 root root 325 Nov 14 13:57 rfcerr2047.txt -rw-r--r-- 1 root root 1191 Nov 14 13:57 rfcerrheader.txt -rw-r--r-- 1 root root 128 Feb 24 18:43 smtpacceptmailfor drwxr-xr-x 2 root root 4096 Mar 6 14:11 smtpaccess -rw-r--r-- 1 root root 12357 Mar 6 14:12 smtpaccess.dat
and my courierd file is modified as such to use maildrop
######################################################################## # ##NAME: DEFAULTDELIVERY:0 # # Specify default delivery instructions by setting DEFAULTDELIVERY # One of the following definitions of DEFAULTDELIVERY should be # uncommented. # # Default deliveries to $HOME/Maildir # # DEFAULTDELIVERY=./Maildir # # Alternatively, use procmail to deliver mail to local mailboxes. # # DEFAULTDELIVERY="| /usr/bin/preline /usr/bin/procmail" # # Here's how to have maildrop handle local deliveries. # # DEFAULTDELIVERY="| /usr/bin/maildrop" # # If you want to automatically enable .forward support globally, # use something like this: # # DEFAULTDELIVERY="|| dotforward # ./Maildir" # # Yes, it's two lines long, with an embedded newline. Of course, you can use # any default local mail delivery instruction in place of ./Maildir.
#DEFAULTDELIVERY=./Maildir DEFAULTDELIVERY="| /usr/bin/maildrop"
##NAME: MAILDROPDEFAULT:0 # # The following setting initializes the DEFAULT variable in maildrop, # the location of the default mailbox. You should not change this setting # unless you REALLY know what you're doing.
#MAILDROPDEFAULT=./Maildir
and my maildrop file reads
/usr/bin/maildrop ~ ~ ~
My user home directory looks like
david@ebon:~$ ls -la total 44 drwxr-xr-x 4 david david 4096 Apr 11 22:05 . drwxrwsr-x 14 root staff 4096 Apr 10 18:50 .. -rw------- 1 david david 7193 Apr 10 19:56 .bash_history -rw-r--r-- 1 david david 509 Jan 1 2000 .bash_profile -rw-r--r-- 1 david david 1093 Jan 1 2000 .bashrc -rw-r--r-- 1 david david 14 Mar 5 14:13 .exrc -rw-r--r-- 1 david david 166 Apr 11 21:45 .mailfilter -rw------- 1 david david 963 Mar 5 15:43 .mysql_history drwx------ 2 david david 4096 Feb 9 03:13 .ssh drwx------ 12 david david 4096 Apr 11 21:37 Maildir
my .mailfilter like
MAILDIR="/home/david/Maildir"
if (/^Subject:.*filtertest*/) { to "$MAILDIR/.maildrop" } ~
my Maildir has the following structure
david@ebon:~/Maildir$ ls -la total 120 drwx------ 11 david david 4096 Apr 11 22:11 . drwxr-xr-x 4 david david 4096 Apr 11 22:05 .. drwx------ 5 david david 4096 Apr 8 19:10 .Drafts drwx------ 5 david david 4096 Apr 11 22:11 .Sent drwx------ 5 david david 4096 Jan 29 11:50 .Spam drwx------ 5 david david 4096 Feb 24 22:38 .Test drwx------ 5 david david 4096 Apr 11 22:11 .Trash drwx------ 5 david david 4096 Mar 5 11:24 .maildrop -rw-r--r-- 1 david david 79 Apr 11 22:11 courierimapsubscribed -rw-r--r-- 1 david david 31438 Apr 11 21:37 courierimapuiddb drwx------ 2 david david 40960 Apr 11 21:57 cur -rw-r--r-- 1 david david 70 Apr 11 21:45 maildirfilterconfig drwx------ 2 david david 4096 Apr 11 21:37 new drwx------ 2 david david 4096 Apr 11 22:18 tmp
and finally my maildirfilter config
MAILDIRFILTER="/home/david/.mailfilter" MAILDIR="/home/david/Maildir" ~







