On Sun, 18 Jan 2015 21:51:16 -0800, Benedikt Nießen
<[email protected]> wrote:
My question is: I have to maintain the domains in the file
virtual_domains and the aliases in virtual_aliases. Can I rewrite this
configuration to just maintain the virtual_aliases in the form:
[email protected] [email protected]
[email protected] [email protected]
Here's some example config file lines for a virtual user setup delivering
emails to a maildir folder that might help you out
/etc/passwd
-----------
vmailuser:*:7200:7200:User &:/var/vmaildir:/usr/sbin/nologin
/usr/local/etc/mail/smtpd.conf
------------------------------
table vdoms "/usr/local/etc/mail/vdoms"
table vusers "/usr/local/etc/mail/vusers"
accept from any for domain <vdoms> virtual <vusers> deliver to maildir
"/var/vmaildir/%{dest.domain:lowercase}/%{dest.user:lowercase}/mail/"
/usr/local/etc/mail/vdoms
-------------------------
domain1.tld
domain2.tld
/usr/local/etc/mail/vusers
--------------------------
[email protected] vmailuser
[email protected] [email protected]
[email protected] vmailuser
[email protected] [email protected],[email protected]
[email protected] vmailuser
[email protected] vmailuser
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]