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 > Refuse mail from unresolved host
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Refuse mail from unresolved host

Réponse
 
LinkBack Outils de la discussion
Vieux 23/08/2007, 13h07   #1
Ed cor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Refuse mail from unresolved host


Hi all,

I'm a newby in configuring sendmail and can't find some way to prevent
unresolved host names to send me emails.
If a remote host issue a connection to my sendmail and if its IP does not
resolve I don't want to receive any email from it (just close the connection
or send back a 550/420 SMTP code).

It's probably a very basic sendmail configuration but no idea to make it...


Thanks a lot.

....


  Réponse avec citation
Vieux 23/08/2007, 13h59   #2
Grant Taylor
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Refuse mail from unresolved host

On 08/23/07 07:07, Ed cor wrote:
> I'm a newby in configuring sendmail and can't find some way to
> prevent unresolved host names to send me emails. If a remote host
> issue a connection to my sendmail and if its IP does not resolve I
> don't want to receive any email from it (just close the connection or
> send back a 550/420 SMTP code).


*nod* "Require R(everse)DNS hack(s)".

> It's probably a very basic sendmail configuration but no idea to make
> it...


Well its not as simple as turning an option on in your .mc file if that
is what you are thinking. Search this news group for "Require RDNS" or
"Require Reverse DNS" hack(s) to find out how to do it.

Don't fear, what you are wanting is not un-heard of, just not all that
common.



Grant. . . .

  Réponse avec citation
Vieux 23/08/2007, 17h50   #3
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Refuse mail from unresolved host

Grant Taylor <gtaylor@riverviewtech.net> writes:

> On 08/23/07 07:07, Ed cor wrote:
>> I'm a newby in configuring sendmail and can't find some way to
>> prevent unresolved host names to send me emails. If a remote host
>> issue a connection to my sendmail and if its IP does not resolve I
>> don't want to receive any email from it (just close the connection
>> or send back a 550/420 SMTP code).

>
> *nod* "Require R(everse)DNS hack(s)".


Sendmail-8.14 supports/contains FEATURE(`require_rdns')

<quote src="RELEASE_NOTES">
8.14.0/8.14.0 2007/01/31
[...]
CONFIG: New FEATURE(`require_rdns') to reject messages from SMTP
clients whose IP address does not have proper reverse DNS.
Contributed by Neil Rickert of Northern Illinois University
and John Beck of Sun Microsystems.
</quote>

Use the non sendmail.org HACK only for pre 8.14 sendmail.


> [...]


--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Indomitable in retreat; invincible in advance; insufferable in victory.
-- Winston Churchill, on General Montgomery
  Réponse avec citation
Vieux 23/08/2007, 22h15   #4
Scott Grayban
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Refuse mail from unresolved host

Ed cor wrote:
> Hi all,
>
> I'm a newby in configuring sendmail and can't find some way to prevent
> unresolved host names to send me emails.
> If a remote host issue a connection to my sendmail and if its IP does not
> resolve I don't want to receive any email from it (just close the connection
> or send back a 550/420 SMTP code).
>
> It's probably a very basic sendmail configuration but no idea to make it...
>


Look at my sendmail.mc -- http://www.borgnet.us/sendmail/sendmail.mc

At the end I have my own LOCAL_RULESETS and in it I have Scheck_mail and in
that rule I have exactly what you are looking for.

-- Scott
  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 02h20.


É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
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10001 seconds with 12 queries