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 > How to 'force' an MX record
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

How to 'force' an MX record

Réponse
 
LinkBack Outils de la discussion
Vieux 18/10/2006, 03h36   #1
random troll
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to 'force' an MX record

Often, but not always, sendmail defers sending messages to recipients
in the domain qnet.com. When it does this, it reports:

mailer=esmtp, pri=122123, relay=qnet.com., dsn=4.0.0, stat=Deferred:
Name server: qnet.com.: host name lookup failure

Hours later, when it finally works, it reports
relay=mailguard-600-a.qnet.com ,
which is the correct MX record for qnet.com whenever I look. When
sendmail uses relay=mailguard-600-a.qnet.com the first time the
message goes through the first time. It would seem that there is a
tempfail of the lookup of qnet's MX record occasionally. Is there
anyway to force sendmail always to relay messages to qnet.com
via mailguard-600-a.qnet.com? We send a lot of messages to
recipients in this domain (It's a rural area and qnet used to have a
monopoly.) and delays sometimes last seven hours.

  Réponse avec citation
Vieux 18/10/2006, 05h42   #2
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to 'force' an MX record


random troll wrote:
> Often, but not always, sendmail defers sending messages to recipients
> in the domain qnet.com. When it does this, it reports:
>
> mailer=esmtp, pri=122123, relay=qnet.com., dsn=4.0.0, stat=Deferred:
> Name server: qnet.com.: host name lookup failure
>
> Hours later, when it finally works, it reports
> relay=mailguard-600-a.qnet.com ,
> which is the correct MX record for qnet.com whenever I look. When
> sendmail uses relay=mailguard-600-a.qnet.com the first time the
> message goes through the first time. It would seem that there is a
> tempfail of the lookup of qnet's MX record occasionally. Is there
> anyway to force sendmail always to relay messages to qnet.com
> via mailguard-600-a.qnet.com? We send a lot of messages to
> recipients in this domain (It's a rural area and qnet used to have a
> monopoly.) and delays sometimes last seven hours.


Use the mailertable feature.

You may also find that the resolution of the above record to name is
unreliable as well, requiring you to utilize a hosts file entry.

However, this is all evil.

Proper is to find out why this is happening, whose fault it is, and fix
it so that things work the way they were meant to.

  Réponse avec citation
Vieux 18/10/2006, 18h06   #3
random troll
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to 'force' an MX record

jmaimon: 'Use the mailertable feature.'
I looked at that but was not sure how it worked.
Would I use:
qnet.com smtp:[mailguard-600-a.qnet.com]
?

jmaimon: 'You may also find that the resolution
of the above record to name is unreliable as well,
requiring you to utilize a hosts file entry.'
Wouldn't that affect all protocols?

jmaimon: 'Proper is to find out why this is happening,
whose fault it is, and fix it so that things work the way
they were meant to.'
What control have I over this? Doesn't qnet's DNS
return the MX record, meaning that they have to fix it?

  Réponse avec citation
Vieux 18/10/2006, 18h27   #4
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to 'force' an MX record


random troll wrote:
> jmaimon: 'Use the mailertable feature.'
> I looked at that but was not sure how it worked.
> Would I use:
> qnet.com smtp:[mailguard-600-a.qnet.com]


cf/README

esmtp is probably a better idea than smtp

> ?
>
> jmaimon: 'You may also find that the resolution
> of the above record to name is unreliable as well,
> requiring you to utilize a hosts file entry.'
> Wouldn't that affect all protocols?
>
> jmaimon: 'Proper is to find out why this is happening,
> whose fault it is, and fix it so that things work the way
> they were meant to.'
> What control have I over this? Doesn't qnet's DNS
> return the MX record, meaning that they have to fix it?


there is a distance between "we dont get a response to our query for mx
record" and "they dont send an answer to our query"

  Réponse avec citation
Vieux 19/10/2006, 00h42   #5
random troll
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to 'force' an MX record

jmaimon wrote: 'cf/README'
I read the README. I didn't have confidence
that I understood it completely.

jmaimon: 'there is a distance between "we dont
get a response to our query for mx record"
and "they dont send an answer to our query"'
I interpret this sentence to mean that qnet
may reply to our request for an MX record but
that it may take longer to arrive than sendmail
waits. I don't understand how to apply it to
our situation. Lengthen one of the resolver
timeouts?

  Réponse avec citation
Vieux 19/10/2006, 02h40   #6
jmaimon@ttec.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to 'force' an MX record


random troll wrote:
> jmaimon wrote: 'cf/README'
> I read the README. I didn't have confidence
> that I understood it completely.


This will work

qnet.com esmtp:[mailguard-600-a.qnet.com.]

This may work better

qnet.com esmtp:[209.221.193.28]

Or this

qnet.com
esmtp:[mailguard-600-a.qnet.com.]:[209.221.193.28]

Or this

qnet.com
esmtp:qnet.com.:[mailguard-600-a.qnet.com.]:[209.221.193.28]


>
> jmaimon: 'there is a distance between "we dont
> get a response to our query for mx record"
> and "they dont send an answer to our query"'
> I interpret this sentence to mean that qnet
> may reply to our request for an MX record but
> that it may take longer to arrive than sendmail
> waits. I don't understand how to apply it to
> our situation. Lengthen one of the resolver
> timeouts?


You just want to check that it is indeed them not you. Having performed
some digs on the zone, I can well understand if they have problems
implementing DNS correctly, so lets assume the issue does indeed lie
with them and the mailertable is the best you can do.

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


É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,12970 seconds with 14 queries