Re: Deferred email with remote protocol error in reply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Oct 2006, Wesley Craig wrote:
> The larger problem is that daemons shouldn't be impacted by libraries  
> that inappropriately write to stdout or stderr.  As such, lmtpd  
> should have closed stdin, stdout, stderr and reopening them with,  
> e.g., '/', O_RDONLY.  Accepted connections should not use file  
> descriptors 0, 1, or 2, since those file descriptors are frequently  
> (mis)used by underlying libraries.  This is the fatal error in inetd,  
> and apparently in cyrus master?

Cyrus master has issues with FDs 0,1 and 2 since ancient times.  If anything
in the code, anywhere, closes them and don't reopen them immediately,
something like syslog() or another offender will promptly take them over and
cause a lot of ruckus later.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux