On Sun, 28 Nov 1999, Hans Sansdalen wrote:

[snip]
> >qmail does not support the percenthack per default.
> >You have to manually add support for it by creating
> >/var/qmail/control/percenthack. So no worries. 
> 
> I created the file. Is that all? I could not find it documented
> anywhere? Is an empty file enough?

For any of qmail's control files "man qmail-control" is your friend.
It'll tell you which control file gets read by which program.

> I want an email with a "to" address with ".*%.*@.*" to be rejected.

So if someone has an address which happens to have a "%" in it (which is
completely legal in the local part) you want to refuse delivery?  Or only
for local deliveries?  The reason that the control file is called
percenthack, is that it's not a standard, it's just a kludge to ask a
particular host to relay to somewhere else, originally as a gateway to
some other mail system.  If that host doesn't know about the expected
meaning of the percent hack, it will attempt to deliver it locally.

The "problem" is as Russ has said that certain (all, that I've seen)  
relay-checking code assumes that acceptance of the percent-hacked address
implies that the host will relay.  As qmail accepts (almost) everything
and checks it later, the bounce refusing to relay is generated later.

[snip]

-- 
"Life is much too important to be taken seriously."
Thomas Erskine        <[EMAIL PROTECTED]>        (613) 998-2836

Reply via email to