Created attachment 221948 [details] New port: mail/postforward: Postfix SRS forwarding agent Postforward is a mail forwarding utility which aims to compliment the Postfix Sender Rewriting Scheme daemon (mail/postsrsd). The downside of using PostSRSd is that all mail is naively rewritten, even when no forwarding is actually performed. Such rewritten Return-Path addresses may confuse sieve scripts and other mail filtering software. This is where Postforward comes in. Instead of rewriting all incoming mail regardless of final destination, mail systems may be configured to pipe mail into Postforward only when forwarding needs to happen, leaving non-forwarded mail unaltered by PostSRSd. Postforward will rewrite envelope addresses for piped mail using PostSRSd itself and re-inject these messages back into the queue, destined for the forwarding recipient(s).
Created attachment 222083 [details] postforward.diff I've adjusted the email address: mirror@asgard.ch -> luca@asgard.ch
Hi all Would I have to repackage it as git? Or would the current approach still work? Regards -Luca.
There is a typo in the pkg-descr, should be WWW: https://github.com/zoni/postforward
Hi, thanks for your submission Is this something we should include? https://github.com/arbales/postforward/commit/c45dfe827ab9b1fafe3f4b10b8b773353ba908c4 Best regards, Daniel
Hi Daniel This commit is about handling mailing lists; I didn't try it out. On the other hand, I've been using the original version for about two years without issue. I'm happy with both approaches. :-) Regards -Luca.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3c7e5c215f60071f920633960373fcef3b892d0 commit a3c7e5c215f60071f920633960373fcef3b892d0 Author: Gian Luca Decurtins <luca@asgard.ch> AuthorDate: 2022-10-16 21:19:42 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-10-16 21:23:08 +0000 mail/postforward: New port: Postfix SRS forwarding agent Postforward is a mail forwarding utility which aims to compliment the Postfix Sender Rewriting Scheme daemon (mail/postsrsd). The downside of using PostSRSd is that all mail is naively rewritten, even when no forwarding is actually performed. Such rewritten Return-Path addresses may confuse sieve scripts and other mail filtering software. This is where Postforward comes in. Instead of rewriting all incoming mail regardless of final destination, mail systems may be configured to pipe mail into Postforward only when forwarding needs to happen, leaving non-forwarded mail unaltered by PostSRSd. Postforward will rewrite envelope addresses for piped mail using PostSRSd itself and re-inject these messages back into the queue, destined for the forwarding recipient(s). Additional patch added to handle mailing lists Committers note: Patch modified to follow Porters Handbook more closely Reference: https://github.com/arbales/postforward/commit/c45dfe827ab9b1fafe3f4b10b8b773353ba908c4 PR: 253035 mail/Makefile | 1 + mail/postforward/Makefile (new) | 36 ++++++++++++++++++++++++++++++++++++ mail/postforward/distinfo (new) | 5 +++++ mail/postforward/pkg-descr (new) | 2 ++ 4 files changed, 44 insertions(+)
Committed, sorry for the wait