Dear knowledgeable ones, I have just installed postfix and have some teething problems. This message keeps being displayed:
Aug 13 15:41:20 p2aa-app046 postfix/master[4555]: warning: process /usr/lib/postfix/smtp pid 5394 exit status 1 Aug 13 15:41:20 p2aa-app046 postfix/master[4555]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling The mail server should just forward all email to its mail replay, which I set in the main.cf as : relayhost = 10.123.12.6 Perhaps the smtpd is not installed correctly : Above it states that /usr/lib/postfix/smtp is a bad command, which is surprising because this does exist: # ls -l /usr/lib/postfix/smtp* -rwxr-xr-x 2 root root 92780 Feb 23 2009 /usr/lib/postfix/smtp -rwxr-xr-x 1 root root 154432 Feb 23 2009 /usr/lib/postfix/smtpd The mailq is not decreasing. *The results of Postfinger are below: # ./postfinger postfinger - postfix configuration on Fri Aug 13 16:03:42 CEST 2010 version: 1.30 Warning: postfinger output may show private configuration information, such as ip addresses and/or domain names which you do not want to show to the public. If this is the case it is your responsibility to modify the output to hide this private information. [Remove this warning with the --nowarn option.] --System Parameters-- mail_version = 2.5.6 hostname = p2aa-app046 uname = Linux p2aa-app046 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux --Packaging information-- looks like this postfix comes from RPM package: postfix-2.5.6-1.14 --main.cf non-default parameters-- alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical daemon_directory = /usr/lib/postfix debug_peer_level = 9 delay_warning_time = 1h html_directory = /usr/share/doc/packages/postfix-doc/html inet_interfaces = localhost inet_protocols = all mailbox_size_limit = 0 manpage_directory = /usr/share/man masquerade_exceptions = root message_strip_characters = \0 mydestination = $myhostname, localhost.$mydomain myhostname = p2aa-app046.internal.lan readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES relayhost = 10.123.12.6 relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix-doc/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical setgid_group = maildrop smtp_generic_maps = hash:/etc/postfix/generic smtpd_recipient_restrictions = permit_mynetworks#,reject_unauth_destination smtpd_sender_restrictions = hash:/etc/postfix/access transport_maps = hash:/etc/postfix/transport virtual_alias_domains = hash:/etc/postfix/virtual virtual_alias_maps = hash:/etc/postfix/virtual --master.cf-- smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr 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 relay unix - - n - - smtp -o fallback_relay= 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 maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} cyrus unix - n n - - pipe user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) 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 procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} retry unix - - n - - error proxywrite unix - - n - 1 proxymap -- end of postfinger output -- For debugging purposes I added this to the main.cf: debugger_command = PATH=/bin:/usr/bin:/bin; (strace -p $process_id 2>&1 | logger -p mail.info) & sleep 5 And added the -D to smptd and did a 'postfix reload', but it did not actually do anything :( Worth a try. I know that it is a Friday, but can anyone shed some light on this problem? Best wishes, S.