9 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Postfix/maildrop driv...
FromSent OnAttachments
Rob BrandtJul 2, 2005 11:28 pm 
Tony EarnshawJul 3, 2005 2:30 am 
Jasper SlitsJul 3, 2005 5:55 am 
Tony EarnshawJul 3, 2005 7:11 am 
Rob BrandtJul 3, 2005 3:42 pm 
Rob BrandtJul 3, 2005 10:50 pm 
Rob BrandtJul 3, 2005 11:33 pm 
Tony EarnshawJul 4, 2005 2:35 am 
Tony EarnshawJul 4, 2005 2:35 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: [maildropl] Postfix/maildrop driving me nuts - so close!Actions...
From:Rob Brandt (bro@csd-bes.net)
Date:Jul 3, 2005 11:33:18 pm
List:net.sourceforge.lists.courier-maildrop

Much progress made.

I've found several references to this issue by googling my error below, and have moved through the related files/dirs and set all users to my designated user, plus setuid and gid on maildrop, and the errors stopped. However, the filter still wasn't being used.

I am using a virtual system, and have the directories arranged as follows, using my test account rbra@amd64.csd-bes.net:

/var/spool/postfix/virtual/amd64.csd-bes/rbrandt

with the usual /cur, /new, /tmp, /.Trash, /.Drafts directories therein. Also in that folder I had the .mailfilter file, set up to deliver mail with a specified Subject header "[test]" into the /.test directory. As I said above, that doesn't work. Assuming that maildrop was working but not finding a mailfilter, I moved that file up the directory tree; lo, and behold, it works at /var/spool/postfix/virtual/.mailfilter!

This is great news, obviously, since I know that it is essentially working at this point. But the whole point here is to have a .mailfilter for each virtual user. I think I understand why it's looking there: the maildrop docs say that it looks for .mailfilter at $HOME/.mailfilter, and in the MySQL database I have home set to /var/spool/postfix/virtual, so that's where maildrop is looking for .mailfilter. The maildir value is "amd64.csd-bes.net/rbrandt/. I suppose I could set home to be the complete path /var/spool/postfix/virtual/amd64.csd-bes/rbrandt/, leaving the maildir value empty, but that doesn't seem "right" to me. What would be the purpose of the maildir value then? And it prevents me from setting a default value for home that will be the same for each user record I add.

So are there any better ways?

Thanks for all your help you guys. Gotta love the Dutch. :)

Rob

For some reason, the last portion of the message below was chopped off. Here it is:

I did run your test as below, although I am unsure of the permission context I should be in:

As myself ('rbrandt')

rbrandt@linux:~ # maildrop -V[3-5] -d rbra@amd64.csd-bes.net < /home/rbrandt/message.eml ERR: authdaemon: s_connect() failed: permission denied maildrop: Temporary authentication failure. rbrandt@linux:~ #

As root:

linux:~ # maildrop -V[3-5] -d rbra@amd64.csd-bes.net < /home/rbrandt/message.eml linux:~ # (no response, but nothing was done with the message)

Thanks

Rob

Courier-imap, courier-authlib and maildrop are all new installations using new versions from courier-mta.org, compiled and rpm'ed over the last week or so for a new server to be deployed this week. I see that Sam released new versions of -imap and -authlib yesterday; my versions are the ones just prior to that. Presumably they work together :). It is my understanding that once authlib is installed and working, all the other components now use that for authentication; therefore if courier-imap is authenticating OK, then maildrop should too. If that understanding is wrong, then that's probably my trouble