tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [SUMMARY]: Two Domains for Mail
@ 1997-11-14  9:25 Otto Titze, Kernphysik THD
  0 siblings, 0 replies; only message in thread
From: Otto Titze, Kernphysik THD @ 1997-11-14  9:25 UTC (permalink / raw)
  To: tru64-unix-managers

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@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@ikp.tu-darmstadt.de              Tel: +49(6151)16-2916,FAX:16-4321|
 -------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-11-14  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-14  9:25 [SUMMARY]: Two Domains for Mail Otto Titze, Kernphysik THD

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