Jason Haar <[EMAIL PROTECTED]> wrote:

>I think work needs to be done on Qmail-1.03 when mail is sent of the form
>"rcpt to: <[EMAIL PROTECTED]@local.domain>".
>
>If Qmail was delivering such a message locally ("local.domain" is in
>/var/qmail/control/locals), that would be converted to bogus local user
>"[EMAIL PROTECTED]" - and bounce - cool.
>
>However, if Qmail is part of a - say - firewall DMZ and delivers to an
>internal non-Qmail server any mail ending in @local.domain, then it does
>just that.

How are you routing @local.domain to the internal, non-qmail server?
If you're doing it through a .qmail file, add something like:

|if echo $LOCAL |grep -q "%" ; then echo "percent hack relaying not allowed"; exit 
|100; fi
|if echo $LOCAL |grep -q "!" ; then echo "bang path relaying not allowed"; exit 100; fi

If you're doing it through smtproutes, the non-qmail system should
either complain about the invalid syntax of the address, or the relay
attempt.

-Dave

Reply via email to