maillog errrors


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users maillog errrors
# 1  
Old 06-16-2008
maillog errrors

Watching my maillog this morning i have discovered some errors but I cant track down whats causing them.

Code:
Jun 16 11:04:12 ws096 sendmail[6613]: m5GExW7e006613: Milter (spamass-milter): timeout before data read
Jun 16 11:04:12 ws096 sendmail[6613]: m5GExW7e006613: Milter (spamass-milter): to error state
Jun 16 11:04:12 ws096 sendmail[6613]: m5GExW7e006613: Milter: data, reject=451 4.3.2 Please try again later
Jun 16 11:04:12 ws096 sendmail[6613]: m5GExW7e006613: to=<>, delay=00:04:00, pri=68114, stat=Please try again later

and

Code:
Jun 16 11:04:19 ws096 spamd[3387]: prefork: child states: BBBBBBBB
Jun 16 11:04:19 ws096 spamd[10891]: spamd: connection from localhost [127.0.0.1] at port 45431
Jun 16 11:04:19 ws096 spamd[3387]: prefork: server reached --max-children setting, consider raising it

Now doing a spama lint test resulted in this

Code:
[4163] warn: bayes: cannot open bayes databases /home/nuonce/spamassassin/bayes_* R/W: lock failed: File exists
[4163] warn: bayes: cannot open bayes databases /home/nuonce/spamassassin/bayes_* R/W: lock failed: File exists
[4163] warn: bayes: cannot open bayes databases /home/nuonce/spamassassin/bayes_* R/W: lock failed: File exists

thoughts ideas?

Thanks!

Last edited by mcraul; 06-18-2008 at 03:29 PM..
# 2  
Old 06-16-2008
The "maxchildren" error message says that you are running out of spamd processes -- there are more messages coming in than there are spamd instances to handle them. I would suspect that the other problems are related to this. For example, the lint probably cannot gain access to the Bayes database if there are multiple spamd processes in queue to access it, and presumably Sendmail is configured to return a transient error if it can't run the spam scan.

See if you can add more spamd child processes, and/or make them go faster. If you are not using Bayes journaling and/or a database back-end for the Bayes data, those are some of the standard speed-up techniques for spamd. You should probably visit the SpamAssassin wiki for more information, anyway.

PS. Your friendly Toyota dealer would probably appreciate if you didn't post their email address in the clear. That's how you attract spam in the first place. You can click the Edit button in the lower right corner of your post to go back and replace the email address with whatever@example.com which is guaranteed by the IANA to never correspond to a real, live email inbox.

Last edited by era; 06-16-2008 at 05:28 PM..
# 3  
Old 06-18-2008
some how i had forgot I posted this already
my apologies

What I ended up doing was editing /etc/sysconfig/spamassassin

and up the max child processes to 10 from 8 but it seems that the error has restarted again. what could be causing this you think?

Thanks
# 4  
Old 06-18-2008
You will need more of them. Try something much larger like 25 and see how things develop. The number of Bs tell you how many of the children are busy.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Filter maillog

Hi, I need to take them all fields SendTo and ip address from a file maillog First I look at all emails from containing the empty field. # zcat /var/log/mail/maillog-20140331.server1.gz | grep "from=<>" | awk '{print $6}' > 1.txt output: Mar 30 23:31:24 servidor1 postfix/smtpd:... (2 Replies)
Discussion started by: Jomeaide
2 Replies

2. Shell Programming and Scripting

Grep out ONLY subject from maillog

I have the following entries in maillog. I need to grep out only the subject part from the following entries. Maillog contain following entries. 2013-11-14 03:30:02 1Vgnd4-001qwZ-36 <= user@domain.com U=user P=local S=9797 id=cd3732bbd0fbda5cb16384bb7d5b465d@localhost.localdomain T="Subject... (3 Replies)
Discussion started by: anil510
3 Replies

3. Solaris

Flood Messages in maillog

Hi All, I am getting large number of messages in below file /www/wls8/logs/HOSTS/tswebd01-zd01/maillog/maillog In past 24 hours, it has been increased by near to 1 GB. Can somebody help in finding, from where these messages are being generated and how to I stop them ? Same kind of messages... (11 Replies)
Discussion started by: solaris_1977
11 Replies

4. UNIX for Advanced & Expert Users

/var/log/maillog isn't updating. Postfix related

can someone please help me figure how i can get maillog to start updating again? it just all of a sudden stopped. and postfix isn't writing to it anymore. I'm running a Ubuntu box 8.04 thanks (2 Replies)
Discussion started by: SkySmart
2 Replies

5. UNIX for Advanced & Expert Users

maillog extract

Hi all, below are some text extracted from maillog. I have a cronjob running at 1720 daily and it will send mails to me. it was working fine on the 27 Sept.Sep 27 17:20:01 venus sendmail: k8R9K0OR032710: from=user1, size=580, class=0, nrcpts=1, msgid=<200609270920.k8R9K0OR032710@venus.domain.com>,... (1 Reply)
Discussion started by: new2ss
1 Replies

6. Shell Programming and Scripting

maillog - Error Message

dear expert Im using shell script to send mail from unix server. My script like below: #! /bin/sh -f # Set necessary variables #export PATH #PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/contrib/bin PATH=/bin:/usr/bin:/usr/ucb:/usr/local/bin:/usr/contrib/bin:$PATH; export PATH... (0 Replies)
Discussion started by: unknown2205
0 Replies
Login or Register to Ask a Question