Re: [AMaViS-user] Queues

This is a discussion on Re: [AMaViS-user] Queues within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Matt wrote: > Hi all, > The queues for our three relay servers have been very odd lately. Relay 1 ---&...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-04-2005
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] Queues

Matt wrote:

> Hi all,


> The queues for our three relay servers have been very odd lately.


Relay 1 --->> 1000 messages (way too high, mail is delayed)
Relay 2 --->> Normal (1-10)
Relay 3 --->> Normal (1-10)

> It seems relay1 is more busier because it is the first MX record
> listed. Even though they are set as even priority:


> IN MX 10 relay1
> IN MX 10 relay2
> IN MX 10 relay3


> Its still the first one to appear.... is this why its more busier?
> Spammers maybe use it directly without following the round robin?


> Anyway, the queues have been so large on relay1, I need to do something
> about it. Nothing seems hung up on the server, it just seems like its
> processing as normal. Should I put more RAM in it and open up more
> processes? Should I get a better box just for relay 1?


> Thanks for any advice..... I know flushing the queues helps, but it gets
> backed up again.


> Regards,
> Matt


I noticed on my FreeBSD test system, that the qshape program is
not installed when installing Postfix from ports. If you do not
have it on your system, I suggest you install it. It comes with
the Postfix source code (in the /auxiliary/qshape/ directory),
so you may need to download that if you do not have it. We obtain
the source code here solely to obtain the qshape.pl program.

This tool can help you determine which queues the mail is bunched up
in, and what domains the mail is to (or from). The 'qshape deferred'
and 'qshape -s deferred' will show items in the deferred queue for
example.

Here are instructions to obtain the qshape.pl program. Before you
do this, run 'qshape' to see if it is already installed.
You can change the Postfix version number here if desired to your
currently installed version. To see what version of Posfix you are
using, use 'postconf mail_version'.

cd /usr/src
wget ftp://postfix.mirrors.pair.com/offic...x-2.2.5.tar.gz
tar xzvf postfix-2.2.5.tar.gz
cp postfix-2.2.5/auxiliary/qshape/qshape.pl /usr/local/sbin/qshape
chmod +x /usr/local/sbin/qshape
cd
rehash

For instructions on the use of qshape, see:
http://www.postfix.org/QSHAPE_README.html

Is your final destination server bouncing messages back to relay1
(and not the other servers)? In general, are you using relay1 for
any outbound mail? Is amavisd-new refusing connections?

Essentially, we are trying to gather more information on what the
source of the problem is.

BTW, manually flushing the deferred queue should actually slow things
down, because you are making Postfix (and amavisd-new) work harder than
usual.

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:11 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0