tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* sendmail my.domain problem
@ 2002-05-14 15:27 Tru64 User
  2002-05-14 20:29 ` SUMMARY: " Tru64 User
  0 siblings, 1 reply; 2+ messages in thread
From: Tru64 User @ 2002-05-14 15:27 UTC (permalink / raw)


Sorry guys, its more sendmail than tru64 really (but
kind of hard to get answers from sendmail.comp.mail..
somehow dis-organized, and have struggled with this
bout 2days now)

But, my problem is with sendmail........building from
scratch 8.12.3 (first time building from scratch)
Status: Everything seems to work OK...except for:

sending email to a host on same domain, without fully
qualifying it, fails with error message:
DSN: Host unknown (Name Server: A.my.domain: host not
found)

sendmail is completing the host names with my.domain
instead of our real domain.

testing sendmail with echo '$=m'|/new/sendmail -bt
-d0.4 works OK....recognizes every option as it
should..(ie. correct short name, canonical domain
name, subdomain name and node name)...but still
sending mail to host A@B (Domain being C.com) tries to
go to A@my.domain thus failing!! Using fully qualified
name..eg. A@B.C.com, works.

I have enabled define (`confDOMAIN_NAME', `A.B.C.com')
FEATURE(`always_add_domain') .....but problem still
the same. I must be missing something so obvious here,
but what?
Looking for keyword to add to sendmail.mc
running on 4.0g


Help point out my mistake, and again., sorry for
posting here. I tried other means first....

_Thanks
Richard

=====


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* SUMMARY: sendmail my.domain problem
  2002-05-14 15:27 sendmail my.domain problem Tru64 User
@ 2002-05-14 20:29 ` Tru64 User
  0 siblings, 0 replies; 2+ messages in thread
From: Tru64 User @ 2002-05-14 20:29 UTC (permalink / raw)


I have finally nailed down the problem. Apparently,
dtMail and pine, both were using the wrong sendmail.cf
file..which is infact pretty old, sitting at
/usr/var/adm/sendmail directory.
That is where, under option DD in sendmail.cf, was the
string "my.domain".
It took almost an rgrep for whole system :) to locate
this.
Interestingly tests such as 
/new/sendmail -C/new/sendmail/sendmail.cf -d21.12
user@A worked, so it suggested that pine and dtmail
where not using the right config file, and i had to go
on a hunt for it.

This opens a new question, as to how else could dtmail
be set to look somewhere else for sendmail.cf?
Since sendmails default (as of 12.3) is /etc/mail, the
only way out is a link, right? (probably easier)

Thanks to John Venier, Mike Hutchson, Lucio Chiapetti
and Anthony Talltree for their suggestions and time.

_Richard



--- Tru64 User <tru64user@yahoo.com> wrote:
> Sorry guys, its more sendmail than tru64 really (but
> kind of hard to get answers from
> sendmail.comp.mail..
> somehow dis-organized, and have struggled with this
> bout 2days now)
> 
> But, my problem is with sendmail........building
> from
> scratch 8.12.3 (first time building from scratch)
> Status: Everything seems to work OK...except for:
> 
> sending email to a host on same domain, without
> fully
> qualifying it, fails with error message:
> DSN: Host unknown (Name Server: A.my.domain: host
> not
> found)
> 
> sendmail is completing the host names with my.domain
> instead of our real domain.
> 
> testing sendmail with echo '$=m'|/new/sendmail -bt
> -d0.4 works OK....recognizes every option as it
> should..(ie. correct short name, canonical domain
> name, subdomain name and node name)...but still
> sending mail to host A@B (Domain being C.com) tries
> to
> go to A@my.domain thus failing!! Using fully
> qualified
> name..eg. A@B.C.com, works.
> 
> I have enabled define (`confDOMAIN_NAME',
> `A.B.C.com')
> FEATURE(`always_add_domain') .....but problem still
> the same. I must be missing something so obvious
> here,
> but what?
> Looking for keyword to add to sendmail.mc
> running on 4.0g
> 
> 
> Help point out my mistake, and again., sorry for
> posting here. I tried other means first....
> 
> _Thanks
> Richard
> 
> =====
> 
> 
> __________________________________________________
> Do You Yahoo!?
> LAUNCH - Your Yahoo! Music Experience
> http://launch.yahoo.com


=====


__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-14 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-14 15:27 sendmail my.domain problem Tru64 User
2002-05-14 20:29 ` SUMMARY: " Tru64 User

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox