Re: sendmail masquerading

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

 



Am Mo, den 17.11.2003 schrieb Aaron Konstam um 17:44:
> We have 40 clients served by ab NIS server. We could like mail sent
> from the clients to show the return address of the server. That has
> always been done with the DM macro of the sendmail.cf file.
> I changed an uncommented the masquerade line in the sendmail.mc file:
> MASQUERADE_AS(`cs.trinity.edu')dnl
> 
> What seemed to be the correct DM macro line was inserted in the
> sendmail.cf file by the make. But it does not work. The return address
> still includes the name of the machine.
> 
> What have I done wrong and what can I do about it?

Hm, the sendmail.mc file which comes with fedora does contain all needed
useful lines for masquerading. By default they are commented with dnl in
front.

MASQUERADE_AS(`cs.trinity.edu')dnl
dnl #
dnl # masquerade not just the headers, but the envelope as well
dnl #
FEATURE(masquerade_envelope)dnl
dnl #
dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com
as well
dnl #
FEATURE(masquerade_entire_domain)dnl
dnl #
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localhost.localdomain)dnl
MASQUERADE_DOMAIN(further host.domain to be masqueraded)dnl

See http://www.sendmail.org/m4/masquerading_relaying.html

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux