Package: postfix Version: 2.8.3-1 Severity: important
Here is the output from running an 'apt-get dist-upgrade' with no other updates required: Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue [Y/n]? Setting up postfix (2.8.3-1) ... insserv: warning: script 'utorvpn' missing LSB tags and overrides Postfix configuration was untouched. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Running newaliases Stopping Postfix Mail Transport Agent: postfix. Starting Postfix Mail Transport Agent: postfixpostfix/postfix-script: fatal: the Postfix mail system is already running failed! invoke-rc.d: initscript postfix, action "restart" failed. dpkg: error processing postfix (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) If I try to manually stop postfix via /etc/init.d/postfix stop or restart is see the same behavior. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages postfix depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy ii dpkg 1.16.0.3 Debian package management system ii libc6 2.13-4 Embedded GNU C Library: Shared lib ii libdb5.1 5.1.25-10 Berkeley v5.1 Database Libraries [ ii libsasl2-2 2.1.23.dfsg1-8 Cyrus SASL - authentication abstra ii libssl1.0.0 1.0.0d-2 SSL shared libraries ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip ii netbase 4.45 Basic TCP/IP networking system ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL Versions of packages postfix recommends: ii python 2.6.6-14 interactive high-level object-orie Versions of packages postfix suggests: ii bsd-mailx [mail-re 8.1.2-0.20100314cvs-1 simple mail user agent ii dovecot-common 1:2.0.12-1 secure mail server that supports m ii icedove [mail-read 3.1.9-2 mail/news client with RSS and inte ii libsasl2-modules 2.1.23.dfsg1-8 Cyrus SASL - pluggable authenticat ii mutt [mail-reader] 1.5.21-5 text-based mailreader supporting M pn postfix-cdb <none> (no description available) pn postfix-ldap <none> (no description available) pn postfix-mysql <none> (no description available) pn postfix-pcre <none> (no description available) pn postfix-pgsql <none> (no description available) ii procmail 3.22-19 Versatile e-mail processor pn resolvconf <none> (no description available) pn sasl2-bin <none> (no description available) pn ufw <none> (no description available) -- Configuration Files: /etc/postfix/post-install changed: umask 022 PATH=/bin:/usr/bin:/usr/sbin:/usr/etc:/sbin:/etc:/usr/contrib/bin:/usr/gnu/bin:/usr/ucb:/usr/bsd SHELL=/bin/sh IFS=" " BACKUP_IFS="$IFS" USAGE="Usage: $0 [name=value] command create-missing Create missing queue directories. upgrade-source When installing or upgrading from source code. upgrade-package When installing or upgrading from pre-built package. first-install-reminder Remind of mandatory first-time configuration steps. name=value Specify an installation parameter". create=; set_perms=; upgrade_perms=; upgrade_conf=; first_install_reminder= obsolete=; keep_list=; for arg do case $arg in *=*) IFS= eval $arg; IFS="$BACKUP_IFS";; create-missing) create=1;; set-perm*) create=1; set_perms=1;; upgrade-perm*) create=1; upgrade_perms=1;; upgrade-conf*) upgrade_conf=1;; upgrade-source) create=1; upgrade_conf=1; upgrade_perms=1;; upgrade-package) create=1; upgrade_conf=1; set_perms=1;; first-install*) first_install_reminder=1;; *) echo "$0: Error: $USAGE" 1>&2; exit 1;; esac shift done test -n "$create$upgrade_conf$first_install_reminder" || { echo "$0: Error: $USAGE" 1>&2 exit 1 } if [ -n "$command_directory" ] then POSTCONF="$command_directory/postconf" else POSTCONF="postconf" fi $POSTCONF -d mail_version >/dev/null 2>/dev/null || { echo $0: Error: no $POSTCONF command found. 1>&2 echo Re-run this command as $0 command_directory=/some/where. 1>&2 exit 1 } test -n "$config_directory" || config_directory=`$POSTCONF -d -h config_directory` || exit 1 test -d "$config_directory" || { echo $0: Error: $config_directory is not a directory. 1>&2 exit 1 } test -f $config_directory/postfix-files || { echo $0: Error: $config_directory/postfix-files is not a file. 1>&2 exit 1 } fake_fmt() { sed ' :top /^\( *\)\([^ ][^ ]*\) */{ s//\1\2\ \1/ P D b top } ' | fmt } case `uname -s` in HP-UX*) FMT=cat;; SunOS*) FMT=fake_fmt;; *) FMT=fmt;; esac grep setgid_group $config_directory/main.cf >/dev/null 2>&1 || { test -f $config_directory/install.cf && { for name in sendmail_path newaliases_path mailq_path setgid manpages do eval junk=\$$name case "$junk" in "") eval unset $name;; esac eval : \${$name="\`. $config_directory/install.cf; echo \$$name\`"} \ || exit 1 done : ${setgid_group=$setgid} : ${manpage_directory=$manpages} } } test -f $config_directory/main.cf && { for name in daemon_directory command_directory queue_directory mail_owner \ setgid_group sendmail_path newaliases_path mailq_path \ html_directory manpage_directory sample_directory readme_directory do eval junk=\$$name case "$junk" in "") eval unset $name;; esac eval : \${$name=\`$POSTCONF -c $config_directory -h $name\`} || exit 1 done } case $manpage_directory in no) echo $0: Error: manpage_directory no longer accepts \"no\" values. 1>&2 echo Try again with \"$0 manpage_directory=/pathname ...\". 1>&2; exit 1;; esac case $setgid_group in no) echo $0: Error: setgid_group no longer accepts \"no\" values. 1>&2 echo Try again with \"$0 setgid_group=groupname ...\" 1>&2; exit 1;; esac for path in "$daemon_directory" "$command_directory" "$queue_directory" \ "$sendmail_path" "$newaliases_path" "$mailq_path" "$manpage_directory" do case "$path" in /*) ;; *) echo $0: Error: \"$path\" should be an absolute path name. 1>&2; exit 1;; esac done for path in "$html_directory" "$readme_directory" do case "$path" in /*) ;; no) ;; *) echo $0: Error: \"$path\" should be \"no\" or an absolute path name. 1>&2; exit 1;; esac done missing= for name in daemon_directory command_directory queue_directory mail_owner \ setgid_group sendmail_path newaliases_path mailq_path manpage_directory \ readme_directory html_directory do eval test -n \"\$$name\" || missing="$missing $name" done test -n "$non_interactive" -a -n "$missing" && { cat <<EOF | ${FMT} 1>&2 $0: Error: some required installation parameters are not defined. - Either the parameters need to be given in the $config_directory/main.cf file from a recent Postfix installation, - Or the parameters need to be specified through the process environment. - Or the parameters need to be specified as name=value arguments on the $0 command line, The following parameters were missing: $missing EOF exit 1 } POSTCONF="$command_directory/postconf" override= for name in daemon_directory command_directory queue_directory mail_owner \ setgid_group sendmail_path newaliases_path mailq_path manpage_directory \ sample_directory readme_directory html_directory do eval test \"\$$name\" = \"`$POSTCONF -c $config_directory -h $name`\" || { override=1 break } done test -n "$override" && { $POSTCONF -c $config_directory -e \ "daemon_directory = $daemon_directory" \ "command_directory = $command_directory" \ "queue_directory = $queue_directory" \ "mail_owner = $mail_owner" \ "setgid_group = $setgid_group" \ "sendmail_path = $sendmail_path" \ "mailq_path = $mailq_path" \ "newaliases_path = $newaliases_path" \ "html_directory = $html_directory" \ "manpage_directory = $manpage_directory" \ "sample_directory = $sample_directory" \ "readme_directory = $readme_directory" \ || exit 1 } test -n "$create" && { exec <$config_directory/postfix-files || exit 1 while IFS=: read path type owner group mode flags junk do IFS="$BACKUP_IFS" set_permission= # Skip comments. case $path in [$]*) ;; *) continue;; esac # Skip hard links and symbolic links. case $type in [hl]) continue;; [df]) ;; *) echo unknown type $type for $path in $config_directory/postfix-files1>&2; exit 1;; esac # Expand $name, and canonicalize null fields. for name in path owner group flags do eval junk=\${$name} case $junk in [$]*) eval $name=$junk;; -) eval $name=;; *) ;; esac done # Skip uninstalled files. case $path in no|no/*) continue;; esac # Pick up the flags. case $flags in *u*) upgrade_flag=1;; *) upgrade_flag=;; esac case $flags in *c*) create_flag=1;; *) create_flag=;; esac case $flags in *r*) recursive="-R";; *) recursive=;; esac case $flags in *o*) obsolete_flag=1;; *) obsolete_flag=;; esac # Flag obsolete objects. XXX Solaris 2..9 does not have "test -e". if [ -n "$obsolete_flag" ] then test -r $path -a "$type" != "d" && obsolete="$obsolete $path" continue; else keep_list="$keep_list $path" fi # Create missing directories with proper owner/group/mode settings. if [ -n "$create" -a "$type" = "d" -a -n "$create_flag" -a ! -d "$path" ] then mkdir $path || exit 1 set_permission=1 # Update all owner/group/mode settings. elif [ -n "$set_perms" ] then set_permission=1 # Update obsolete owner/group/mode settings. elif [ -n "$upgrade_perms" -a -n "$upgrade_flag" ] then set_permission=1 fi test -n "$set_permission" && { chown $recursive $owner $path || exit 1 test -z "$group" || chgrp $recursive $group $path || exit 1 # Don't "chmod -R"; queue file status is encoded in mode bits. if [ "$type" = "d" -a -n "$recursive" ] then find $path -type d -exec chmod $mode "{}" ";" else chmod $mode $path fi || exit 1 } done IFS="$BACKUP_IFS" } test -n "$upgrade_conf" && { # Add missing relay service to master.cf. grep '^relay' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for relay service cat >>$config_directory/master.cf <<EOF || exit 1 relay unix - - n - - smtp EOF } # Add missing flush service to master.cf. grep '^flush.*flush' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for flush service cat >>$config_directory/master.cf <<EOF || exit 1 flush unix - - n 1000? 0 flush EOF } # Add missing trace service to master.cf. grep 'trace.*bounce' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for trace service cat >>$config_directory/master.cf <<EOF || exit 1 trace unix - - n - 0 bounce EOF } # Add missing verify service to master.cf. grep '^verify.*verify' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for verify service cat >>$config_directory/master.cf <<EOF || exit 1 verify unix - - n - 1 verify EOF } # Fix verify service process limit. grep '^verify.*[ ]0[ ]*verify' \ $config_directory/master.cf >/dev/null && { echo Editing $config_directory/master.cf, setting verify process limit to 1 ed $config_directory/master.cf <<EOF || exit 1 /^verify.*[ ]0[ ]*verify/ s/\([ ]\)0\([ ]\)/\11\2/ p w q EOF } # Change privileged pickup service into unprivileged. grep "^pickup[ ]*fifo[ ]*n[ ]*n" \ $config_directory/master.cf >/dev/null && { echo Editing $config_directory/master.cf, making the pickup service unprivileged ed $config_directory/master.cf <<EOF || exit 1 /^pickup[ ]*fifo[ ]*n[ ]*n/ s/\(n[ ]*\)n/\1-/ p w q EOF } # Change private cleanup and flush services into public. for name in cleanup flush do grep "^$name[ ]*unix[ ]*[-y]" \ $config_directory/master.cf >/dev/null && { echo Editing $config_directory/master.cf, making the $name service public ed $config_directory/master.cf <<EOF || exit 1 /^$name[ ]*unix[ ]*[-y]/ s/[-y]/n/ p w q EOF } done # File systems have improved since Postfix came out, and all we # require now is that defer and deferred are hashed because those # can contain lots of files. found=`$POSTCONF -c $config_directory -h hash_queue_names` missing= (echo "$found" | grep defer >/dev/null) || missing="$missing defer" (echo "$found" | grep deferred>/dev/null)|| missing="$missing deferred" test -n "$missing" && { echo fixing main.cf hash_queue_names for missing $missing $POSTCONF -c $config_directory -e hash_queue_names="$found$missing" || exit 1 } # Turn on safety nets for new features that could bounce mail that # would be accepted by a previous Postfix version. # This safety net is also documented in LOCAL_RECIPIENT_README. unknown_local=unknown_local_recipient_reject_code has_lrm=`$POSTCONF -c $config_directory -n local_recipient_maps` has_lrjc=`$POSTCONF -c $config_directory -n $unknown_local` if [ -z "$has_lrm" -a -z "$has_lrjc" ] then echo SAFETY: editing main.cf, setting $unknown_local=450. echo See the LOCAL_RECIPIENT_README file for details. $POSTCONF -c $config_directory -e "$unknown_local = 450" || exit 1 fi # Add missing proxymap service to master.cf. grep '^proxymap.*proxymap' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for proxymap service cat >>$config_directory/master.cf <<EOF || exit 1 proxymap unix - - n - - proxymap EOF } # Add missing anvil service to master.cf. grep '^anvil.*anvil' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for anvil service cat >>$config_directory/master.cf <<EOF || exit 1 anvil unix - - n - 1 anvil EOF } # Add missing scache service to master.cf. grep '^scache.*scache' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for scache service cat >>$config_directory/master.cf <<EOF || exit 1 scache unix - - n - 1 scache EOF } # Add missing discard service to master.cf. grep '^discard.*discard' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for discard service cat >>$config_directory/master.cf <<EOF || exit 1 discard unix - - n - - discard EOF } # Update the tlsmgr fifo->unix service. grep "^tlsmgr[ ]*fifo[ ]" \ $config_directory/master.cf >/dev/null && { echo Editing $config_directory/master.cf, updating the tlsmgr from fifo to unix service ed $config_directory/master.cf <<EOF || exit 1 /^tlsmgr[ ]*fifo[ ]/ s/fifo/unix/ s/[0-9][0-9]*/&?/ p w q EOF } # Add missing tlsmgr service to master.cf. grep '^tlsmgr.*tlsmgr' $config_directory/master.cf >/dev/null || { echo Editing $config_directory/master.cf, adding missing entry for tlsmgr service cat >>$config_directory/master.cf <<EOF || exit 1 tlsmgr unix - - n 1000? 1 tlsmgr EOF } # Report (but do not remove) obsolete files. test -n "$obsolete" && { cat <<EOF | ${FMT} Note: the following files or directories still exist but are no longer part of Postfix: $obsolete EOF } } test -n "$first_install_reminder" && { ALIASES=`$POSTCONF -c $config_directory -h alias_database | sed 's/^[^:]*://'` NEWALIASES_PATH=`$POSTCONF -c $config_directory -h newaliases_path` cat <<EOF | ${FMT} Warning: you still need to edit myorigin/mydestination/mynetworks parameter settings in $config_directory/main.cf. See also http://www.postfix.org/STANDARD_CONFIGURATION_README.html for information about dialup sites or about sites inside a firewalled network. BTW: Check your $ALIASES file and be sure to set up aliases that send mail for root and postmaster to a real person, then run $NEWALIASES_PATH. EOF } exit 0 /etc/postfix/postfix-files changed: $config_directory:d:root:-:755:u $daemon_directory:d:root:-:755:u $queue_directory:d:root:-:755:uc $sample_directory:d:root:-:755:o $readme_directory:d:root:-:755 $html_directory:d:root:-:755 $queue_directory/active:d:$mail_owner:-:700:ucr $queue_directory/bounce:d:$mail_owner:-:700:ucr $queue_directory/corrupt:d:$mail_owner:-:700:ucr $queue_directory/defer:d:$mail_owner:-:700:ucr $queue_directory/deferred:d:$mail_owner:-:700:ucr $queue_directory/flush:d:$mail_owner:-:700:ucr $queue_directory/hold:d:$mail_owner:-:700:ucr $queue_directory/incoming:d:$mail_owner:-:700:ucr $queue_directory/private:d:$mail_owner:-:700:uc $queue_directory/maildrop:d:$mail_owner:$setgid_group:730:uc $queue_directory/public:d:$mail_owner:$setgid_group:710:uc $queue_directory/pid:d:root:-:755:uc $queue_directory/saved:d:$mail_owner:-:700:ucr $queue_directory/trace:d:$mail_owner:-:700:ucr $daemon_directory/anvil:f:root:-:755 $daemon_directory/bounce:f:root:-:755 $daemon_directory/dict_cdb.so:f:root:-:755 $daemon_directory/dict_ldap.so:f:root:-:755 $daemon_directory/dict_pcre.so:f:root:-:755 $daemon_directory/dict_mysql.so:f:root:-:755 $daemon_directory/dict_tcp.so:f:root:-:755 $daemon_directory/dict_sdbm.so:f:root:-:755 $daemon_directory/cleanup:f:root:-:755 $daemon_directory/discard:f:root:-:755 $daemon_directory/error:f:root:-:755 $daemon_directory/flush:f:root:-:755 $daemon_directory/local:f:root:-:755 $daemon_directory/master:f:root:-:755 $daemon_directory/oqmgr:f:root:-:755 $daemon_directory/pickup:f:root:-:755 $daemon_directory/pipe:f:root:-:755 $daemon_directory/proxymap:f:root:-:755 $daemon_directory/qmgr:f:root:-:755 $daemon_directory/qmqpd:f:root:-:755 $daemon_directory/scache:f:root:-:755 $daemon_directory/showq:f:root:-:755 $daemon_directory/smtp:f:root:-:755 $daemon_directory/smtpd:f:root:-:755 $daemon_directory/spawn:f:root:-:755 $daemon_directory/tlsmgr:f:root:-:755 $daemon_directory/trivial-rewrite:f:root:-:755 $daemon_directory/verify:f:root:-:755 $daemon_directory/virtual:f:root:-:755 /usr/lib/libpostfix-dns.so.1:f:root:-:755 /usr/lib/libpostfix-global.so.1:f:root:-:755 /usr/lib/libpostfix-tls.so.1:f:root:-:755 /usr/lib/libpostfix-master.so.1:f:root:-:755 /usr/lib/libpostfix-util.so.1:f:root:-:755 $daemon_directory/nqmgr:h:$daemon_directory/qmgr $daemon_directory/lmtp:h:$daemon_directory/smtp $command_directory/postalias:f:root:-:755 $command_directory/postcat:f:root:-:755 $command_directory/postconf:f:root:-:755 $command_directory/postfix:f:root:-:755 $command_directory/postkick:f:root:-:755 $command_directory/postlock:f:root:-:755 $command_directory/postlog:f:root:-:755 $command_directory/postmap:f:root:-:755 $command_directory/postsuper:f:root:-:755 $command_directory/postdrop:f:root:$setgid_group:2755:u $command_directory/postqueue:f:root:$setgid_group:2755:u $sendmail_path:f:root:-:755 $newaliases_path:l:$sendmail_path $mailq_path:l:$sendmail_path $config_directory/LICENSE:f:root:-:644 $config_directory/TLS_LICENSE:f:root:-:644 $config_directory/access:f:root:-:644:p $config_directory/aliases:f:root:-:644:p $config_directory/bounce.cf.default:f:root:-:644 $config_directory/canonical:f:root:-:644:p $config_directory/dynamicmaps.cf:f:root:-:644:p $config_directory/cidr_table:f:root:-:644:o $config_directory/generic:f:root:-:644:p $config_directory/generics:f:root:-:644:o $config_directory/header_checks:f:root:-:644:p $config_directory/install.cf:f:root:-:644:o $config_directory/main.cf.default:f:root:-:644 $config_directory/main.cf:f:root:-:644:p $config_directory/makedefs.out:f:root:-:644 $config_directory/master.cf:f:root:-:644:p $config_directory/pcre_table:f:root:-:644:o $config_directory/postfix-files:f:root:-:644 $config_directory/regexp_table:f:root:-:644:o $config_directory/relocated:f:root:-:644:p $config_directory/tcp_table:f:root:-:644:o $config_directory/transport:f:root:-:644:p $config_directory/virtual:f:root:-:644:p $config_directory/postfix-script:f:root:-:755 $config_directory/postfix-script-sgid:f:root:-:755:o $config_directory/postfix-script-nosgid:f:root:-:755:o $config_directory/post-install:f:root:-:755 $manpage_directory/man1/mailq.1:f:root:-:644 $manpage_directory/man1/newaliases.1:f:root:-:644 $manpage_directory/man1/postalias.1:f:root:-:644 $manpage_directory/man1/postcat.1:f:root:-:644 $manpage_directory/man1/postconf.1:f:root:-:644 $manpage_directory/man1/postdrop.1:f:root:-:644 $manpage_directory/man1/postfix.1:f:root:-:644 $manpage_directory/man1/postkick.1:f:root:-:644 $manpage_directory/man1/postlock.1:f:root:-:644 $manpage_directory/man1/postlog.1:f:root:-:644 $manpage_directory/man1/postmap.1:f:root:-:644 $manpage_directory/man1/postqueue.1:f:root:-:644 $manpage_directory/man1/postsuper.1:f:root:-:644 $manpage_directory/man1/sendmail.1:f:root:-:644 $manpage_directory/man5/access.5:f:root:-:644 $manpage_directory/man5/aliases.5:f:root:-:644 $manpage_directory/man5/body_checks.5:f:root:-:644 $manpage_directory/man5/bounce.5:f:root:-:644 $manpage_directory/man5/canonical.5:f:root:-:644 $manpage_directory/man5/cidr_table.5:f:root:-:644 $manpage_directory/man5/generics.5:f:root:-:644:o $manpage_directory/man5/generic.5:f:root:-:644 $manpage_directory/man5/header_checks.5:f:root:-:644 $manpage_directory/man5/ldap_table.5:f:root:-:644 $manpage_directory/man5/master.5:f:root:-:644 $manpage_directory/man5/mysql_table.5:f:root:-:644 $manpage_directory/man5/nisplus_table.5:f:root:-:644 $manpage_directory/man5/pcre_table.5:f:root:-:644 $manpage_directory/man5/pgsql_table.5:f:root:-:644 $manpage_directory/man5/postconf.5:f:root:-:644 $manpage_directory/man5/regexp_table.5:f:root:-:644 $manpage_directory/man5/relocated.5:f:root:-:644 $manpage_directory/man5/tcp_table.5:f:root:-:644 $manpage_directory/man5/transport.5:f:root:-:644 $manpage_directory/man5/virtual.5:f:root:-:644 $manpage_directory/man8/bounce.8:f:root:-:644 $manpage_directory/man8/cleanup.8:f:root:-:644 $manpage_directory/man8/anvil.8:f:root:-:644 $manpage_directory/man8/defer.8:f:root:-:644 $manpage_directory/man8/discard.8:f:root:-:644 $manpage_directory/man8/error.8:f:root:-:644 $manpage_directory/man8/flush.8:f:root:-:644 $manpage_directory/man8/lmtp.8:f:root:-:644 $manpage_directory/man8/local.8:f:root:-:644 $manpage_directory/man8/master.8:f:root:-:644 $manpage_directory/man8/nqmgr.8:f:root:-:644:o $manpage_directory/man8/oqmgr.8:f:root:-:644: $manpage_directory/man8/pickup.8:f:root:-:644 $manpage_directory/man8/pipe.8:f:root:-:644 $manpage_directory/man8/proxymap.8:f:root:-:644 $manpage_directory/man8/qmgr.8:f:root:-:644 $manpage_directory/man8/qmqpd.8:f:root:-:644 $manpage_directory/man8/scache.8:f:root:-:644 $manpage_directory/man8/showq.8:f:root:-:644 $manpage_directory/man8/smtp.8:f:root:-:644 $manpage_directory/man8/smtpd.8:f:root:-:644 $manpage_directory/man8/spawn.8:f:root:-:644 $manpage_directory/man8/tlsmgr.8:f:root:-:644 $manpage_directory/man8/trace.8:f:root:-:644 $manpage_directory/man8/trivial-rewrite.8:f:root:-:644 $manpage_directory/man8/verify.8:f:root:-:644 $manpage_directory/man8/virtual.8:f:root:-:644 $sample_directory/sample-aliases.cf:f:root:-:644:o $sample_directory/sample-auth.cf:f:root:-:644:o $sample_directory/sample-canonical.cf:f:root:-:644:o:o $sample_directory/sample-compatibility.cf:f:root:-:644:o $sample_directory/sample-debug.cf:f:root:-:644:o $sample_directory/sample-filter.cf:f:root:-:644:o:o $sample_directory/sample-flush.cf:f:root:-:644:o $sample_directory/sample-ipv6.cf:f:root:-:644:o $sample_directory/sample-ldap.cf:f:root:-:644:o $sample_directory/sample-lmtp.cf:f:root:-:644:o $sample_directory/sample-local.cf:f:root:-:644:o $sample_directory/sample-mime.cf:f:root:-:644:o $sample_directory/sample-misc.cf:f:root:-:644:o $sample_directory/sample-pcre-access.cf:f:root:-:644:o:o $sample_directory/sample-pcre-body.cf:f:root:-:644:o:o $sample_directory/sample-pcre-header.cf:f:root:-:644:o:o $sample_directory/sample-pgsql-aliases.cf:f:root:-:644:o $sample_directory/sample-qmqpd.cf:f:root:-:644:o $sample_directory/sample-rate.cf:f:root:-:644:o $sample_directory/sample-regexp-access.cf:f:root:-:644:o:o $sample_directory/sample-regexp-body.cf:f:root:-:644:o:o $sample_directory/sample-regexp-header.cf:f:root:-:644:o:o $sample_directory/sample-relocated.cf:f:root:-:644:o $sample_directory/sample-resource.cf:f:root:-:644:o $sample_directory/sample-rewrite.cf:f:root:-:644:o $sample_directory/sample-scheduler.cf:f:root:-:644:o $sample_directory/sample-smtp.cf:f:root:-:644:o $sample_directory/sample-smtpd.cf:f:root:-:644:o $sample_directory/sample-tls.cf:f:root:-:644:o $sample_directory/sample-transport.cf:f:root:-:644:o $sample_directory/sample-verify.cf:f:root:-:644:o $sample_directory/sample-virtual.cf:f:root:-:644:o $readme_directory/AAAREADME:f:root:-:644 $readme_directory/ADDRESS_CLASS_README:f:root:-:644 $readme_directory/ADDRESS_REWRITING_README:f:root:-:644 $readme_directory/ADDRESS_VERIFICATION_README:f:root:-:644 $readme_directory/BACKSCATTER_README:f:root:-:644 $readme_directory/BASIC_CONFIGURATION_README:f:root:-:644 $readme_directory/BUILTIN_FILTER_README:f:root:-:644 $readme_directory/CDB_README:f:root:-:644 $readme_directory/CONNECTION_CACHE_README:f:root:-:644 $readme_directory/CONTENT_INSPECTION_README:f:root:-:644 $readme_directory/DATABASE_README:f:root:-:644 $readme_directory/DB_README:f:root:-:644 $readme_directory/DEBUG_README:f:root:-:644 $readme_directory/DSN_README:f:root:-:644 $readme_directory/ETRN_README:f:root:-:644 $readme_directory/FILTER_README:f:root:-:644 $readme_directory/HOSTING_README:f:root:-:644:o $readme_directory/INSTALL:f:root:-:644 $readme_directory/IPV6_README:f:root:-:644 $readme_directory/LDAP_README:f:root:-:644 $readme_directory/LINUX_README:f:root:-:644 $readme_directory/LMTP_README:f:root:-:644 $readme_directory/LOCAL_RECIPIENT_README:f:root:-:644 $readme_directory/MACOSX_README:f:root:-:644:o $readme_directory/MAILDROP_README:f:root:-:644 $readme_directory/MILTER_README:f:root:-:644 $readme_directory/MYSQL_README:f:root:-:644 $readme_directory/NFS_README:f:root:-:644 $readme_directory/OVERVIEW:f:root:-:644 $readme_directory/PACKAGE_README:f:root:-:644 $readme_directory/PCRE_README:f:root:-:644 $readme_directory/PGSQL_README:f:root:-:644 $readme_directory/QMQP_README:f:root:-:644 $readme_directory/QSHAPE_README:f:root:-:644 $readme_directory/RELEASE_NOTES:f:root:-:644 $readme_directory/RESTRICTION_CLASS_README:f:root:-:644 $readme_directory/SASL_README:f:root:-:644 $readme_directory/SCHEDULER_README:f:root:-:644 $readme_directory/SMTPD_ACCESS_README:f:root:-:644 $readme_directory/SMTPD_POLICY_README:f:root:-:644 $readme_directory/SMTPD_PROXY_README:f:root:-:644 $readme_directory/STANDARD_CONFIGURATION_README:f:root:-:644 $readme_directory/TLS_README:f:root:-:644 $readme_directory/TUNING_README:f:root:-:644 $readme_directory/ULTRIX_README:f:root:-:644 $readme_directory/UUCP_README:f:root:-:644 $readme_directory/VERP_README:f:root:-:644 $readme_directory/VIRTUAL_README:f:root:-:644 $readme_directory/XCLIENT_README:f:root:-:644 $readme_directory/XFORWARD_README:f:root:-:644 $html_directory/ADDRESS_CLASS_README.html:f:root:-:644 $html_directory/ADDRESS_REWRITING_README.html:f:root:-:644 $html_directory/ADDRESS_VERIFICATION_README.html:f:root:-:644 $html_directory/BACKSCATTER_README.html:f:root:-:644 $html_directory/BASIC_CONFIGURATION_README.html:f:root:-:644 $html_directory/BUILTIN_FILTER_README.html:f:root:-:644 $html_directory/CDB_README.html:f:root:-:644 $html_directory/CONNECTION_CACHE_README.html:f:root:-:644 $html_directory/CONTENT_INSPECTION_README.html:f:root:-:644 $html_directory/CYRUS_README.html:f:root:-:644 $html_directory/DATABASE_README.html:f:root:-:644 $html_directory/DB_README.html:f:root:-:644 $html_directory/DEBUG_README.html:f:root:-:644 $html_directory/DSN_README.html:f:root:-:644 $html_directory/ETRN_README.html:f:root:-:644 $html_directory/FILTER_README.html:f:root:-:644 $html_directory/INSTALL.html:f:root:-:644 $html_directory/IPV6_README.html:f:root:-:644 $html_directory/LDAP_README.html:f:root:-:644 $html_directory/LINUX_README.html:f:root:-:644 $html_directory/LMTP_README.html:f:root:-:644 $html_directory/LOCAL_RECIPIENT_README.html:f:root:-:644 $html_directory/MAILDROP_README.html:f:root:-:644 $html_directory/MILTER_README.html:f:root:-:644 $html_directory/MYSQL_README.html:f:root:-:644 $html_directory/NFS_README.html:f:root:-:644 $html_directory/OVERVIEW.html:f:root:-:644 $html_directory/PACKAGE_README.html:f:root:-:644 $html_directory/PCRE_README.html:f:root:-:644 $html_directory/PGSQL_README.html:f:root:-:644 $html_directory/QMQP_README.html:f:root:-:644 $html_directory/QSHAPE_README.html:f:root:-:644 $html_directory/RESTRICTION_CLASS_README.html:f:root:-:644 $html_directory/SASL_README.html:f:root:-:644 $html_directory/SCHEDULER_README.html:f:root:-:644 $html_directory/SMTPD_ACCESS_README.html:f:root:-:644 $html_directory/SMTPD_POLICY_README.html:f:root:-:644 $html_directory/SMTPD_PROXY_README.html:f:root:-:644 $html_directory/STANDARD_CONFIGURATION_README.html:f:root:-:644 $html_directory/TLS_README.html:f:root:-:644 $html_directory/TUNING_README.html:f:root:-:644 $html_directory/ULTRIX_README.html:f:root:-:644 $html_directory/UUCP_README.html:f:root:-:644 $html_directory/VERP_README.html:f:root:-:644 $html_directory/VIRTUAL_README.html:f:root:-:644 $html_directory/XCLIENT_README.html:f:root:-:644 $html_directory/XFORWARD_README.html:f:root:-:644 $html_directory/access.5.html:f:root:-:644 $html_directory/aliases.5.html:f:root:-:644 $html_directory/anvil.8.html:f:root:-:644 $html_directory/bounce.8.html:f:root:-:644 $html_directory/canonical.5.html:f:root:-:644 $html_directory/cidr_table.5.html:f:root:-:644 $html_directory/cleanup.8.html:f:root:-:644 $html_directory/defer.8.html:f:root:-:644 $html_directory/discard.8.html:f:root:-:644 $html_directory/error.8.html:f:root:-:644 $html_directory/flush.8.html:f:root:-:644 $html_directory/generics.5.html:f:root:-:644:o $html_directory/generic.5.html:f:root:-:644 $html_directory/header_checks.5.html:f:root:-:644 $html_directory/index.html:f:root:-:644 $html_directory/ldap_table.5.html:f:root:-:644 $html_directory/lmtp.8.html:f:root:-:644 $html_directory/local.8.html:f:root:-:644 $html_directory/mailq.1.html:f:root:-:644 $html_directory/master.5.html:f:root:-:644 $html_directory/master.8.html:f:root:-:644 $html_directory/mysql_table.5.html:f:root:-:644 $html_directory/nisplus_table.5.html:f:root:-:644 $html_directory/newaliases.1.html:f:root:-:644 $html_directory/oqmgr.8.html:f:root:-:644 $html_directory/pcre_table.5.html:f:root:-:644 $html_directory/pgsql_table.5.html:f:root:-:644 $html_directory/pickup.8.html:f:root:-:644 $html_directory/pipe.8.html:f:root:-:644 $html_directory/postalias.1.html:f:root:-:644 $html_directory/postcat.1.html:f:root:-:644 $html_directory/postconf.1.html:f:root:-:644 $html_directory/postconf.5.html:f:root:-:644 $html_directory/postdrop.1.html:f:root:-:644 $html_directory/postfix-logo.jpg:f:root:-:644 $html_directory/postfix-manuals.html:f:root:-:644 $html_directory/postfix.1.html:f:root:-:644 $html_directory/postkick.1.html:f:root:-:644 $html_directory/postlock.1.html:f:root:-:644 $html_directory/postlog.1.html:f:root:-:644 $html_directory/postmap.1.html:f:root:-:644 $html_directory/postqueue.1.html:f:root:-:644 $html_directory/postsuper.1.html:f:root:-:644 $html_directory/qshape.1.html:f:root:-:644 $html_directory/proxymap.8.html:f:root:-:644 $html_directory/qmgr.8.html:f:root:-:644 $html_directory/qmqp-sink.1.html:f:root:-:644 $html_directory/qmqp-source.1.html:f:root:-:644 $html_directory/qmqpd.8.html:f:root:-:644 $html_directory/regexp_table.5.html:f:root:-:644 $html_directory/relocated.5.html:f:root:-:644 $html_directory/sendmail.1.html:f:root:-:644 $html_directory/showq.8.html:f:root:-:644 $html_directory/smtp-sink.1.html:f:root:-:644 $html_directory/smtp-source.1.html:f:root:-:644 $html_directory/smtp.8.html:f:root:-:644 $html_directory/smtpd.8.html:f:root:-:644 $html_directory/spawn.8.html:f:root:-:644 $html_directory/tcp_table.5.html:f:root:-:644 $html_directory/trace.8.html:f:root:-:644 $html_directory/transport.5.html:f:root:-:644 $html_directory/trivial-rewrite.8.html:f:root:-:644 $html_directory/verify.8.html:f:root:-:644 $html_directory/virtual.5.html:f:root:-:644 $html_directory/virtual.8.html:f:root:-:644 /etc/postfix/postfix-script changed: trap '' 1 case $daemon_directory in "") echo This script must be run by the postfix command. 1>&2 echo Do not run directly. 1>&2 exit 1 esac LOGGER="$command_directory/postlog -t $MAIL_LOGTAG/postfix-script" INFO="$LOGGER -p info" WARN="$LOGGER -p warn" ERROR="$LOGGER -p error" FATAL="$LOGGER -p fatal" PANIC="$LOGGER -p panic" if [ "X${1#quiet-}" != "X${1}" ]; then INFO=: x=${1#quiet-} shift set -- $x "$@" fi umask 022 SHELL=/bin/sh cd $command_directory || { $FATAL no Postfix command directory $command_directory! exit 1 } cd $daemon_directory || { $FATAL no Postfix daemon directory $daemon_directory! exit 1 } test -f master || { $FATAL no Postfix master program $daemon_directory/master! exit 1 } cd $config_directory || { $FATAL no Postfix configuration directory $config_directory! exit 1 } cd $queue_directory || { $FATAL no Postfix queue directory $queue_directory! exit 1 } case $1 in start_msg) echo "Start postfix" ;; stop_msg) echo "Stop postfix" ;; quick-start) $daemon_directory/master -t 2>/dev/null || { $FATAL the Postfix mail system is already running exit 1 } $config_directory/postfix-script quick-check || { $FATAL Postfix integrity check failed! exit 1 } $INFO starting the Postfix mail system $daemon_directory/master & ;; start) $daemon_directory/master -t 2>/dev/null || { $FATAL the Postfix mail system is already running exit 1 } if [ -f $queue_directory/quick-start ] then rm -f $queue_directory/quick-start else $config_directory/postfix-script check-fatal || { $FATAL Postfix integrity check failed! exit 1 } # Foreground this so it can be stopped. All inodes are cached. $config_directory/postfix-script check-warn fi $INFO starting the Postfix mail system $daemon_directory/master & ;; drain) $daemon_directory/master -t 2>/dev/null && { $FATAL the Postfix mail system is not running exit 1 } $INFO stopping the Postfix mail system kill -9 `sed 1q pid/master.pid` ;; quick-stop) $config_directory/postfix-script stop touch $queue_directory/quick-start ;; stop) $daemon_directory/master -t 2>/dev/null && { $FATAL the Postfix mail system is not running exit 0 } $INFO stopping the Postfix mail system kill `sed 1q pid/master.pid` ;; abort) $daemon_directory/master -t 2>/dev/null && { $FATAL the Postfix mail system is not running exit 0 } $INFO aborting the Postfix mail system kill `sed 1q pid/master.pid` ;; reload) $daemon_directory/master -t 2>/dev/null && { $FATAL the Postfix mail system is not running exit 1 } $INFO refreshing the Postfix mail system $command_directory/postsuper active || exit 1 kill -HUP `sed 1q pid/master.pid` $command_directory/postsuper & ;; flush) cd $queue_directory || { $FATAL no Postfix queue directory $queue_directory! exit 1 } $command_directory/postqueue -f ;; check) $config_directory/postfix-script check-fatal || exit 1 $config_directory/postfix-script check-warn exit 0 ;; quick-check) $SHELL $config_directory/post-install create-missing || { $WARN unable to create missing queue directories exit 1 } # Look for incomplete installations. test -f $config_directory/master.cf || { $FATAL no $config_directory/master.cf file found exit 1 } exit 0 ;; check-fatal) # This command is NOT part of the public interface. $config_directory/postfix-script quick-check # See if all queue files are in the right place. This is slow. # We must scan all queues for mis-named queue files before the # mail system can run. $command_directory/postsuper || exit 1 exit 0 ;; check-warn) # This command is NOT part of the public interface. for dir in $daemon_directory $config_directory $queue_directory do ls -lLd $dir | (grep " root " >/dev/null || $WARN not owned by root: $dir) done find $daemon_directory/* $config_directory/* ! -user root \ -exec $WARN not owned by root: {} \; find $daemon_directory/. $config_directory/. \ \( -perm -020 -o -perm -002 \) -type f \ -exec $WARN group or other writable: {} \; find `ls -d $queue_directory/* | \ egrep '/(incoming|active|defer|deferred|bounce|hold|trace|corrupt|public|private|flush)$'` \ ! \( -type p -o -type s \) ! -user $mail_owner \ -exec $WARN not owned by $mail_owner: {} \; find $queue_directory/public $queue_directory/maildrop \ $command_directory/postqueue $command_directory/postdrop \ -prune ! -group $setgid_group \ -exec $WARN not owned by group $setgid_group: {} \; find $command_directory/postqueue $command_directory/postdrop \ -prune ! -perm -02111 \ -exec $WARN not set-gid or not owner+group+world executable: {} \; for name in `ls -d $queue_directory/* | \ egrep '/(bin|etc|lib|usr)$'` ; \ do \ find $name ! -user root \ -exec $WARN not owned by root: {} \; ; \ done # WARNING: this should not descend into the maildrop directory. # maildrop is the least trusted Postfix directory. find $queue_directory/maildrop/. -prune ! -user $mail_owner \ -exec $WARN not owned by $mail_owner: $queue_directory/maildrop \; for dir in bin etc lib sbin usr do test -d $dir && find $dir -type f -print | while read path do test -f /$path && { cmp -s $path /$path || $WARN $queue_directory/$path and /$path differ } done done find corrupt -type f -exec $WARN damaged message: {} \; # XXX also: look for weird stuff, weird permissions, etc. test -f /usr/sbin/sendmail -a -f /usr/lib/sendmail && { cmp -s /usr/sbin/sendmail /usr/lib/sendmail || { $WARN /usr/lib/sendmail and /usr/sbin/sendmail differ $WARN Replace one by a symbolic link to the other } } exit 0 ;; set-permissions|upgrade-configuration) $config_directory/post-install create-missing "$@" ;; post-install) # Currently not part of the public interface. shift $config_directory/post-install "$@" ;; /*) # Currently not part of the public interface. "$@" ;; *) $FATAL "usage: postfix start (or stop, reload, abort, flush, check, set-permissions, upgrade-configuration)" exit 1 ;; esac -- debconf information: postfix/mailname: /etc/mailname postfix/tlsmgr_upgrade_warning: postfix/recipient_delim: + * postfix/main_mailer_type: No configuration postfix/retry_upgrade_warning: postfix/kernel_version_warning: postfix/relayhost: postfix/procmail: postfix/bad_recipient_delimiter: postfix/chattr: false postfix/root_address: postfix/rfc1035_violation: false postfix/mydomain_warning: postfix/mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 postfix/destinations: postfix/not_configured: postfix/mailbox_limit: 0 postfix/protocols: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org