tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* sendmail: How to always tack on @domain for outgoing mail.
@ 1999-01-18 11:36 Thomas Leitner
  0 siblings, 0 replies; only message in thread
From: Thomas Leitner @ 1999-01-18 11:36 UTC (permalink / raw)
  To: tru64-unix-managers


Hi,

This weekend, I've upgraded our mail server on Ultrix 4.4 to sendmail
8.9.2. All our Alphas are relaying their outgoing e-mail through this mail
server. The mail server is configured to require the from: address to have
the domain name tacked on. Mail sent, for instance from "tom" is not
accepted. It needs "tom@radar.tu-graz.ac.at" now, even for locally
received e-mail.

While this works without problems with mails sent by pine, the /bin/mail
and /bin/mailx commands do not work and cause the mails to be bounced
by the mail server like this:

While talking to finwds01:
>>> MAIL From:<tom>
<<< 553 <tom>... Domain name required
554 tom@finwds01.tu-graz.ac.at... Remote protocol error

Apparently pine itself appends the domain name to the sender address 
and mail and mailx do not. 

I have already checked my Digital Unix 4.0D sendmail setup and my
/var/adm/sendmail/hostname.m4 file contains:

dnl -- Name tacked on exported local addresses (user@_ExportedName)
define(_ExportedName,   {finwds01.tu-graz.ac.at})dnl

which apparently does not work!! When I add me to this list:

dnl -- Users which always need $j tacked on
define(_NonHiddenUsers, {root postmaster news uucp mailer-daemon rdist
nobody})dnl

the outgoing mail gets "xxxxx.tu-graz.ac.at" tacked on and local
e-mail is delivered.

But for some reason, the _ExportedName setting does not work.

Any ideas anyone?

Thanks a lot // Tom

P.S: As an aside: I have upgraded one machine to Digital Unix 4.0E and
     found the following strange behaviour: The local mail relay
     is defined as finwds01.tu-graz.ac.at which has both, an DNS
     A record and a DNS MX record. However the MX record points to our
     campus wide mailgate. Now all outgoing e-mail, even if it's a local
     e-mail goes through the campus mailgate and comes back to our local
     mail server. This is not necessary, IMHO. Any idea anyone how
     to avoid this?
-- 
--------------------------------------------------------------------------
T o m   L e i t n e r                       Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

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

only message in thread, other threads:[~1999-01-18 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-01-18 11:36 sendmail: How to always tack on @domain for outgoing mail Thomas Leitner

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