Bug 233150 - mail/sendmail: UseBlacklist is not cf/m4/proto.m4
Summary: mail/sendmail: UseBlacklist is not cf/m4/proto.m4
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-12 06:23 UTC by Masachika ISHIZUKA
Modified: 2019-03-18 11:03 UTC (History)
2 users (show)

See Also:
dinoex: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masachika ISHIZUKA 2018-11-12 06:23:39 UTC
I want to set UseBlacklist option in sendmail.cf.
I can do it by editing sendmail.cf directly, but I can't set this option by sendmail.mc.
Please add this option to the cf/m4/proto.m4 like the below.
_OPTION(UseBlacklist, `confUSEBLACKLIST', `True')
I must specify UseBlacklist option because files/site.config.m4.blacklistd does not work in 12.0-BETAs.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2018-11-19 14:23:44 UTC
I will not add proto files without any documentation.

You can set options in your <hostname>.mc file:
Please use one of the recommend and documented ways 
e.g.:

LOCAL_CONFIG
O UseBlacklist Tue


Please explain what problem you see with "files/site.config.m4.blacklistd" ?
It looked fine on ALPHA9:

FreeBSD 12.0-ALPHA9: ldd /usr/local/sbin/sendmail 
/usr/local/sbin/sendmail:
        libwrap.so.6 => /usr/lib/libwrap.so.6 (0x8002fb000)
        libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x800307000)
        libblacklist.so.0 => /usr/lib/libblacklist.so.0 (0x800524000)
        libssl.so.9 => /usr/lib/libssl.so.9 (0x80052a000)
        libcrypto.so.9 => /lib/libcrypto.so.9 (0x8005bf000)
        libutil.so.9 => /lib/libutil.so.9 (0x8008ac000)
        libc.so.7 => /lib/libc.so.7 (0x8008c3000)
        libdl.so.1 => /usr/lib/libdl.so.1 (0x800cce000)
        libthr.so.3 => /lib/libthr.so.3 (0x800cd2000)