[Mailman-Users] Postfix / ldap / mailman (user unknown in local)

Bryan Ragon bragon at zapeng.com
Thu Jan 16 23:56:21 CET 2003


I am trying to setup a mail server running Postfix virtual domains, with
domain and user info stored in a ldap backend.  I tried to follow the
directions in the postfix-to-mailman.py file without luck.  I like the idea
of using that script because then I don't need to worry about creating
aliases (according to it's documentation).

Accoring to the postfix-to-mailman documentation I need to add:
# /etc/postfix/main.cf:
#    relay_domains = ... lists.example.com
#    transport_maps = hash:/etc/postfix/transport
#    mailman_destination_recipient_limit = 1
#
# /etc/postfix/transport:
#   lists.example.com   mailman:


I added relay_domains, mailman_destination_recipient_limit, however for the
transport, I edited my ldap entry for my lists.mydomain.com and changed it's
transport to mailman: there.




# /etc/postfix/master.cf
#    mailman unix  -       n       n       -       -       pipe
#      flags=FR user=mailman:mailman
#      argv=/var/mailman/postfix-to-mailman.py ${nexthop} ${mailbox}

This I added to the master.cf.

I created the list fine, when I go to send an email to test at list.domain I
get this:

Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Searching with
filter (&(jvd=lists.domain.com)(objectClass=JammVirtualDomain))
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Search
found 1 match(es)
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: search
returned 0 value(s) for requested result attribute postfixTransport
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Leaving
dict_ldap_get_values
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Search
returned mailman:
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_lookup: lists.domain.com =
mailman:
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: In
dict_ldap_lookup
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Using existing
connection for LDAP source accounts
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Searching with
filter (&(&(objectClass=JammMailAccount)(mail=test))(accountActive=TRUE))
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Search
found 0 match(es)
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Leaving
dict_ldap_get_values
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Search
returned nothing
Jan 16 17:23:25 kings postfix/smtpd[32752]: maps_find: test: not found
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: In
dict_ldap_lookup
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Using existing
connection for LDAP source accounts
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Searching with
filter
(&(&(objectClass=JammMailAccount)(mail=@lists.domain.com))(accountActive=TRU
E))
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Search
found 0 match(es)
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_get_values: Leaving
dict_ldap_get_values
Jan 16 17:23:25 kings postfix/smtpd[32752]: dict_ldap_lookup: Search
returned nothing
Jan 16 17:23:25 kings postfix/smtpd[32752]: maps_find: @lists.domain.com:
not found
Jan 16 17:23:26 kings postfix/smtpd[32752]: mail_addr_find:
test at lists.domain.com -> (not found)
Jan 16 17:23:26 kings postfix/smtpd[32752]: B241D11FB3: reject: RCPT from
crowders.domain.com[64.105.62.67]: 550 <test at lists.domain.com>: User unknown
in local recipient table; from=<bragon at zapeng.com> proto=ESMTP
helo=<crowders.domain.com>
Jan 16 17:23:26 kings postfix/smtpd[32752]: >
crowders.domain.com[64.105.62.67]: 550 <test at lists.domain.com>: User unknown
in local recipient table



I know this is sort of a Postfix/Mailman question, so I am unsure where to
post it.  Any ideas?  Thanks!

Bryan




More information about the Mailman-Users mailing list