ok, i'll try.
But how can i tell qmail to send or not the default-failure-notice when the
script finishes? i imagine i can use different exit codes for my script,
that allow me to skip (or to execute) default bouncing, isn't it?
----- Original Message -----
From: Petr Novotny <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 22, 2000 2:34 PM
Subject: Re: conditional bounce
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 22 Sep 2000, at 14:27, Mauro Tablo wrote:
>
> > What i need is qmail to look if xxx is in a data base (but
> > keeps no e-mail address on my_domain); if it is, then qmail must send
> > a bounce message, with a "specific message" to the sender
>
> The easiest way is to create a .qmail-default for my_domain and put
> |bouncesaying `script_to_create_message`
> in it. That script would look up the database looking for $DEFAULT
> and print the right message on its stdout; Perl might be the tool.
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8 -- QDPGP 2.61b
> Comment: http://community.wow.net/grt/qdpgp.html
>
> iQA/AwUBOctDw1MwP8g7qbw/EQKbXwCg2H4CuYO4ipIVZnKanduPYSg9rwEAnA42
> t0T29ZFPOIq3kHqU6T1JzVXf
> =K5I0
> -----END PGP SIGNATURE-----
> --
> Petr Novotny, ANTEK CS
> [EMAIL PROTECTED]
> http://www.antek.cz
> PGP key ID: 0x3BA9BC3F
> -- Don't you know there ain't no devil there's just God when he's drunk.
> [Tom Waits]