Commit 3ea5d904 3ea5d9047180c582a547a4f109c4945b0d5300fe by Sam Roberts

Looking at other utilities makes me think that providing -t to

sendmail is optional, need to test this.
1 parent f528eff2
......@@ -126,7 +126,6 @@ sendmail_open (mailer_t mailer, int flags)
mailer->flags = flags;
/* Fetch the mailer server name and the port in the url_t. */
if ((status = url_get_path (mailer->url, NULL, 0, &pathlen)) != 0
|| pathlen == 0)
return status;
......@@ -255,11 +254,15 @@ sendmail_send_message (mailer_t mailer, message_t msg, address_t from,
}
if (!to)
{
/* The -t seems to be implicit when there are no addresses,
so it shouldn't be necessary to specify it. */
/*
if ((argvec[argc++] = strdup ("-t")) == 0)
{
status = ENOMEM;
goto OPEN_STATE_CLEANUP;
}
*/
}
else
{
......