Commit graph

20 commits

Author SHA1 Message Date
schmonz
bd89f640f7 Update to 20230511. From the changelog:
- fixsmtpio: fix build on systems without <sys/queue.h> by inlining a
  copy from NetBSD.
- authup: log when TLS has been negotiated.
- Improve manual pages slightly.
2023-05-11 17:49:29 +00:00
schmonz
804f1e4149 Follow URL redirects. While here, update COMMENT and DESCR. Bump
PKGREVISION.
2023-04-24 00:13:12 +00:00
nia
f413f7fded mail: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles were unfetchable (possibly fetched
conditionally?):

./mail/qmail/distinfo netqmail-1.05-TAI-leapsecs.patch
2021-10-26 10:53:53 +00:00
nia
be020196fe mail: Remove SHA1 hashes for distfiles 2021-10-07 14:25:11 +00:00
schmonz
39a7a90ba9 Update to 20201214. From the changelog:
- fixsmtpio: Fix segfault by making sure eventq_get() returns a
  free()-able string.
2020-12-14 11:57:25 +00:00
schmonz
0a5d750304 Update to 20201211. From the changelog:
- reup: Delete, because retrying AUTH has been broken ever since TLS was
  added to authup.
- authup: Fix AUTH retries under TLS by inlining the retry logic.
- fixsmtpio: Fix process-management bugs in "Ensure STARTTLS resets all
  state by restarting qmail-smtpd."
- Manual pages: considerably improve clarity of authup(8) and
  fixsmtpio(8). Mention s6-ucspitlsd, a new UCSPI-TLS server
  implementation coming soon to s6-networking.
2020-12-11 12:08:00 +00:00
schmonz
c6e2fac040 Remove DJB_RESTRICTED, no longer used. 2020-11-19 09:35:38 +00:00
schmonz
3948870bde Retire 'djbware-errno-hack' and associated options.mk cleverness.
Instead:

1. Package makefiles including their own options.mk
2. Packages say "SUBST_CLASSES+=djberrno" to get the hack, if needed
3. Packages adjust SUBST_FILES.djberrno, if needed

Should fix bulk build failures due to multiple inclusions of options.mk
and/or incorrect definitions of DJB_ERRNO_HACK.

Approved during the freeze by wiz@.
2020-06-25 05:42:36 +00:00
rillig
79e4eee03f mail/qmail-acceptutils: does not have error.h 2020-05-16 15:22:20 +00:00
schmonz
83fdae6311 qmail.org lapsed; use netqmail.org or qmailorg.schmonz.com. 2019-07-01 15:31:51 +00:00
schmonz
99c6036742 - authup, fixsmtpio: Fail tls_info() if SSL environment is 0-length.
- authup: Catch up die_nomem() to fixsmtpio's.
- reup: Log more concisely and greppably.
- Manual pages: Fix refs to qmail-qfilter-queue(8).
- Makefile: Add acceptutils-install target.

Bump version.
2018-12-29 12:21:57 +00:00
schmonz
03df50b7c8 Update to 20181128. Changes:
- Add qmail-qfilter-addtlsheader, a filter to add a Received header with
  TLS protocol and ciphers.
- Fix spurious errors when initializing TLS environment.
2018-11-28 16:17:36 +00:00
schmonz
9b2052c24e Update to 20181124.1, quickly fixing 20181124's regression in
authup. Changes:

- fixsmtpio: Set FIXSMTPIOTLS in the environment when TLS has been negotiated.

When upgrading, be sure to add _this_ entry to control/fixsmtpio:

   # Remove greeting for child process restarted after upgrading to STARTTLS
   FIXSMTPIOTLS:greeting::2*::
2018-11-24 17:11:08 +00:00
schmonz
c97db393f5 Update to 20181124. Changes:
- fixsmtpio: Fix "out of memory" errors with big attachments by handling
  DATA specially (no parsing or copying).
- FIXSMTPIODEBUG: log our pid and child's basename and pid.
- fixsmtpio: Ensure STARTTLS resets all state by restarting qmail-smtpd.

When upgrading, be sure to add this entry to control/fixsmtpio:

    # Remove greeting for child process restarted after upgrading to STARTTLS
    SSL_CIPHER:greeting::2*::
2018-11-24 16:36:30 +00:00
schmonz
df5f32a35a Update to 20181121. Changes:
- NOFIXSMTPIO: new environment variable to perform no filtering.
- FIXSMTPIODEBUG: prefix program name to log messages.
- Compile as C99.
- Have die_nomem() log two levels of call stack.
- Have get_one() log one caller further.
- Avoid extern in declarations.
- Empty next_pile and free event when done.
- Use acceptutils' stralloc wrappers in tls_info().
- Don't call tls_info(): no point setting TLS connection environment
  variables when our child has already forked.
2018-11-21 19:51:20 +00:00
schmonz
fe1163ad70 Update to 20181108. Changes:
- Add STARTTLS support to fixsmtpio(8), which needs to terminate TLS in
  order to continue observing requests and responses and do its job.
- Restore missing trailing " ESMTP" in greeting.
- Fix all warnings in acceptutils code.
- Document FIXSMTPIODEBUG, UCSPITLS, and DISABLETLS.
2018-11-08 20:54:53 +00:00
schmonz
90bf6a150f Update to 20181027. Changes:
- Implement SMTP "STARTTLS" and POP3 "STLS", relying on sslserver's UCSPI-TLS.
  Derived from s/qmail's implementation.
- Catch up to s/qmail's base64 implementation.
- Implement POP3 "CAPA" verb for POP3.
- Require admin to describe child program in control/{pop3,smtp}capabilities.
- Fix regression from qmail-popup: sleep after auth failure for SMTP only.
- Update authup(8) manual page.

pkgsrc changes:

- Replace security/stunnel dependency with net/ucspi-ssl.
2018-10-27 17:28:22 +00:00
schmonz
8db6c80786 Mainly intended for use with mess822. Add dependency. Ride previous bump. 2018-10-24 15:30:54 +00:00
schmonz
3072397931 Depend on stunnel. Bump PKGREVISION. 2018-10-24 13:18:54 +00:00
schmonz
5b979c45b8 Initial import of qmail-acceptutils, my SMTP AUTH implementation for
qmail. It avoids patch conflicts, adds new user-controlled features, and
is more consistent with qmail's design.

To SMTP-authenticate users without patching ofmipd(8) or qmail-smtpd(8),
compose the following programs into your configuration:

- reup runs a program repeatedly until it succeeds.
- authup offers SMTP or POP3 authentication and calls checkpassword.
- checknotroot refuses to run as UID 0.
- fixsmtpio filters SMTP I/O and exit status to suit authup.
2018-10-22 15:23:06 +00:00