Cyrus - can't create user mailbox
Jorey Bump
list at joreybump.com
Tue Jun 10 11:53:29 EDT 2008
Stephen Liu wrote, at 06/10/2008 09:21 AM:
>>> The output here is;
>>> $ id postfix
>>> uid=107(postfix) gid=111(postfix) groups=111(postfix)
>> Yes. Now add the postfix user to the mail group, and the permissions
>> error should disappear.
>
> I'm prepared to run;
>
> $ sudo groupadd mail -g 1001
I didn't say add the mail group.
> $ useradd postfix -u 1001 -g 1001
I didn't say add the postfix user.
> Shall I use number 1001? OR another number?
Don't. Stop guessing.
> However on /etc/group I found following entries;
>
> mail:x:8:dovecot
See, you already have a mail group. Leave it.
> dovecot:x:113:
And you seem to have dovecot installed, which shouldn't be a problem if
you're not using it.
> I don't have dovecot-* running. Shall I remove them manually? Thanks
No, you should avoid manually removing applications on systems like
Debian. Use the package manager to remove it. There's also a chance that
Debian has some utilities for managing your mail system that you may
want to look into. Personally, I don't like Debian's wizards, tools, or
over-reaching modifications, so I don't use it. But if you like the
system they offer, it can be easy to maintain.
All you need to do is add the (existing) postfix user to the (existing)
mail group. This can be as easy as editing /etc/groups, using the more
secure vigr command, or any other number of ways your system provides.
You should also be aware of your platform's documentation, especially if
it's going to back you into certain corners. In any case, refer to it to
learn about permissions, ownership, and how to add a user to a group.
Then simply add postfix to the mail group and report back any new errors
or success.
More information about the Info-cyrus
mailing list