Bug 33314 - [patch] ports/mail/smtpd: smtpfwdd causes sendmail 8.12.1 to complain about missing file descriptors
Summary: [patch] ports/mail/smtpd: smtpfwdd causes sendmail 8.12.1 to complain about m...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-30 00:40 UTC by marius
Modified: 2002-07-07 09:14 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (669 bytes, patch)
2001-12-30 00:40 UTC, marius
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marius 2001-12-30 00:40:01 UTC
since version 8.12.1 (8.12.0 ?) sendmail complains if a program piping
data to it doesn't have stdin, stdout and stderr opened; smtpfwdd
doesn't open stdout and stderr when forwarding a mail to sendmail,
therefore an anoying system messages is generated for each incoming mail:
Dec 30 00:05:44 alchemy sendmail[96078]: SYSERR(uucp): File descriptors missing on startup: stdout, stderr: Bad file descriptor

Fix: just open /dev/null as stdout and stderr...
How-To-Repeat: use current ports/mail/sendmail (version 8.12.1) together with smtpd
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2002-03-30 14:43:43 UTC
State Changed
From-To: open->closed

Committed after timeout from maintainer, Thanks.