Permissions with mailman

Niklas Lemcke - 林樂寬 compul at coletteral.net
Thu Jul 3 18:03:42 UTC 2014


On Wed, 2 Jul 2014 15:49:56 +0800
Niklas Lemcke - 林樂寬 <compul at coletteral.net> wrote:

> Hi,
> 
> I'm running a Mailserver, and recently also a Mailinglist. 
> 
> I'm sporting
> # dovecot --version
> 2.1.7
> on a debian stable machine with postfix & mailman. Everything works
> fine, except that no archive is being created (here an excerpt from my
> log):
> 
> 
> Jul  2 15:29:39 blade01 postfix/qmgr[5217]: B30BCE1F52:
> from=<list at mail.myserver.com>, size=802, nrcpt=1 (queue active) 
> 
> Jul  2 15:29:39 blade01 dovecot: lda(list): Error: user list:
> Initialization failed: Initializing mail storage from mail_location
> setting failed: mkdir(/var/mail/vmail//list/mail) failed: Permission
> denied (euid=38(list) egid=38(list) missing +w perm: /var/mail/vmail/,
> we're not in group 5000(vmail), dir owned by 5000:5000 mode=0775) 
> 
> Jul  2 15:29:39 blade01 dovecot: lda(list): Fatal: Invalid user
> settings. Refer to server log for more information. 
> 
> Jul  2 15:29:39 blade01 postfix/local[2778]: B30BCE1F52:
> to=<list at mail.myserver.com>, orig_to=<list>, relay=local, delay=12578,
> delays=12578/0.16/0/0.17, dsn=4.3.0, status=deferred (temporary failure)
> 
> 
> Now since dovecot is running as user vmail (the other mail folders are 
> all well managed and accessed by it, and all owned by vmail:vmail) I
> thought it might be saying that the user list is not in group vmail.
> Now:
> $ groups list
> list : list vmail
> and the permissions are 775, but it's still complaining about "missing
> +w perm". What is it referring to with "we're not in group 5000"?
> 
> 
> Thanks for any help!
> 

Does nobody happen to know what I'm talking about? If I phrased the
question in a poor way, please let me know.

Thank you.

-- 
Niklas - 林樂寬
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140704/b5fb12e4/attachment.sig>


More information about the dovecot mailing list