[Mailman-Users] no mail delivery to site list

Larry Kuenning larry at qhpress.org
Fri May 10 02:59:04 CEST 2013


On 5/9/2013 12:55 PM, Mark Sapiro wrote:

>> -----<begin output of postconf -n>----
>> alias_database = hash:/etc/aliases
>> alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
> [...]
>> transport_maps = hash:/var/spool/postfix/plesk/transport
>> unknown_local_recipient_reject_code = 550
>> virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
>
> What's in the aliases, transport and virtual files in
> /var/spool/postfix/plesk/?

Well, that's what they used to call the $64000 question.  These are all 
Berkeley Database .db files, which I've never worked with before.  If I 
knew how to read these files (and understand their content, and edit 
them where necessary) I might be able to solve the whole problem from there.

Apparently this server already has a package called db4-utils installed. 
  I don't know whether these are enough.  It's not clear whether there 
are normal man pages for them.

> Also, what's in /etc/postfix/master.cf?

#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025
#submission inet n       -       n       -       -       smtpd
#  -o smtpd_enforce_tls=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps     inet  n       -       n       -       -       smtpd
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628      inet  n       -       n       -       -       qmqpd
pickup fifo n - n 60 1 pickup -o content_filter=smtp:127.0.0.1:10027
cleanup   unix  n       -       n       -       0       cleanup
qmgr fifo n - n 1 1 qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay     unix  -       -       n       -       -       smtp
         -o fallback_relay=
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
   flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix  -       n       n       -       -       pipe
   flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m 
${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus     unix  -       n       n       -       -       pipe
   user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m 
${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
   flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail 
($recipient)
#
# Other external delivery methods.
#
ifmail    unix  -       n       n       -       -       pipe
   flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
   flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop 
$recipient

plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser 
argv=/usr/lib64/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p 
/var/qmail/mailnames
mailman unix - n n - - pipe flags=R user=mailman:mailman 
argv=/usr/lib64/plesk-9.0/postfix-mailman ${nexthop} ${user} ${recipient}
127.0.0.1:10025 inet n n n - - spawn user=mhandlers-user 
argv=/usr/lib64/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue
127.0.0.1:10026 inet n - n - - smtpd  -o smtpd_client_restrictions=  -o 
smtpd_helo_restrictions=  -o smtpd_sender_restrictions=  -o 
smtpd_recipient_restrictions=permit_mynetworks,reject  -o 
smtpd_data_restrictions=  -o 
receive_override_options=no_unknown_recipient_checks
127.0.0.1:10027 inet n n n - - spawn user=mhandlers-user 
argv=/usr/lib64/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote
plesk_saslauthd unix y y n - 1 plesk_saslauthd status=5 listen=6 
dbpath=/var/spool/postfix/plesk/passwd.db
smtps inet n - n - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025 -o 
smtpd_tls_wrappermode=yes

[ end of /etc/postfix/master.cf ]

> Aside, please see the FAQs at <http://wiki.list.org/x/tIA9> and
> <http://wiki.list.org/x/OIDD>.

Yes, I saw these; that's why I wrote in my first post, "I realize this 
may conceivably be a Postfix issue, or even a Plesk issue, but I thought 
someone here might be able to guess the answer."

I would most like to find out how to get into those .db files.  Failing 
that, I wonder if it would do any good to delete the site list from the 
command line and recreate it using Plesk (which seems to produce usable 
lists on this system).  But can this be done safely?  Doesn't it say 
somewhere that Mailman won't run if the site list doesn't exist?  (It 
would have to go out of existence briefly in order to recreate it.)

-- 
Larry Kuenning
larry at qhpress.org


More information about the Mailman-Users mailing list