Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] problem with saslauthd
Date: Fri, 06 May 2022 14:54:43
Message-Id: m31qx6k8yf.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] problem with saslauthd by Grant Taylor
1 On Fri, 06 May 2022 10:47:15 -0400,
2 Grant Taylor wrote:
3 >
4 > On 5/6/22 4:09 AM, John Covici wrote:
5 > > So, I restored all the files, I could like sendmail.mc and the
6 > > Sendmail.conf, but no joy, still no authentication
7 > > mechanisms. I restored them to about first of April.
8 >
9 > Well darn. :-/
10 >
11 > > This still leads me to saslauthd.
12 >
13 > I didn't mean to imply that it /wasn't/ SASL, just that the two
14 > are separate.
15 >
16 > Have you been maintaining your sendmail.cf via the sendmail.mc
17 > file? Or are there unaccounted for hand edits? -- I'll often
18 > test new things in sendmail.cf directly and then promote them to
19 > sendmail.mc once I have identified what I want.
20 >
21 > Likewise with submit.cf / submit.mc.
22 >
23 > Would you be willing to share your sendmail.mc and submit.mc
24 > files? Feel free to "REDACT" things as necessary. (Please make
25 > sure it's easy to tell what is redacted.)
26 >
27 I do not usually modify my sendmail.cf, I probably would make a
28 mistake somewhere.
29
30 So, here is my sendmail.mc, no passwords or anything secret that I am
31 aware of.
32
33 divert(0)dnl
34 include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
35 VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp $')dnl
36
37 OSTYPE(mklinux)
38 define(`confDONT_BLAME_SENDMAIL', `IncludeFileInUnsafeDirPath,AssumeSafeChown, GroupWritableForwardFileSafe, ForwardFileInGroupWritableDirPath,groupreadablekeyfile groupreadableSASLdbfile')dnl
39 define(`LOCAL_MAILER_PATH', `/usr/sbin/mail.local')dnl
40 define(`LOCAL_MAILER_FLAGS', `Ermn9')dnl
41 define(`LOCAL_MAILER_ARGS', `mail $u')dnl
42 FEATURE(`access_db')dnl
43 FEATURE(`delay_checks', `friend')dnl
44
45 dnl # The greet_pause feature stops some automail bots - but check the
46 dnl # provided access db for details on excluding localhosts...
47 FEATURE(`greet_pause', `1000')dnl 1 seconds
48 dnl # Stop connections that overflow our concurrent and time connection rates
49 FEATURE(`conncontrol', `nodelay', `terminate')dnl
50 FEATURE(`ratecontrol', `nodelay', `terminate')dnl
51 dnl #
52
53 FEATURE(`mailertable')dnl
54 FEATURE(`authinfo')dnl
55 LOCAL_DOMAIN(`covici.com')dnl
56 dnl #
57 dnl # Daemon options - restrict to servicing LOCALHOST ONLY !!!
58 dnl # Remove `, Addr=' clauses to receive from any interface
59 dnl # If you want to support IPv6, switch the commented/uncommentd lines
60 FEATURE(`no_default_msa')dnl
61 dnl DAEMON_OPTIONS(`Family=inet6, Name=MTA-v6, Port=smtp, Addr=::1')dnl
62 DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp')dnl
63 DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=587', `M=Ea')dnl
64 dnl DAEMON_OPTIONS(`Family=inet6, Name=MSP-v6, Port=submission, Addr=::1')dnl
65 dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission, Addr=127.0.0.1')dnl
66 define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')dnl
67 define(`confMAX_HEADERS_LENGTH', `65536')dnl
68 define(`confDELAY_LA', `20')dnl
69 define(`confQUEUE_LA', `30')dnl
70 define(`confREFUSE_LA', `20')dnl
71 define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
72 define(`confTO_MAIL', `10m')dnl
73 define(`confTO_RCPT', `1h')dnl
74 define(`confTO_DATAINIT', `10m')dnl
75 define(`confTO_DATABLOCK', `1h')dnl
76 define(`confTO_DATAFINAL', `1h')dnl
77 define(`confTO_MISC', `5m')dnl
78 define(`confTO_AUTH', `20m')dnl
79 define(`confAUTH_OPTIONS', `A p y')dnl
80 define(`TRUST_AUTH_MECH', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
81 define(`confTLS_SRV_OPTIONS', `V')dnl
82 dnl # CRL not found... do not issue warnings on it!
83 undefine(`confCRL')dnl
84 define(`confCACERT_PATH', `/etc/letsencrypt/live/ccs.covici.com/')dnl
85 define(`confCACERT',`/etc/letsencrypt/live/ccs.covici.com/fullchain.pem')dnl
86 define(`confCLIENT_CERT', `/etc/letsencrypt/live/ccs.covici.com/cert.pem')dnl
87 define(`confCLIENT_KEY', `/etc/letsencrypt/live/ccs.covici.com/privkey.pem')dnl
88 define(`confSERVER_CERT', `/etc/letsencrypt/live/ccs.covici.com/cert.pem')dnl
89 define(`confSERVER_KEY', `/etc/letsencrypt/live/ccs.covici.com/privkey.pem')dnl
90
91 LOCAL_CONFIG
92 OA/etc/mail/bfg_list.txt
93 define(`SMTP_MAILER_ARGS', `TCP $h 587')dnl
94 define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
95 FEATURE(`local_lmtp')dnl
96 define(`LOCAL_MAILER_ARGS', `TCP $h 8024')dnl
97 MAILER(local)
98 MAILER(smtp)
99
100 --
101 Your life is like a penny. You're going to lose it. The question is:
102 How do
103 you spend it?
104
105 John Covici wb2una
106 covici@××××××××××.com