This replaces the old, undocumented
.B spost
mechanism and retains some of its limitations, such as lack of
-support for the
-.B \-whom
-switch and \*(lqDcc:\*(rq header field.
+support for the \*(lqDcc:\*(rq header field, as described in the
+.B send
+and
+.B post
+manual pages.
.RE
.PP
.BR localname :
.SH "SEE ALSO"
.IR mh\-mts (8),
.IR post (8)
+.IR send (8)
.SH DEFAULTS
As listed above. The path of the mail transport configuration file can
be changed with the MHMTSCONF environment variable and augmented with the
/* If we are doing a "whom" check */
if (whomsw) {
- /* This won't work with MTS_SENDMAIL_PIPE. */
+ /* Note that this will call sendmail directly using SMTP, just like
+ sendmail/smtp, even if the sendmail/pipe mts is specified.
+ It doesn't use sendmail -bv, which spost(8) used to do, because:
+ Notice: -bv may give misleading output for non-privileged user
+ and because -bv works differently with postfix.
+ And see the BUGS section of the whom(1) man page re. -check. */
verify_all_addresses (1, eai, envelope, oauth_flag, auth_svc);
done (0);
}
make_bcc_file (dashstuff);
if (msgflags & MVIS) {
if (sm_mts != MTS_SENDMAIL_PIPE) {
- /* It would be nice to have support to call
- verify_all_addresses with MTS_SENDMAIL_PIPE, but
- that might require running sendmail as root. Note
- that spost didn't verify addresses. */
+ /* Addresses aren't verified here with sendmail/pipe because
+ spost didn't. They could be because verify_all_address()
+ uses SMTP, see above. */
verify_all_addresses (verbose, eai, envelope, oauth_flag,
auth_svc);
}
aliases and put them in Bcc:, but then
they'd have the Blind-Carbon-Copy
indication. */
- die( "blind lists not compatible with"
- " sendmail/pipe");
+ die("blind lists not compatible with sendmail/pipe");
}
grp = true;