[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Header re-write
On Wed, 15 Feb 1995, Marco Hernandez wrote:
> Hi all:
>
> I have a setup which requires certain incomming headers not to
> be rewritten. I'm trying to set up ZM 2.99.13 to act as a central
> relay and I need to have it respect the From: and Mail From Line from
> specific domains. I thought that the $MAILDB/localnames setup with
> lines of the form:
>
> host.foo.com host.foo.com
>
> meant that this header would not be rewritten ? Not the case.
> It appears that the rewrite is going on before it hits that function ?
>
> crossbar.cf (any ideas where it would be applied )
>
On our system, I went back to the old db setup for localnames (single
column sorted list, used primarily as an ALIAS catcher) and used the old
Toronto version relation in standard.cf:
# We do local delivery, more or less, of mail arriving for these hostnames
# ***NB*** note : this is the old behavior of localnames pre 2.98
# does not do any rewrite on addresses
# used to force local delivery on special domains which aren't part of
# the canonical form (we don't want them to appear as such)
# -jmack Jan/95
if [ -f $MAILVAR/db/localnames ]; then
relation -lt unordered -f $MAILVAR/db/localnames -d pathalias -b thishost
It was a necessary condition of my site's required behavior, so if you
have to have both, you probably want to run 2 zmailer machines to separate
the localname functions, and send everything you do want canonicalized to
the second machine.
The old behavior is what I wanted, and it's what I now thankfully get
with 2.99.10
--
James S. MacKinnon Office: P-139 Avahd-Bhatia Physics Lab
Computing/Networking Voice : (403) 492-8226
Department of Physics
University of Alberta email : Jim.MacKinnon@Phys.UAlberta.CA
Edmonton, Canada T6G 2N5 : jmack@Phys.UAlberta.CA
- Follow-Ups:
- Re: Header re-write
- From: Scott Schwartz <schwartz@galapagos.cse.psu.edu> (Thu, 16 Feb 1995 02:43:07 +0200)