mainSpamAssassin Milter Plugin - Support: sr #101558, milter crashs/sendmail deny...

 
 

sr #101558: milter crashs/sendmail deny connections

Submitter:  Invalid User ID <#12685>
Submitted:  Mon 25 Nov 2002 12:26:59 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 Jun 2003 08:12:43 PM UTC, comment #3: 


0.1.3a with sendmail 8.12.9, stock redhat 7.3 install with the 2.4.18-27.7.xsmp redhat rpm kernel (dual P3 2.4, 2.5GB RAM)

unforetunately the milter doesn't crash - it seems to go into a hanging state, and still shows up in ps. so, no dumps to analyze. in the meantime i've upgraded glibc and compilers to redhat8 versions, changed F=T to F= in the cf and canned the idea of doing body replacements (for now, at least).

problems mostly gone, but only after i also recompiled sendmail with the new compiler. still gives around 30-50 error msgs daily (maillog: `milter to error state`) on a box that handles around 600-800 msgs per day, but it recovers and goes on working after the error. usually accompanied by `write(A) returned -1, expected 5: Broken pipe`.

wish i knew more about C++. i use several milters, also for virus checking, but all in C, all rock solid. this one has the simplest code - by far - but its got me scratching my head. not giving up though, managed to get one of our C++ guys to have a look at it. we don't do a lot of C++ on Linux, mostly db related stuff on win and AIX, but i'll post if anything interesting comes up.

Regards
Pieter

Anonymous
Sat 07 Jun 2003 08:49:44 PM UTC, comment #2: 


Pieter: "timeout before data read" means that the milter is
no longer listening on the socket.  It may have crashed.
What are the versions of your OS, sendmail, and milter?  If
it has crashed, do you have a coredump?

Dan Nelson <dnelson>
Group administrator
Sat 07 Jun 2003 05:43:06 PM UTC, comment #1: 


having the same over here - and lots of it.
looks like its exceding the internal sendmail timeout specified in the milter definition:
F=, T=C:15m;S:4m;R:4m;E:10m
sendmail op.ps says:
S: Timeout for sending information from the MTA to a filter.
will stretching it to something like S:20m help, or will it break something else?
anyone know what the relation is bewteen this setting and sendmails Timeout.datablock, which defaults to 1hour? i'm leaning heavily towards also fixing this to something more sane (albeit not rfc2821 compliant)

regards
Pieter

Anonymous
Mon 25 Nov 2002 12:26:59 AM UTC, original submission:  


hi everybody

i hope you can help me. after some time i get this in
my maillog and
sendmail stop's acceppting or sendind email. the only
solution i found is
restarting spamd - but this doesn't help all the time.

Nov 13 04:33:33 idefix sendmail[10093]:
gAD3TXHI010093: Milter
(spamassassin): timeout before data read
Nov 13 04:33:33 idefix sendmail[10093]:
gAD3TXHI010093: Milter
(spamassassin): to error state
Nov 13 04:33:33 idefix sendmail[10093]:
gAD3TXHI010093: Milter
(spamassassin): init failed to open
Nov 13 04:33:33 idefix sendmail[10093]:
gAD3TXHI010093: Milter
(spamassassin): to error state


my system is a quad xeon server with 1 gig of ram,
installed sendmail 8.12.6
and SpamAssassin-2.43.

i configure spamassassin normally:
./configure
make
make install

and included the stuff to sendmail via:
INPUT_MAIL_FILTER(`spamassassin',
`S=local:/var/run/spammilter/spamass.sock,
F=, T=C:15m;S:4m;R:4m;E:10m')

then started spamd with:
rm /var/run/spammilter/spamass.sock
/usr/local/sbin/spamassmilter -
p /var/run/spammilter/spamass.sock -f
/usr/bin/spamd -d -a -q -x

and looked into sendmail log:

Nov 14 00:17:06 idefix sendmail[25314]:
gADNH6TB025314: from=<www@XXXX>,
size=832, class=0, nrcpts=1,
msgid=<200211132319.AAA06437@web38.rainbow.ch>,
proto=ESMTP, daemon=MTA, relay=XXXX [x.x.x.x]
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter add: header:
X-Spam-Status: Yes, hits=5.1
required=5.0
\n\ttests=NO_MX_FOR_FROM,NO_REAL_NAME,ORDER_STATUS,SPAM
_PHRASE_0
0_01,\n\t UPPERCASE_25_50\n\tversion=2.43
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter add: header:
X-Spam-Flag: YES
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter add: header:
X-Spam-Report: Detailed Report\n SPAM: ----------------
---- Start
SpamAssassin results ----------------------\n SPAM:
This mail is probably
spam. The original message has been altered\n SPAM: so
you can recognise
or block similar unwanted mail in future.\n SPAM: See
http://spamassassin.org/tag/ for more details.\n SPAM:
\n SPAM: Content
analysis details: (5.10 hits, 5 required)\n SPAM:
ORDER_STATUS
(-1.4 points) Subject looks like order info\n SPAM:
NO_REAL_NAME (1.3
points) From: does not include a real name\n SPAM:
SPAM_PHRASE_00_01 (0.8
points) BODY: Spam phrases score is 00 to 01 (low)\n
SPAM: NO_MX_FOR_FROM
(3.1 points) No MX records for the From: domain\n
SPAM: UPPERCASE_25_50
(1.3 points) message body is 25-50% uppercase\n SPAM:
\n
SPAM: -------------------- End of SpamAssassin
results ---------------------
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter add: header:
X-Spam-Level: ***
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter add: header:
X-Spam-Checker-Version: SpamAssassin 2.43 (1.115.2.20-
2002-10-15-exp)
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter change:
header Subject: from Katalog - Order to [SPAM]
Katalog - Order
Nov 14 00:17:11 idefix sendmail[25314]:
gADNH6TB025314: Milter message: body
replaced
Nov 14 00:17:12 idefix sendmail[25314]:
gADNH6TB025314: Milter add: header:
X-Virus-Scanned: by AMaViS/Sophos Anti-Virus for Unix
Nov 14 00:17:12 idefix sendmail[25329]:
gADNH6TB025314: to=info@xxxxxx.xx,
delay=00:00:06, xdelay=00:00:00, mailer=esmtp,
pri=62192,
relay=mail.xxxx.xx. [x.x.x.x], dsn=2.0.0, stat=Sent
(gADNHAP07034 Message
accepted for delivery)

-> well, it works.

and it worked for about 1 day, then the strange error
began:
sendmail didn't accepted any mail (in and outbound),
even local delivery
didn't workd (could not connect..)

does anyone has an idea what happend? what went wrong?
it's urgent, because
it's an running system...

greetings

steven

Invalid User ID <#12685>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code