Re: [courier-users] Mailman "Group mismatch error"

2016-11-28 Thread Lucio Crusca
Il 28/11/2016 23:53, Sam Varshavchik ha scritto:

>
> Make dlinguistico's account's group id and user id match the ones used 
> for those mailman lists.
>

Now I really feel like an idiot.

It works, thanks.


--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Mailman "Group mismatch error"

2016-11-28 Thread Sam Varshavchik

Lucio Crusca writes:


Given mailman is not complaining for the arduino@lists... mailing list,
I assume either courier is running it in the "daemon" group for that


It is running it under whatever groupid the arduino account specifies.


list, or mailman is working even if executed in the mailboxes group.
Whichever, I'd like the same to happen for the dlinguistico@lists...
list without having to create all the accounts like I did for the other
lists. Is it possible?


Make dlinguistico's account's group id and user id match the ones used for  
those mailman lists.




pgpCillgYI_s1.pgp
Description: PGP signature
--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Mailman "Group mismatch error"

2016-11-28 Thread Lucio Crusca
Il 28/11/2016 18:33, Lucio Crusca ha scritto:
>   In the former case I have no
> aliases, but virtual users in userdb [...] In the latter
> case (dlinguistico2002@lists...) instead I have one single account

That's not the problem. I've tried creating one account for each alias 
like I did for the previous lists that work and the new list still 
doesn't work.

Any clues why?

--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Mailman "Group mismatch error"

2016-11-28 Thread Lucio Crusca
Hello,

I have mailman 2.1.18 and courier 0.73 as packaged by Debian on a Debian 
Jessie GNU/Linux server.

They correctly run a few mailing lists, but now I've tried adding a new 
one and it does not work, with mailman reporting the "Group mismatch 
error" to the Courier MTA mail server, with "daemon" being the group 
mailman expects to run with, and "mailboxes" being the group it is 
actually being run with.

Courier is configured with userdb database of virtual users. Maildirs 
are stored under /home/mail/domain/user/... in the server filesystem and 
the files are owned by the "mailboxes" user and group. The mailboxes 
user has UID=5000 and the mailboxes group has GID=5000. Those IDs are 
specified into the userdb file for each virtual user.

Between the working lists (e.g. arduino@lists...) and the new one 
(dlinguistico2002@lists...) there is actually a small difference in how 
the lists aliases are handled by Courier. In the former case I have no 
aliases, but virtual users in userdb for each alias that forwards 
messages to mailman, e.g. arduino@lists... has a single .courier file 
that forwards messages to

|/var/lib/mailman/mail/mailman post arduino

then arduino-bounces@lists... has a single .courier file that forwards 
messages to

|/var/lib/mailman/mail/mailman bounces arduino

and so on. In other words they all are real mailboxes, not aliases, that 
forward messages using the appropriate mailman command. In the latter 
case (dlinguistico2002@lists...) instead I have one single account 
(dlingustico2002@lists...) with additional .courier-whatever files 
configured to forward messages to the corresponding mailman commands, 
e.g. I have the .courier-bounces file that contains

|/var/lib/mailman/mail/mailman bounces dlinguistico2002

Given mailman is not complaining for the arduino@lists... mailing list, 
I assume either courier is running it in the "daemon" group for that 
list, or mailman is working even if executed in the mailboxes group. 
Whichever, I'd like the same to happen for the dlinguistico@lists... 
list without having to create all the accounts like I did for the other 
lists. Is it possible?


--
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users