Re: removing a particular *recipient* from the queue

2001-04-30 Thread Omar Thameen

On Mon, Apr 30, 2001 at 08:38:54PM -0700, Adam McKenna wrote:
> On Mon, Apr 30, 2001 at 11:23:21PM -0400, Omar Thameen wrote:
> > How do I stop qmail from attempting to deliver a message to a particular
> > recipient?   I don't want to remove the entire message from the queue;
> > I just want it to stop trying to deliver to a broken mail server.
> > I already know about qmHandle, and that won't work here.
[...]
> > Could I possibly hand-edit the remote/NN/XX file and remove the
> > particuar address?  Any other ideas, like perhaps tricking qmail-remote
> > into thinking that the address is to be locally delivered?
> 
> Yes, but why?  Are you worried that this is polluting your logs?  Why
> intentionally break something to accomplish something that your qmail system
> will do on its own after queuelifetime expires?

Not at all.  The problem is that people who have accounts on broken
mail servers are not ones to understand that it's *their* admin's
fault that they're getting 20+ copies of the same message.  I'm happy
to unsubscribe them from the list, but I think I need to stop the 
delivery attempts since that's what's irking them in the first place.

> As far as being tricky, man qmail-remote.

Yeah, I looked, but the only thing I could come up with was to insert
the domain into smtproutes and force it to be delivered to another
server which treats the domain as local.  This affects all email address
at that domain, and for some bizarre reason, other addresses at the same
domain aren't exhibiting the same behavior (disconnecting SMTP before
sending final receipt acknowledgement of the message).  If anyone can
think of a per-address hack, I'm all ears.

Omar



Re: removing a particular *recipient* from the queue

2001-04-30 Thread Adam McKenna

On Mon, Apr 30, 2001 at 11:23:21PM -0400, Omar Thameen wrote:
> How do I stop qmail from attempting to deliver a message to a particular
> recipient?   I don't want to remove the entire message from the queue;
> I just want it to stop trying to deliver to a broken mail server.
> I already know about qmHandle, and that won't work here.
> 
> I'm running qmail 1.03 and ezmlm-idx 0.40.  Several mail servers are
> broken - they close the SMTP connection before verifying that they
> received the message, causing qmail to re-attempt delivery later (as
> it should).  This results in 
> ...connection_died._Possible_duplicate!_(#4.4.2)
> log messages, which, in fact, are true - the recipient is getting
> a copy every time qmail re-attempts delivery.
> 
> I've looked at the qmail queue files and see that remote/NN/XX
> contains a list of addresses.  From what I can deduce, those separated
> by [EMAIL PROTECTED] are deliveries that are unsuccessful, whereas
> [EMAIL PROTECTED] are successfully completed.  I presume this is
> where qmail-qread gets its information.
> 
> Could I possibly hand-edit the remote/NN/XX file and remove the
> particuar address?  Any other ideas, like perhaps tricking qmail-remote
> into thinking that the address is to be locally delivered?

Yes, but why?  Are you worried that this is polluting your logs?  Why
intentionally break something to accomplish something that your qmail system
will do on its own after queuelifetime expires?

As far as being tricky, man qmail-remote.

--Adam



removing a particular *recipient* from the queue

2001-04-30 Thread Omar Thameen

How do I stop qmail from attempting to deliver a message to a particular
recipient?   I don't want to remove the entire message from the queue;
I just want it to stop trying to deliver to a broken mail server.
I already know about qmHandle, and that won't work here.

I'm running qmail 1.03 and ezmlm-idx 0.40.  Several mail servers are
broken - they close the SMTP connection before verifying that they
received the message, causing qmail to re-attempt delivery later (as
it should).  This results in 
...connection_died._Possible_duplicate!_(#4.4.2)
log messages, which, in fact, are true - the recipient is getting
a copy every time qmail re-attempts delivery.

I've looked at the qmail queue files and see that remote/NN/XX
contains a list of addresses.  From what I can deduce, those separated
by [EMAIL PROTECTED] are deliveries that are unsuccessful, whereas
[EMAIL PROTECTED] are successfully completed.  I presume this is
where qmail-qread gets its information.

Could I possibly hand-edit the remote/NN/XX file and remove the
particuar address?  Any other ideas, like perhaps tricking qmail-remote
into thinking that the address is to be locally delivered?

Thanks,
Omar