Re: Is it possible to rewrite the envelop from address for all mail that's being relayed?

2022-12-05 Thread Benny Pedersen

Scott Kitterman skrev den 2022-12-05 17:25:


Not just using postfix.  With a milter, it's quite possible.
https://github.com/croessner/vrfydmn does not do exactly what you're
asking for, but it's in the ballpark to give an idea of how to
approach the problem.


still 6 open bugs :/

and not realesed in PyPi


Re: Is it possible to rewrite the envelop from address for all mail that's being relayed?

2022-12-05 Thread Scott Kitterman



On December 5, 2022 4:19:21 PM UTC, Sean Hennessey 
 wrote:
>I'm curios if it's possible to set up postfix to rewrite the envelop from 
>address for all email the instance is relaying? I'm doing some research and 
>want to force the envelop from to be a known value that I know will pass spf 
>checks.
>
>Thanks in advance.

Not just using postfix.  With a milter, it's quite possible.  
https://github.com/croessner/vrfydmn does not do exactly what you're asking 
for, but it's in the ballpark to give an idea of how to approach the problem.

Scott K


Re: Is it possible to rewrite the envelop from address for all mail that's being relayed?

2022-12-05 Thread Benny Pedersen

Sean Hennessey skrev den 2022-12-05 17:19:

I'm curios if it's possible to set up postfix to rewrite the envelop
from address for all email the instance is relaying? I'm doing some
research and want to force the envelop from to be a known value that I
know will pass spf checks.


https://fuglu.org/plugins-index.html#spfout

https://pypi.org/project/spf-engine/


Thanks in advance.


no problem



Is it possible to rewrite the envelop from address for all mail that's being relayed?

2022-12-05 Thread Sean Hennessey
I'm curios if it's possible to set up postfix to rewrite the envelop from 
address for all email the instance is relaying? I'm doing some research and 
want to force the envelop from to be a known value that I know will pass spf 
checks.

Thanks in advance.

Sean