[Mailman-Users] postfix+mailman - User unknowninvirtualmailboxtable

Mark Sapiro mark at msapiro.net
Fri Sep 2 23:28:33 CEST 2011


<joydeep at infoservices.in> wrote:

>On Fri, 2 Sep 2011 09:02:10 -0700
>Mark Sapiro <mark at msapiro.net> wrote:
>
>> J. Bakshi wrote:
>> >
>> >> >
>> >> >regarding /var/lib/mailman/data/aliases.db permission issue; it is
>already set to mailman
>> >> >
>> >> >-rw-rw-r-- 1 mailman mailman 12288 Sep  2 16:57
>/var/lib/mailman/data/aliases.db
>> >> >
>> >> >Still group 65533 which is nobody group is called !!!
>> 
>> 
>> What do you get if you run
>> 
>> sudo -u mailman /usr/lib/mailman/mail/mailman post typo3 </dev/null
>> 
>
>No error, just cursor returns


OK. So if you invoke the wrapper manually as user mailman, it doesn't
complain about a group mismatch.

And the owner of aliases.db is mailman, so according to the DELIVERY
RIGHTS section of <http://www.postfix.org/local.8.html>, Postfix
should be invoking the wrapper as mailman.

       Deliveries  to  external  files  and external commands are
       made with the rights of the receiving user on whose behalf
       the  delivery  is made.  In the absence of a user context,
       the local(8) daemon uses the owner rights of the :include:
       file or alias database.  When those files are owned by the
       superuser, delivery is made with the rights specified with
       the default_privs configuration parameter.

Yet, Postfix is executing the pipe as 'nobody', so either it is finding
the alias in some other database owned by root, or delivery is not via
the 'local' transport. What is the complete log message in the Postfix
log for the attempted delivery?

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list