Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 12:49:43 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   sendmail, masquerading, exposed root?
Message-ID:  <20120528114943.GA30701@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
I've a problem with sendmail setup,
for which I have no satisfactory solution.

I've several hosts, all on the university
network. I'd like to forward all root's mail
from all these hosts to my personal email.

The problem seems to be with the From field.

If I leave the root exposed, the From
field looks e.g. root@mech-anton240.men.bris.ac.uk,
which is rejected by the university mailer,
because it has no knowledge of this address.

The only solution I've found is not to
expose root, and then masquerade all From
to @bris.ac.uk, which is acceptable, but
then I get root mail from all my hosts always originating
at root@bris.ac.uk, so I have trouble distinguishing
between individual hosts. I solve this
by setting the hostname in the subject like.

But I'm mostly worried about not exposing root.
Plus the network people hate to see root@bris.ac.uk
anywhere on the network.

Can anybody suggest a better solution?

Thanks


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120528114943.GA30701>