on the topic of alpine, any chance to merge the below patch?

It restores an OOTB functioning alpine upon fresh port installation.

alpine broke when smtpd(8) was merged into base and made the default
MTA. smtpd(8) does not support nor reject the -bs flag when invoked
as `sendmail` (this is hard coded in alpine) and causes alpine to
hang when sending mail to the local MTA using /usr/sbin/sendmail. I
posted a separate patch to tech@ for that a while back as well, but
it simply improves the behavior of smtpctl(8) and doesn't fix alpine
because the flag is just not implemented in smtpd(8). For alpine to
send mail locally with smtpd(8) it must connect over TCP/IP. This is
the cleanest way to fix it without impacting existing installations.

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/alpine/Makefile,v
retrieving revision 1.63
diff -u -p -u -p -r1.63 Makefile
--- Makefile    28 Jan 2025 20:09:20 -0000      1.63
+++ Makefile    29 Apr 2025 01:00:09 -0000
@@ -99,7 +99,8 @@ post-install:
                ${WRKSRC}/doc/mailcap.unx \
                ${WRKSRC}/doc/mime.types \
                ${PREFIX}/share/doc/alpine
-       ${WRKBUILD}/alpine/alpine -conf > \
+       ${WRKBUILD}/alpine/alpine -conf | sed \
+               's/smtp-server=/smtp-server=localhost/' > \
                ${PREFIX}/share/examples/alpine/pine.conf
        # c-client
        # the relevant os_*.h is copied to osdep.h in build; others not needed

Stuart Henderson wrote:

> On 2025/05/30 08:29, Tim Chase wrote:
> 
> > $ man alpine | grep https
> > Alpine-info, at https://www.washington.edu/alpine/alpine-info/
> > 
> > This link is broken and appears to have been moved to
> > 
> > https://alpineapp.email/
> 
> 
> That's for the mailing list,
> 
> $ man alpine | grep -B1 https
> Mailing List:
> Alpine-info, at https://www.washington.edu/alpine/alpine-info/
> 
> which seems to be no more. There's no mailing list at
> https://alpineapp.email/.
> 
> I suggest reporting upstream as this will be affecting everyone not
> just OpenBSD users.

Reply via email to