Date: Wed, 16 Apr 2003 16:04:44 +0400 (MSD) From: Andrey Beresovsky <and@rsu.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: os@rsu.ru Subject: ports/51029: It is not possible to build sendmail from ports with smtps support Message-ID: <200304161204.h3GC4iRu000954@moon.cc.rsu.ru> Resent-Message-ID: <200304161210.h3GCA9ec059043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 51029 >Category: ports >Synopsis: It is not possible to build sendmail from ports with smtps support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 16 05:10:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Andrey Beresovsky >Release: FreeBSD 5.0-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD moon.cc.rsu.ru 5.0-RELEASE-p6 >Description: The current sendmail port (mail/sendmail) does not allow to build sendmail with smtps support (SSL but not STARTTLS). This mode is required by some MUA (ex. the only way to enable encryption in MS Outlook Express is to use smtps). Attached patch adds an option to build sendmail with smtps support. >How-To-Repeat: >Fix: The following patch should be applied to Makefile: --- Makefile 15 Apr 2003 19:40:30 -0000 1.70 +++ Makefile 16 Apr 2003 11:50:00 -0000 @@ -36,6 +36,15 @@ # SENDMAIL_WITH_SASL2=yes # SENDMAIL_WITH_LDAP=yes # SENDMAIL_WITH_PICKY_HELO_CHECK=yes +# SENDMAIL_WITH_SMTPS=yes + +.if defined(SENDMAIL_WITH_SMTPS) +.if !defined(SENDMAIL_WITH_TLS) && !defined(WITH_TLS) +.BEGIN: + @${ECHO_CMD} "DEPENDENCY NOTE: SENDMAIL_WITH_TLS will be enabled to support SENDMAIL_WITH_SMTPS" +SENDMAIL_WITH_TLS=yes +.endif +.endif .if defined(SENDMAIL_WITH_LDAP) PKGNAMESUFFIX?= -ldap @@ -69,6 +78,9 @@ .endif .if defined(SENDMAIL_WITH_LDAP) SITE+= ${FILESDIR}/site.config.m4.ldap +.endif +.if defined(SENDMAIL_WITH_SMTPS) +SITE+= ${FILESDIR}/site.config.m4.smtps .endif .if ! defined(SENDMAIL_WITHOUT_MILTER) SITE+= ${FILESDIR}/site.config.m4.milter And the following text should be placed as files/site.config.m4.smtps: APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_SMTP_SSL') >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304161204.h3GC4iRu000954>