mailer-daemon: editing error messages ?

2001-03-09 Thread José Carreiro



Hi all !
my request is quite simple :)
is there any way to edit/modify the mailer-daemon 
error return messages ??

i'm talking about things like following 
:

I tried to deliver a bounce message to this address, but the bounce 
bounced!user@domain.com:[IP addr] does not like 
recipient.Remote host said: 550 User unknownGiving up on [IP 
addr].-
or
-
[EMAIL PROTECTED]:Sorry, no mailbox 
here by that name. (#5.1.1)-
thx for help

José Carreiro


Re: mailer-daemon: editing error messages ?

2001-03-09 Thread Charles Cazabon

Jos Carreiro [EMAIL PROTECTED] wrote:
 my request is quite simple :)
 is there any way to edit/modify the mailer-daemon error return messages ??
 
 i'm talking about things like following :
 

 I tried to deliver a bounce message to this address, but the bounce bounced!
 
 [EMAIL PROTECTED]:
 [IP addr] does not like recipient.
 Remote host said: 550 User unknown
 Giving up on [IP addr].

This is Dan's QSBMF format; don't change it.  See
http://cr.yp.to/proto/qsbmf.txt for details.  MUAs could conceivably rely
on this specific format.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



Re: mailer-daemon: editing error messages ?

2001-03-09 Thread Charles Cazabon

Jos Carreiro [EMAIL PROTECTED] wrote:

  This is Dan's QSBMF format; don't change it.  See
  http://cr.yp.to/proto/qsbmf.txt for details.  MUAs could conceivably rely
  on this specific format.

 but , there's no way to translate those messages and keeping the syntax
 untouched ?  or only english text is allowed ? (Hi, this is the ...) i need
 them in french :)

You can add to them, providing you don't add additional paragraphs (i.e.,
no extra blank lines).  Change it so that it sends out the message like
this:

Hi. This is the qmail-send program at silverton.berkeley.edu.
I'm afraid I wasn't able to deliver your message to the
following addresses. This is a permanent error; I've given up.
Sorry it didn't work out.
=
Bonjour.  [rest of message in French]


The line with just "=" in it keeps the French message from being seen by
QSBMF parsers as a separate paragraph.  You can use a different separator,
but it cannot start with a "-".

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---