"Alessandro Ambrosini" <[EMAIL PROTECTED]> wrote:

>Question: how control a double-bounce in a virtualdomains
>environment.

Short answer: I don't think you can. Sounds like a nice feature for
qmail 2, though.

>VIRTUALDOMAINS:
>domain1.org:dm1
>domain2.org:dm2
>
>In /var/qmail/alias there are usual files:
>.qmail-postmaster
>.qmail-root
>.qmail-mailer-daemon
>
>.qmail-dm1-postmaster
>.qmail-dm1-root
>.qmail-dm1-mailer-daemon
>
>.qmail-dm2-postmaster
>.qmail-dm2-root
>.qmail-dm2-mailer-daemon
>--------------------------------------------------------------------
>
>...
>
>1) How can I setup qmail to send a generic double bounce to
>.qmail-dm1-postmaster
>and so on for every virtualdomains ?

You could use a .qmail-dm1-default file to catch messages before the
first bounce. Then you could generate your own bounce message, in
whatever format you desire. You could even check the return address
and determine in advance if it going to result in a double bounce to a 
local virtual domain. But you wouldn't be able to catch all double
bounces.

-Dave

Reply via email to