[SUMMARY]: Two Domains for Mail

From: Otto Titze, Kernphysik THD <TITZE_at_ikp.tu-darmstadt.de>
Date: Fri, 14 Nov 1997 10:25:54 +0100 (CET)

This is a really great list here. Thanks to

Mitko Stoyanov, Hans Ranke, Jan Mark Holzer for replies. From the
proposed solutions I used the one which came in first adding the
alias to the Cw macro and it worked.

Regards
Otto

Proposed Solutions:

1. Add the name for the second domain to the Cw macro in sendmail.cf file.
For much more advanced options consider getting sendmail 8.8.x - it has
support for virtual domains.

2. Look for lines beginning with "Cw" in sendmail.cf. There should be one
for each of your domains (or with several domains as a space-separated list).
Obviously, your new domain is missing. Try to get it added.
(If there is a Cw$N or similar line, then you obviously need space-separated
lists above. If there is a Fw line in sendmail.cf, then you might add
the missing domains to the file named in the Fw line. You see, there are many
ways to write a sendmail.cf file, and I do not know how DEC did it.)

3. Hello Otto,

        well I'm using the _MyNicknames macro on my system to
        receive mail via multiple system names (in our case
        we do have a system called host.rxx.dec.com but
        people are sending e-mail via host.mxx.dec.com, etc.
        and I just added host.easynet.de
        as well and restarted sendmail and I could send mail to
        me as jmh_at_host.easynet.de .

>From nasaxp.m4
define(_MyNicknames, {mail.rxx.dec.com host.mxx.dec.com
        host.easynet.de })dnl

-----------------------------------------------------------
The Question was:

Temporarily my system belongs to two Internet-Domains. And I want
to receive mails trough the addresses in both domains. How can this
be done?

(As mainly VMS-based) I am not so familiar with D-Unix. What I tried
    - Edit hostname.m4
    # make -f Makefile.cf.hostname:
    # cp hostname.cf sendmail.cf
    # /sbin/init.d/sendmail restart

But I am not sure what all to edit in hostname.m4. I did
    define(_MyDomain, ({x,y})
    and
    define(_ParentDomain, ({x,y})
    This worked and gave in sendmail.cf
    # parent domain
    DPth-darmstadt.de,tu-darmstadt.de
    # my domain
    DNikp.physik.th-darmstadt.de,ikp.physik.tu-darmstadt.de

(sendmail restart)

But when I sent mail to that node through the second, new domain
(ikp.physik.tu-darmstadt.de) the mailer-daemon refused
"533 local configuration error, hostname not recognized as local"
(The old address fortunately still works...)

Any idea what I did wrong, forgot or what else do I have to do...?

Regards
Otto

 -------------------------------------------------------------------------
| Dr. Otto Titze, Kernphysik TU, Schlossgartenstr. 9, D-64289 Darmstadt |
| titze_at_ikp.tu-darmstadt.de Tel: +49(6151)16-2916,FAX:16-4321|
 -------------------------------------------------------------------------
Received on Fri Nov 14 1997 - 10:48:39 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT