Discussion: Access Db issue
Afficher un message
Vieux 22/09/2006, 02h00   #2
René Berber
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Access Db issue


Dave H wrote:

> We have a problem using the access db. We want to reject all mail with a
> From: address of @domain.com unless it is recieved from host 1.2.3.4. Have
> tried this:
>
> Connect:1.2.3.4 RELAY
> From:domain.com REJECT
>
> but it is rejected with this:
>
> ruleset=check_mail, arg1=test@domain.com, relay=[1.2.3.4], reject=550 5.7.1
> test@domain.com... Access denied
>
> I believe this is because the check_mail ruleset is called after the
> check_relay one and the fact you pass the first doesn't excuse you from
> having to pass the second.
>
> Anyone know how we can resolve this?


Why not use:

Connect:1.2.3.4 RELAY
Connect:domain.com REJECT

or with from on both lines.
--
René Berber

  Réponse avec citation
 
Page generated in 0,05843 seconds with 9 queries