7 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier mysql query
FromSent OnAttachments
Joseph TurleyApr 30, 2003 9:34 pm 
Joe LaffeyApr 30, 2003 10:17 pm 
James A BakerApr 30, 2003 11:20 pm 
VoltaireMay 1, 2003 12:33 am 
James A BakerMay 1, 2003 3:58 am 
Rodrigo SeveroMay 1, 2003 7:03 am 
ArildMay 3, 2003 5:57 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:Re: [courier-users] Courier mysql queryActions...
From:Rodrigo Severo (rodr@fabricadeideias.com)
Date:May 1, 2003 7:03:12 am
List:net.sourceforge.lists.courier-users

Joseph Turley wrote:

My understanding was that courier takes the home field and the maildir field and puts them together to make the full path to the Maildir.

This is correct, AFAIK.

If you leave the Maildir field empty, Courier will use the DEFAULTDELIVERY setting in the etc/courierd file (which is installed as "./Maildir").

I believe that this is the best option as you will be able to start using, lets say, maildrop as your default delivery agent (with any filtering you might need) only by changing the DEFAULTDELIVERY option.

You should really put the complete home directory in the home field and leave the Maildir field empty. It's easier, it works and it gives you more flexibility.

I'm trying to follow the setup mentioned by http://kirb.insanegenius.net/postfix.html as well as the INSTALL file for phpMailAdmin. My database is set up like the phpMailAdmin file says to, and I can get it to pass the correct username and password, but it dies afterward saying:

Unknown error: Fatal error: Maildir: No such file or directory

phpMailAdmin dies? Sorry, can't help you with that one, I've never used it.

I also tried writing my own query, but it didn't work...?

MYSQL_SELECT_CLAUSE SELECT id, crypt, uid, gid, clear, home, maildir, quota, name \ # FROM users \ # WHERE id = '$(local_part)'

The instructions in etc/authmysqlrc were wrong up to courier-0.42.0.20030420. courier-0.42.0.20030423 has the correct instructions. There were two corrections:

1. The order of the fields as already mentioned and

2. The fact that the username should include the domain as (username@domain).

I hope this helps to clarify the issue,