27 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Re: authmysql and...
FromSent OnAttachments
Ricardo KleemannSep 4, 2003 7:06 am 
Ben KennedySep 4, 2003 12:01 pm 
Sam VarshavchikSep 4, 2003 2:28 pm 
Ben KennedySep 4, 2003 2:55 pm 
Ricardo KleemannSep 4, 2003 3:13 pm 
RolandSep 4, 2003 3:29 pm 
Sam VarshavchikSep 4, 2003 4:23 pm 
Sam VarshavchikSep 4, 2003 4:23 pm 
Ricardo KleemannSep 4, 2003 5:42 pm 
Ben KennedySep 4, 2003 6:39 pm 
Sam VarshavchikSep 4, 2003 7:11 pm 
Sam VarshavchikSep 4, 2003 7:11 pm 
Ricardo KleemannSep 4, 2003 10:04 pm 
Ben KennedySep 5, 2003 7:34 am 
Ricardo KleemannSep 5, 2003 9:23 am 
Ben KennedySep 5, 2003 9:33 am 
Ricardo KleemannSep 5, 2003 11:50 am 
Sam VarshavchikSep 5, 2003 1:04 pm 
Ricardo KleemannSep 5, 2003 3:01 pm 
Ben KennedySep 5, 2003 3:08 pm 
Sam VarshavchikSep 6, 2003 4:08 pm 
Ricardo KleemannSep 6, 2003 8:50 pm 
Ricardo KleemannSep 6, 2003 8:50 pm 
Sam VarshavchikSep 7, 2003 6:52 am 
Ricardo KleemannSep 8, 2003 5:12 pm 
Sam VarshavchikSep 8, 2003 6:39 pm 
Ricardo KleemannSep 8, 2003 8:23 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: [courier-users] Re: authmysql and external programs / forwarding?Actions...
From:Ricardo Kleemann (rica@americasnet.com)
Date:Sep 5, 2003 9:23:48 am
List:net.sourceforge.lists.courier-users

Hi Ben,

Thanks again for your help.

No worries, it took me a while of screwing around to determine the idiosyncrasies of configuration required to make it work consistently.

I'm not alone! ;-)

What are the home and maildir fields supposed to be set to >in this case? I cannot get the MYSQL_DEFAULTDELIVERY instructions to be honored. Mail will always be delivered

to >the directory specified in the "home" field. If I blank out >the home field, then I get an authentication error. So as a >test I put in a valid directory in home, and then put in "| >/usr/lib/courier/bin/sendmail rica@americasnet.com" in >the field pointed to by MYSQL_DEFAULTDELIVERY (which I named >"delivery" in my table). This is for a test account.

I'm not sure why you're getting mail delivered to the account's homedir; that seems a bit odd. Here is an excerpt from my personal courier setup notes:

Right, so I don't understand either! :-( It doesn't seem that delivery is exactly following what you describe in your notes. Here's an example of my test setup:

Account: te@new.321.net pertinent authmysqlrc setup: MYSQL_USER_TABLE users MYSQL_HOME_FIELD home MYSQL_DEFAULTDELIVERY delivery

entry in mysql table:

home = '/var/homes/321.net/te/test' delivery = '|/usr/lib/courier/bin/sendmail rica@americasnet.com'

The directory /var/homes/321.net/te/test does NOT have any courier* or .maildrop* files.

When a message is sent to te@new.321.net, the ONLY thing that happens is it gets delivered to /var/homes/321.net/te/test/Maildir/new. Nothing else... no delivery instructions are taken from authmysqlrc.

Can anyone provide suggestions on how to further debug this?

Ricardo