How can i change de hostname in then sendmail.cf.file

  • Follow


I have a Solaris 8

I want to send mails with another hostname.

Is possible to change the hostname without change the /etc/nodename
and /etc/hostname.hme0 files ?

If is possible, only i want to change the sendmail.cf

Thanks

0
Reply ramon.ribo (3) 7/13/2007 1:54:06 PM

IESSO wrote:
> I have a Solaris 8
> 
> I want to send mails with another hostname.
> 
> Is possible to change the hostname without change the /etc/nodename
> and /etc/hostname.hme0 files ?
> 
> If is possible, only i want to change the sendmail.cf
> 
> Thanks
> 

In
/etc/mail/sendmail.cf
try

# who I masquerade as (null for no masquerading) (see also $=M)
DMfakedhost.$m

or

DMfakedhost.fakeddomain

If it does not work, build a new sendmail.cf with
allmasquerade.m4 and masquerade_envelope.m4
The build directory is /usr/lib/mail, see README


-- 
Michael Tosch @ hp : com
0
Reply Michael 7/13/2007 2:53:10 PM


On Jul 13, 8:54 am, IESSO <ramon.r...@gmail.com> wrote:
> I have a Solaris 8
>
> I want to send mails with another hostname.
>
> Is possible to change the hostname without change the /etc/nodename
> and /etc/hostname.hme0 files ?
>
> If is possible, only i want to change the sendmail.cf
>

Masquerading:

http://www.sendmail.org/m4/masquerading.html


0
Reply Chris 7/13/2007 2:58:22 PM

2 Replies
414 Views

(page loaded in 0.078 seconds)

Similiar Articles:













7/23/2012 2:36:54 AM


Reply: