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 > Problems sending email through a DMZ hub with mailertables
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.mail.sendmail Configuring and using the BSD sendmail agent.

Problems sending email through a DMZ hub with mailertables

Réponse
 
LinkBack Outils de la discussion
Vieux 26/09/2006, 17h44   #1
davekaas@aol.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Problems sending email through a DMZ hub with mailertables

I am trying to change our DMZ to be more straightforward in how it
sends email. I have created a DMZ email hub that will forward email to
an internal system. I am using sendmail 8.17.7 and mailertables. When
I send a message to a user that exists on the internal network I get a
"User unknown" error on the external email hub.

My sendmail.mc file


divert(0)dnl
VERSIONID(`$Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro
Exp $')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
FEATURE(`relay_entire_domain')
FEATURE(`mailertable',`dbm -o -T<TMPF> /etc/mail/mailertable')dnl
FEATURE(`access_db', `dbm -o -T<TMPF> /etc/mail/access')dnl
FEATURE(`delay_checks')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MASQUERADE_AS(junk.com)
define(`confTO_IDENT',`0s')dnl


My mailertable

junk.com esmtp:[blocker01.junk.gov]
..junk.com esmtp:[blocker01.junk.gov]

Any idea what I am doing wrong? I use to use an MRS relay rule set but
I wanted to switch to using a default sendmail configuration.

Thanks

Dave

  Réponse avec citation
Vieux 26/09/2006, 21h36   #2
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems sending email through a DMZ hub with mailertables

In article <1159289092.729482.227350@m7g2000cwm.googlegroups. com>
"davekaas@aol.com" <davekaas@aol.com> writes:
>I am trying to change our DMZ to be more straightforward in how it
>sends email. I have created a DMZ email hub that will forward email to
>an internal system. I am using sendmail 8.17.7 and mailertables. When
>I send a message to a user that exists on the internal network I get a
>"User unknown" error on the external email hub.


So (assuming you're sending to user@junk.com per your mailertable
entries), this means that sendmail on the external hub considers
'junk.com' to be a local domain. You can verify this by noting that it
is listed in the output of

echo '$=w' | sendmail -bt

This could be due to either your listing it in
/etc/mail/local-host-names - in which case you should take it out from
there - or due to sendmail finding that name by reverse-lookup of one of
the locally configured IP addresses - in which case this should
(from cf/README):

confDONT_PROBE_INTERFACES DontProbeInterfaces
[False] If set, sendmail will _not_
insert the names and addresses of any
local interfaces into class {w}
(list of known "equivalent" addresses).
If you set this, you must also include
some support for these addresses (e.g.,
in a mailertable entry) -- otherwise,
mail to addresses in this list will
bounce with a configuration error.
If set to "loopback" (without
quotes), sendmail will skip
loopback interfaces (e.g., "lo0").


>FEATURE(`mailertable',`dbm -o -T<TMPF> /etc/mail/mailertable')dnl
>FEATURE(`access_db', `dbm -o -T<TMPF> /etc/mail/access')dnl


Drop those '-o' options, they will mask any problems with the maps (not
the cause of your problem though),

--Per Hedeland
per@hedeland.org
  Réponse avec citation
Vieux 02/10/2006, 15h23   #3
davekaas@aol.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problems sending email through a DMZ hub with mailertables

Thank you Per Hedeland, your solution worked.

Thanks
Dave

Per Hedeland wrote:
> In article <1159289092.729482.227350@m7g2000cwm.googlegroups. com>
> "davekaas@aol.com" <davekaas@aol.com> writes:
> >I am trying to change our DMZ to be more straightforward in how it
> >sends email. I have created a DMZ email hub that will forward email to
> >an internal system. I am using sendmail 8.17.7 and mailertables. When
> >I send a message to a user that exists on the internal network I get a
> >"User unknown" error on the external email hub.

>
> So (assuming you're sending to user@junk.com per your mailertable
> entries), this means that sendmail on the external hub considers
> 'junk.com' to be a local domain. You can verify this by noting that it
> is listed in the output of
>
> echo '$=w' | sendmail -bt
>
> This could be due to either your listing it in
> /etc/mail/local-host-names - in which case you should take it out from
> there - or due to sendmail finding that name by reverse-lookup of one of
> the locally configured IP addresses - in which case this should
> (from cf/README):
>
> confDONT_PROBE_INTERFACES DontProbeInterfaces
> [False] If set, sendmail will _not_
> insert the names and addresses of any
> local interfaces into class {w}
> (list of known "equivalent" addresses).
> If you set this, you must also include
> some support for these addresses (e.g.,
> in a mailertable entry) -- otherwise,
> mail to addresses in this list will
> bounce with a configuration error.
> If set to "loopback" (without
> quotes), sendmail will skip
> loopback interfaces (e.g., "lo0").
>
>
> >FEATURE(`mailertable',`dbm -o -T<TMPF> /etc/mail/mailertable')dnl
> >FEATURE(`access_db', `dbm -o -T<TMPF> /etc/mail/access')dnl

>
> Drop those '-o' options, they will mask any problems with the maps (not
> the cause of your problem though),
>
> --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 06h26.


É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,11692 seconds with 11 queries