OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: % relay
From: Ralf Hildebrandt (news-list.postfix.usersinnominate.de)
Date: Mon Aug 14 2000 - 08:00:59 CDT


On 14 Aug 2000 14:55:01 +0200, Johan de Vries <johan_de_vriesbravilor.com> wrote:
>
>When i run a test at mail-abuse.org , it stopst at test 4
>RCPT TO:<nobody%mail-abuse.orgmydomain.com>
>
>In the main.cf file is the line
>allow_percent_hack = no
>(postfix reload is done)
>
>Is this the proper parameter for this test ?
>If it is, any suggestions why it seems not to work ?

"Seems" is the correct term: The address is rewritten and rejected
afterwards, the smtp daemon doesn't know this, thus it seems like the box is
relaying (which it isn't).

To make the tester happy:

...
check_recipient_access regexp:$config_directory/recipient_checks.regexp
...

and in recipient_checks.regexp :

/[!%].*[!%]/ 550 Please use userdomain address forms only.

-- 
ralf.hildebrandtinnominate.de
Dipl.-Informatiker                                       innominate AG
system engineer                                      networking people
tel: +49.30.308806-62  fax: -77   http://innominate.de  pgp at request