From: Jeff Jansen [mailto:[EMAIL PROTECTED]
>
> Bowie Bailey wrote:
> > And generating the 'User unknown' message (or rather, 'Unable to
> > contact server') is the whole point of this exercise. The email in
> > question is from one of my users and is being sent to a whole list of
> > email addresses. One or two of the addresses are having problems and
> > so the mail is held in the queue. This message came in at a time when
> > I had the queuetime setting bumped up. I have now dropped queuetime
> > back down to normal and I want to generate normal undeliverable
> > messages for the addresses that are still pending without having to
> > wait for the unusually high queuetime to timeout.
>
> I missed the beginning of the thread so maybe I'm missing something
> important, but why can't you just use "cancelmsg" to bounce
> these back?
>
> - From the cancelmsg man page:
>
> cancelmsg removes a message from the mail queue. There will be no
> more attempts to deliver this message, and a standard delivery failure
> notice is sent to the return address listed on the message.
> <snip>
> cancelmsg works by marking all pending recipients as undeliverable. A
> non-delivery report is then generated and sent in the normal fashion.
Because cancelmsg does not generate the normal undeliverable messages.
- Also from the cancelmsg man page:
A reason is optional. The message does not disappear into a
black void. The message will be returned as undeliverable, citing
reason. A generic error message will be used if reason is not
specified.
So you can either specify the reason yourself or let cancelmsg use a
generic one. I don't want either of those options. I want Courier's
normal undeliverable message so the sender will be able to see the
proper reason the message was undeliverable (and not just "cancelled
by administrator").
Bowie
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users