# ps -ax | grep master 22628 ? 0:00 /usr/lib/postfix/master
# service postfix status
# netstat -na | grep LISTEN | grep 25 tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
Теперь неплохо было бы приказать Postfix самому провести внутреннюю диагностику.
# postfix check
# postfix stop # postfix start
Jun 12 17:23:41 altlinux postfix/postfix-script: starting the Postfix mail system Jun 12 17:23:41 altlinux postfix/master[23846]: daemon started -- version 2.1.6
Jun 12 17:41:28 altlinux postfix/smtpd[24506]: fatal: open database /etc/postfix/helo_restriction.db: No such file or directory Jun 12 17:41:29 altlinux postfix/master[23846]: warning: process /usr/lib/postfix/smtpd pid 24506 exit status 1 Jun 12 17:41:29 altlinux postfix/master[23846]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
cleanup unix n - - - 0 cleanup -v
# /usr/sbin/postfix -v
# postconf | grep version
# postconf -m static cidr cdb nis regexp environ proxy btree unix hash
Jun 12 19:11:19 altlinux postfix/smtpd[27445]: connect from clif.unreal.net[10.10.21.75] Jun 12 19:12:09 altlinux postfix/smtpd[27445]: F29D3562E: client=clif.unreal.net[10.10.21.75] Jun 12 15:12:27 altlinux postfix/cleanup[27482]: F29D3562E: message-id=20050612151145.F29D3562E@mailhost.unreal Jun 12 19:12:27 altlinux postfix/qmgr[27342]: F29D3562E: from=, size=363, nrcpt=1 (queue active) Jun 12 15:12:29 altlinux postfix/smtpd[27445]: disconnect from clif.unreal.net[10.10.21.75]
# grep /var/log/maillog F29D3562E Jun 12 19:12:27 altlinux postfix/local[27491]: F29D3562E: to=, relay=local, delay=42, status=sent (delivered to command: /usr/bin/procmail -a $DOMAIN -d $LOGNAME) Jun 12 19:12:27 altlinux postfix/qmgr[27342]: F29D3562E: removed
# sendmail -v vasa@unreal.net
# sendmail -bv vasa@unreal.net
debug_peer_level = 2 debug_peer_list = yandex.ru, mail.ru pochta.ru 10.10.10.23/32 10.10.10.0/24