[Postfixbuch-users] mailman und virtual domains (wieder mal...)

Martin Marcher martin.marcher at openforce.com
Fr Dez 8 14:43:39 CET 2006


Hallo,

nachdem ich die archive durchstöbert habe und einfach auf kein  
brauchbares ergebnis komme, nun direkt an euch:

also ich habe da leichte probleme mit postfix + mailman und  
virtuellen domains, meine domains sind in einer postgres datenbank  
hinterlegt und das funktioniert auch ganz ok, nun hab ich folgendes  
problem:

mailman installiert, die site-list angelegt und eine liste test

newlist -e openforce.com mailman
newlist -e openforce.com test

mail test -s testmail
.

Ich hab leider keine ahnung warum die mail gar nicht angenommen wird,  
da meiner meinung nach die empfänge ja eingetragen sein sollten  
(siehe postconf output weiter unten)

über jede hilfe dankbar
martin


aus der mm_cfg.py

#-------------------------------------------------------------
# Default domain for email addresses of newly created MLs
DEFAULT_EMAIL_HOST = 'openforce.com'
#-------------------------------------------------------------
# Default host for web interface of newly created MLs
DEFAULT_URL_HOST   = 'openforce.com'
#-------------------------------------------------------------
# Required when setting any of its arguments.
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

#-------------------------------------------------------------
# The default language for this server.
DEFAULT_SERVER_LANGUAGE = 'en'

#-------------------------------------------------------------
# Iirc this was used in pre 2.1, leave it for now
USE_ENVELOPE_SENDER    = 0              # Still used?

#-------------------------------------------------------------
# Unset send_reminders on newly created lists
DEFAULT_SEND_REMINDERS = 0

#-------------------------------------------------------------
# Uncomment if you use Postfix virtual domains, but be sure to
# read /usr/share/doc/mailman/README.POSTFIX first.
MTA='Postfix'

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['openforce.at','oedenburgerstrasse.at']
add_virtualhost('mx.openforce.com', 'lists.openforce.at')
add_virtualhost('mx.openforce.com', 'oedenburgerstrasse.at')

/var/lib/mailman/data/aliases:
# This file is generated by Mailman, and is kept in sync with the
# binary hash file aliases.db.  YOU SHOULD NOT MANUALLY EDIT THIS FILE
# unless you know what you're doing, and can keep the two files properly
# in sync.  If you screw it up, you're on your own.

# The ultimate loop stopper address
mailman-loop: /var/lib/mailman/data/owner-bounces.mbox

# STANZA START: mailman
# CREATED: Fri Dec  8 13:16:28 2006
mailman:             "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin:       "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces:     "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:     "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join:        "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave:       "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner:       "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request:     "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe:   "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe  
mailman"
# STANZA END: mailman

# STANZA START: test
# CREATED: Fri Dec  8 14:44:22 2006
test at openforce.com              test
test-admin at openforce.com        test-admin
test-bounces at openforce.com      test-bounces
test-confirm at openforce.com      test-confirm
test-join at openforce.com         test-join
test-leave at openforce.com        test-leave
test-owner at openforce.com        test-owner
test-request at openforce.com      test-request
test-subscribe at openforce.com    test-subscribe
test-unsubscribe at openforce.com  test-unsubscribe
# STANZA END: test


/var/lib/mailman/data/virtual-mailman
# This file is generated by Mailman, and is kept in sync with the  
binary hash
# file virtual-mailman.db.  YOU SHOULD NOT MANUALLY EDIT THIS FILE  
unless you
# know what you're doing, and can keep the two files properly in  
sync.  If you
# screw it up, you're on your own.
#
# Note that you should already have this virtual domain set up  
properly in
# your Postfix installation.  See README.POSTFIX for details.

# LOOP ADDRESSES START
mailman-loop at openforce.com      mailman-loop
# LOOP ADDRESSES END

# STANZA START: mailman
# CREATED: Fri Dec  8 14:40:46 2006
mailman at openforce.com              mailman
mailman-admin at openforce.com        mailman-admin
mailman-bounces at openforce.com      mailman-bounces
mailman-confirm at openforce.com      mailman-confirm
mailman-join at openforce.com         mailman-join
mailman-leave at openforce.com        mailman-leave
mailman-owner at openforce.com        mailman-owner
mailman-request at openforce.com      mailman-request
mailman-subscribe at openforce.com    mailman-subscribe
mailman-unsubscribe at openforce.com  mailman-unsubscribe
# STANZA END: mailman

# STANZA START: test
# CREATED: Fri Dec  8 14:44:22 2006
test:             "|/var/lib/mailman/mail/mailman post test"
test-admin:       "|/var/lib/mailman/mail/mailman admin test"
test-bounces:     "|/var/lib/mailman/mail/mailman bounces test"
test-confirm:     "|/var/lib/mailman/mail/mailman confirm test"
test-join:        "|/var/lib/mailman/mail/mailman join test"
test-leave:       "|/var/lib/mailman/mail/mailman leave test"
test-owner:       "|/var/lib/mailman/mail/mailman owner test"
test-request:     "|/var/lib/mailman/mail/mailman request test"
test-subscribe:   "|/var/lib/mailman/mail/mailman subscribe test"
test-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe test"
# STANZA END: test


postconf -n:
alias_database = hash:/etc/aliases
alias_maps = hash:/var/lib/mailman/data/aliases,hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = lmtp:127.0.0.1:10024
inet_interfaces = all
mailbox_size_limit = 0
mydestination = openforce.lan, localhost, localhost.localdomain,  
localhost
myhostname = openforce.com
mynetworks = 127.0.0.1
owner_request_special = no
recipient_delimiter = +
smtpd_banner = $myhostname ESMTP NO UCE
smtpd_data_restrictions = reject_unauth_pipelining,    permit
smtpd_recipient_restrictions = permit_sasl_authenticated,     
reject_invalid_hostname,    reject_non_fqdn_hostname,     
reject_non_fqdn_sender,    reject_non_fqdn_recipient,     
permit_mynetworks,    reject_unknown_sender_domain,     
reject_unknown_recipient_domain,    reject_unauth_destination,     
check_client_access hash:/etc/postfix/whitelist,    reject_rbl_client  
relays.ordb.org,    reject_rbl_client list.dsbl.org,     
reject_rbl_client sbl.spamhaus.org,    reject_rbl_client  
cbl.abuseat.org,    reject_rbl_client dul.dnsbl.sorbs.net,    permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/var/lib/mailman/data/virtual- 
mailman,pgsql:/etc/postfix/virtual/alias_maps.cf
virtual_mailbox_maps = pgsql:/etc/postfix/virtual/mailbox_maps.cf
virtual_transport = lmtp:127.0.0.1

mail test -s testmail:
This is the mail system at host openforce.com.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                    The mail system

<test at openforce.com>: host 127.0.0.1[127.0.0.1] said: 550-Mailbox  
unknown.
     Either there is no mailbox associated with this 550-name or you  
do not have
     authorization to see it. 550 5.1.1 User unknown (in reply to  
RCPT TO
     command)
Reporting-MTA: dns; openforce.com
X-Postfix-Queue-ID: DD24D152F8A3
X-Postfix-Sender: rfc822; root at openforce.com
Arrival-Date: Fri,  8 Dec 2006 14:49:47 +0100 (CET)

Final-Recipient: rfc822; test at openforce.com
Original-Recipient: rfc822;test at openforce.com
Action: failed
Status: 5.1.1
Remote-MTA: dns; 127.0.0.1
Diagnostic-Code: smtp; 550-Mailbox unknown.  Either there is no mailbox
     associated with this 550-name or you do not have authorization  
to see it.
     550 5.1.1 User unknown

Von: root at openforce.com (root)
Datum: 08. Dezember 2006 14:49:45 GMT+01:00
An: test at openforce.com
Betreff: testmail








Mehr Informationen über die Mailingliste Postfixbuch-users