OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Mailman not working with Postfix

From: mouss (mlist.onlyfree.fr)
Date: Wed Jan 02 2008 - 07:18:17 CST


Larry Zins wrote:
> Hi list, I am configuring a new Email server using Postfix 2.3.3-2 and
> Mailman 2.1.9-2 on CentOS 5.1. I've had email flowing through this box
> for several weeks, and saved Mailman for last. After about a week of
> trying, I am still unable to get Mailman to work. I was previously able
> to receive email for local recipients only, but not to addresses outside
> of my domain. Now however, email is not arriving anywhere.
>
> The maillog file reports everythings ok:
>
> Jan 2 00:10:59 sonic amavis[15735]: (15735-04) Passed CLEAN,
> [66.249.92.169 <http://66.249.92.169>] [66.249.92.169
> <http://66.249.92.169>] < larry.zinsfoo.com
> <mailto:larry.zinsfoo.com>> -> <larry-testfoo.com
> <mailto:larry-testfoo.com>>, Message-ID: <
> 3f87c8af0801020015x3f178f6bu54cf43d859202ba2mail.foo.com
> <mailto:3f87c8af0801020015x3f178f6bu54cf43d859202ba2mail.foo.com>>,
> mail_id: EOZhdqdYdtBU, Hits: -0.439, size: 2018, queued_as: 397FD62E74B,
> 2193 ms
> Jan 2 00:10:59 sonic postfix/lmtp[15778]: AC4632F745D: to=<
> larry-testfoo.com <mailto:larry-testfoo.com>>,
> relay=127.0.0.1[127.0.0.1 <http://127.0.0.1>]:10024, delay=2.7,
> delays=0.52/0/0/2.2, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
> 397FD62E74B)
> Jan 2 00:10:59 sonic postfix/local[15783]: 397FD62E74B: to=<
> larry-testfoo.com <mailto:larry-testfoo.com>>, relay=local,
> delay=0.09, delays=0/0/0/0.09, dsn=2.0.0, status=sent (delivered to
> command: /usr/lib/mailman/mail/mailman post larry-test)
>

mail was successfully delivered to mailman. now you need to know what
mailman did with the message.

> If anyone could provide some ideas on how to make this work, I would
> certainly appreciate it.
>
> I have the virtual alias map /etc/postfix/virtual like so:
>
> larry-testfoo.com <mailto:larry-testfoo.com> larry-test
> larry-test-adminfoo.com <mailto:larry-test-adminfoo.com>
> larry-test-admin
> larry-test-bouncesfoo.com <mailto:larry-test-bouncesfoo.com>
> larry-test-bounces
> larry-test-confirmfoo.com <mailto:larry-test-confirmfoo.com>
> larry-test-confirm
> larry-test-joinfoo.com <mailto:larry-test-joinfoo.com>
> larry-test-join
> larry-test-leavefoo.com <mailto:larry-test-leavefoo.com>
> larry-test-leave
> larry-test-ownerfoo.com <mailto:larry-test-ownerfoo.com>
> larry-test-owner
> larry-test-requestfoo.com <mailto:larry-test-requestfoo.com>
> larry-test-request
> larry-test-subscribefoo.com <mailto:larry-test-subscribefoo.com>
> larry-test-subscribe
> larry-test-unsubscribefoo.com <mailto:larry-test-unsubscribefoo.com>
> larry-test-unsubscribe
>
> I have entered the command:
> # postmap /etc/postfix/virtual
>
> /etc/aliases:
>
> larry-test: "|/usr/lib/mailman/mail/mailman post larry-test"
> larry-test-admin: "|/usr/lib/mailman/mail/mailman admin larry-test"
> larry-test-bounces: "|/usr/lib/mailman/mail/mailman bounces
> larry-test"
> larry-test-confirm: "|/usr/lib/mailman/mail/mailman confirm larry-test"
> larry-test-join: "|/usr/lib/mailman/mail/mailman join larry-test"
> larry-test-leave: "|/usr/lib/mailman/mail/mailman leave larry-test"
> larry-test-owner: "|/usr/lib/mailman/mail/mailman owner larry-test"
> larry-test-request: "|/usr/lib/mailman/mail/mailman request larry-test"
> larry-test-subscribe: "|/usr/lib/mailman/mail/mailman subscribe
> larry-test"
> larry-test-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe
> larry-test"
>
> I have entered the command "newaliases".
>
> Here is the output of postconf -n:
>
> # postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> content_filter = amavisfeed:[127.0.0.1 <http://127.0.0.1>]:10024
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> html_directory = no
> inet_interfaces = all
> local_recipient_maps =
> mail_owner = postfix
> mail_spool_directory = /var/spool/mail
> mailbox_size_limit = 0
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = $myhostname, $mydomain, localhost.$mydomain, localhost
> mydomain = create.ucsb.edu <http://create.ucsb.edu>
> myhostname = sonic.create.ucsb.edu <http://sonic.create.ucsb.edu>
> mynetworks = 128.111.92.0/26 <http://128.111.92.0/26>, 128.111.221.0/25
> <http://128.111.221.0/25>, 128.111.71.224/27 <http://128.111.71.224/27>
> myorigin = $mydomain
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
> sample_directory = /usr/share/doc/postfix-2.3.3/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, reject_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_tls_auth_only = yes
> smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
> smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
> smtpd_tls_loglevel = 1
> smtpd_tls_received_header = yes
> smtpd_use_tls = yes
> strict_rfc821_envelopes = yes
> unknown_local_recipient_reject_code = 550
> virtual_alias_maps = hash:/etc/postfix/virtual
>
> Thanks,
> Larry
>