Summary: Sendmail problems after patchinstall

From: Joerg Leodolter (j_leodolter@vertical-global.com)
Date: Wed Nov 25 1998 - 03:52:43 CST


MY ORIGINAL QUESTION:

>I've installed the suggested patches V 3.0.12 and after this I had problems
with
>my mailing. If I send a mail to an internal exchange-user and only give the
>name without any domainname as adress, the adress includes automatically
>my machinename and cannot be delivered.
>for example if I write to j_leodolter it becomes j_leodolter@xxx.domain.co.at,
>instead of j_leodolter@domain.co.at, where xxx is my machine.
>It worked fine before installpatch. Unfortunately I can't run a backoutpatch.
>Is there an easy way to fix ??? I tried to play around with DS Variable but
with
>no success.

Firstly, many thanks to:

Alan Reichert ........... Thanks twice !!!
Claus Assmann
Rick Berube
Chris Eslinger
Mark Neill
Grant Schoep
Wales Wong

Thank you very much for your help.
Unfortunately your tips didn't solve the problem. I tried them all, but without
success. Next step is to open a call at sun.

SUMMARY OF RESPONSES:

Alan Reichert wrote:

I'm not sitting near any references, but I think you want to put in a DM
entry in your sendmail.cf. This is the masquerade-as entry. Give a try
with DMdomain.co.at
And
it is possible that the domain also needs to be included in your
sendmail.cw file (or on a CW (Cw?) entry in your sendmail.cf file.
Have you looked at http://www.sendmail.org for info on this?

-----------------------------------------------------
Claus Assmann wrote:

If this is sendmail 8.8, you can probably use
DMdomain.co.at
or use a .mc file to generate a new .cf:

a) Again from the FAQ of sendmail V8:
  * How do I make all my addresses appear to be from a single host?
        Using the V8 configuration macros, use:
                MASQUERADE_AS(my.dom.ain)
        This will cause all addresses to be sent out as being from
        the indicated domain.
    If you're using version 8.x (x > 6) sendmail, and you want to hide
    this information in the envelope as well as the headers, use:
        FEATURE(masquerade_envelope)

If you also want to masquerade the recipients, use
FEATURE(allmasquerade)
But be careful and read cf/README first about possible problems!

-----------------------------------------------------
Rick Berube wrote:

"There's more than one way to do it."

1. (on Solaris) domainname "foo.com" and set /etc/defaultdomain to
"foo.com".
2. Near the top of sendmail.cf,
        Dj$w.foo.com
-----------------------------------------------------
Chris Eslinger wrote:

THis is most likely sendmail v8. try masquerading:

DMdomain.co.at

(in /etc/mail/sendmail.cf)

If you build your sendmail.cf with m4, the following line in your .mc will
do it:

MASQUERADE_AS(domain.co.at)dnl

to masquerade everything, even the envelope:

FEATURE(allmasquerade)dnl
FEATURE(masquerade_envelope)dnl

-----------------------------------------------------
Mark Neill wrote:

Actually, you want to change the Dm variable to

DmDomain.name.at

That may fix it by itself. Otherwise you'll need to rebuild your
sendmail.cf from the m4 source, enabling the "masquerade_entire_domain"
option.
-----------------------------------------------------
Grant Schoep wrote:

        What version of Solaris? I had this exact same problem with a 2.6
machine.
Mail quit working after I did the recomended patchs. I just backed out, and
I haven't installed the recommended patches since. Just because I hate
dealing with sendmail so much I figured I was gonna wait till it might have
been fixed.
-----------------------------------------------------
Wales Wong wrote:
do you edit the macro M as DMdomain.co.at?

-----------------------------------------------------

Thanks again to all of you for your help
Best regards
Joerg

--
Joerg Leodolter                           Information Technology
phone : +43-3136-500-492           Austria Mikro Systeme Int. AG
fax   : +43-3136-52501                      Schloss Premstaetten
mailto:j_leodolter@vertical-global.com  A-8141 Unterpremstaetten
http://www.vertical-global.com                            Europe



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:53 CDT