[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Could be routing problem?



Mark Neidorff wrote:
> Steve,
> 
> Having had a night's sleep and a clear look at what you
> wrote, I (think) that I understand what you are getting at.
> I just don't understand why my system behaves the way it does.
> I've eliminated the things that you suggested.  I removed the
> virtusertable entries.  There is nothing going outside of the
> system in aliases.  When I run #sendmail -bt -d0,1 <
> /dev/null  I get corresponding output to yours....
> 
> Version 8.11.6
>  Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
> 		NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS
> QUEUE SASL SCANF
> 		SMTP TCPWRAPPERS USERDB
> 
> ============ SYSTEM IDENTITY (after readcf) ============
>       (short domain name) $w = neidorff
>   (canonical domain name) $j = neidorff.com
>          (subdomain name) $m = com
>               (node name) $k = neidorff.com
> ========================================================

You should really fix your system resolver lib config. The subdomain name
should not be a TLD.

>From the sendmail README

Normally, the $j macro is automatically defined to be your fully
qualified domain name (FQDN).  Sendmail does this by getting your
host name using gethostname and then calling gethostbyname on the
result.  For example, in some environments gethostname returns
only the root of the host name (such as "foo"); gethostbyname is
supposed to return the FQDN ("foo.bar.com").  In some (fairly rare)
cases, gethostbyname may fail to return the FQDN.  In this case
you MUST define confDOMAIN_NAME to be your fully qualified domain
name.  This is usually done using:
 
        Dmbar.com
        define(`confDOMAIN_NAME', `$w.$m')dnl

As I mentioned in my previous post, I overide the FQDN sendmail derives at
startup (the canonical name) by using the following in my sendmail.mc

define(`confDOMAIN_NAME', `mail.mydomain.com')dnl

> 
> When I run
> #sendmail -bt
> 3,0 mark neidorff com

[snip...]

> 
> Still, I ***SEE*** the activity on my router sending the
> message out and it coming back in again multiple times for each
> e-mail.  I can't find anything causing that. 
> 
> I have no idea how to interpret this, but each line in /var/log/maillog
> shows each received e-mail relay=root localhost . Is that supposed to be
> there?

Why don't you post a couple of lines from /var/log/maillog. Sounds like
sendmail may be looping to itself.

Steve Cowles




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]