PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > comp.mail.sendmail > Access Db issue
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Access Db issue

Réponse
 
LinkBack Outils de la discussion
Vieux 21/09/2006, 23h15   #1
Dave H
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Access Db issue

Hello,

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?

Cheers,

Dave


  Réponse avec citation
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
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
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h21.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11549 seconds with 11 queries