Bug 51029 - It is not possible to build sendmail from ports with smtps support
Summary: It is not possible to build sendmail from ports with smtps support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 13:10 UTC by and
Modified: 2003-04-16 15:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description and 2003-04-16 13:10:08 UTC
	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.

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')
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2003-04-16 15:12:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2003-04-16 15:39:55 UTC
State Changed
From-To: open->closed

committed with minimal changes, thanks.