According to the tutorial you followed you don't need to make a system
user for them to get mail.  Just add them to the sql database.  The
mailbox location is specified in /etc/dovecot/conf.d/10-mail.conf with
mail_location = /path/to/mailbox

On 10/22/2014 07:41 AM, Wietse Venema wrote:
> Austin Einter:
>> I just want to know how new email accounts are created.
> This is the POSTFIX mailing list. Postfix does not manage accounts.
> Accounts are managed with DOVECOT.
>
>       Wietse
>
>> When I create a new user, by default I expect a mail file should be created
>> in /var/mail/ or /var/mail/domain folder.  Is not it the case? Kindly let
>> me know, what is the right procedure to create a new mail account for
>> postfix+dovecot email server.
>>
>> Thanks
>> Austin
>>
>> On Wed, Oct 22, 2014 at 4:31 PM, Austin Einter <austin.ein...@gmail.com>
>> wrote:
>>
>>> Dear All
>>> Now I am able to send receive mail from my domain.
>>>
>>> Now I wanted to create new email accounts using below command.
>>>
>>> useradd -s /sbin/nologin username
>>> passwd username
>>>
>>> User is added to machine.
>>>
>>> Next I tried to login to that account from my mail client, it fails.
>>>
>>> When I checked /var/mail folder I do not see any new account mail file
>>> there.
>>>
>>>
>>> Previously I had created one account, and I see corresponding mail file is
>>> present in /var/mail path
>>>
>>> My question is what is the correct way of adding a new mail account in
>>> postfix/dovecot based email systems.
>>>
>>> The mail file should be of what permission.
>>>
>>> Many thanks
>>> Austin
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>

Reply via email to