7 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildrop delivery problem
FromSent OnAttachments
Ralf HildebrandtJun 27, 2006 1:42 pm 
Joseph W. BreuJun 27, 2006 1:47 pm 
Ralf HildebrandtJun 27, 2006 1:53 pm 
Ralf HildebrandtJun 27, 2006 1:58 pm 
Devin RubiaJun 28, 2006 6:11 am 
Ralf HildebrandtJun 28, 2006 6:13 am 
Devin RubiaJun 28, 2006 6:18 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] maildrop delivery problemActions...
From:Ralf Hildebrandt (Ralf@charite.de)
Date:Jun 27, 2006 1:42:20 pm
List:net.sourceforge.lists.courier-maildrop

Hello All,

maildrop is called from postfix using a maildrop transport in master.cf:

maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -w 90 -d ${recipient}

Flushing the queue results in:

Jun 27 19:18:52 crystal authdaemond: received userid lookup request:
kalai@test.invalid Jun 27 19:18:52 crystal authdaemond: authmysql: trying this module Jun 27 19:18:52 crystal authdaemond: SQL query: SELECT email, password,
clear_password, '1001', '1001', '/var/vmail', CONCAT(maildir,"Maildir/"),
mailquota*1024*1024, name,
CONCAT("disableimap=",disableimap,",disablepop3=",disablepop3,",disablewebmail=",disablewebmail)
FROM mailbox WHERE email = "kalai@test.invalid" Jun 27 19:18:52 crystal authdaemond: Authenticated: sysusername=<null>,
sysuserid=1001, sysgroupid=1001, homedir=/var/vmail, address=kalai@test.invalid,
fullname=<null>, maildir=test.invalid/u/kalai/Maildir/, quota=20971520,
options=disableimap=0,disablepop3=0,disablewebmail=0 Jun 27 19:18:52 crystal authdaemond: Authenticated: clearpasswd=kalai,
passwd=kalai Jun 27 19:18:52 crystal postfix/pipe[32032]: AD4C43F9A0:
to=<kalai@test.invalid>, relay=maildrop, delay=1143, status=deferred (temporary
failure)

Testing manually gives me:

# su - vmail $ /usr/local/courier/bin/maildrop -d kalai@test.invalid $ echo $? 75

Testing manually with -V gives me a different behaviour:

# su - vmail $ /usr/local/courier/bin/maildrop -V -d kalai@test.invalid dumdidum<CTRL-D> /usr/local/courier/bin/maildrop: Unable to open filter file, errno=2.

Which totally confuses me.

This is courier-authlib-0.58.tar.bz2 with maildrop-2.0.2.tar.bz2 built from source according to
http://www.pipeline.com.au/staff/mbowe/isp/postfix-server.htm

A manual execution of the select statement:

SELECT email, password, clear_password, '1001', '1001', '/var/vmail',
mailquota*1024*1024, name FROM mailbox WHERE email = "kalai@test.invalid" AND
(active='1'); +--------------------+----------+----------------+------+------+------------+---------------------+------+ | email | password | clear_password | 1001 | 1001 | /var/vmail |
mailquota*1024*1024 | name | +--------------------+----------+----------------+------+------+------------+---------------------+------+ | kalai@test.invalid | kalai | kalai | 1001 | 1001 | /var/vmail |
20971520 | | +--------------------+----------+----------------+------+------+------------+---------------------+------+