On Wed, Sep 13, 2000 at 02:44:17PM +0200, Petr Novotny wrote:
> On 13 Sep 2000, at 14:35, Magnus 0 wrote:
> > I've setup qmail with yet another virtual domain with
> > .qmail-domain-default and everything is fine.
> > Now for this domain I'd like to bounce back non-user addresses, I
> > removed the default file and this works okay. My problem is that the
> > bounce message uses the 'MAILER_DAEMON@localnet' address and not the
> > virtual 'MAILER_DAEMON@domain' as I would like. Can anyone help me
> > with this problem?
> You may change control/bouncefrom and control/bouncehost. 
> However, the setting is global.
> You may create and inject the bounce message yourself and return 
> 99 from your .qmail-default.

Or you can patch the bouncesaying program to use the environment
variable $HOST that qmail-local sets. Then put |bouncesaying
"Denna mailadress finns inte" or whatever language error message
you want into the default qmail file of every domain.

> > I think people would get a little confused if the bounce mail seems to
> > come from a different domain.
> I wouldn't think so. When you get a normal letter back as 
> "undeliverable - no such address", do you care who returned it?

I agree.

> > Also is it possible to put a translation under the english message?
> You must edit the sources. You may, easily, but don't break 
> QSBMF (qmail simple bounce message format).

See above.

-Johan
-- 
Johan Almqvist

Reply via email to