Thanks for the hint, John -- ssmtp works fine after commenting out the 
fcntl().

I guess some commands don't deliver data fast enough to fill the fgets 
buffer. I assume the solution would be to check for EOF rather than to 
expect an empty buffer to be the end of input.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to