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 > reject local delivery - how ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

reject local delivery - how ?

Réponse
 
LinkBack Outils de la discussion
Vieux 07/09/2006, 20h41   #1
bogiebog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut reject local delivery - how ?

Hi

I am using sendmail 8.13.x with *.mc configuration
I would like to reject ALL local delivery (not forward elsewhere, just
nuke it and return an 5xx error to the sender), This is intersite
transfer MTA and I dont want ANY local delivery, not even root nor
postmaster.

ideally I would like to configure rule that will kick in after sendmail
determines
delivery agent and give me an option to do something, e..g,

if (agent = local) then $#error 5.x.x no local delivery

is there anything like that possible thru ruleset thru *.mc
configuration ?

I went thru cf/README but did not find anything pertinent

for now I redefined local mailer path to /bin/false but that's a little
too late as sendmail
accepts delivery to remote client and then attempts local thru
/bin/false. I would like
to reject local delivery while in SMTP session with remote client.

I appreciate any hint/

Bogie

  Réponse avec citation
Vieux 07/09/2006, 20h56   #2
Andrzej Adam Filip
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: reject local delivery - how ?

"bogiebog" <nospam93924@yahoo.com> writes:

> Hi
>
> I am using sendmail 8.13.x with *.mc configuration
> I would like to reject ALL local delivery (not forward elsewhere, just
> nuke it and return an 5xx error to the sender), This is intersite
> transfer MTA and I dont want ANY local delivery, not even root nor
> postmaster.
>
> ideally I would like to configure rule that will kick in after sendmail
> determines
> delivery agent and give me an option to do something, e..g,
>
> if (agent = local) then $#error 5.x.x no local delivery
>
> is there anything like that possible thru ruleset thru *.mc
> configuration ?
>
> I went thru cf/README but did not find anything pertinent
>
> for now I redefined local mailer path to /bin/false but that's a little
> too late as sendmail
> accepts delivery to remote client and then attempts local thru
> /bin/false. I would like
> to reject local delivery while in SMTP session with remote client.
>
> I appreciate any hint/


FEATURE(`stickyhost')dnl Applies MAIL_HUB *before* aliasing
define(`MAIL_HUB',`error:5.x.x:"5?? no local deliveries')dnl

Consider using DontProbeInterfaces to avoid surprises
http://www.sendmail.org/m4/tweaking_...OBE_INTERFACES

I suggest you version without stickyhost and using aliases to redirect
some classic "error reporting destination" to addresses on another host.

--
[pl2en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
  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 22h16.


Édité par : vBulletin® version 3.7.2
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,07914 seconds with 10 queries