Re: relay_domains parameter for a hosted domain

2009-08-05 Thread /dev/rob0
On Wednesday 05 August 2009 05:37:12 Yeray Gutiérrez Cedrés wrote: > If it's right and virtual_mailbox_domain is not set, so its > default value is virtual_mailbox_maps (wich lists an LDAP > database), Postfix would perform twice the same LDAP lookup > (one time in qmgr(8) and another time in virtu

Re: relay_domains parameter for a hosted domain

2009-08-05 Thread Magnus Bäck
On Wednesday, August 05, 2009 at 12:37 CEST, Yeray Gutiérrez Cedrés wrote: > On Wed, Aug 5, 2009 at 10:18 AM, Magnus Bäck wrote: > > > Yes, but Postfix must know which domains are virtual mailbox > > domains, i.e. which domains should be passed off to virtual(8). > > It's not necessarily wro

Re: relay_domains parameter for a hosted domain

2009-08-05 Thread Yeray Gutiérrez Cedrés
On Wed, Aug 5, 2009 at 10:18 AM, Magnus Bäck wrote: > On Wednesday, August 05, 2009 at 10:48 CEST, >     Yeray Gutiérrez Cedrés wrote: > >> I don't know why $virtual_mailbox_maps is listed in >> virtual_mailbox_domains. I've read that $virtual_mailbox_maps is the >> default value for virtual_mailb

Re: relay_domains parameter for a hosted domain

2009-08-05 Thread Magnus Bäck
On Wednesday, August 05, 2009 at 10:48 CEST, Yeray Gutiérrez Cedrés wrote: > I don't know why $virtual_mailbox_maps is listed in > virtual_mailbox_domains. I've read that $virtual_mailbox_maps is the > default value for virtual_mailbox_domains, so I think that the > previous guy thought that

Re: relay_domains parameter for a hosted domain

2009-08-05 Thread Yeray Gutiérrez Cedrés
Well I'm new in the company (and new to Postfix) and the system was already set, so I'm trying to understand how is this configured. I'm seeing a warning regarding this in the logfile that tells me that the domain name must not be listed in both virtual_mailbox_domains and relay_domains, so obviou

Re: relay_domains parameter for a hosted domain

2009-08-05 Thread Magnus Bäck
On Wednesday, August 05, 2009 at 10:25 CEST, Yeray Gutiérrez Cedrés wrote: > I have this in my main.cf file: > > relay_domains = example.com > > virtual_mailbox_domains=$virtual_mailbox_maps hash:/etc/postfix/vmaildomains Why are you listing $virtual_mailbox_maps here? > virtual_mailbox_

relay_domains parameter for a hosted domain

2009-08-05 Thread Yeray Gutiérrez Cedrés
I have this in my main.cf file: relay_domains = example.com virtual_mailbox_domains=$virtual_mailbox_maps hash:/etc/postfix/vmaildomains virtual_mailbox_maps = ldap:ldapvirtualmap virtual_mailbox_base = /var/vmail/ virtual_transport = maildrop And this is the content of /etc/postfix/vmaildomains