Qmail Support Forum Forum Index Qmail Support Forum
Qmail Email Server Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Postfix very slow

 
Post new topic   Reply to topic    Qmail Support Forum Forum Index -> Postfix
View previous topic :: View next topic  
Author Message
admin
Site Admin


Joined: 21 Jun 2005
Posts: 209

PostPosted: Thu Jul 27, 2006 8:27 pm    Post subject: Postfix very slow Reply with quote

Hello,

Since yesterday our mail server have been really slow. Even local mails
are delayed by atleast 15 minutes.
I have configured postfix+spamassassin+courier imap.

I am not sure where should I start digging, below are my basic
configuration.
Also I am noticing a more that 2800 files in /var/spool/postfix/maildrop
directory.
Can some please explain what is this directory for.

I followed the instruction from
http://www.akadia.com/services/postfix_spamassassin.html to configure
postfix and spamassassin.
master.cf

spamfilter unix - n n - - pipe
flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter -f ${sender}
-- ${recipient}

cat spamfilter
cat /usr/local/bin/spamfilter
#variables
###(
### printf "log.$$ -- test123\n"
###) >> /usr/local/bin/.spamfilter.log
SENDMAIL="/usr/sbin/sendmail.postfix -i"
EGREP=/bin/egrep
# Exit codes from <sysexits.h>
EX_UNAVAILABLE=69
# Number of *'s in X-Spam-level header needed to sideline message:
# (Eg. Score of 5.5 = "*****" )
SPAMLIMIT=5
# Clean up when done or when aborting.
trap "rm -f /var/tempfs/out.$$" 0 1 2 3 15
# Pipe message to spamc
cat | /usr/bin/spamc -u spamfilter > /var/tempfs/out.$$
if $EGREP -q "^X-Spam-Level: \*{$SPAMLIMIT,}" < /var/tempfs/out.$$
then
$SENDMAIL -f $2 reporttospam@ourdomainname.com < /var/tempfs/out.$$
else
$SENDMAIL $@ < /var/tempfs/out.$$
fi

# Postfix returns the exit status of the Postfix sendmail command.

exit $?
Back to top
View user's profile Send private message Send e-mail
admin
Site Admin


Joined: 21 Jun 2005
Posts: 209

PostPosted: Thu Jul 27, 2006 8:27 pm    Post subject: Reply with quote

Start here: http://www.postfix.org/DEBUG_README.html

At the end are suggestions for what to include in a problem report.

Wietse
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Qmail Support Forum Forum Index -> Postfix All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!