smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Joel Carnat
Hi, I am playing with OpenSMTPD and am configuring a virtual domains and users configuration. In smtpd.conf.local, I have set: map vdomains { source db /etc/mail/vdomains.db } accept for virtual vdomains deliver to maildir /home/vmail/%d/%a/ In /etc/mail/vdomains, I have set: tumfatig.net:

Re: smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Gilles Chehade
On Fri, Jun 15, 2012 at 03:28:42PM +0200, Joel Carnat wrote: Hi, Hi, I am playing with OpenSMTPD and am configuring a virtual domains and users configuration. In smtpd.conf.local, I have set: map vdomains { source db /etc/mail/vdomains.db } accept for virtual vdomains deliver to

Re: smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Joel Carnat
Le 15 juin 2012 à 17:03, Gilles Chehade a écrit : On Fri, Jun 15, 2012 at 03:28:42PM +0200, Joel Carnat wrote: Hi, Hi, I am playing with OpenSMTPD and am configuring a virtual domains and users configuration. In smtpd.conf.local, I have set: map vdomains { source db

Re: smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Gilles Chehade
On Fri, Jun 15, 2012 at 05:20:28PM +0200, Joel Carnat wrote: [...] OpenSMTPD only creates the Maildir itself so you need to make sure you create a directory for each of the domains you plan to handle if you are using the domain as part of the path. Should we have an option to

Re: smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Joel Carnat
Le 15 juin 2012 à 17:37, Gilles Chehade a écrit : snip What's the proper way to host virtual aliases for virtual domains ? The proper way is the one you're using ;-) Also, one thing you could do is create a fallback address: @carnat.net r...@carnat.net if you want to also catch every