|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Angelos Karageorgiou (angelos
unix.gr)
Date: Fri Jul 27 2007 - 03:46:44 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
My mistake, the relay_domains map exists for domains that you relay for
but NOT store locally!
you will have to use the virtual_ maps for storing locally , or the
canonical maps to rewrite addresses.
Please describe what you are trying to achieve
O/H Floyd Kan έγραψε:
> Hi,
>
> Thanks for your reply, I have following your setting.. the result is
>
>
> server_host = myldapserver
> server_port = 389
> search_base = ou=mail,dc=group,o=myldap
> scope = sub
> version = 3
> bind = no
> query_filter =
> (&(|(maillocaladdress=%u
%d)(mailAlternateAddress=%u
%d))(accountstatus=active))
> result_attribute
> <mailto:maillocaladdress=%u
%d%29%28mailAlternateAddress=%u
%d%29%29%28accountstatus=active%29%29result_attribute>
> = maillocaladdress
>
> postmap -q hmaster
abc.com <mailto:hmaster
abc.com>
> ldap:/etc/postfix/relay_domains_ldap.cf
> sysadm
abc.com <mailto:sysadm
abc.com>
>
> but retrun also 554 5.7.1 <sysadm
abc.com <mailto:sysadm
abc.com>>:
> Relay access denied
>
>
> BTW, I want to set the "result_attribute = mailLocalAddress
> mailAlternateAddress" because my user profile's "mailLocalAddress" and
> "mailAlternateAddress" may different domain name such as:
> mailLocalAddress: sysadm
abc.com <mailto:sysadm
abc.com>
> mailAlternateAddress: user1
def.com <mailto:user1
def.com>
> I want to include all domain in lookup ldap (relay_domains_ldap.cf) ,
> that why I want to look up the result_attribute with 2 attribute.
>
> any idea for this?
>
> Regards,
> Floyd
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]