ports/112011: [patch] msmtp changes require a certificate file with tls

Scott Robbins scottro at nyc.rr.com
Sun Apr 22 15:30:06 UTC 2007


>Number:         112011
>Category:       ports
>Synopsis:       [patch] msmtp changes require a certificate file with tls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 22 15:30:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Scott Robbins
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD mail.scottro.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Apr 8 03:44:43 EDT 2007 scottro at mail.scottro.net:/usr/obj/usr/src/sys/S11 i386


	
>Description:
	The msmtp port now requires, if you have tls on in the .msmtprc
file, that you either point it to a certificate file or turn off tls
checking, which is not recommended by the program's author.
>How-To-Repeat:
    Install the msmtp port, include the line "tls on" in your .msmtprc
file and try to send an email.  The send will fail with an error
message.
>Fix:

One can either add the line "tls_certcheck off" which is not recommended
by the program's author, or add a line pointing to a trust file.  The
/etc/ssl/cert.pem file is sufficient, so adding the line
tls_trust_file /etc/ssl/cert.pem
will fix the issue. 

I have a usable pkg-message at http://www.scottro.net/pkg-message and a
minor patch to the Makefile (simply changing the bsd.port.mk to use
pre.mk and post.mk and echoing the pkg-message) at
http://www.scottro.net/patch.msmtp
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list