13 Nov 2011 11:53
Fwd: FW: Re: Need some very very basic help with Maildrop please
brian <Brian_Dorling <at> t-online.de>
2011-11-13 10:53:58 GMT
2011-11-13 10:53:58 GMT
Date: Sat, 12 Nov 2011 18:32:55 +0100
Subject: Re: [maildropl] Need some very very basic help with Maildrop please From: Sam Varshavchik <mrsam <at> courier-mta.com> To: courier-maildrop <at> lists.sourceforge.net brian writes: > But I would be stuck there, I think. If I have two users, with two "POLL" > blocks in fetchmail, then is any parm passed > to maildrop that I could use? No, you shouldn't. Once again: you put a .mailfilter in each user's home directory, and that's where you provide mail delivery instructions for the recipient. > But then Maildrop needs to run with $HOME set correctly for each user. Is > that how it works? When your mail server runs maildrop, it should do that after dropping root and running maildrop under the recipient's uid and gid. maildrop checks which uid and gid it runs as, and sets $HOME accordingly. This is all explained in the maildropfilter man page. OK, I guess I understand this OK. But it somehow does not seem to do that properly. I tested again running fetchmail as fetchmail, mail or root. STill get the log in /var/lib/fetchmail/maildrop.log, when it is defined as just maildrop.log. Or maybe the log is always in the same place. Time for some more testing. Maybe I should build my own Maildrop? Cheers Brian
Subject: Re: [maildropl] Need some very very basic help with Maildrop please From: Sam Varshavchik <mrsam <at> courier-mta.com> To: courier-maildrop <at> lists.sourceforge.net brian writes: > But I would be stuck there, I think. If I have two users, with two "POLL" > blocks in fetchmail, then is any parm passed > to maildrop that I could use? No, you shouldn't. Once again: you put a .mailfilter in each user's home directory, and that's where you provide mail delivery instructions for the recipient. > But then Maildrop needs to run with $HOME set correctly for each user. Is > that how it works? When your mail server runs maildrop, it should do that after dropping root and running maildrop under the recipient's uid and gid. maildrop checks which uid and gid it runs as, and sets $HOME accordingly. This is all explained in the maildropfilter man page. OK, I guess I understand this OK. But it somehow does not seem to do that properly. I tested again running fetchmail as fetchmail, mail or root. STill get the log in /var/lib/fetchmail/maildrop.log, when it is defined as just maildrop.log. Or maybe the log is always in the same place. Time for some more testing. Maybe I should build my own Maildrop? Cheers Brian
brian writes: > But I would be stuck there, I think. If I have two users, with two "POLL" > blocks in fetchmail, then is any parm passed > to maildrop that I could use? No, you shouldn't. Once again: you put a .mailfilter in each user's home directory, and that's where you provide mail delivery instructions for the recipient. > But then Maildrop needs to run with $HOME set correctly for each user. Is > that how it works? When your mail server runs maildrop, it should do that after dropping root and running maildrop under the recipient's uid and gid. maildrop checks which uid and gid it runs as, and sets $HOME accordingly. This is all explained in the maildropfilter man page.
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ Courier-maildrop mailing list Courier-maildrop <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ Courier-maildrop mailing list Courier-maildrop <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop
RSS Feed