2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Temporary authentication ...
FromSent OnAttachments
Barry BergerFeb 23, 2006 6:56 am 
moussFeb 23, 2006 1:42 pm 
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] Temporary authentication failure...againActions...
From:Barry Berger (bar@thisblueplanet.net)
Date:Feb 23, 2006 6:56:38 am
List:net.sourceforge.lists.courier-maildrop

Truong and Sam, Thanks for your responses.

I've gotten past the error I was receiving by enabling debug and seeing the sql query errors. I had copied and pasted the sql code from the example into authmysqlrc so I'm pointing out the problem here. Perhaps somebody else will have this same problem.. The initial debug error was that there was a lose ' .' (period) in the query. I examined the file but could not find this wayward '.' I eventually found that there was an embed tab (I guess - it wasn't visible) in the line:

MYSQL_NAME_FIELD name

Where that character was introduced into the file, I don't know. Deleting that invisible character resulted in a new and different sql error complaining about an sql error near ' access='y''

The code I pasted from the example looks like this:

CONCAT("disableimap=",disableimap,",disablepop3=",disablepop3,",disablewebmail=",disablewebmail,",sharedgroup=",sharedgroup) MYSQL_WHERE_CLAUSE access='y'

It was late last night so to verify this was the problem, I simply removed the access='y' rather than inserting an 'and' condition into the query string before 'access'. All of the queued mail was delivered to the designated directory as planned.

Thanks again :) Barry

Truong Tan Son wrote:

Did you make Maildir for virtual users, and change Pemission of ~/Maildir for vmail:vmail ?

Can you shorten /etc/maildroprc by one line to run debug, and show the log file ? /etc/maildroprc:

to "/home/vmail/tester/Maildir"

Sam wrote:

Did you read the "NOTE" at the beginning of maildrop's README, and which one of the three configuration options did you choose?