Fwd: FW: Re: Need some very very basic help with Maildrop please

"brian" <[email protected]>
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
Date: Sat, 12 Nov 2011 18:32:55 +0100

Subject: Re: [maildropl] Need some very very basic help with Maildrop
please
From: Sam Varshavchik<[email protected]>
To: [email protected]

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

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1

_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
text-1.1.txt (text/plain, 703 B)
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.
application-1.2.pgp-signature (application/pgp-signature, 207 B) - not displayed
text-2.txt (text/plain, 170 B)
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
text-3.txt (text/plain, 180 B)
_______________________________________________
Courier-maildrop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/courier-maildrop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.