 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

9th July 2008, 03:42 PM
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 14:12 (Wednesday, 19-06-2013)
|
|
 |
 |
 |
 |
|
|