[Mailman-Users] Postfix problem: Local deliveries are being smtp delivered instead
Graham Leggett
minfrin at sharp.fm
Fri Mar 4 00:49:06 CET 2005
Hi all,
After installing mailman into an existing postfix virtual mailserver
setup, I have been trying to get postfix to deliver email to mailman,
but have had no luck so far.
All attempts to deliver mail locally get delivered via smtp instead -
which causes a mail loop and thus a bounce. Mailman never gets a look in.
Has anybody run into hassles like this before? I am stumped.
I inject a mail message like so:
/usr/sbin/sendmail -v xxx-announce at wired.co.za
Hello.
.
The log I get for this message is like so:
Mar 3 16:50:47 chandler postfix/pickup[24195]: A64D4923270: uid=0
from=<root>
Mar 3 16:50:47 chandler postfix/cleanup[24475]: A64D4923270:
message-id=<20050303225047.A64D4923270 at chandler.sharp.fm>
Mar 3 16:50:47 chandler postfix/qmgr[24196]: A64D4923270:
from=<root at chandler.sharp.fm>, size=295, nrcpt=1 (queue active)
Mar 3 16:50:47 chandler postfix/smtp[24476]: A64D4923270:
to=<xxx-announce at chandler.sharp.fm>, orig_to=<xxx-announce at wired.co.za>,
relay=none, delay=0, status=bounced (mail for chandler.sharp.fm loops back
to myself)
The postconf -n is like so:
[root at chandler mailman]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/var/mailman/data/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = /usr/share/doc/postfix-2.1.5-documentation/html
inet_interfaces = all
local_recipient_maps = hash:/var/mailman/data/aliases
local_transport = local:$myhostname
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost, localhost.$mydomain
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
owner_request_special = no
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.1.5-documentation/readme
recipient_delimiter = +
relay_clientcerts = ldap:relayclientcerts
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_CAfile = /etc/postfix/certs/caCert.pem
smtp_tls_cert_file = /etc/postfix/certs/hostCert.pem
smtp_tls_key_file = /etc/postfix/certs/hostKey.pem
smtp_tls_per_site = ldap:tlspersite
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_unknown_sender_domain,
reject_unknown_recipient_domain, reject_unauth_pipelining,
permit_mynetworks, reject_unauth_destination,
reject_rbl_client dnsbl.njabl.org, reject_rbl_client
opm.blitzed.org, reject_rbl_client cbl.abuseat.org,
reject_rbl_client sbl.spamhaus.org, reject_rbl_client
dnsbl.sorbs.net, reject_rbl_client relays.ordb.org,
reject_rbl_client list.dsbl.org, reject_rbl_client
dynablock.easynet.nl, reject_rbl_client blackholes.easynet.nl,
reject_rbl_client proxies.blackholes.easynet.nl,
permit
smtpd_tls_CAfile = /etc/postfix/certs/caCert.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/certs/hostCert.pem
smtpd_tls_key_file = /etc/postfix/certs/hostKey.pem
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport, ldap:ldapremote,
ldap:ldaplocal, static:smtp:
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/var/mailman/data/virtual-mailman,
ldap:ldapforward, ldap:ldapalias
virtual_gid_maps = static:517
virtual_mailbox_base = /
virtual_mailbox_domains = ldap:acceptdomains
virtual_mailbox_limit = 0
virtual_mailbox_maps = ldap:ldapvirtual
virtual_minimum_uid = 500
virtual_transport = virtual
virtual_uid_maps = static:517
Does anyone have any ideas?
Regards,
Graham
--
More information about the Mailman-Users
mailing list