Re: Removing Stuck Rejected Message

2015-03-05 Thread Noel Jones
On 3/5/2015 4:13 PM, Rich Shepard wrote: > On Thu, 5 Mar 2015, Noel Jones wrote: > >> But since you state the origin is a mail list manager, it's likely >> the >> message is stuck in the list manager software and not in postfix. > > Noel, > > And the MLM will likely keep sending it for a few d

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Noel Jones wrote: But since you state the origin is a mail list manager, it's likely the message is stuck in the list manager software and not in postfix. Noel, And the MLM will likely keep sending it for a few days. I've commented out that body_checks rule and hope that

Re: Removing Stuck Rejected Message

2015-03-05 Thread Noel Jones
On 3/5/2015 12:10 PM, Rich Shepard wrote: > On Thu, 5 Mar 2015, Noel Jones wrote: > >> Please send all of the log entries for this message, unedited >> except for >> the recipient name. > > Noel, > > I was the intended recipient; the sender was a mail list manager: > > Mar 2 11:14:37 salmo p

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Wietse Venema wrote: Agian, one message (948EC9926E) is rejected by body_checks, and a corresponding bounce message (A6C4E99275) is delivered to the sender. There is no evidence of mail being stuck in the queue. Postfix works as expected. Wietse, Make sense now to me; t

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Rich Shepard: > Mar 5 08:33:50 salmo postfix/pickup[8043]: 948EC9926E: uid=0 from= > Mar 5 08:33:50 salmo postfix/cleanup[8825]: 948EC9926E: message-id=<201503 > 05163350.948ec99...@salmo.appl-ecosys.com> > Mar 5 08:33:50 salmo postfix/cleanup[8825]: 948EC9926E: reject: body Mar > 4 04:40:03 sa

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Rich Shepard: > On Thu, 5 Mar 2015, Wietse Venema wrote: > > > Did we ever confirm where the "stuck" email message comes from? > > Mar 3 05:50:32 salmo postfix/pickup[11492]: 241BB9929C: uid=0 from= > Mar 3 05:50:32 salmo postfix/cleanup[13188]: 241BB9929C: message-id=<20150 > 303135032.241bb99

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Rich Shepard wrote: Did we ever confirm where the "stuck" email message comes from? There's nothing about this message in maillog or maillog.1, only in maillog.2 from Tuesday. Using a different string for grep finds this in today's /var/log/maillog: Mar 5 08:33:50 s

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Wietse Venema wrote: Did we ever confirm where the "stuck" email message comes from? Mar 3 05:50:32 salmo postfix/pickup[11492]: 241BB9929C: uid=0 from= Mar 3 05:50:32 salmo postfix/cleanup[13188]: 241BB9929C: message-id=<20150 303135032.241bb99...@salmo.appl-ecosys.com>

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Did we ever confirm where the "stuck" email message comes from? Here is an example of local submission: Mar 5 01:05:04 spike postfix/pickup[95787]: 3kyM4J5pqmzJrQ2: uid=1001 from= Mar 5 01:05:04 spike postfix/cleanup[95928]: 3kyM4J5pqmzJrQ2: message-id=<3kym4j5pqmzj...@spike.porcupine.org> H

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Wietse Venema wrote: Can you do "postfix reload" AND LOOK IN THE MAIL LOGFILE. There will be a record like this: Mar 5 10:10:24 salmo postfix/postfix-script[11000]: refreshing the Postfix mail system Mar 5 10:10:24 salmo postfix/master[21792]: reload -- version 2.11.4, c

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Rich Shepard: > On Thu, 5 Mar 2015, Wietse Venema wrote: > > > Last chance: do you have "receive_override_options" in those files? > >No. > > > Otherwise, either your Postfix configuration files are in a different > > place (do "postfix reload" and see the real pathname in the mail logfile)

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Wietse Venema wrote: Last chance: do you have "receive_override_options" in those files? No. Otherwise, either your Postfix configuration files are in a different place (do "postfix reload" and see the real pathname in the mail logfile) or your Postfix has been changed.

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Rich Shepard: > On Thu, 5 Mar 2015, Wietse Venema wrote: > > > That is not a Postfix configuration file. Try: > > grep internal_mail_filter_classes /etc/postfix/main.cf > > /etc/postfix/master.cf > >Not found in either one. > > > Do you have receive_override_options=no_header_body_checks in

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Wietse Venema wrote: That is not a Postfix configuration file. Try: grep internal_mail_filter_classes /etc/postfix/main.cf /etc/postfix/master.cf Not found in either one. Do you have receive_override_options=no_header_body_checks in main.cf or master.cf? No; in neit

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Rich Shepard: > On Thu, 5 Mar 2015, Wietse Venema wrote: > > > If this is handled by the pickup daemon, then it is a local submission. > > Wietse, > >Yes, this is submitted locally. > > > When a local submission is rejected by header/body_checks then > > it should be returned to sender, not

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Wietse Venema wrote: If this is handled by the pickup daemon, then it is a local submission. Wietse, Yes, this is submitted locally. When a local submission is rejected by header/body_checks then it should be returned to sender, not get stuck in the queue. The message

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Wietse Venema: > Rich Shepard: > >For the past few days an incoming message rejected by a body_checks rule > > has been stuck somewhere and prevents the daily logwatch report being mailed > > to me. No subdirectory in /var/spool/postfix/defer/ or ../deferred/ contains > > a file and I don't kno

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Noel Jones wrote: Please send all of the log entries for this message, unedited except for the recipient name. Noel, I was the intended recipient; the sender was a mail list manager: Mar 2 11:14:37 salmo postfix/cleanup[4816]: B52909929A: reject: body browse and edit d

Re: Removing Stuck Rejected Message

2015-03-05 Thread Wietse Venema
Rich Shepard: >For the past few days an incoming message rejected by a body_checks rule > has been stuck somewhere and prevents the daily logwatch report being mailed > to me. No subdirectory in /var/spool/postfix/defer/ or ../deferred/ contains > a file and I don't know where to find this so I

Re: Removing Stuck Rejected Message

2015-03-05 Thread Noel Jones
On 3/5/2015 8:47 AM, Rich Shepard wrote: > For the past few days an incoming message rejected by a > body_checks rule > has been stuck somewhere and prevents the daily logwatch report > being mailed > to me. No subdirectory in /var/spool/postfix/defer/ or ../deferred/ > contains > a file and I do

Re: Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
On Thu, 5 Mar 2015, Leonardo Rodrigues wrote: postsuper -d QUEUEID Leonardo, The mail queue is empty and there is nothing in deferred. I interpret the message as a notice of message rejection, not a message itself. It's an unmatched entry in logwatch. In pflogsumm there's a record of it

Re: Removing Stuck Rejected Message

2015-03-05 Thread Leonardo Rodrigues
On 05/03/15 11:47, Rich Shepard wrote: 888BE9926E: sender delivery status notification: 25C8B99275 40A9099270: reject: body Mar 3 04:40:03 salmo postfix/cleanup[11578]: 595889929F: reject: body Mar 2 11:14:37 salmo postfix/cleanup[4816]: B52909929A: reject: body browse and edit data featur

Removing Stuck Rejected Message

2015-03-05 Thread Rich Shepard
For the past few days an incoming message rejected by a body_checks rule has been stuck somewhere and prevents the daily logwatch report being mailed to me. No subdirectory in /var/spool/postfix/defer/ or ../deferred/ contains a file and I don't know where to find this so I can remove it. The me