[Mailman-Users] Getting postfix-to-mailman-2.1.py to work

Alexander Skwar lists.ASkwar at email-server.info
Mon Apr 14 19:09:58 CEST 2003


Hello!

I'm having problems getting the postfix-to-mailman-2.1.py (see
http://www.gurulabs.com/files/postfix-to-mailman-2.1.py) script to work
with Postfix 2.0.3 on Debian Woody.

As described in the script, I setup a transport map which should pipe
the mail to the "mailman" transport which in turn pipes it to the
postfix-to-mailman script.

I modified the postfix-to-mailman to print some debug messages in a
file.  However, this file just remains empty, so I suppose that the
transport just doesn't get called.  And when I send a "help" message to
the -request adress, I get a bounce:

<list-request at lists.message-center.info>: host
    hetzner.email-server.info[213.133.109.44] said: 550
    <list-request at lists.message-center.info>: User unknown in virtual
    alias table (in reply to RCPT TO command)

I suppose I just missed a tiny bit - but can't figure out what :(

Any help would be MUCH appreciated!

Thanks a lot,

Alexander Skwar

-------------------------------------------------------

Configuration:

/etc/aliases:

postmaster:    root
virusalert: root
webmaster: root

-------------------------------------------------------

/etc/postfix/mydestinations:

localhost.localdomain
localhost

-------------------------------------------------------

/etc/postfix/mysql-mydestination.cf:

hosts = unix:/var/run/mysqld/mysqld.sock
user = mail
password = secret
dbname = mail
table = domain
select_field = domain_name
where_field = domain_name

-------------------------------------------------------

/etc/postfix/mysql-canonical.cf:

hosts = unix:/var/run/mysqld/mysqld.sock
user = mail
password = secret
dbname = mail
table = virtual
select_field = alias
where_field = username
additional_conditions = and status = '1' limit 1

-------------------------------------------------------

/etc/postfix/transport:

lists.message-center.info       mailman:

-------------------------------------------------------

Output of postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 9
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mailbox_transport = cyrus
mydestination = /etc/postfix/mydestinations,
mysql:/etc/postfix/mysql-mydestination.cf
mydomain = email-server.info
myhostname = email-server.info
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
program_directory = /usr/lib/postfix
recipient_delimiter = +
sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
setgid_group = postdrop
smtp_tls_CAfile = /etc/ssl/certs/DigitalProjects_CA.pem
smtp_tls_cert_file = /etc/ssl/certs/DigitalProjects_Servers.pem
smtp_tls_key_file = /etc/ssl/private/DigitalProjects_Key.pem
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Debian/GNU
Linux)
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/certs/DigitalProjects_CA.pem
smtpd_tls_cert_file = /etc/ssl/certs/DigitalProjects_Servers.pem
smtpd_tls_key_file = /etc/ssl/private/DigitalProjects_Key.pem
smtpd_tls_received_header = yes
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport

-------------------------------------------------------



Alexander Skwar
-- 
BOFH excuse #387:

Your computer's union contract is set to expire at midnight.




More information about the Mailman-Users mailing list