Fred Lindberg wrote:
> 
> On Sat, 27 Nov 1999 18:24:28 +0100, Hans Sansdalen wrote:
> 
> >I'm used to sendmail, the the response "We do not relay" when
> >people use "%...@domain" in the to field. I have tried to
> >make qmail give some response of the same kind, but I haven't
> 
> What's wrong with:
> 
> | echo "$LOCAL" | grep -v '%' >/dev/null 2>&1 || { echo "We do not
> relay"; exit 100; }
> 
> in ~alias/.qmail-default
> 
> -Sincerely, Fred
> 
> (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)

I would prefer a solution where qmail responded with this message
when it is talking to the "other end" (not accept the mail at all).

qmail does not accept a mail when the from field is in the
badmailfrom file  :)
-- 
/hans

Reply via email to