Le 15 oct. 2013 à 10:14, Gilles Chehade <[email protected]> a écrit :
<snip ; sorry for the previous HTML mail>
> 
> can you also mail me full config and full tables, something might be missing 
> for me to troubleshoot
> 

### CONFIG
listen on all

table trustnet { 127.0.0.1, 192.168.0.0/24 }

table vdoms "/etc/mail/virtual-domains.txt"
table bdoms "/etc/mail/backup-domains.txt"
table valiases "/etc/mail/virtual-aliases.txt"
table vusers "/etc/mail/virtual-users.txt"

accept for domain <vdoms> virtual <vusers> deliver to maildir 
"/home/vmail/%{dest.domain}/%{dest.user}/"
accept for any alias <valiases> deliver to mbox

accept from <trustnet> for any relay via smtp://smtp.free.fr

### /etc/mail/virtual-domains.txt
foo.net

### /etc/mail/virtual-aliases.txt
postmaster:             root
abuse:                  root
hostmaster:             root
webmaster:              root
root:                   [email protected]

### /etc/mail/virtual-users.txt
[email protected]              vmail
[email protected]             vmail
[email protected]         [email protected],[email protected]

Maybe there's a need to explain what I want to achieve.
- Deal with two domain names and one backup/secondary MX domain name
- Store email accounts in LDAP (later on ; right now, I'm just trying to 
dispatch users/alias in flat files)
- Do not bind email account to real system user (so using vmail as a 
generic/common user)
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to