amavis / emails in queue?
Hey all, Troubling question. I made some changes to our SA tagging / blocking score this morning, then restarted amavis. I had emails piling up in queue just now, like so: I did a sudo /etc/init.d/amavis restart And by the time I could run sudo qshape -s, the queue came up clear. Were these mails stuck in amavis, there were now dropped? I'm not very familiar with amavis, so I'm unsure what logs to check. My mail.log showed (queue active) on all mail ...emails were eventually getting through, just severely delayed. Thanks for any help. Damian Bailey | baile...@lcps.k12.va.us Lead Technician | LCPS Technology 540.894.4373x8220 Shipping Address: Louisa County Public Schools 953 Davis Hwy Mineral VA 23117 image001.png
Re: amavis / emails in queue?
You might want to up the verbose log level in the amavisd.conf, and check your maillog to see if amavisd its having (example: connecting to sql if u have it back ended that way). I know the regular log level sometimes isn't enough. Might be a good place to start. HTH Aly Sent from my BlackBerry device on the Rogers Wireless Network -Original Message- From: Bailey, Damian S. baile...@lcps.k12.va.us Sender: owner-postfix-us...@postfix.org Date: Wed, 13 Apr 2011 12:05:26 To: postfix-users@postfix.org Subject: amavis / emails in queue? Hey all, Troubling question. I made some changes to our SA tagging / blocking score this morning, then restarted amavis. I had emails piling up in queue just now, like so: I did a sudo /etc/init.d/amavis restart And by the time I could run sudo qshape -s, the queue came up clear. Were these mails stuck in amavis, there were now dropped? I'm not very familiar with amavis, so I'm unsure what logs to check. My mail.log showed (queue active) on all mail ...emails were eventually getting through, just severely delayed. Thanks for any help. Damian Bailey | baile...@lcps.k12.va.us Lead Technician | LCPS Technology 540.894.4373x8220 Shipping Address: Louisa County Public Schools 953 Davis Hwy Mineral VA 23117 image001.png
RE: amavis / emails in queue?
Aly, Thanks for the reply. I wonder if my restart of amavis did it - I used: service amavis restart This morning after changing my config files. Recently, I did: sudo /etc/init.d/amavis restart The problem seemed to clear up at that point. I don't know that there's a difference, but I'm not 100% into linux / Ubuntu yet. Damian Bailey | baile...@lcps.k12.va.us Lead Technician | LCPS Technology 540.894.4373x8220 Shipping Address: Louisa County Public Schools 953 Davis Hwy Mineral VA 23117 From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of aly.khi...@gmail.com Sent: Wednesday, April 13, 2011 12:18 PM To: postfix-users@postfix.org Subject: Re: amavis / emails in queue? You might want to up the verbose log level in the amavisd.conf, and check your maillog to see if amavisd its having (example: connecting to sql if u have it back ended that way). I know the regular log level sometimes isn't enough. Might be a good place to start. HTH Aly Sent from my BlackBerry device on the Rogers Wireless Network From: Bailey, Damian S. baile...@lcps.k12.va.us Sender: owner-postfix-us...@postfix.org Date: Wed, 13 Apr 2011 12:05:26 -0400 To: postfix-users@postfix.org Subject: amavis / emails in queue? Hey all, Troubling question. I made some changes to our SA tagging / blocking score this morning, then restarted amavis. I had emails piling up in queue just now, like so: I did a sudo /etc/init.d/amavis restart And by the time I could run sudo qshape -s, the queue came up clear. Were these mails stuck in amavis, there were now dropped? I'm not very familiar with amavis, so I'm unsure what logs to check. My mail.log showed (queue active) on all mail ...emails were eventually getting through, just severely delayed. Thanks for any help. Damian Bailey | baile...@lcps.k12.va.us Lead Technician | LCPS Technology 540.894.4373x8220 Shipping Address: Louisa County Public Schools 953 Davis Hwy Mineral VA 23117 image001.png
Re: amavis / emails in queue?
On 4/13/2011 11:05 AM, Bailey, Damian S. wrote: Hey all, Troubling question. I made some changes to our SA tagging / blocking score this morning, then restarted amavis. I had emails piling up in queue just now, like so: I did a sudo /etc/init.d/amavis restart And by the time I could run sudo qshape –s, the queue came up clear. Were these mails stuck in amavis, there were now dropped? Amavis doesn't queue mail, so mail can't be stuck in amavis. Mail may have been in the postfix queue waiting for amavis, but qshape doesn't show the next-hop, just the final destination. Amavis doesn't drop mail (except for spam/viruses when you've set D_DISCARD), so the mail was most likely delivered or possibly bounced to the sender. At any rate, postfix does the delivery, so disposition should be in the postfix log. -- Noel Jones
Re: amavis / emails in queue?
On 04/13/2011 06:05 PM, Bailey, Damian S. wrote: Hey all, Troubling question. I made some changes to our SA tagging / blocking score this morning, then restarted amavis. I had emails piling up in queue just now, like so: I did a sudo /etc/init.d/amavis restart And by the time I could run sudo qshape s, the queue came up clear. Were these mails stuck in amavis, there were now dropped? No, they were being deferred by the large ESPs (gmail, hotmail et al) as evidenced by the qshape output. These events are all logged by postfix. -- J.
Re: amavis / emails in queue?
On 4/13/2011 1:02 PM, Jeroen Geilman wrote: On 04/13/2011 06:05 PM, Bailey, Damian S. wrote: Hey all, Troubling question. I made some changes to our SA tagging / blocking score this morning, then restarted amavis. I had emails piling up in queue just now, like so: I did a sudo /etc/init.d/amavis restart And by the time I could run sudo qshape –s, the queue came up clear. Were these mails stuck in amavis, there were now dropped? No, they were being deferred by the large ESPs (gmail, hotmail et al) as evidenced by the qshape output. The qshape output shows the final destination, not the next hop. So it's speculation whether these messages are delayed waiting for the content filter or by the destination; qshape output is identical in either case. One good reason to use multiple postfix instances is to make it clear where mail is waiting. You can get part way there with the traditional one instance by using -o syslog_name=some_tag on the various master.cf listeners and transports. These events are all logged by postfix. Yes, the logs will show where the delay is. -- Noel Jones