Off topic question - how to change domain name in sendmail.

Schimpke, Dr. Thomas / bhn Schimpke at Lenze.de
Thu Nov 7 13:23:06 CET 2002


Hi Marcus,


> I want to change the domain name of the mail that is sent out 
> by nagios. It
> now looks like this: nagios at felix.cannonale.com , I want it 
> to look like
> nagios at cannondale.com. I have tried changing /etc/HOSTNAME to 
> cannondale.com
> instead of felix.cannondale.com, that gave me a mail from 
> nagios at cannondale
> (without the .com). I also tried hacking sendmail.cf like 
> this (I am not
> certain this is the right way):

if you are useing sendmail and want to change the sender address for the
whole domain,
then you should have a look at the m4 macro MASQUERADE_DOMAIN (I think --
the bat book is at home...)

If you just want to change the sender address of some users, then (I
think...bat book at home) you have to enable the genericstable feature and a
create a genericstable for the relevant users.

hth.
Thomas



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list