Date: Tue, 06 Jan 1998 00:38:21 +0000 From: Brian Somers <brian@awfulhak.org> To: "Jonathan M. Bresler" <jmb@freebsd.org> Cc: fbsdlist@federation.addy.com (Cliff Addy), freebsd-questions@freebsd.org Subject: Re: Rewriting the "Received:" header in email Message-ID: <199801060038.AAA19996@awfulhak.demon.co.uk> In-Reply-To: Your message of "Mon, 05 Jan 1998 08:30:45 PST." <199801051630.IAA15528@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[.....] > so, if you have each virtual host use its own /etc/sendmail.cf > file you can replace the "$j" in the "by $j ($v/$Z)" below > by the hostname you want to appear. > for instance "by alphabet.com ($v/$Z)". > (i dont believe that you can redefine $j on the fly, > someone please check sendmail 2nd ed......) [.....] You can, but it's all read at startup, so doing this just confuses things, ie. Djmy.real.name ...... Djmy.pretend.name ...... Djmy.real.name The `j' that sendmail itself figures out is only applicable up until the first `Dj'. I reckon it's best to either hard-code it or use a completely different variable name: D{vj}my.virtual.host ...... "by ${vj} ($v/$Z)" (disclaimer, I'm only on page 103 !) > jmb > -- > Jonathan M. Bresler FreeBSD Core Team, Postmaster jmb@FreeBSD.ORG > FreeBSD--The Power to Serve JMB193 http://www.freebsd.org/ > PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801060038.AAA19996>