5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] authmysqlrc ignored?
FromSent OnAttachments
Dylan MarkowNov 27, 2006 2:34 pm 
Sam VarshavchikNov 27, 2006 3:16 pm 
Dylan MarkowNov 27, 2006 3:19 pm 
Sam VarshavchikNov 27, 2006 3:38 pm 
Dylan MarkowNov 27, 2006 4:19 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:Re: [maildropl] authmysqlrc ignored?Actions...
From:Dylan Markow (dmar@gmail.com)
Date:Nov 27, 2006 4:19:20 pm
List:net.sourceforge.lists.courier-maildrop

I set it, and my auth.log shows:

Nov 27 16:16:35 pdx authdaemond: received userid lookup request: dm@example.com Nov 27 16:16:35 pdx authdaemond: authmysql: trying this module Nov 27 16:16:35 pdx authdaemond: SQL query: SELECT id, "", clear, uid, gid, home, concat(home,'/',maildir), "", name, "" FROM users WHERE id = " dm@example.com" AND (enabled=1) Nov 27 16:16:35 pdx authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/spool/mail/virtual, address= dm@example.com, fullname=Dylan Markow, maildir=/var/spool/mail/virtual/example.com/dm/, quota=<null>, options=<null> Nov 27 16:16:35 pdx authdaemond: Authenticated: clearpasswd=XXXXXX, passwd=<null>

whenever maildrop runs.

Also, as I mentioned, the $HOME variable uses the database value perfectly, it's only $DEFAULT that "defaults" to "./Maildir".

When I run maildrop from the command line: maildrop -V10 -d dm@example.com < test.msg The $DEFAULT variable is set correctly.

On 11/27/06, Sam Varshavchik <mrs@courier-mta.com> wrote:

Dylan Markow writes:

« HTML content follows » I just got it working, my maildroprc file was in the wrong spot.

I'm coming across another problem though. I set up a couple "log ..." statements in my maildroprc file for testing. It looks like $HOME is getting set to the field from MYSQL_HOME_FIELD correctly. However, I can't find anyway to access MYSQL_MAILDIR_FIELD... I tried using "$DEFAULT", but that wants to be "./Maildir" regardless of what I do?

Read my previous message.