OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Aliasing (alias_maps) not working on an edge server

From: Rob Tanner (rtannerlinfield.edu)
Date: Wed Aug 02 2006 - 16:59:13 CDT


Magnus Bäck said the following on 08/02/2006 01:55 PM:

>On Wednesday, August 02, 2006 at 21:55 CEST,
> Rob Tanner <rtannerlinfield.edu> wrote:
>
>
>
>>On 08/02/2006 11:55 AM, Magnus Bäck wrote:
>>
>>
>>
>>>You must list the domain in question in mydestination, or else it
>>>will not be delivered to local(8) and thus not subject to local
>>>aliases.
>>>
>>>But that's just a guess. We need logs and "postconf -n" output.
>>>
>>>
>>I was afraid that might be the case. What I'm trying to do is have my
>>cake and eat it too -- meaning I want transparency for the users. To
>>do that, I need messages that don't get processed via a virtual map or
>>an alias map to get passed on to the Exchange server. In other words,
>>forwarding the mail on needs to be the default behavior. How do I
>>emulate that after making the change to mydestination?
>>
>>
>
>You don't have to modify mydestination. You can use virtual rewriting to
>rewrite the recipients that must be delivered locally to a local domain.
>
>yourscriptlinfield.edu yourscriptlocalhost
>
>(Assuming localhost.$mydomain is listed in mydestination.)
>
>Yikes. I probably have 2 to 3 thousand course section lists and some 500 new ones get added every semester. Will something as simple as this virtual remap work:
>
>classtag_server_host = ldap.linfield.edu
>classtag_search_base = ou=classlists,o=linfield.edu
>classtag_query_filter = (uid=%s)
>classtag_result_attribute = mailRoutingAddress
>
>

where mailRoutingAddress is an ldap attribute of the value
<listname>localhost.linfield.edu. Sticking that attribute in the LDAP
entry that defines the list is simple. Am I correct is assuming that
will work, or do I need to research virtual rewriting a bit more.

Thanks,
Rob

--

Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR