

![]() | 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] maildrop delivers to a ma...| From | Sent On | Attachments |
|---|---|---|
| Jorge Salamero Sanz | Aug 11, 2005 12:26 am |

![]() | 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] maildrop delivers to a mailbox inside the maildir | Actions... |
|---|---|---|
| From: | Jorge Salamero Sanz (ben...@cauterized.net) | |
| Date: | Aug 11, 2005 12:26:38 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
hi all maildropers :=),
i've a virtual domain mail system with postfix, courier and mysql.
now i want to set up maildrop to filter mails on the server side, but maildrop delivers the mails to /home/vmail/us...@domain.tld/Maildir (a mailbox file) instead to the maildir: -rw------- 1 vmail vmail 73138 Aug 10 13:59 Maildir <=== drwx------ 2 vmail vmail 4096 Aug 10 12:25 courierimapkeywords -rw-r--r-- 1 vmail vmail 353 Aug 3 15:33 courierimapsubscribed -rw-r--r-- 1 vmail vmail 91988 Aug 10 12:36 courierimapuiddb -rw-r--r-- 1 vmail vmail 154 Aug 2 09:58 courierpop3dsizelist drwx------ 2 vmail vmail 237568 Aug 10 12:36 cur drwx------ 2 vmail vmail 94208 Aug 10 12:36 new drwx------ 2 vmail vmail 4096 Aug 10 14:02 tmp
i'm using debian sarge with maildrop recompiled with mysql support: host:/home/vmail# maildrop -v maildrop 1.7.0 Copyright 1998-2003 Double Precision, Inc. GDBM extensions enabled. Maildir quota extension enabled. Virtual user database extension enabled. Virtual user database via MySQL extension enabled. This program is distributed under the terms of the GNU General Public License. See COPYING for additional information.
this is the master.cf transport: maildrop unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/bin/maildrop -V 9 -d ${recipient}
the main.cf: mailbox_command = /usr/bin/maildrop -d $USER virtual_transport = maildrop vmail_destination_recipient_limit = 1 maildrop_destination_recipient_limit = 1
the /etc/courier/maildropmysql.config: hostname localhost #port 3306 database mydb dbuser myuser dbpw mypasswd dbtable mailbox default_uidnumber 4000 default_gidnumber 4000 uid_field username homedirectory_field concat('/home/vmail/',maildir) homedirectory_base /home/vmail/ uidnumber_field 4000 maildir_field maildir gidnumber_field 4000 quota_field quota #mailstatus_field spamscan
host:/home/vmail# maildrop -V9 -d us...@domain.tld maildrop: Changing to /home/vmail/us...@domain.tld/
the /home/vmail/ dir: host:/home/vmail# ls -ld drwxrwx--- 18 vmail vmail 4096 Aug 10 12:39 .
the /home/vmail/.mailfilter: LOGNAME=tolower($LOGNAME) to $LOGNAME
-rw------- 1 vmail vmail 38 Aug 10 12:39 .mailfilter
whatever i put here (for example: to $LOGNAME/.my-list/), it delivers the mail to /home/vmail/us...@domain.tld/Maildir
the /etc/passwd: vmail:x:4000:4000::/home/vmail:/bin/false
and the logs: Aug 10 12:41:57 host postfix/pipe[32760]: 9EF4D1B659: to=<us...@domain.tld>, relay=maildrop, delay=0, status=sent (domain.tld) Aug 10 12:41:57 host postfix/qmgr[9015]: 9EF4D1B659: removed
where do you think is the problem ?
thanks in advance !







