Thanks to everybody for the pointer to the good ideas and docs. I read everything and made some mistakes but I have it working with the flatfile style now!
Thanks Arun On Wednesday, July 9, 2014 11:59 PM, Narcis Garcia <informat...@actiu.net> wrote: > > >As I understood, Postfix can deliver letters to a maildir/mailbox >without MDA, but no IMAP/POP3 access service will provide. > >I believe too that SASL is a good way for authentication: >http://www.postfix.org/SASL_README.html > >Postfix can have its own authentication with plain-text files, but has >no sense if you want both to send and receive with a MUA like M.Thunderbird. > > >El 10/07/14 08:53, Muhammad Yousuf Khan ha escrit: >> Postfix is an MTA only. for IMAP and POP you need dovecot or courier >> combined with Postfix. >> >> Thanks, >> Yousuf >> >> >> >> On Thu, Jul 10, 2014 at 11:21 AM, Arun <arun_v_sanj...@yahoo.com >> <mailto: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 <http://main.cf> configuration file I put >> >> /usr/local/etc/postfix/main.cf <http://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? >> >> Thank you for your help. >> >> Arun >> >> > > >