Bug 33314

Summary: [patch] ports/mail/smtpd: smtpfwdd causes sendmail 8.12.1 to complain about missing file descriptors
Product: Ports & Packages Reporter: marius <marius>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed FIXED    
Severity: Affects Only Me CC: jonny
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

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.