Bug 284444 - mail/postfix: make postscreen blacklistd aware
Summary: mail/postfix: make postscreen blacklistd aware
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-29 20:41 UTC by Michael Grimm
Modified: 2025-03-04 20:15 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (otis)


Attachments
mail/postfix: make postscreen blacklistd aware (3.49 KB, patch)
2025-01-29 20:41 UTC, Michael Grimm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grimm 2025-01-29 20:41:04 UTC
Created attachment 257097 [details]
mail/postfix: make postscreen blacklistd aware

The rationale of my patch can be found here: https://lists.freebsd.org/archives/freebsd-ports/2025-January/007222.html

I pretty much followed the way files/extra-patch-blacklistd adds blacklistd functionality to smtpd/smtpd_sasl_glue.c; now to postscreen/postscreen_early.c as well.

I simply added my modifications to files/extra-patch-blacklistd. If you'd prefere two distinct patches for smtpd/smtpd_sasl_glue.c and postscreen/postscreen_early.c, please let me know.

I increased PORTREVISION but let PORTEPOCH untouched.

Hope that's all correct and fine with you.

Regards,
Michael
Comment 1 Michael Grimm 2025-02-22 09:16:48 UTC
JFTR: This patch works for the newest postfix 3.10.0 as well.
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-03-04 20:13:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fb25a7b49238fac37fa24999089450454a4c3e85

commit fb25a7b49238fac37fa24999089450454a4c3e85
Author:     Michael Grimm <trashcan@ellael.org>
AuthorDate: 2025-03-04 20:11:17 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2025-03-04 20:12:01 +0000

    mail/postfix: Make postscreen blacklistd aware

    PR:             284444

 mail/postfix/Makefile                     |  2 +-
 mail/postfix/files/extra-patch-blacklistd | 66 +++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 1 deletion(-)
Comment 3 Juraj Lutter freebsd_committer freebsd_triage 2025-03-04 20:15:16 UTC
Committed, thanks.