Sender: |
|
Date: |
Fri, 9 Jun 2006 11:33:43 -0400 |
MIME-version: |
1.0 |
Reply-To: |
|
Content-type: |
text/plain; charset=us-ascii |
Subject: |
|
From: |
|
Content-disposition: |
inline |
In-Reply-To: |
|
Organization: |
UPenn SEAS CIS Liniac |
Comments: |
|
Parts/Attachments: |
|
|
I regularly use
define(`MAIL_HUB', `mail.domain')
define(`confDOMAIN_NAME', `$w.domain')
FEATURE(always_add_domain)
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')
FEATURE(`allmasquerade')
MASQUERADE_AS(`hostname.domain')
MASQUERADE_DOMAIN(`domain')
(where mail.domain is the smart hub)
I also wish there were a nice configurator with that option.
HTH,
Dan W.
On Fri, Jun 09, 2006 at 01:51:13PM +0200, Klaus Wacker wrote:
> Dear SL, ist there an easier way to configure sendmail than what I did?
> Something like system-config-sendmail or so?
>
> I need sendmail to omit the hostname from the envelope from address
> (i.e., it should be [log in to unmask] instead of
> [log in to unmask]). I also want it to use a smart host
> for delivery. What I did: I first installed sendmail-cf (in addition to
> sendmail), then edited /etc/mail/sendmail.mc (I activated the lines
> define(`SMART_HOST'..., MASQUERADE_AS(`..., and
> FEATURE(masquerade_envelope) ) and then ran make. I am not enough of a
> sendmail expert to know whether all that is correct. I would feel more
> comfortable if some higher-level configuration tool would offer me a
> preconfigured sendmail configuration for the situation "use a
> smarthost".
>
> This is Scientific Linux SL release 4.1 (Beryllium).
>
> --
> Klaus Wacker [log in to unmask]
> Experimentelle Physik V http://www.physik.uni-dortmund.de/~wacker
> Universitaet Dortmund Tel.: +49 231 755 3587
> D-44221 Dortmund Fax: +49 231 755 4547
|
|
|