Fedora Linux Support Community & Resources Center
  #1  
Old 9th July 2008, 03:42 PM
marciano Offline
Registered User
 
Join Date: Jul 2008
Posts: 1
Postfix-Spamassassin takes a lot of CPU

I am moving a physical server
FC6 -> FC8
Apache 2.2.4 -> 2.2.8
Postfix 2.3.3 -> 2.4.5
Spamassassin 3.1.8 -> 3.2.5

Postfix-Spamassassin-Dovecot-Procmail work fine in the old server.
When I "service spamassassin start" (spamd) it originates a lot of records in /var/log/maillog I attached here that takes a lot of CPU (smtpd, pipe, cleanup)

I tried to keep postfix settings the same as possible.

MAIN.CONF---------------------------------------------------------------------
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
ipc_idle = 10s
mail_spool_directory = /var/spool/mail
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
newaliases_path = /usr/bin/newaliases.postfix
notify_classes = resource, software
readme_directory = /usr/share/doc/postfix-2.4.5/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual
---------------------------------------------------------------------



MASTER.CONF----------------------------------------------------------------------
smtp inet n - n - - smtpd -o content_filter=spamassassin
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
-o fallback_relay=
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
spamassassin unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -u ${recipient} -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
-------------------------------------------------------------------------------------


tail -f /var/log/maillog------------------------------------------
spamd[7825]: spamd: connection from bla2.com [127.0.0.1] at port 49113

spamd[7825]: spamd: handle_user unable to find user: 'MAILER-DAEMON@bla.com'

spamd[7825]: spamd: still running as root: user not specified with -u, not found, or set to root, falling back to nobody

spamd[7825]: spamd: processing message <200807072123.m67LNwSY008187@bla.com> for MAILER-DAEMON@bla.com:99

spamd[7034]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile /.spamassassin/auto-whitelist.lock.bla.com.7034 for /.spamassassin/auto-whitelist.lock: No such file or directory

spamd[7034]: spamd: identified spam (14.1/5.0) for MAILER-DAEMON@bla.com:99 in 0.4 seconds, 100927 bytes.

spamd[7034]: spamd: result: Y 14 - ALL_TRUSTED,HTML_IMAGE_ONLY_28,HTML_MESSAGE,URIBL_ AB_SURBL,URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL ,URIBL_RHS_DOB,URIBL_SBL,URIBL_WS_SURBL scantime=0.4,size=100927,user=MAILER-DAEMON@bla.com,uid=99,required_score=5.0,rhost=bla 2.com,raddr=127.0.0.1,rport=49112,mid=<20080707212 4.m67LO6iA008261@bla.com>,autolearn=failed

sendmail[8265]: m67LO6i2008265: Authentication-Warning: bla.com: nobody set sender to MAILER-DAEMON using -f

sendmail[8265]: m67LO6i2008265: from=MAILER-DAEMON, size=102275, class=0, nrcpts=1, msgid=<200807072124.m67LO6iA008261@bla.com>, relay=nobody@localhost

postfix/smtpd[8031]: connect from bla2.com[127.0.0.1]
postfix/smtpd[8031]: A634348E8051: client=bla2.com[127.0.0.1]
postfix/cleanup[8264]: A634348E8051: message-id=<200807072124.m67LO6iA008261@bla.com>
spamd[4666]: prefork: child states: IB

sendmail[8265]: m67LO6i2008265: to=MAILER-DAEMON@bla.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=132275, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as A634348E8051)

postfix/qmgr[5594]: A634348E8051: from=<>, size=104537, nrcpt=1 (queue active)
postfix/smtpd[8031]: disconnect from bla2.com[127.0.0.1]
postfix/pipe[8083]: 2701648E8052: to=<MAILER-DAEMON@bla.com>, relay=spamassassin, delay=0.59, delays=0.06/0/0/0.53, dsn=2.0.0, status=sent (delivered via spamassassin service)

postfix/qmgr[5594]: 2701648E8052: removed
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------

Thank you for any help
Attached Thumbnails
Click image for larger version

Name:	postfix1.jpg
Views:	76
Size:	83.4 KB
ID:	16654   Click image for larger version

Name:	postfix2.jpg
Views:	76
Size:	31.1 KB
ID:	16655  
Reply With Quote
Reply

Tags
cpu, lot, postfixspamassassin, takes

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix with Amavisd and Spamassassin rando1000 Servers & Networking 3 4th December 2007 04:41 PM
postfix and spamassassin alone? nethole Servers & Networking 1 11th January 2006 02:46 PM
How to Postfix and Spamassassin? linux_spartacus Servers & Networking 1 19th October 2005 03:08 PM
Postfix Spamassassin AMaViSd-new dmode Using Fedora 3 3rd March 2005 08:26 AM
Spamassassin + Postfix + Dovecot dmode Servers & Networking 4 24th February 2005 06:54 AM


Current GMT-time: 21:32 (Tuesday, 21-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Agulu Photos on Instagram - Ekibastuz Instagram Photos - West Torrington