SUMMARY: sendmail my.domain problem

From: Tru64 User (tru64user@yahoo.com)
Date: Tue May 14 2002 - 16:29:10 EDT


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:41 EDT