|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Conditional rewriting of "From: ..."
From: Jürgen Fluk (louis
ntm-gmbh.de)Date: Tue Feb 15 2000 - 01:37:26 CST
- Next message: Brad Knowles: "Re: Sizing a Postfix server"
- Previous message: Jürgen Fluk: "Re: bind to specific interface..."
- In reply to: Wietse Venema: "Re: Conditional rewriting of "From: ...""
- Next in thread: Wietse Venema: "Re: Conditional rewriting of "From: ...""
- Reply: Jürgen Fluk: "Re: Conditional rewriting of "From: ...""
- Reply: Wietse Venema: "Re: Conditional rewriting of "From: ...""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Wietse Venema wrote:
> Postfix is written with the bold assumption that it produces
> user
domain addresses that are globally valid. It has no code for
> context-dependent address rewriting.
>
> If your mail addresses are context-dependent, consider using a mail
> USER AGENT that produces addresses in the proper form, instead of
> using the mail TRANSPORT AGENT to patch things up.
>
> Wietse
Postfix does it right. But I also see the need for rewriting From: lines
(or headers in general) or have the possibility to reject "bad" headers.
Headers are under user control, and I would like to not pass messages from
our users to the outside if I can detect that they are wrong (bad or
invalid
return addresses). Or maybe I want to force a certain policy on From:
syntax,
so change login names to firstname.lastname for example.
Maybe this is not a common need. But there is no hook at all (?) for this.
Currently I use a pipe transport and a second mail server to implement
header
rewrites, and this sounds like too much pain.
louis
-- Jürgen Fluk louisntm-gmbh.de New Technologies Management GmbH Tel +49 89 993415-56 Stefan-George-Ring 24, D-81929 München Fax +49 89 993411-99
- Next message: Brad Knowles: "Re: Sizing a Postfix server"
- Previous message: Jürgen Fluk: "Re: bind to specific interface..."
- In reply to: Wietse Venema: "Re: Conditional rewriting of "From: ...""
- Next in thread: Wietse Venema: "Re: Conditional rewriting of "From: ...""
- Reply: Jürgen Fluk: "Re: Conditional rewriting of "From: ...""
- Reply: Wietse Venema: "Re: Conditional rewriting of "From: ...""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]