Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Address re-writes

From: Daniel L. Miller (dmilleramfes.com)
Date: Tue Apr 03 2012 - 22:28:06 CDT

On 4/3/2012 11:03 AM, Wietse Venema wrote:
> Daniel L. Miller:
>> On 4/3/2012 10:27 AM, Wietse Venema wrote:
>>> Daniel L. Miller:
>>>> and fax-access:
>>>> messageinbound.efax.com REDIRECT thealiasamfes.com
>>> As documented, REDIRECT affects all recipients. It is meant to yank
>>> mail out of its normal path, and was originally implemented for
>>> emergencies (that is also why the feature is not subject to canonical,
>>> virtual alias, or BCC address mappings, and none of this is properly
>>> documented).
>>> In other words, don't use REDIRECT for routine mail processing.
>> Ok - I'm using the wrong tool for the job. So - please let me rephrase
>> my question.
>> What would be the proper way to redirect inbound mail originally
>> destined for a valid user, to an alias which can be expanded/redirected
>> through normal handling, based on the sender?
> So you want to replace the recipient only some of the time,
> but not all of the time. That is not built into Postfix.
> Yesterday someone asked for size-dependent delivery paths. With
> enough of such features, the mail system becomes really hard to
> understand, like firewall rules.

I think a broader statement for what I'm looking for is to be able to
re-write the recipient based on the sender, and vice versa. If Postfix
does not support this, do you know of a tool that does that I can use as
a proxy/filter?