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

"Relaying denied" for local mail

Réponse
 
LinkBack Outils de la discussion
Vieux 20/10/2006, 02h26   #1
Scott
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut "Relaying denied" for local mail

I have a FreeBSD 4.4R machine running Sendmail (8.11.6) as a non-relaying
MTA. Sometime after last June, Sendmail decided to stop accepting mail for
local users. This happened with no changes to the local configuration.
After several hours of beating my head against a wall, I finally managed to
get it to accept mail by adding the server's names to a local-host-names
file.

At this point I'm just curious about what caused the problem. I'm no kind
of Sendmail guru, and I felt thoroughly lost in a genuine "but I didn't
change anything!" situation.

It's possible that something in our org's DNS may have changed. The machine
knows itself as mutiny.dept.example.edu (as from 'sysctl kern.hostname'),
and when we set it up that was its main DNS entry, with a DNS alias of
www.dept.example.edu. Today I saw that the DNS entries appear to have
swapped, so that mutiny is an alias for www. Would something like that
cause sendmail to reject local mail?

Thanks,
-Scott
  Réponse avec citation
Vieux 20/10/2006, 13h33   #2
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Relaying denied" for local mail


Scott wrote:
> I have a FreeBSD 4.4R machine running Sendmail (8.11.6) as a non-relaying
> MTA. Sometime after last June, Sendmail decided to stop accepting mail for
> local users. This happened with no changes to the local configuration.
> After several hours of beating my head against a wall, I finally managed to
> get it to accept mail by adding the server's names to a local-host-names
> file.
>
> At this point I'm just curious about what caused the problem. I'm no kind
> of Sendmail guru, and I felt thoroughly lost in a genuine "but I didn't
> change anything!" situation.
>
> It's possible that something in our org's DNS may have changed. The machine
> knows itself as mutiny.dept.example.edu (as from 'sysctl kern.hostname'),
> and when we set it up that was its main DNS entry, with a DNS alias of
> www.dept.example.edu. Today I saw that the DNS entries appear to have
> swapped, so that mutiny is an alias for www. Would something like that
> cause sendmail to reject local mail?
>
> Thanks,
> -Scott


look at cf/README for DONT_PROBE_INTERFACES

Sendmail needs to have reason to believe that email addresed to a
certain domain is actually local to it instead of it being required to
relay it elsewhere, which by default it wont do.

Thats class w

So if you were relying on that feature for local mail to be accepted,
then its quite likely that whatever DNS changes were made broke exactly
that.

What you should be doing is placing the domain name explicitly into
class w, with most modern sendmail installations that means the file
local-host-names should contain names that are to be considered local
for mail delivery purposes, one per line.

  Réponse avec citation
Vieux 21/10/2006, 16h25   #3
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: "Relaying denied" for local mail

In article <453813ca.164115329@localhost> nobody@xmission.com (Scott) writes:
>
>It's possible that something in our org's DNS may have changed. The machine
>knows itself as mutiny.dept.example.edu (as from 'sysctl kern.hostname'),
>and when we set it up that was its main DNS entry, with a DNS alias of
>www.dept.example.edu. Today I saw that the DNS entries appear to have
>swapped, so that mutiny is an alias for www. Would something like that
>cause sendmail to reject local mail?


That may well be the cause - sendmail takes the name of the local host
as returned by the 'hostname' command (actually the gethostname() C
function, but they should be the same), does a DNS lookup on it - and
IIRC enters *only* the returned "canonical name" (plus some abbreviated
forms of that) in class {w}, the list of names that are considered
"local". I.e. if the name of the host is actually an alias (CNAME record
in DNS), it won't be in class {w} I believe - and having such a setup
may well cause other problems too.

--Per Hedeland
per@hedeland.org

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


Édité par : vBulletin®
Copyright ©2000 - 2009, 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,86368 seconds with 11 queries