Discussion: Access Db issue
Afficher un message
Vieux 24/09/2006, 04h57   #3
Bill Cole
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Access Db issue

In article <1158886826.886583.233980@e3g2000cwe.googlegroups. com>,
"René Berber" <rberber@mailandnews.com> wrote:

> 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.


'Connect:' entries refer to the IP address or hostname of the SMTP
connection.
'From:' entries refer to the SMTP envelope's sender e-mail address.

Those are not necessarily related to each other.

--
Now where did I hide that website...
  Réponse avec citation
 
Page generated in 0,06062 seconds with 9 queries