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 [EMAIL PROTECTED] 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)([EMAIL PROTECTED]))(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: [EMAIL PROTECTED] -> (not found) Jan 16 17:23:26 kings postfix/smtpd[32752]: B241D11FB3: reject: RCPT from crowders.domain.com[64.105.62.67]: 550 <[EMAIL PROTECTED]>: User unknown in local recipient table; from=<[EMAIL PROTECTED]> proto=ESMTP helo=<crowders.domain.com> Jan 16 17:23:26 kings postfix/smtpd[32752]: > crowders.domain.com[64.105.62.67]: 550 <[EMAIL PROTECTED]>: 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 ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ This message was sent to: archive@jab.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org