On 10 Jul 2014, at 08:21, Arun <arun_v_sanj...@yahoo.com> wrote:

> Hello,
> 
> I am just starting to build up my Postfix server.
> 
> I have been reading the many docs.  I decided to set up with virtual_domains.
> 
> For a simple first step I am not using the MySQL database tables yet, only 
> flat files.
> 
> In my main.cf configuration file I put
> 
> /usr/local/etc/postfix/main.cf
>     ...
>     virtual_mailbox_domains = mx.testdomain.loc
>     virtual_mailbox_base = /var/mail/vhosts
>     virtual_mailbox_maps = /usr/local/etc/postfix/vmailbox
>     virtual_minimum_uid = 100
>     virtual_uid_maps = static:5000
>     virtual_gid_maps = static:5000
> 
> And then I put just one user in it
> 
> /usr/local/etc/postfix/vmailbox
>     a...@mx.testdomain.loc mx.testdomain.loc/arun/
> 
> From my reading I thinkg this will work okay.
> 
> What I do not understand is how to put in a password for the only one user in 
> a flatfile, not a database.  There are many docs for the database approach to 
> it.  But I have not found one for just a flatfile.
> 
> How do I add a password for the "a...@mx.testdomain.loc" that I would use in 
> my mail client program, like Thunderbird, to access the account?  Both for 
> sending and receiving?

Have you looked at the SASL howto?

http://www.postfix.org/SASL_README.html

Mvg,
Joni

Reply via email to