Thank you for the suggestions. I've thought about how
to do something like BATV without changing the code.
The hashes could be calculated in advance and stored
in a map as you mentioned.
The closest I could come for outbound mail was using
the sender_canonical map, but that changes both the
envelope FROM and the FROM: mail header. I only want
to change the envelope.
For arriving mail, the check could be done using an
external filter.
If anyone knows of a way to change just the envelope
FROM without changing the code, please let me know.
Best Regards,
Keith
--- Scott Kitterman <scott(_at_)kitterman(_dot_)com> wrote:
I think an alternative approach could be to use a
combination of external
programs without touching the Postfix internals.
I think that one could use an external program to
generate a valid BATV
address and place it in an appropriate map for
Postfix to re-write
http://www.postfix.org/ADDRESS_REWRITING_README.html
Then on the inbound side a policy service could be
used to check and determine
if the message should be rejected
http://www.postfix.org/SMTPD_POLICY_README.html
Still not simple, but potentially doable without
patching Postfix internals.
Scott K
On Friday 02 June 2006 10:48, titanium rook wrote:
Mr. Levine was kind enough to provide the Qmail
patch
source for me to adapt to Postfix.
After digging through the source for several
hours, I
narrowed down the likely places to implement it.
My
guess is the trivial-rewrite and smtpd programs.
However, I also realized that it would take a
great
deal of time for me to pull all the pieces
together.
I don't know the insides of Postfix that well.
This research was funded by a client and I
informed
him that one of Postfix developers could do it
much
faster and at less expense. So, it is on hold for
now. If my client pursues this further, I will
notify
the list.
Best Regards,
Keith
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
ietf-clear mailing list
ietf-clear(_at_)mipassoc(_dot_)org
http://mipassoc.org/mailman/listinfo/ietf-clear