been doing some further testing and the reason that don was confused might be that it seems like the spamc test being skipped in *not* the reason why delivery failed and messages like the one below gets placed in the error queue..
i've included some more information about a message from the following entry in the maillog:
Code: Select all
Aug 18 14:46:30 mail sendmail[29721]: k7IIkN6o029721: from=<user@somewhere.com>, size=2164607, class=0, nrcpts=1, msgid=<44E60D8F.5
000009@somewhere.com>, proto=ESMTP, daemon=MTA, relay=mail.domain.com [12.34.56.78]
Aug 18 14:46:30 mail spamc[29734]: skipped message, greater than max message size (256000 bytes)
Aug 18 14:46:30 mail spamass-milter[18732]: Could not extract score from <>
Aug 18 14:46:32 mail sendmail[29721]: k7IIkN6o029721: Milter add: header: X-Virus-Scanned: ClamAV 0.88.2/1684/Fri Aug 18 12:09:44 2
006 on mail.domain.com
Aug 18 14:46:32 mail sendmail[29721]: k7IIkN6o029721: Milter add: header: X-Virus-Status: Clean
Aug 18 14:46:32 mail sendmail[29736]: k7IIkN6o029721: to=<recipient@domain.com>, delay=00:00:09, xdelay=00:00:00, mailer=scalix, pri=2
194607, relay=mail, dsn=2.0.0, stat=Sent (Ok)
although sendmail states 'Sent' it gets placed in the error queue. the following is reported from the scalix monitor cron job regarding this message:
Code: Select all
Scalix's Error Queue Contents
-------------------
Reference Number: 3004065
Message Id: 44E6033E.60005(a)somewhere.com
Sender: user / internet
DDT1=RFC-822; DDV1=user@somewhere.com;
Subject: [ Flash Scroller ] Bug Fix
Message Type: MSG
Sent: 08.18.06
..and checking for the message reference from the command line, it occurs in the error queue:
omstat -q error -m 3004065
Code: Select all
3004065 user / internet MSG N Bug Fix 08.18.06
Sent: 08.18.06
running a omqdump from the command line and listing this message from the error queue results in the following:
Code: Select all
Msg File = ~/data/000007m/002rll1
Access Count = 1
TF File = ~/data/000007m/002rll0
Priority = Normal
TF Info Flags = 0
Filter Route =
Attach File #1 = ~/data/0000032/002rll2
Attach File #2 = ~/data/0000032/002rll3
Attach File #3 = ~/data/0000032/002rll4
HEADER (DN) 3 0 0 0 0x400 0x1 0 0x0 0x0 0x0 0x0 0x0 "m\
ultipart/mixed;boundary=\"------------050701060102030802050208\""
MSG_INT_ID (DN) 0 "44E6033E.60005(a)somewhere.com" "44E6033E.60005(a\
)userselby.com"
CREATE_DATE (DN) 2006/8/18 18:13.18-240
SUBJECT (DN) "[ Flash Scroller ] Bug Fix" "" "IA5" "" ""
CREATOR (DN) 0 0 0 0 0 0 "S=user/OU1=internet/DDT1=RFC-822/DD\
V1=user@somewhere.com/INTERNET-ADDR=user@somewhere.com"
** Warning - Insufficient fields present (Record No. 5)
P2_ORIGINATOR (DN) 0 0 0 0 0 0 "S=user/OU1=internet/DDT1=RFC-822/DD\
V1=user@somewhere.com/INTERNET-ADDR=user <user@somewhere.com>"
** Warning - Insufficient fields present (Record No. 6)
MSG_OBJECT_FILE (DN) 1110 0 "inetMessageHeader"
MSG_OBJECT_DATA (DN) 0x1 1 0 <hex data not displayed>
CONTENT_FILE (DN) 1166 1166 0x2 -1 0 "[ Flash Scroller ] Bug Fix" \
"" "" "" "" "IA5" "" "" "" ""
CONTENT_FILE (DN) 1167 1167 0x0 -1 0 "[ Flash Scroller ] Bug Fix" \
"" "" "ISO8859_1" "" "" "" "" "" "" "" "" "text/plain; charset=ISO-\
8859-1; format=flowed" "" "" ""
CONTENT_OBJECT_FILE (DN) 94 0 "inetContentHeader"
CONTENT_OBJECT_DATA (DN) 0x1 1 0 <hex data not displayed>
CONTENT_FILE (DN) 0 0 0x0 -1 0 "photoScrollFlash8.rar" "photoScrol\
lFlash8.rar" "" "" "" "IA5" "" "" "" "" "" "" "application/octet-st\
ream;name=\"photoScrollFlash8.rar\"" "attachment" "" ""
CONTENT_OBJECT_FILE (DN) 176 0 "inetContentHeader"
CONTENT_OBJECT_DATA (DN) 0x1 1 0 <hex data not displayed>
RECIPIENT (DN) 0x20 0 1 "" "" "S=LastName/OU1=mail/OU2=domain\
/CN=FirstName LastName/INTERNET-ADDR=\"FirstName LastName\" <recipient@domain.com>"
OPERATION_TRACE (DN) 2006/8/23 16:00.41-240 6 ""
OPERATION_TRACE (DN) 2006/8/23 16:01.06-240 6 ""
OPERATION_TRACE (DN) 2006/8/23 16:15.23-240 6 ""
names and e-mail addresses have obviously been changed in these entries..
it appears that the attachments are causing the message to be placed on the error queue, which i initially thought was due to the spamc skipped message test.
any ideas based on this additional information?