Bug 248387 - Change sendmail confDH_PARAMETERS argument from file to fixed-length parameter in freebsd.mc
Summary: Change sendmail confDH_PARAMETERS argument from file to fixed-length paramete...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Gregory Neil Shapiro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-31 12:22 UTC by f.toscan
Modified: 2020-08-04 03:16 UTC (History)
1 user (show)

See Also:


Attachments
Patch against /base/head/etc/sendmail/freebsd.mc (535 bytes, patch)
2020-07-31 12:22 UTC, f.toscan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description f.toscan 2020-07-31 12:22:17 UTC
Created attachment 216907 [details]
Patch against /base/head/etc/sendmail/freebsd.mc

freebsd.mc sets confDH_PARAMETERS to a file parameter, dh.param. This file is not created by /etc/rc.d/sendmail, which just provides rsa keys and certificates to enable a working, minimal sendmail TLS setup. Running default configuration, sendmail complains about nonexistent file.

I'm unsure whether confDH_PARAMETERS should be set at all since DSA keys are not used: maybe telling sendmail to generate 1024-bit length parameters is enough.

Patch attached.
Comment 1 Li-Wen Hsu freebsd_committer 2020-08-04 03:16:48 UTC
Over sendmail maintainer.