RE: How do I fix this?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: How do I fix this?

On a similar note:

Is there a way to create a sendmail.mc file from a sendmail.cf file?  I think my .mc file is corrupted, but the current sendmail config derived from the .cf file is working fine.

I am basically looking for a "reverse" m4 command.

I can hear you laughing even now... :>

Thanks,

Monty

 -----Original Message-----
From:   Scott Kindley [mailto:ckindley@xxxxxxxxxxx]
Sent:   Tuesday, April 29, 2003 12:45 PM
To:     psyche-list@xxxxxxxxxx
Subject:        Re: How do I fix this?

On Tue, 2003-04-29 at 11:51, Chris Sechiatano wrote:
> Hi,
>
> I know this is a Sendmail question, but I dont want to join the sendmail
> list for one question.
>
> How do I change the Received line to read (from chris@xxxxxxxxxxx) instead
> of (from chris@xxxxxxxxx)?
>
> I looked through the documentation and I though there used to be a
> define(`hostname') statement, but couldn't find anything on the sendmail
> site.  This is sendmail 8.11.
>
> Thanks
>

(Backup your current configs first!)

To do this add:

MASQUERADE_AS(chris-s.com)dnl
MASQUERADE_DOMAIN(chris-s.com)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl

to your /etc/mail/sendmail.mc file and then regenerate by issuing:

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

and restart sendmail with:

service sendmail restart

I don't think I forgot anything! Someone will correct me if I do.

http://www.sendmail.org/m4/masquerading.html has the relevant
information you need.

Scott



--
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/psyche-list


[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux