Re: [Mailman-Users] mailman and virtual mailboxes on same domain
Oh, thanks a lot ! it's now working just fine :) Cheers, C. On Thu, 23 Feb 2012 23:33:37 -0800 Mark Sapiro m...@msapiro.net wrote: Cédric Jeanneret wrote: I'm having big troubles with a special setup: one server, one domain (say foo.bar.com), virtual mailboxes (managed by ldap), and a mailman I'm using postfix and dovecot for the standard mail part, and this works well. My problem is for mailman: While trying to send email to my-l...@foo.bar.com, postfix tells me this: Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: client=myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: message-id=20120223084925.0B86537AAEF@mail.myhost Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: from=me@myhost, size=513, nrcpt=1 (queue active) Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: to=|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com, orig_to=my-l...@foo.bar.com, relay=virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: |/var/lib/mailman/mail/mailman post my-l...@foo.bar.com) So you have an alias in a virtual mapping. Aliases only work with 'local' delivery. [...] transport_maps = hash:/etc/postfix/transport virtual_transport = virtual virtual_transport_maps = hash:/etc/postfix/transport What is this for? virtual_alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual /etc/aliases is not in the correct format for virtual_alias_maps. It should not be there. virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf virtual_gid_maps = static:104 virtual_minimum_uid = 8 virtual_uid_maps = static:8 virtual_mailbox_domains = foo.bar.com virtual_mailbox_base = / mailman_destination_recipient_limit = 1 smtpd_sasl_type = dovecot The virtual user delivery works just fine. Here's a sniped of my transport hash: my-l...@foo.bar.com mailman: So mail to my-l...@foo.bar.com should use a 'mailman' transport, presumably defined in master.cf as postfix_to_mailman.py. If you want to use this, there should be no aliases for Mailman at all there should only be transport maps entries of the form my-l...@foo.bar.com mailman: my-list-ad...@foo.bar.com mailman: my-list-boun...@foo.bar.com mailman: etc. A total of 10 per list since non-list mail for this domain should be handled by the 'virtual' transport. The FAQ at http://wiki.list.org/x/ZoCj may help. @foo.bar.com virtual: Any help is welcome, if you need any other information regarding the postfix configuration, please ask - I'm pretty sure it's obvious, but I must be blind :(. Mailman version: 1:2.1.13-5 (on debian squeeze) Postfix version: 2.7.1-1+squeeze1 Dovecot version: 1:1.2.15-7 Please also see the FAQ at http://wiki.list.org/x/OIDD. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
[Mailman-Users] mailman and virtual mailboxes on same domain
Hello people! I'm having big troubles with a special setup: one server, one domain (say foo.bar.com), virtual mailboxes (managed by ldap), and a mailman I'm using postfix and dovecot for the standard mail part, and this works well. My problem is for mailman: While trying to send email to my-l...@foo.bar.com, postfix tells me this: Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: client=myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: message-id=20120223084925.0B86537AAEF@mail.myhost Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: from=me@myhost, size=513, nrcpt=1 (queue active) Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: to=|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com, orig_to=my-l...@foo.bar.com, relay=virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: |/var/lib/mailman/mail/mailman post my-l...@foo.bar.com) Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 23D50BE69F5: message-id=20120223084925.23d50be6...@foo.bar.com Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 23D50BE69F5: from=, size=2585, nrcpt=1 (queue active) Feb 23 09:49:25 sqdf3 postfix/bounce[14767]: 1CAECBE69AC: sender non-delivery notification: 23D50BE69F5 Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: removed (and it sends me back a delivery failure due to unknown user) Here's my postfix configuration: smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate delayed mail warnings #delay_warning_time = 4h alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = foo.bar.com, localhost mynetworks = 127.0.0.0/8 inet_interfaces = all recipient_delimiter = + smtpd_sasl_security_options = noanonymous myorigin = foo.bar.com smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache smtpd_sasl_path = private/auth owner_request_special = no smtpd_tls_CAfile = /etc/postfix/ssl/foo_bundle.crt smtpd_tls_cert_file = /etc/postfix/ssl/foo.crt smtpd_use_tls = yes smtpd_sasl_tls_security_options = $smtpd_sasl_security_options smtpd_sasl_auth_enable = yes default_process_limit = 5 smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_unlisted_recipient smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache broken_sasl_auth_clients = yes smtpd_tls_key_file = /etc/postfix/ssl/keyForApache2.key transport_maps = hash:/etc/postfix/transport virtual_transport = virtual virtual_transport_maps = hash:/etc/postfix/transport virtual_alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf virtual_gid_maps = static:104 virtual_minimum_uid = 8 virtual_uid_maps = static:8 virtual_mailbox_domains = foo.bar.com virtual_mailbox_base = / mailman_destination_recipient_limit = 1 smtpd_sasl_type = dovecot The virtual user delivery works just fine. Here's a sniped of my transport hash: my-l...@foo.bar.com mailman: @foo.bar.com virtual: Any help is welcome, if you need any other information regarding the postfix configuration, please ask - I'm pretty sure it's obvious, but I must be blind :(. Mailman version: 1:2.1.13-5 (on debian squeeze) Postfix version: 2.7.1-1+squeeze1 Dovecot version: 1:1.2.15-7 Cheers, C. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Re: [Mailman-Users] mailman and virtual mailboxes on same domain
Cédric Jeanneret wrote: I'm having big troubles with a special setup: one server, one domain (say foo.bar.com), virtual mailboxes (managed by ldap), and a mailman I'm using postfix and dovecot for the standard mail part, and this works well. My problem is for mailman: While trying to send email to my-l...@foo.bar.com, postfix tells me this: Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: connect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: 1CAECBE69AC: client=myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 1CAECBE69AC: message-id=20120223084925.0B86537AAEF@mail.myhost Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC: from=me@myhost, size=513, nrcpt=1 (queue active) Feb 23 09:49:25 sqdf3 postfix/smtpd[14760]: disconnect from myHost[myIP] Feb 23 09:49:25 sqdf3 postfix/virtual[14766]: 1CAECBE69AC: to=|/var/lib/mailman/mail/mailman post my-l...@foo.bar.com, orig_to=my-l...@foo.bar.com, relay=virtual, delay=0.03, delays=0.02/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: |/var/lib/mailman/mail/mailman post my-l...@foo.bar.com) So you have an alias in a virtual mapping. Aliases only work with 'local' delivery. [...] transport_maps = hash:/etc/postfix/transport virtual_transport = virtual virtual_transport_maps = hash:/etc/postfix/transport What is this for? virtual_alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldap-aliases.cf, hash:/etc/postfix/virtual /etc/aliases is not in the correct format for virtual_alias_maps. It should not be there. virtual_alias_mbox = ldap:/etc/postfix/ldap-mbox.cf virtual_mailbox_maps = ldap:/etc/postfix/ldap-accounts.cf virtual_gid_maps = static:104 virtual_minimum_uid = 8 virtual_uid_maps = static:8 virtual_mailbox_domains = foo.bar.com virtual_mailbox_base = / mailman_destination_recipient_limit = 1 smtpd_sasl_type = dovecot The virtual user delivery works just fine. Here's a sniped of my transport hash: my-l...@foo.bar.com mailman: So mail to my-l...@foo.bar.com should use a 'mailman' transport, presumably defined in master.cf as postfix_to_mailman.py. If you want to use this, there should be no aliases for Mailman at all there should only be transport maps entries of the form my-l...@foo.bar.com mailman: my-list-ad...@foo.bar.com mailman: my-list-boun...@foo.bar.com mailman: etc. A total of 10 per list since non-list mail for this domain should be handled by the 'virtual' transport. The FAQ at http://wiki.list.org/x/ZoCj may help. @foo.bar.com virtual: Any help is welcome, if you need any other information regarding the postfix configuration, please ask - I'm pretty sure it's obvious, but I must be blind :(. Mailman version: 1:2.1.13-5 (on debian squeeze) Postfix version: 2.7.1-1+squeeze1 Dovecot version: 1:1.2.15-7 Please also see the FAQ at http://wiki.list.org/x/OIDD. -- Mark Sapiro m...@msapiro.netThe highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org