On 10/01/2023 21:07, Dan Mahoney wrote:
All,
Does anyone know of a simple remailer tool that can be used inside an aliases
(via a pipe) file that will:
* ‘explode’ messages out to a group statically defined in a textfile.
* not expose my original envelope sender and recipients?
I've done a milter for this, but it's rather more complex: the lists are
defined in a SQLite database which is part of a membership system. The
milter dumps the incoming mail after checking the sender and the RCPT,
and then sends out a new mail, without the original headers, to a new
RCPT TO, with a new MAIL FROM. The envelope has changed, and the headers
have changed, so there's no leakage. Currently, it sends a single mail
to every new RCPT with an exec of 'sendmail', but there are other ways
to do this.
Currently, there's a problem with handling bounces
(https://www.mail-archive.com/postfix-users@postfix.org/msg97355.html),
which I'll have to deal with over the next few weeks. This just means
that the bounces go back to the list admin, rather than the original
sender (but, of course, this is exactly the behaviour most people would
want anyway).
Actually writing the milter is pretty straightforward - the real problem
is finding up-to-date docs and examples.
Office365 is rejecting
They'll do that anyway at some point, however innocent and/or "correct"
your mail seems. You just have to live with it and educate your users.
We generally recommend that members don't use MS webmail services.