[Mailman-Users] mailman and virtual mailboxes on same domain
Cédric Jeanneret
mailman at tengu.ch
Thu Feb 23 12:41:51 CET 2012
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-list at 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 at mail.myhost>
Feb 23 09:49:25 sqdf3 postfix/qmgr[14759]: 1CAECBE69AC:
from=<me at 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-list at foo.bar.com>,
orig_to=<my-list at 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-list at foo.bar.com")
Feb 23 09:49:25 sqdf3 postfix/cleanup[14765]: 23D50BE69F5:
message-id=<20120223084925.23D50BE69F5 at 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-list at 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.
More information about the Mailman-Users
mailing list