Постоянно падает Sendmail

Тема в разделе "BSD", создана пользователем SapperSD, 26 янв 2010.

  1. SapperSD

    SapperSD Создатель

    Регистр.:
    27 дек 2009
    Сообщения:
    18
    Симпатии:
    1
    Постоянно падает Sendmail. Многократно гуглил, но так и не нашел причины падания.
    Падает с интервалом 2-15 дней по непонятным мне причинам. Помогите разобраться в чем причины падания.
    На сервере поднят днс. с зоной mydomain.ru, также доступен как mydomain.infopac.ru
    В /var/spool/mqueue лежит 130 писем, некоторые уже недельной давности.
    FreeBSD 6.2-RELEASE
    220 *.*.ru ESMTP Sendmail 8.13.8/8.13.8;
    ClamAV 0.92.1/10008/Tue Nov 10 14:31:08 2009
    SpamAssassin Server version 3.2.4
    running on Perl 5.8.8
    with SSL support (IO::Socket::SSL 1.13)
    with zlib support (Compress::Zlib 2.008)
    cucipop v1.31
    SendmailAnalyzer v2.1
    Настройки SendMail'а:

    /etc/mail/access
    cyberspammer.com 550 We don't accept mail from spammers
    FREE.STEALTH.MAILER@ 550 We don't accept mail from spammers
    another.source.of.spam REJECT
    okay.cyberspammer.com OK
    128.32 RELAY
    127.0.0.1 RELAY
    #xz
    admin@mydomain.ru REJECT
    postmaster@mydomain.ru REJECT
    webmaster@mydomain.ru REJECT
    abuse@mydomain.ru REJECT
    root@mydomain2.infopac.ru REJECT
    postmaster@mydomain2.infopac.ru REJECT
    wm@mydomain.ru REJECT
    #corp
    192.168 RELAY
    #217.111.111.1 RELAY
    217.111.111.2 RELAY
    217.111.111.3 RELAY
    217.111.111 RELAY
    172.30 RELAY
    /etc/mail/freebsd.mc
    divert(0)
    VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $')
    OSTYPE(freebsd6)
    DOMAIN(generic)
    FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
    FEATURE(blacklist_recipients)
    FEATURE(local_lmtp)
    FEATURE(mailertable, `hash -o /etc/mail/mailertable')
    FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
    define(`confCW_FILE', `-o /etc/mail/local-host-names')
    DAEMON_OPTIONS(`Name=IPv4, Family=inet')
    DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
    define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
    define(`confNO_RCPT_ACTION', `add-to-undisclosed')
    define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
    MAILER(local)
    MAILER(smtp)
    /etc/mail/freebsd.submit.mc
    divert(0)dnl
    VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.12.2 2006/08/23 03:31:00 gshapiro Exp $')
    define(`confCF_VERSION', `Submit')dnl
    define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
    define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
    define(`confTIME_ZONE', `USE_TZ')dnl
    define(`confDONT_INIT_GROUPS', `True')dnl
    define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
    FEATURE(`msp', `[127.0.0.1]')dnl
    /etc/mail/freebsd.submit.mc
    divert(0)
    VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.30.2.2 2006/08/23 03:31:00 gshapiro Exp $')
    OSTYPE(freebsd6)
    DOMAIN(generic)
    FEATURE(access_db, `hash -o -T<TMPF> /etc/mail/access')
    FEATURE(blacklist_recipients)
    FEATURE(local_lmtp)
    FEATURE(mailertable, `hash -o /etc/mail/mailertable')
    FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
    define(`confCW_FILE', `-o /etc/mail/local-host-names')
    dnl Enable for both IPv4 and IPv6 (optional)
    DAEMON_OPTIONS(`Name=IPv4, Family=inet')
    DAEMON_OPTIONS(`Name=IPv6, Family=inet6, Modifiers=O')
    INPUT_MAIL_FILTER(`spamassassin', `S=local:/var/run/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
    INPUT_MAIL_FILTER(`clmilter', `S=local:/var/run/clamav/clamad, F=, T=S:4m;R:4m')dnl
    define(`confMILTER_MACROS_CONNECT',`t, r, b, j, _, {daemon_name}, {if_name}, {if_addr}')
    define(`confMILTER_MACROS_ENVRCPT',`r, v, Z')dnl
    define(`confMAX_MESSAGE_SIZE',`10000000')
    define(`confMILTER_LOG_LEVEL',`6')
    #define(`confMAX_MIME_HEADER_LENGTH',`256/128')
    define(`confMAX_MIME_HEADER_LENGTH',`1024/512')
    define(`confBIND_OPTS', `WorkAroundBrokenAAAA')
    define(`confNO_RCPT_ACTION', `add-to-undisclosed')
    define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
    define(`confINPUT_MAIL_FILTERS', `spamassassin,clmilter')
    MAILER(local)
    MAILER(smtp)
    /etc/mail/mydomain.infopac.ru.submit.mc
    divert(0)dnl
    VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.12.2 2006/08/23 03:31:00 gshapiro Exp $')
    define(`confCF_VERSION', `Submit')dnl
    define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
    define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
    define(`confTIME_ZONE', `USE_TZ')dnl
    define(`confDONT_INIT_GROUPS', `True')dnl
    define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
    dnl
    dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
    FEATURE(`msp', `[127.0.0.1]')dnl
    /etc/mail/mydomain.ru.submit.mc
    divert(0)dnl
    VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1.12.2 2006/08/23 03:31:00 gshapiro Exp $')
    define(`confCF_VERSION', `Submit')dnl
    define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
    define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
    define(`confTIME_ZONE', `USE_TZ')dnl
    define(`confDONT_INIT_GROUPS', `True')dnl
    define(`confBIND_OPTS', `WorkAroundBrokenAAAA')dnl
    dnl
    dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
    FEATURE(`msp', `[127.0.0.1]')dnl
    Логи:
    maillog
    an 25 03:14:09 mydomain sendmail[98331]: o0LB8URW068579: to=<detective@forpost-d.ru>, ctladdr=<cdo@mydomain.ru> (1005/1003), delay=3+12:05:39, xdelay=00:00:00, mailer=esmtp, pri=15094353, relay=forpost-d.ru., dsn=4.0.0, stat=Deferred: Operation timed out with forpost-d.ru.
    Jan 25 03:14:51 mydomain sendmail[98331]: o0LB8URW068579: to=<boss@obp.ru>, ctladdr=<cdo@mydomain.ru> (1005/1003), delay=3+12:06:21, xdelay=00:00:42, mailer=esmtp, pri=15094353, relay=mail.obp.ru. [81.200.208.234], dsn=4.2.0, stat=Deferred: 450 <boss@obp.ru>: Recipient address rejected: User unknown in local recipient table
    Jan 25 03:15:31 mydomain sendmail[98331]: o0LB7PA3068552: to=<volga@russ.avtograd.ru>, ctladdr=<cdo@mydomain.ru> (1005/1003), delay=3+12:08:06, xdelay=00:00:00, mailer=esmtp, pri=15214390, relay=russ.avtograd.ru., dsn=4.0.0, stat=Deferred: Connection refused by russ.avtograd.ru.
    Jan 25 03:15:31 mydomain sendmail[98331]: o0LB7Z8w068560: to=<bit-tol@infopak.ru>, ctladdr=<cdo@mydomain.ru> (1005/1003), delay=3+12:07:56, xdelay=00:00:00, mailer=esmtp, pri=15454601, relay=infopak.ru., dsn=4.0.0, stat=Deferred: Operation timed out with infopak.ru.
    Jan 25 03:16:31 mydomain sendmail[98331]: o0LB8G9r068577: to=<aeg@recomendovano.ru>,<mda@recomendovano.ru>,<office@recomendovano.ru>, ctladdr=<cdo@mydomain.ru> (1005/1003), delay=3+12:07:29, xdelay=00:00:00, mailer=esmtp, pri=15514656, relay=recomendovano.ru., dsn=4.0.0, stat=Deferred: Operation timed out with recomendovano.ru.
    Jan 25 07:30:06 mydomain sm-msp-queue[99401]: o0ON3VR0098286: to=root, ctladdr=root (0/0), delay=04:26:35, xdelay=00:00:00, mailer=relay, pri=931100, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 07:30:06 mydomain sm-msp-queue[99401]: o0ON3VR0098286: o0P3U6BR099401: sender notify: Warning: could not send message for past 4 hours
    Jan 25 07:30:06 mydomain sm-msp-queue[99401]: o0P3U6BR099401: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32460, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 07:30:06 mydomain sm-msp-queue[99401]: o0ON3WTW098328: to=root, ctladdr=root (0/0), delay=04:26:34, xdelay=00:00:00, mailer=relay, pri=937473, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 07:30:06 mydomain sm-msp-queue[99401]: o0ON3WTW098328: o0P3U6BS099401: sender notify: Warning: could not send message for past 4 hours
    Jan 25 07:30:06 mydomain sm-msp-queue[99401]: o0P3U6BS099401: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=38833, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:00:44 mydomain sm-msp-queue[99476]: o0P3U6BR099401: to=root, delay=00:30:38, xdelay=00:00:00, mailer=relay, pri=122460, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:00:44 mydomain sm-msp-queue[99476]: o0P3U6BS099401: to=root, delay=00:30:38, xdelay=00:00:00, mailer=relay, pri=128833, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:00:44 mydomain sm-msp-queue[99476]: o0ON3VR0098286: to=root, ctladdr=root (0/0), delay=04:57:13, xdelay=00:00:00, mailer=relay, pri=1021100, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:00:44 mydomain sm-msp-queue[99476]: o0ON3WTW098328: to=root, ctladdr=root (0/0), delay=04:57:12, xdelay=00:00:00, mailer=relay, pri=1027473, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:01:04 mydomain spamass-milter[95560]: SpamAssassin: mi_stop=1
    Jan 25 08:01:04 mydomain spamass-milter[95560]: spamass-milter 0.3.1 exiting
    Jan 25 08:01:06 mydomain spamass-milter[99512]: spamass-milter 0.3.1 starting
    Jan 25 08:28:58 mydomain cucipop[99678]: tech_oi2 217.111.111.3 8, 17 (1226425), 0 (0)
    Jan 25 08:31:21 mydomain sm-msp-queue[99682]: o0P3U6BR099401: to=root, delay=01:01:15, xdelay=00:00:00, mailer=relay, pri=212460, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:31:21 mydomain sm-msp-queue[99682]: o0P3U6BS099401: to=root, delay=01:01:15, xdelay=00:00:00, mailer=relay, pri=218833, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:31:21 mydomain sm-msp-queue[99682]: o0ON3VR0098286: to=root, ctladdr=root (0/0), delay=05:27:50, xdelay=00:00:00, mailer=relay, pri=1111100, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:31:21 mydomain sm-msp-queue[99682]: o0ON3WTW098328: to=root, ctladdr=root (0/0), delay=05:27:49, xdelay=00:00:00, mailer=relay, pri=1117473, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 08:51:40 mydomain cucipop[99726]: gogina 217.111.111.2 6, 27 (88936), 0 (0)
    Jan 25 08:54:38 mydomain cucipop[99727]: mike 192.168.5.30 8, 15 (43188), 0 (0)
    Jan 25 09:00:18 mydomain cucipop[99765]: dekanur 192.168.1.1 12, 9 (886882), 0 (0)
    Jan 25 09:01:58 mydomain sm-msp-queue[99840]: o0P3U6BR099401: to=root, delay=01:31:52, xdelay=00:00:00, mailer=relay, pri=302460, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 09:01:58 mydomain sm-msp-queue[99840]: o0P3U6BS099401: to=root, delay=01:31:52, xdelay=00:00:00, mailer=relay, pri=308833, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 09:01:58 mydomain sm-msp-queue[99840]: o0ON3VR0098286: to=root, ctladdr=root (0/0), delay=05:58:27, xdelay=00:00:00, mailer=relay, pri=1201100, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 09:01:58 mydomain sm-msp-queue[99840]: o0ON3WTW098328: to=root, ctladdr=root (0/0), delay=05:58:26, xdelay=00:00:00, mailer=relay, pri=1207473, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 25 09:06:31 mydomain cucipop[99895]: inform 192.168.1.1 7, 4 (12000), 0 (0)
    messages
    Jan 22 11:24:40 mydomain sm-mta[76212]: o0M7OdtD076212: SYSERR(root:( collect: I/O error on connection from client-190.40.204.140.speedy.net.pe, from=<elsinorehej513@roudiere.com>
    Jan 22 13:53:29 mydomain sm-mta[77305]: o0M9j80c077305: SYSERR(root:( collect: I/O error on connection from localhost, from=<mnatta@cooptim.com>
    Jan 22 14:19:31 mydomain sm-mta[77117]: o0M9HIxj077117: SYSERR(root:( collect: read timeout on connection from 200-147-143-92.tlm.dialuol.com.br, from=<visesod@algonet.se>
    Jan 22 16:53:23 mydomain sm-mta[78708]: o0MCq1sh078708: SYSERR(root:( collect: I/O error on connection from 189-10-87-5.e.pmjce700.brasiltelecom.net.br, from=<kurilesa121@resource-zone.com>
     
  2. e_dmitriy

    e_dmitriy Создатель

    Регистр.:
    23 янв 2010
    Сообщения:
    14
    Симпатии:
    5
    Sendmail именно падает или просто перестаёт обрабатывать почтовую очередь?
     
  3. SapperSD

    SapperSD Создатель

    Регистр.:
    27 дек 2009
    Сообщения:
    18
    Симпатии:
    1
    Выкрутил logLevel.
    sendmail -O LogLevel=98 -bd

    подох быстро. /etc/rc.d/sendmail start в Jan 27 09:22:06
    telnet на 25 порт не цепляется. ps -aux|grep sendmail вроде говорит, что ничего нет.
    Почему же он падает то?!

    Jan 27 07:50:32 mydomain sendmail[20259]: o0R3oVxt020259: from=<mydomain@mydomain.ru>, size=3122, class=0, nrcpts=1, msgid=<201001270350.o0R3oVxt020259@mydomain.infopac.ru>, proto=ESMTP, daemon=IPv4, relay=[219.122.35.73]
    Jan 27 07:50:32 mydomain spamd[15262]: spamd: connection from localhost [127.0.0.1] at port 52490
    Jan 27 07:50:32 mydomain spamd[15262]: spamd: creating default_prefs: /home/mydomain/.spamassassin/user_prefs
    Jan 27 07:50:32 mydomain spamd[15262]: config: cannot write to /home/mydomain/.spamassassin/user_prefs: No such file or directory
    Jan 27 07:50:32 mydomain spamd[15262]: spamd: failed to create readable default_prefs: /home/mydomain/.spamassassin/user_prefs
    Jan 27 07:50:32 mydomain spamd[15262]: spamd: processing message (unknown) for mydomain:58
    Jan 27 07:50:34 mydomain sendmail[20260]: NOQUEUE: connect from [190.144.113.37]
    Jan 27 07:50:34 mydomain sendmail[20260]: o0R3oYtJ020260: --- 220 mydomain.infopac.ru ESMTP Sendmail 8.13.8/8.13.8; Wed, 27 Jan 2010 07:50:34 +0400 (SAMT)
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: <-- ehlo 56.com
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-mydomain.infopac.ru Hello [190.144.113.37], pleased to meet you
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-ENHANCEDSTATUSCODES
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-PIPELINING
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-8BITMIME
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-SIZE 10000000
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-DSN
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-ETRN
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250-DELIVERBY
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250 HELP
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: <-- mail from:<info@amym.co.uk>
    Jan 27 07:50:35 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250 2.1.0 <info@amym.co.uk>... Sender ok
    Jan 27 07:50:36 mydomain sendmail[20260]: o0R3oYtJ020260: <-- rcpt to:<giprogor@mydomain.ru>
    Jan 27 07:50:36 mydomain sendmail[20260]: o0R3oYtJ020260: --- 250 2.1.5 <giprogor@mydomain.ru>... Recipient ok
    Jan 27 07:50:36 mydomain sendmail[20260]: o0R3oYtJ020260: <-- DATA
    Jan 27 07:50:36 mydomain sendmail[20260]: o0R3oYtJ020260: --- 354 Enter mail, end with "." on a line by itself
    Jan 27 07:50:36 mydomain sendmail[20260]: o0R3oYtJ020260: from=<info@amym.co.uk>, size=7412, class=0, nrcpts=1, msgid=<CEE2E3386E5C4B678E0A33059AF07FA5@cold>, proto=ESMTP, daemon=IPv4, relay=[190.144.113.37]
    Jan 27 07:50:36 mydomain spamd[17741]: spamd: connection from localhost [127.0.0.1] at port 49157
    Jan 27 07:50:36 mydomain spamd[17741]: spamd: creating default_prefs: /home/giprogor/.spamassassin/user_prefs
    Jan 27 07:50:36 mydomain spamd[17741]: config: cannot write to /home/giprogor/.spamassassin/user_prefs: No such file or directory
    Jan 27 07:50:36 mydomain spamd[17741]: spamd: failed to create readable default_prefs: /home/giprogor/.spamassassin/user_prefs
    Jan 27 07:50:36 mydomain spamd[17741]: spamd: processing message <CEE2E3386E5C4B678E0A33059AF07FA5@cold> for giprogor:58
    Jan 27 07:50:37 mydomain spamd[15262]: spamd: clean message (-88.3/5.0) for mydomain:58 in 4.5 seconds, 3527 bytes.
    Jan 27 07:50:37 mydomain spamd[15262]: spamd: result: . -88 - BAYES_50,HTML_IMAGE_ONLY_32,HTML_IMAGE_RATIO_02,HTML_MESSAGE,MIME_HTML_ONLY,MISSING_DATE,MISSING_MID,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB,RCVD_IN_XBL,RDNS_NONE,URIBL_BLACK,URI_HEX,USER_IN_WHITELIST scantime=4.5,size=3527,user=mydomain,uid=58,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=52490,mid=(unknown),bayes=0.506217,autolearn=no
    Jan 27 07:50:37 mydomain sendmail[20259]: o0R3oVxt020259: --- 250 2.0.0 o0R3oVxt020259 Message accepted for delivery
    Jan 27 07:50:37 mydomain spamd[1151]: prefork: child states: IB
    Jan 27 07:50:37 mydomain sendmail[20263]: o0R3oVxt020259: to=<mydomain@mydomain.ru>, ctladdr=<mydomain@mydomain.ru> (1047/1003), delay=00:00:05, xdelay=00:00:00, mailer=local, pri=33944, relay=local, dsn=2.0.0, stat=Sent
    Jan 27 07:50:37 mydomain sendmail[20263]: o0R3oVxt020259: done; delay=00:00:05, ntries=1
    Jan 27 07:50:37 mydomain sendmail[20259]: o0R3oVxu020259: <-- QUIT
    Jan 27 07:50:37 mydomain sendmail[20259]: o0R3oVxu020259: --- 221 2.0.0 mydomain.infopac.ru closing connection
    Jan 27 07:50:41 mydomain spamd[17741]: spamd: identified spam (15.7/5.0) for giprogor:58 in 4.7 seconds, 7842 bytes.
    Jan 27 07:50:41 mydomain spamd[17741]: spamd: result: Y 15 - BAYES_99,DATE_IN_PAST_03_06,DOS_OE_TO_MX,FH_DATE_PAST_20XX,FORGED_MUA_OUTLOOK,HTML_MESSAGE,RCVD_IN_XBL,RDNS_NONE scantime=4.7,size=7842,user=giprogor,uid=58,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=49157,mid=<CEE2E3386E5C4B678E0A33059AF07FA5@cold>,bayes=1.000000,autolearn=spam
    Jan 27 07:50:41 mydomain sendmail[20260]: o0R3oYtJ020260: Milter: data, reject=550 5.7.1 Blocked by SpamAssassin
    Jan 27 07:50:41 mydomain sendmail[20260]: o0R3oYtJ020260: --- 550 5.7.1 Blocked by SpamAssassin (hold)
    Jan 27 07:50:41 mydomain sendmail[20260]: o0R3oYtJ020260: to=<giprogor@mydomain.ru>, delay=00:00:05, pri=37412, stat=Blocked by SpamAssassin
    Jan 27 07:50:41 mydomain sendmail[20260]: o0R3oYtJ020260: --- 550 5.7.1 Blocked by SpamAssassin (held)
    Jan 27 07:50:41 mydomain spamd[1151]: prefork: child states: II
    Jan 27 07:50:41 mydomain sendmail[20260]: o0R3oYtK020260: --- 421 4.4.1 mydomain.infopac.ru Lost input channel from [190.144.113.37]
    Jan 27 07:50:41 mydomain sendmail[20260]: o0R3oYtK020260: lost input channel from [190.144.113.37] to IPv4 after data
    Jan 27 07:55:47 mydomain sendmail[20281]: NOQUEUE: connect from 129-60-21-190.adsl.terra.cl [190.21.60.129]
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 220 mydomain.infopac.ru ESMTP Sendmail 8.13.8/8.13.8; Wed, 27 Jan 2010 07:55:47 +0400 (SAMT)
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: <-- ehlo 129-60-21-190.adsl.terra.cl
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-mydomain.infopac.ru Hello 129-60-21-190.adsl.terra.cl [190.21.60.129], pleased to meet you
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-ENHANCEDSTATUSCODES
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-PIPELINING
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-8BITMIME
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-SIZE 10000000
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-DSN
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-ETRN
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250-DELIVERBY
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: --- 250 HELP
    Jan 27 07:55:47 mydomain sendmail[20281]: o0R3tlfn020281: <-- mail from:<info@gourock.co.uk>
    Jan 27 07:55:48 mydomain sendmail[20281]: o0R3tlfn020281: --- 250 2.1.0 <info@gourock.co.uk>... Sender ok
    Jan 27 07:55:48 mydomain sendmail[20281]: o0R3tlfn020281: <-- rcpt to:<gogina@mydomain.ru>
    Jan 27 07:55:48 mydomain sendmail[20281]: o0R3tlfn020281: --- 250 2.1.5 <gogina@mydomain.ru>... Recipient ok
    Jan 27 07:55:48 mydomain sendmail[20281]: o0R3tlfn020281: <-- data
    Jan 27 07:55:48 mydomain sendmail[20281]: o0R3tlfn020281: --- 354 Enter mail, end with "." on a line by itself
    Jan 27 07:55:49 mydomain sendmail[20281]: o0R3tlfn020281: from=<info@gourock.co.uk>, size=7322, class=0, nrcpts=1, msgid=<CEE2E3386E5C4B678E0A33059AF07FA5@cold>, proto=ESMTP, daemon=IPv4, relay=129-60-21-190.adsl.terra.cl [190.21.60.129]
    Jan 27 07:55:49 mydomain spamd[15262]: spamd: connection from localhost [127.0.0.1] at port 62079
    Jan 27 07:55:49 mydomain spamd[15262]: spamd: creating default_prefs: /home/gogina/.spamassassin/user_prefs
    Jan 27 07:55:49 mydomain spamd[15262]: config: cannot write to /home/gogina/.spamassassin/user_prefs: No such file or directory
    Jan 27 07:55:49 mydomain spamd[15262]: spamd: failed to create readable default_prefs: /home/gogina/.spamassassin/user_prefs
    Jan 27 07:55:49 mydomain spamd[15262]: spamd: processing message <CEE2E3386E5C4B678E0A33059AF07FA5@cold> for gogina:58
    Jan 27 07:55:53 mydomain spamd[15262]: spamd: identified spam (28.3/5.0) for gogina:58 in 4.6 seconds, 7802 bytes.
    Jan 27 07:55:53 mydomain spamd[15262]: spamd: result: Y 28 - BAYES_99,DATE_IN_PAST_06_12,DOS_OE_TO_MX,FH_DATE_PAST_20XX,FH_HELO_EQ_D_D_D_D,FORGED_MUA_OUTLOOK,HELO_DYNAMIC_HCC,HELO_DYNAMIC_IPADDR2,HTML_MESSAGE,RCVD_IN_PBL,RCVD_IN_XBL,RDNS_DYNAMIC,TVD_RCVD_IP scantime=4.6,size=7802,user=gogina,uid=58,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=62079,mid=<CEE2E3386E5C4B678E0A33059AF07FA5@cold>,bayes=1.000000,autolearn=spam
    Jan 27 07:55:53 mydomain sendmail[20281]: o0R3tlfn020281: Milter: data, reject=550 5.7.1 Blocked by SpamAssassin
    Jan 27 07:55:53 mydomain sendmail[20281]: o0R3tlfn020281: --- 550 5.7.1 Blocked by SpamAssassin (hold)
    Jan 27 07:55:53 mydomain sendmail[20281]: o0R3tlfn020281: to=<gogina@mydomain.ru>, delay=00:00:05, pri=37322, stat=Blocked by SpamAssassin
    Jan 27 07:55:53 mydomain sendmail[20281]: o0R3tlfn020281: --- 550 5.7.1 Blocked by SpamAssassin (held)
    Jan 27 07:55:53 mydomain spamd[1151]: prefork: child states: II
    Jan 27 07:55:54 mydomain sendmail[20281]: o0R3tlfo020281: --- 421 4.4.1 mydomain.infopac.ru Lost input channel from 129-60-21-190.adsl.terra.cl [190.21.60.129]
    Jan 27 07:55:54 mydomain sendmail[20281]: o0R3tlfo020281: lost input channel from 129-60-21-190.adsl.terra.cl [190.21.60.129] to IPv4 after data
    Jan 27 08:01:03 mydomain spamass-milter[15388]: SpamAssassin: mi_stop=1
    Jan 27 08:01:03 mydomain spamass-milter[15388]: spamass-milter 0.3.1 exiting
    Jan 27 08:01:05 mydomain sendmail[16883]: could not restart: need full path
    Jan 27 08:01:05 mydomain spamass-milter[20335]: spamass-milter 0.3.1 starting
    Jan 27 08:23:02 mydomain cucipop[20495]: tech_oi2 217.77.102.142 3, 6 (318121), 0 (0)
    Jan 27 08:55:08 mydomain cucipop[20545]: mike 192.168.5.30 10, 20 (56143), 0 (0)
    Jan 27 09:07:23 mydomain cucipop[20711]: it_sysadmin 192.168.1.1 16, 26 (63144), 0 (0)
    Jan 27 09:21:58 mydomain cucipop[20779]: tpg_ur 127.0.0.1 1, 0 (0), 20 (4888810)
    Jan 27 09:21:58 mydomain cucipop[20780]: tpg_ur 127.0.0.1 0, 0 (63887), 20 (4888810)
    Jan 27 09:22:06 mydomain sm-mta[20799]: gethostbyaddr(172.30.30.2) failed: 1
    Jan 27 09:22:06 mydomain sm-mta[20800]: starting daemon (8.13.8:( SMTP+queueing@00:30:00
    Jan 27 09:22:06 mydomain sm-msp-queue[20804]: starting daemon (8.13.8:( queueing@00:30:00
    Jan 27 09:22:09 mydomain cucipop[20806]: tpg_ur 127.0.0.1 1, 1 (7955), 20 (4888810)
    Jan 27 09:24:26 mydomain sm-mta[20810]: o0R5OPdr020810: from=<kuznecova-nl@rambler.ru>, size=65663, class=0, nrcpts=1, msgid=<368977946.1264569299.46922552.29678@mcgi76.rambler.ru>, bodytype=8BITMIME, proto=ESMTP, daemon=IPv4, relay=mxa.rambler.ru [81.19.66.231]
    Jan 27 09:24:26 mydomain spamd[15262]: spamd: connection from localhost [127.0.0.1] at port 50046


    Добавлено через 17 минут
    Да, кстати. /var/spool/mqueue пуст в этот раз. Все остальные логи ничего существенного не содержат. Вообще, может разве сдохнуть процесс и при этом ни в одном из логов не быть записи об этом?! Чуствую, меня скоро четвертуюет начальство, если мыло-сервер не зарабоает стабильно. :die:
     
  4. e_dmitriy

    e_dmitriy Создатель

    Регистр.:
    23 янв 2010
    Сообщения:
    14
    Симпатии:
    5
    Попробуй вот что:
    1.
    Сделай вывод всех логов в единый файл. Для этого из под root:
    # touch /var/log/all.log
    # chmod 0600 /var/log/all.log

    Далее редактируешь /etc/syslog.conf, находишь в нём строчку вида:
    #*.* /var/log/all.log
    и раскомментируешь её. Сохраняешь и затем перезапускаешь syslogd:

    # killall -1 syslogd

    На выходе имеешь файл all.log, в который будет сваливаться вся информация о работе системы. Обрати внимание, потом, в целях безопасности, лучше всё это обратно закомментировать.

    2. Запусти sendmail не через скрипт, а из консоли.

    И ещё у тебя SpamAsassin нехорошими словами ругается, разреши уже ему в папку писать, о чём он в логах слёзно просит.

    3. Как вариант, попробуй на время поотключать фильтры. Можешь поочередно. Я бы начал с clamav'а.

    И ещё один момент. Посмотри вот этот:
    https://www.milter.org/developers/installation мануал по настройкам таймаутов для фильтров. По-моему, время на подключение к тому же spamd, выставленное в 15 минут, это чересчур много
     
  5. SapperSD

    SapperSD Создатель

    Регистр.:
    27 дек 2009
    Сообщения:
    18
    Симпатии:
    1
    Не могу я взять и отключить антиспам, сервер рабочий. В ближайшем будущем планируется переход на линукс и постфикс. А пока прикрутил костыль в виде скрипта, который по крону раз в минуту проверяет наличие сендмейла в процессах, и если его там нет перезапускает службу.
    Код:
    #!/bin/sh
    # restart sendmail
    str1=`ps -Allwww| grep -v grep | grep 'accepting connections (sendmail)'`
    str2=`ps -Allwww| grep -v grep | grep 'for /var/spool/clientmqueue (sendmail)'`
    if [ -z "$str1" -o -z "$str2" ]
    then
     dt=`date`
     echo "$dt restart" >> /var/log/mailrest.log
     ps -Allwww >> /var/log/mailrest.log
     echo -------------------------------- >> /var/log/mailrest.log
     netstat -an >> /var/log/mailrest.log
     echo -------------------------------- >> /var/log/mailrest.log
     echo -------------------------------- >> /var/log/mailrest.log
     /etc/rc.d/sendmail stop
     sleep 2
     /etc/rc.d/sendmail start
    fi
    exit 0
    
    Интересная штука, если использовать просто ps -All , то при ручном запуске все ок, а если по крону, то вывод идет с обрезанием до 80 символов. Потому и Allwww.
     
  6. e_dmitriy

    e_dmitriy Создатель

    Регистр.:
    23 янв 2010
    Сообщения:
    14
    Симпатии:
    5
    Как workaround конечно пойдёт и это. Но в целом правильнее-то разобраться, мало ли когда с такой связкой или её частями работать доведется.
    В all.log неужели ничего подозрительного так и нет?
     
  7. SapperSD

    SapperSD Создатель

    Регистр.:
    27 дек 2009
    Сообщения:
    18
    Симпатии:
    1
    Есть некоторые наблюдения.
    Вечером был вручную запущен сендмейл:
    /usr/sbin/sendmail -O LogLevel=98 -bd
    Код:
    # ps -aux|grep send
    smmsp  13801  0.0  0.1  3384  2788  ??  Is   11:40PM   0:00.01 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (s
    root   22096  0.0  0.1  3504  3040  ??  Ss    [B]8:01AM[/B]   0:00.15 sendmail: accepting connections (sendmail)
    Утром был перезапуск сендмейла, но это сделал не мой скрипт, т.к. его логах чисто.
    В общих логах вот что:

    Jan 31 08:01:01 mydomain /usr/sbin/cron[22047]: (root) CMD ( sh /etc/mail/sendmail_check.sh)
    Jan 31 08:01:01 mydomain /usr/sbin/cron[22048]: (root) CMD (sh /usr/local/scripts/check_spam.sh)
    Jan 31 08:01:01 mydomain /usr/sbin/cron[22049]: (root) CMD (/usr/bin/sarg)
    Jan 31 08:01:01 mydomain spamass-milter[8346]: SpamAssassin: mi_stop=1
    Jan 31 08:01:01 mydomain spamass-milter[8346]: spamass-milter 0.3.1 exiting

    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: assigned id
    Jan 31 08:01:03 mydomain sendmail[22075]: NOQUEUE: connect from [217.77.102.10]
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: Milter (spamassassin:( error connecting to filter: Connection refused by /var/run/spamass-milter.sock
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: Milter (spamassassin:( to error state
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 220 mydomain.infopac.ru ESMTP Sendmail 8.13.8/8.13.8; Sun, 31 Jan 2010 08:01:03 +0400 (SAMT)
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: <-- EHLO mydomain2.infopac.ru
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-mydomain.infopac.ru Hello [217.77.102.10], pleased to meet you
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-ENHANCEDSTATUSCODES
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-PIPELINING
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-8BITMIME
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-SIZE 10000000
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-DSN
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-ETRN
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250-DELIVERBY
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250 HELP
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: <-- MAIL From:<root@mydomain2.infopac.ru> SIZE=1086
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 550 5.7.1 <root@mydomain2.infopac.ru>... Access denied
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: ruleset=check_mail, arg1=<root@mydomain2.infopac.ru>, relay=[217.77.102.10], reject=550 5.7.1 <root@mydomain2.infopac.ru>... Access denied
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: <-- RSET
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: --- 250 2.0.0 Reset state
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: from=<root@mydomain2.infopac.ru>, size=1086, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=[217.77.102.10]
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: dropenvelope, e_flags=0x4009, OpMode=d, pid=22075
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: ./dfo0V413AN022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: ./qfo0V413AN022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: unlock
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AN022075: ./xfo0V413AN022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: assigned id
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: <-- MAIL From:<> SIZE=2110
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: --- 250 2.1.0 <>... Sender ok
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: <-- RCPT To:<sysadmin@mydomain.ru>
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: --- 550 5.1.1 <sysadmin@mydomain.ru>... User unknown
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: <sysadmin@mydomain.ru>... User unknown
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: <-- DATA
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: --- 503 5.0.0 Need RCPT (recipient)
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: <-- RSET
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: --- 250 2.0.0 Reset state
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: from=<>, size=2110, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=[217.77.102.10]
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: dropenvelope, e_flags=0x4009, OpMode=d, pid=22075
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: ./dfo0V413AO022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: ./qfo0V413AO022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: unlock
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AO022075: ./xfo0V413AO022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: assigned id
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: <-- RSET
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: --- 250 2.0.0 Reset state
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: dropenvelope, e_flags=0x4009, OpMode=d, pid=22075
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: ./dfo0V413AP022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: ./qfo0V413AP022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: unlock
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AP022075: ./xfo0V413AP022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: assigned id
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: <-- MAIL From:<> SIZE=3134
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: --- 250 2.1.0 <>... Sender ok
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: <-- RCPT To:<sysadmin@mydomain.ru>
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: --- 550 5.1.1 <sysadmin@mydomain.ru>... User unknown
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: <sysadmin@mydomain.ru>... User unknown
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: <-- DATA
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: --- 503 5.0.0 Need RCPT (recipient)
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: <-- RSET
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: --- 250 2.0.0 Reset state
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: from=<>, size=3134, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=[217.77.102.10]
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: dropenvelope, e_flags=0x4009, OpMode=d, pid=22075
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: ./dfo0V413AQ022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: ./qfo0V413AQ022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: unlock
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AQ022075: ./xfo0V413AQ022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: assigned id
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: <-- QUIT
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: --- 221 2.0.0 mydomain.infopac.ru closing connection
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: disconnect level 1
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: in background, pid=22075
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: dropenvelope, e_flags=0x4001, OpMode=d, pid=22075
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: ./dfo0V413AR022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: ./qfo0V413AR022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: unlock
    Jan 31 08:01:03 mydomain sendmail[22075]: o0V413AR022075: ./xfo0V413AR022075: unlink-fail 2
    Jan 31 08:01:03 mydomain sendmail[22075]: NOQUEUE: finis, pid=22075
    Jan 31 08:01:04 mydomain sendmail[13860]: restarting /usr/sbin/sendmail due to signal
    Jan 31 08:01:05 mydomain spamass-milter[22089]: spamass-milter 0.3.1 starting

    Jan 31 08:01:05 mydomain sendmail[13860]: gethostbyaddr(172.30.30.2) failed: 1
    Jan 31 08:01:05 mydomain sendmail[13860]: o0V415hS013860: assigned id
    Jan 31 08:01:05 mydomain sendmail[13860]: o0V415hS013860: finis, pid=13860
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: disconnect level 2
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: in background, pid=22091
    Jan 31 08:01:05 mydomain sendmail[22091]: starting daemon (8.13.8:( SMTP
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: dropenvelope, e_flags=0x4001, OpMode=d, pid=22091
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: ./dfo0V415hS013860: unlink-fail 2
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: ./qfo0V415hS013860: unlink-fail 2
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: unlock
    Jan 31 08:01:05 mydomain sendmail[22091]: o0V415hS013860: ./xfo0V415hS013860: unlink-fail 2
    Jan 31 08:01:05 mydomain sendmail[22091]: STARTTLS: ServerCertFile missing
    Jan 31 08:01:05 mydomain sendmail[22091]: started as: /usr/sbin/sendmail -O LogLevel=98 -bd
    Jan 31 08:01:06 mydomain sendmail[22091]: restarting /usr/sbin/sendmail due to signal

    Jan 31 08:01:06 mydomain sendmail[22091]: gethostbyaddr(172.30.30.2) failed: 1
    Jan 31 08:01:06 mydomain sendmail[22091]: o0V4165V022091: assigned id
    Jan 31 08:01:06 mydomain sendmail[22091]: o0V4165V022091: finis, pid=22091
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: disconnect level 2
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: in background, pid=22096
    Jan 31 08:01:06 mydomain sendmail[22096]: starting daemon (8.13.8:( SMTP
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: dropenvelope, e_flags=0x4001, OpMode=d, pid=22096
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: ./dfo0V4165V022091: unlink-fail 2
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: ./qfo0V4165V022091: unlink-fail 2
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: unlock
    Jan 31 08:01:06 mydomain sendmail[22096]: o0V4165V022091: ./xfo0V4165V022091: unlink-fail 2
    Jan 31 08:01:06 mydomain sendmail[22096]: STARTTLS: ServerCertFile missing
    Jan 31 08:01:06 mydomain sendmail[22096]: started as: /usr/sbin/sendmail -O LogLevel=98 -bd[b/]
    Jan 31 08:01:13 mydomain kernel: ipfw: 5900 Deny UDP 169.254.114.101:1050 255.255.255.255:1947 in via rl2
    Jan 31 08:01:48 mydomain kernel: ipfw: 5900 Deny UDP 169.254.114.101:1050 255.255.255.255:1947 in via rl2
    Jan 31 08:02:00 mydomain /usr/sbin/cron[22169]: (root) CMD ( sh /etc/mail/sendmail_check.sh)
    Jan 31 08:01:52 mydomain kernel: ipfw: 5900 Deny P:2 10.254.0.1 224.0.0.1 in via rl2
     
  8. e_dmitriy

    e_dmitriy Создатель

    Регистр.:
    23 янв 2010
    Сообщения:
    14
    Симпатии:
    5
    Фильтры. Как обычно. Как и предполагал...
    Отключи антиспам и попробуй поработать без него. Возможно что он не справляется с нагрузкой (должно быть видно по команде top) или натыкается на сообщение, которое не может "переварить". Тогда конфигурацию антиспама потребуется доработать. Было бы неплохо определить, на обработке какого письма ему стало плохо. Проверь, выставлены ли в его настройках параметры типа "максимальный размер обрабатываемого письма" и т.п.
     
  9. SapperSD

    SapperSD Создатель

    Регистр.:
    27 дек 2009
    Сообщения:
    18
    Симпатии:
    1
    Период падаения сендмейла колеблеться от 1 дня до 3 недель. Не могу я отрубить антиспам на 3 недели.
    Нагрузка на сервак не большая, пару сотен писем в сутки. Так что перегруз маловероятен.
     
  10. e_dmitriy

    e_dmitriy Создатель

    Регистр.:
    23 янв 2010
    Сообщения:
    14
    Симпатии:
    5
    Последний вариант - смени milter. Есть несколько вариантов milter'ов для связки sendmail с тем же clamav и spamassasin. Штатный для spamassasin'а, на сколько я помню, был не особо хорош.

    P.S. Если на сервере никаких изменений и модификаций делать нельзя, к чему тогда спрашивать в чём причина проблем?