Use /usr/sbin/sendmail as default mailer on OpenBSD.
authorPascal Stumpf <Pascal.Stumpf@cubes.de>
Sun, 18 Nov 2012 23:26:54 +0000 (00:26 +0100)
committerJon Trulson <jon@radscan.com>
Tue, 20 Nov 2012 02:44:29 +0000 (19:44 -0700)
cde/programs/dtmail/libDtMail/RFC/RFCTransport.C

index 7659ff847db1a785e620272342e077cf3ad1014d..72c9c59cb05b0c49fd90252056d336c768bf9246 100644 (file)
@@ -740,6 +740,8 @@ RFCTransport::launchSendmail(DtMailEnv & error,
     if (error.isSet()) {
 #if defined(USL) || defined(__uxp__)
         mailer = "/usr/ucblib/sendmail";
+#elif defined(__OpenBSD__)
+       mailer = "/usr/sbin/sendmail";
 #else
         mailer = "/usr/lib/sendmail";
 #endif