>>Очередь не отправил.
>>Дал ему sendmail -q, он спокойно живет дальше. Никакой реакции.
>
>Покажи побольше логов, последних строк 50 хотя бы.
Привожу последние строки лога.
Dec 18 11:24:33 asplinux sendmail[3945]: starting daemon (8.11.6): SMTP
Dec 18 11:25:01 asplinux sendmail[3952]: hBI6P1603952: from=root, size=32, class=0, nrcpts=0, msgid=<200312180625.hBI6P1603952@asplinux.tlinknet>, relay=root@localhost
Dec 18 11:25:01 asplinux sendmail[3952]: hBI6P1603952: to=als@tlink.ru, delay=00:00:00, mailer=esmtp, pri=32, dsn=4.4.3, stat=queued
Dec 18 11:29:30 asplinux sendmail[3993]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 37: unknown configuration line "dnldefine(confAUTO_REBUILD)"
Dec 18 11:29:30 asplinux sendmail[3993]: daemon invoked without full pathname; kill -1 won't work
Dec 18 11:30:05 asplinux sendmail[4015]: daemon invoked without full pathname; kill -1 won't work
Dec 18 11:30:05 asplinux sendmail[4017]: starting daemon (8.11.6): SMTP
Dec 18 11:31:18 asplinux sendmail[4032]: hBI6VIS04032: from=root, size=35, class=0, nrcpts=0, msgid=<200312180631.hBI6VIS04032@asplinux.tlinknet>, relay=root@localhost
Dec 18 11:31:18 asplinux sendmail[4032]: hBI6VIS04032: to=als@tlink.ru, delay=00:00:00, mailer=relay, pri=35, dsn=4.4.3, stat=queued
Dec 18 11:34:43 asplinux sendmail[4064]: daemon invoked without full pathname; kill -1 won't work
Dec 18 11:34:43 asplinux sendmail[4066]: starting daemon (8.11.6): SMTP
Dec 18 11:35:04 asplinux sendmail[4071]: hBI6Z4w04071: from=root, size=9, class=0, nrcpts=1, msgid=<200312180635.hBI6Z4w04071@asplinux.tlinknet>, relay=root@localhost
Dec 18 11:35:04 asplinux sendmail[4074]: hBI6Z4w04071: to=als, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30009, dsn=2.0.0, stat=Sent
Dec 18 11:35:14 asplinux sendmail[4077]: hBI6ZEA04077: from=root, size=36, class=0, nrcpts=0, msgid=<200312180635.hBI6ZEA04077@asplinux.tlinknet>, relay=root@localhost
Dec 18 11:35:14 asplinux sendmail[4077]: hBI6ZEA04077: to=als@tlink.ru, delay=00:00:00, mailer=relay, pri=36, dsn=4.4.3, stat=queued
Dec 18 11:35:20 asplinux sendmail[4080]: hBI6ZK104080: from=root, size=38, class=0, nrcpts=0, msgid=<200312180635.hBI6ZK104080@asplinux.tlinknet>, relay=root@localhost
Dec 18 11:35:20 asplinux sendmail[4080]: hBI6ZK104080: to=als@tlink.ru, delay=00:00:00, mailer=relay, pri=38, dsn=4.4.3, stat=queued
Dec 18 11:39:29 asplinux sendmail[4158]: daemon invoked without full pathname; kill -1 won't work
Dec 18 11:39:30 asplinux sendmail[4160]: starting daemon (8.11.6): SMTP
Dec 18 11:40:05 asplinux sendmail[4171]: hBI6e5M04171: from=root, size=41, class=0, nrcpts=0, msgid=<200312180640.hBI6e5M04171@asplinux.tlinknet>, relay=root@localhost
Dec 18 11:40:05 asplinux sendmail[4171]: hBI6e5M04171: to=als@tlink.ru, delay=00:00:00, mailer=esmtp, pri=41, dsn=4.4.3, stat=queued
Сегодня снес собранный из сырцов и установил из rpm, хотя и старее.
Собрал cf из mc:
divert(-1)
dnl This is the sendmail macro config file. If you make changes to this file,
dnl you need the sendmail-cf rpm installed and then have to generate a
dnl new /etc/sendmail.cf by running the following command:
dnl
dnl m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for ASPLinux')dnl
OSTYPE(`linux')dnl
define(`SMART_HOST',`192.168.0.100')dnl
define(`ALIAS_FILE', `/etc/aliases')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl
FEATURE(`accept_unresolvable_domains')dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Cwlocalhost.localdomain
При этом единственная реакция сендмыла на изменения - поле mailer в логах. Если в mailertable вставить строку
. esmtp:[192.168.0.100] # суда надо пересылать
то в поле mailer пишется слово relay. И все. Что ему еще надо?
При этом сам служу при серваке (FreeBSD 4.5), где сендмыл примерно так же используется (через mailertable) и ничего, все нормально работает.
|