Commit 467bb959 467bb9594e576bfca80d7bc58b13a29862a37915 by Sergey Poznyakoff

(sendmail_send_message): Bugfix. In spite

of what the comment said, -t option is not implicit and must
be specified.
1 parent ea992d95
...@@ -254,15 +254,11 @@ sendmail_send_message (mailer_t mailer, message_t msg, address_t from, ...@@ -254,15 +254,11 @@ sendmail_send_message (mailer_t mailer, message_t msg, address_t from,
254 } 254 }
255 if (!to) 255 if (!to)
256 { 256 {
257 /* The -t seems to be implicit when there are no addresses,
258 so it shouldn't be necessary to specify it. */
259 /*
260 if ((argvec[argc++] = strdup ("-t")) == 0) 257 if ((argvec[argc++] = strdup ("-t")) == 0)
261 { 258 {
262 status = ENOMEM; 259 status = ENOMEM;
263 goto OPEN_STATE_CLEANUP; 260 goto OPEN_STATE_CLEANUP;
264 } 261 }
265 */
266 } 262 }
267 else 263 else
268 { 264 {
......