Re: every...@example.com virtual_alias_maps using ldap query

2010-03-19 Thread Victor Duchovni
On Thu, Mar 18, 2010 at 09:10:18PM -0300, Ronie Gilberto Henrich wrote: > If the LDAP object needs to expans to all user addresses, make it an > LDAP-URI valued group. If the group is large (thousands of recipients), do > the expansion on a dedicated list server, not your primary Postfix queue.

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-19 Thread Ronie Gilberto Henrich
I am resending this because I've accidentaly sent the last email in HTML format, sorry. > Original Message > Subject: Re: every...@example.com virtual_alias_maps using ldap query > From: Victor Duchovni > To: Ronie Gilberto Henrich > Cc: postfix-users@pos

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-18 Thread Ronie Gilberto Henrich
Original MessageĀ  Subject: Re: every...@example.com virtual_alias_maps using ldap query From: Victor Duchovni To: Ronie Gilberto Henrich Cc: postfix-users@postfix.org Date: Thu Mar 18 2010 14:00:45 GMT-0300 Something like a support for variables (%u) on the left

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-18 Thread Victor Duchovni
On Thu, Mar 18, 2010 at 01:54:08PM -0300, Ronie Gilberto Henrich wrote: > Isn't it a simpler way to accomplish that? No. > Something like a support for variables (%u) on the left side? > > Example: > everyone_query_filter = (&(accountStatus=active)(%u=everyone)) This is not "simpler" it is sim

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-18 Thread Ronie Gilberto Henrich
Re: every...@example.com virtual_alias_maps using ldap query From: Victor Duchovni To: postfix-users@postfix.org Date: Thu Mar 18 2010 13:45:50 GMT-0300 On Thu, Mar 18, 2010 at 01:31:11PM -0300, Ronie Gilberto Henrich wrote: The problem about your solution below is that it will go into a loop. Only

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-18 Thread Victor Duchovni
On Thu, Mar 18, 2010 at 01:31:11PM -0300, Ronie Gilberto Henrich wrote: >The problem about your solution below is that it will go into a loop. Only if you go out of your way to make it loop. The address expansion in virtual(5) is recursive, but it stops as soon as address expands to itself.

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-18 Thread Ronie Gilberto Henrich
of the project Postfix, is it easy to add support for variables (%u) on the left side? Example: everyone_query_filter = (&(accountStatus=active)(%u=everyone)) Thanks, Ronie Original MessageĀ  Subject: Re: every...@example.com virtual_alias_maps using ldap query From: Reinald

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-17 Thread Reinaldo de Carvalho
On Tue, Mar 16, 2010 at 10:38 PM, Ronie Gilberto Henrich wrote: > Hi Reinaldo, > > Let me explain better how virtual_alias_maps works in this case: > 1) Someone send an email to every...@example.com > 2) Query ldap:everyone result has to be us...@example.com, > us...@example.com, and so on (all ma

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Ronie Gilberto Henrich
having all mailboxes with a mail=every...@example.com. If one does not have every...@example.com, the result list of recipients of an email sent to every...@example.com won't be all (everyone) mailboxes. Thanks, Ronie ---- Original Message Subject: Re: every...@example.com virtual_a

Re: every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Reinaldo de Carvalho
On Tue, Mar 16, 2010 at 6:54 PM, Ronie Gilberto Henrich wrote: > Hi, > > /etc/postfix/main.cf > > virtual_alias_maps = ldap:everyone > > everyone_server_host = ldaps://localhost > everyone_version = 3 > everyone_search_base = ou=%d,ou=Mail,o=example,c=com > everyone_query_filt

every...@example.com virtual_alias_maps using ldap query

2010-03-16 Thread Ronie Gilberto Henrich
Hi, I am searching for a dynamic mapping solution which allows me to forward emails to every...@example.com to all valid mailboxes in example.com I did not find any dynamic mapping solution for this. I am almost there, the only thing left is to validate that %u = everyone. My current accomplishme