On Mon, 10 May 2010 15:35:15 -0400
Phil Howard <[email protected]> articulated:


> On Mon, May 10, 2010 at 15:25, Jerry <[email protected]>
> wrote:
> 
> >  From my 'master.cf' file:
> >
> > dovecot   unix  -       n       n       -       -       pipe
> >  flags=DRhu user=vmail:vmail argv=/usr/local/libexec/dovecot/deliver
> > -f ${sender} -d ${us...@${nexthop}
> >
> > From 'main.cf' file: (snippet)
> >
> > virtual_gid_maps = static:1002
> > virtual_minimum_uid = 100
> > virtual_transport = dovecot
> > virtual_uid_maps = static:1002
> >
> > Obviously, I have that user:
> >
> > pw showuser 1002
> > vmail:*:1002:1002::0:0:Virtual Mail
> > User:/nonexistent:/usr/sbin/nologin
> >
> > My log file is has 0600 permissions and its owner/group is 'vmail'.
> >
> 
> So what does this make Postfix do?  Run one instance of
> dovecot/deliver and pipe email to it?  Maybe that is the right
> solution and running it via mailbox_command is wrong?

See: http://wiki.dovecot.org/LDA/Postfix

Be sure to read the entire page.

> So what is virtual_minimum_uid doing for you if virtual_uid_maps is
> static? Or why are any of these even relevant if everything is being
> piped to a process started via master.cf?

Not really sure. I was told it has something to do with Postfix itself.

> And (problem I posted in a separate thread) does %d get assigned
> correctly with the domain name for mail_location = if this method of
> running dovecot/deliver is used?

You can either try it or perhaps ask on the Postfix forum.

-- 
Jerry
[email protected]

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__________________________________________________________________

Reply via email to