Skip to content

Commit 9cd95f0

Browse files
Update src/os_maild/curlmail.c
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 353a5a0 commit 9cd95f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/os_maild/curlmail.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,8 +542,8 @@ int OS_Sendmail(MailConfig *mail, struct tm *p)
542542
}
543543

544544
if (mail->smtpserver && mail->smtpserver[0] == '/') {
545-
/* Local sendmail path not supported in curl build; would need fallback to plain path */
546-
merror("%s: Local sendmail path not supported when built with USE_CURL.", ARGV0);
545+
/* Local sendmail path (e.g. /usr/sbin/sendmail) is not supported in USE_SMTP_CURL builds. */
546+
merror("%s: Invalid smtp_server configuration: local sendmail paths are not supported when built with USE_SMTP_CURL. Please configure smtp_server as an SMTP host[:port].", ARGV0);
547547
return (OS_INVALID);
548548
}
549549

0 commit comments

Comments
 (0)