Bug 244176 - mail/exim: Enable SPF support by default (for packages)
Summary: mail/exim: Enable SPF support by default (for packages)
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: Dima Panov
URL:
Keywords: feature
Depends on:
Blocks:
 
Reported: 2020-02-16 21:26 UTC by belliash
Modified: 2021-05-05 03:37 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description belliash 2020-02-16 21:26:20 UTC
# exim -bV
Exim version 4.92.3 #0 (FreeBSD 12.0) built 12-Feb-2020 04:08:17
Copyright (c) University of Cambridge, 1995 - 2018
(c) The Exim Maintainers and contributors in ACKNOWLEDGMENTS file, 2007 - 2018
Probably Berkeley DB version 1.8x (native mode)
Support for: crypteq iconv() IPv6 use_setclassresources PAM Perl Expand_dlfunc OpenSSL Content_Scanning DKIM DNSSEC Event I18N OCSP PRDR
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch mysql passwd
Authenticators: cram_md5 dovecot plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Malware: f-protd f-prot6d drweb fsecure sophie clamd avast sock cmdline
Fixed never_users: 0
Configure owner: 0:0
Size of off_t: 8
2020-02-16 22:15:25 Warning: purging the environment.
 Suggested action: use keep_environment.
Configuration file is /usr/local/etc/exim/configure

There is no SPF under 'Support for' list... Exim fails to start with SPF related ACL rules. Why there is no support for SPF in so popular MTA like Exim in so modern OS like FreeBSD?
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2020-02-17 00:34:40 UTC
Fix Summary and assign.

Note to submitter: "Ports Infrastructure" is a category we use only for the build farm at FreeBSD.org.
Comment 2 Vsevolod Stakhov freebsd_committer freebsd_triage 2020-02-17 13:46:31 UTC
Please learn how to build the FreeBSD ports. SPF option is presented in the list of the available port build options.
Comment 3 belliash 2020-02-17 14:43:30 UTC
This is not an answer.
I would like to know what is the problem for you as Exim maintainer to build package with SPF enabled. We have XXI century already and as FreeBSD is OS used mainly on servers, I don't see any reason why this option could not be enabled be default in binary, especially that with v4.91 this feature has been promoted from experimental to supported. Having this option disabled, you disallow from running SPF checks in incoming SMTP by using ACL rules.
Comment 4 Aleksander 2020-08-06 19:03:39 UTC
I'm also voting for default SPF support. Small thing, but important IMHO.
Let me know if I can help somehow.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2021-05-05 03:37:21 UTC
^Triage: SPF was enabled by default in ports r548081 but this issue was not referenced.

mail/exim: import exim-4.94+fixes branch as state of 2020.09.09

Used git diffs:

[27/37] Fix spelling of local_part_data in docs and debug output
[27/37] Fix spelling of local_part_data in docs and debug output
[28/37] Fix ${readsocket } eol-replacement.  Bug 2630
[29/37] Taint: fix off-by-one in is_tainted().  Bug 2634
[30/37] Build: ifdef guard for EXPERIMENTAL_QUEUEFILE
[31/37] Taint: fix off-by-one in is_tainted().  Bug 2634
[32/37] DANE: force SNI to use $domain.  Bug 2265
[33/37] DANE: Fix 2-rcpt message, diff domins case.  Bug 2265
[34/37] Fix non-DANE build
[35/37] DANE: Fix 2 messages from queue case
[36/37] Fix non-DANE build

While here, make SPF option turned on by default

MFH:		2020Q3