

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Unable to create a do...| From | Sent On | Attachments |
|---|---|---|
| sim085 | Jun 17, 2009 7:39 am | |
| Sam Varshavchik | Jun 17, 2009 3:10 pm | |
| sim085 | Jun 17, 2009 3:22 pm | |
| Sam Varshavchik | Jun 17, 2009 3:53 pm | |
| sim085 | Jun 17, 2009 4:43 pm | |
| Sam Varshavchik | Jun 17, 2009 5:52 pm | |
| sim085 | Jun 18, 2009 1:13 am | |
| sim085 | Jun 18, 2009 2:37 am | |
| Sam Varshavchik | Jun 18, 2009 3:18 pm | |
| sim085 | Jun 19, 2009 12:45 am | |
| sim085 | Jun 19, 2009 7:13 am | |
| sim085 | Jun 20, 2009 12:35 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] Unable to create a dot-lock at ... | Actions... |
|---|---|---|
| From: | Sam Varshavchik (mrs...@courier-mta.com) | |
| Date: | Jun 17, 2009 5:52:33 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
sim085 writes:
Sam Varshavchik wrote:
If maildrop is invoked by root, or maildrop's binary is setuid root, maildrop will use the userid and the groupid specified by courier-authlib. If maildrop is not invoked with root privileges, it will have to run using whatever userid or groupid it was started as, of course.
I am not sure if I understand how maildrop works. However I understood that
There's nothing really to understand. maildrop retrieves the recipient's account home directory, uid, and gid, reads the mail filter, and carries out the instruction. maildrop is no different than any other process on the system. Its access to files and directories is governed by the same permissioning system that apply to all other processes, as far as file access goes. There's nothing mysterious about it, it's rather straightforward.
postfix would use the user defined in master.cf (in my case virtual) to start maildrop. In face I gave permission to the virtual user so that this could access the authdaemon directory so that this maildrop could access information in mysql.
Where is the userid and groupid to be used by courier-authlib specified?
You tell me. Whatever you specified each mail account's uid and gid, in the mail account database you configured courier-authlib to use, that's what it is. But, as I just said, unless you're invoking maildrop as root, it's inapplicable, and you just said that you're not invoking maildrop as root, but as some kind of virtual user. As you know, a process that's not running as root cannot just magically change its userid or groupid to something else. That would break Unix security and the way that it worked for the last 40 years. So, if you are invoking maildrop as some other non-root user, it will necessary have to run using the given uid and gid, and that's who must have write permission on the mail directory.
------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







