2004-10-27 Helge Hess <helge.hess@opengroupware.org>
+ * NGMail: support special sendmail location on MacOSX (v4.3.192)
+
* NGMail: fixed a bug in NGSendMail (v4.3.191)
* NGMail: added NGSendMail object (v4.3.190)
2004-10-27 Helge Hess <helge.hess@opengroupware.org>
+ * NGSendMail.m: use /usr/sbin/sendmail on Cocoa Foundation
+ (/usr/lib/sendmail on all other platforms)
+
* NGSendMail.m: properly setup user defaults object
* added new NGSendMail object (derived from mail-deliver command in
self->shouldOnlyUseMailboxName =
[ud boolForKey:@"UseOnlyMailboxNameForSendmail"];
- self->executablePath =
- [_path isNotNull] ? [_path copy] : @"/usr/lib/sendmail";
+ if ([_path isNotNull])
+ self->executablePath = [_path copy];
+ else {
+#if APPLE_Foundation_LIBRARY || NeXT_Foundation_LIBRARY
+ self->executablePath = @"/usr/sbin/sendmail";
+#else
+ self->executablePath = @"/usr/lib/sendmail";
+#endif
+ }
}
return self;
}
MAJOR_VERSION:=4
MINOR_VERSION:=3
-SUBMINOR_VERSION:=191
+SUBMINOR_VERSION:=192
# v4.2.149 requires libNGStreams v4.2.34