4 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Finding Maildir w...
FromSent OnAttachments
d...@vidsolbach.deAug 19, 2004 5:45 am 
Mogens ValentinAug 21, 2004 4:13 pm 
David SolbachAug 21, 2004 4:28 pm 
David SolbachAug 25, 2004 7: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:Re: [courier-users] Finding Maildir with procmailActions...
From:David Solbach (d@vidsolbach.de)
Date:Aug 25, 2004 7:18:44 am
List:net.sourceforge.lists.courier-users

It's me again,

Isn't there anybody who probably has a helpfull hint for me? Anybody at all who uses sieve or procmail with the courier-mta?

David

Hi,

I use Courier-MTA with the mysqlauth module. Now, when I use maildrop for local delivery, there are no problems at all, courier checks for the Account-Home in the mysql DB and Deliveres the mail to i.e.

/var/quica/domains/vidsolbach.de/d/Maildir

It uses the $HOME environment variable (which is set by the mysqlauth-module) for that.

Procmail also uses $HOME. But when I change my /etc/courierd to use procmail instead of maildrop it tries to Deliver the mail to:

/var/spool/mail/Maildir (probably because /var/spool/mail is the $HOME of user mail regarding to /etc/passwd)

The strange thing is: If I replace procmail in the courierd config with this little program:

athen099 root # cat /usr/bin/mailtest export > /tmp/mailenv

then I get:

athen099 root # grep HOME /tmp/mailenv export HOME="/var/quica/domains/vidsolbach.de/d"

Any suggestions on this one? Where have I gone wrong?

Thanks a lot,