OSEC

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

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


Hi,

I have a number of "deliver to program" type of exploder lists which
were being invoked by the copy of postfix running on the delivery server
(the server was running CMU-Cyrus IMAP). For reasons to painful to
mention, the delivery host is now an Exchange server. That means that I
had to move the programs and the aliases that deliver to them to an edge
server that just runs Postfix. Other than delivery to programs, there
is no local delivery configures. The problem is that the server
continues to deal with virtual aliases correctly, it appears to be
ignoring the alias maps and I'm seeing loops. The messages that should
get delivered to a program that does a bunch of lookups and then remails
them are instead being forwarded directly to the Exchange server. Since
these aliases aren't user objects on the Exchange server, the Exchange
server sends the messages right back to the edge server. And after a
message makes traverses that loop enough times, it bounces.

These are the maps:

# ALIAS DATABASE
#
alias_maps = hash:/etc/postfix/aliases,ldap:classtag,
      ldap:aliastag,ldap:groupalias,ldap:subjectag,ldap:majortag

classtag_server_host = ldap.linfield.edu
classtag_search_base = ou=classlists,o=linfield.edu
classtag_query_filter = (uid=%s)
classtag_result_attribute = transport

aliastag_server_host = ldap.linfield.edu
aliastag_search_base = ou=aliases,o=linfield.edu
aliastag_query_filter = (uid=%s)
aliastag_result_attribute = transport

groupalias_server_host = ldap.linfield.edu
groupalias_search_base = ou=groups,o=linfield.edu
groupalias_query_filter = (uid=%u)
groupalias_result_attribute = transport

subjectag_server_host = ldap.linfield.edu
subjectag_search_base = ou=subjectlists,o=linfield.edu
subjectag_query_filter = (uid=%s)
subjectag_result_attribute = transport

majortag_server_host = ldap.linfield.edu
majortag_search_base = ou=majorlists,o=linfield.edu
majortag_query_filter = (uid=%s)
majortag_result_attribute = transport

Any ideas of what might be the problem?

Thanks,
Rob

--

Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR