Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Sendmail masquerading not working

Sendmail masquerading not working

2005-06-08       - By Kevin Jackson

 Back
Reply:     1     2     3     4     5     6     7     8     9     10  

Don't get into the habit of editing the .cf file.  Read the warning in
that file - "DO NOT EDIT THIS FILE".

Have a look in the sendmail-cf/README doc:

limited_masquerade
               Normally, any hosts listed in class {w} are masqueraded.  If
               this feature is given, only the hosts listed in class {M} (see
               below:  MASQUERADE_DOMAIN) are masqueraded.  This is useful
               if you have several domains with disjoint namespaces hosted
               on the same machine.

Though I get the feeling you just want a default sendmail.mc as
supplied by Red Hat to do what you need to do - i.e. no Masquerading.

dnl MASQUERADE_AS(`mydomain.com')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
dnl FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @(protected), but @*.mydomainalias.com as well
dnl #
dnl FEATURE(masquerade_entire_domain)dnl

Edit that file (/etc/mail/sendmail.mc)
make -C /etc/mail
service sendmail restart
Test

Kev

On 6/8/05, Aras <an@(protected)> wrote:
> Monday, June 6, 2005, 4:45:22 PM, Ed Wilts wrote:
>
> EW> MASQUERADE_AS(`ewilts.org')dnl
> EW> FEATURE(masquerade_envelope)dnl
> EW> FEATURE(masquerade_entire_domain)dnl
> EW> MASQUERADE_DOMAIN(ewilts.home)dnl
> EW> dnl EXPOSED_USER(`root')dnl
>
>  Hello,
>
>  Perhaps this is another side of the same question...
>
>  I  want  Sendmail  NOT  to  masquerade my domain, but to put official
> server  name as found in rDNS. Now I'm getting an additional subdomain
> added.  For  example,  if  my  server's name is: subdomain.domain.com,
> sendmail  puts  something  like subdomain2.subdomain.domain.com in the
> headers. Haven't touched .mc file, but I have following in sendmail.cf
> file:
>
>  Dj$w.subdomain.domain.com
>
>  Thank you for any info how I can change that.
>
>  Aras.
>
> --
> Taroon-list mailing list
> Taroon-list@(protected)
> http://www.redhat.com/mailman/listinfo/taroon-list
>


--
Kevin Jackson
Red Hat Certified Engineer
www.uksysadmin.com

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.