Re: Gateway Server queues too many mails

2014-02-27 Thread Noel Jones
On 2/27/2014 2:09 PM, Nikolaos Milas wrote: > On 27/2/2014 8:45 μμ, Noel Jones wrote: > >> Sounds as if the real problem is you're sending amavisd more mail at >> a time than your system can handle. > > Thank you Noel, > > I just found the cause: a particular peculiar mail (long, without > attac

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
On 27/2/2014 10:09 μμ, Nikolaos Milas wrote: Can I isolate these mails somehow in the deferred or active queue, remove them all at once and blast them? Is there a way to tell postfix: remove from queue all mail messages whose sender is x...@example.com? With a bit of googling, I found the f

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
On 27/2/2014 8:45 μμ, Noel Jones wrote: Sounds as if the real problem is you're sending amavisd more mail at a time than your system can handle. Thank you Noel, I just found the cause: a particular peculiar mail (long, without attachment, containing multiple languages and html character codi

Re: Gateway Server queues too many mails

2014-02-27 Thread Noel Jones
On 2/27/2014 11:07 AM, Nikolaos Milas wrote: > On 27/2/2014 5:10 μμ, Nikolaos Milas wrote: > >> Now, I am thinking of temporarily removing the: >> >>content_filter = smtp-amavis:[127.0.0.1]:10024 >> >> line from main.cf and *restarting* postfix (or rebooting the >> server), then run "postqueu

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
On 27/2/2014 5:10 μμ, Nikolaos Milas wrote: Now, I am thinking of temporarily removing the: content_filter = smtp-amavis:[127.0.0.1]:10024 line from main.cf and *restarting* postfix (or rebooting the server), then run "postqueue -f" again, at least to have queued messages delivered. I

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
On 27/2/2014 5:36 μμ, lst_ho...@kwsoft.de wrote: You should use a process limit matching the number of amavisd processes to not feed it with too much concurrent smtp connections. Have a look how smtp-amavis is setup in master.cf, if there is no limit set the default (100) applies. This *could*

Re: Gateway Server queues too many mails

2014-02-27 Thread lst_hoe02
Zitat von Nikolaos Milas : On 27/2/2014 4:40 μμ, Nikolaos Milas wrote: Now that amavis seems to be running correctly, how can I resend immediately those suspended mails? Unfortunately, I am afraid that after I run postqueue -f and messages were moved to the active queue, amavisd again to

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
On 27/2/2014 4:40 μμ, Nikolaos Milas wrote: Now that amavis seems to be running correctly, how can I resend immediately those suspended mails? Unfortunately, I am afraid that after I run postqueue -f and messages were moved to the active queue, amavisd again topped CPU at 100% and postfix s

Re: Gateway Server queues too many mails

2014-02-27 Thread Wietse Venema
Nikolaos Milas: > Yet, I now have 2120 suspended messages; when running: postqueue -p > those entries are indicated as: > > "(delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: > Connection refused)" > > (10024 is an amavisd port) > > Now that amavis seems to be running cor

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
On 27/2/2014 4:10 μμ, Wietse Venema wrote: All MASTER daemon logging is suspect. All ERROR logging is suspect. All FATAL logging is suspect. All PANIC logging is suspect. Please show all master/error/fatal/panic logging. I had no such log entries (only warnings). I found that amavisd was

Re: Gateway Server queues too many mails

2014-02-27 Thread Wietse Venema
Nikolaos Milas: > Thanks Wietse, > > I am following on this thread, replying to my own sent mail, because > your reply is still in the queue... (I read it with pfqueue). > > I did not see anything suspicious looking for > errors/fatals/warnings/panics, except perhaps: All MASTER daemon logging

Re: Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
Thanks Wietse, I am following on this thread, replying to my own sent mail, because your reply is still in the queue... (I read it with pfqueue). I did not see anything suspicious looking for errors/fatals/warnings/panics, except perhaps: Feb 27 05:27:02 mailgw1 postfix/postscreen[16639]: w

Re: Gateway Server queues too many mails

2014-02-27 Thread Wietse Venema
Nikolaos Milas: > Hello, > > I am running Postfix 2.9.4 (for more than a year now) on CentOS 6.5 > x86_64 as a gateway server with postscreen, amavis, spamassassin. The > server receives mail from the Internet and forwards (relays) clean mail > to the final internal mail server (also running po

Gateway Server queues too many mails

2014-02-27 Thread Nikolaos Milas
Hello, I am running Postfix 2.9.4 (for more than a year now) on CentOS 6.5 x86_64 as a gateway server with postscreen, amavis, spamassassin. The server receives mail from the Internet and forwards (relays) clean mail to the final internal mail server (also running postfix). Today, I am facin