PDA

View Full Version : Solaris Socket Operation Problem


Anonymous
02-10-2005, 01:44 PM
I recently upgraded to qmail-scanner 1.24st. Now I'm getting these messages in the qmail-smtp log file:

@40000000420b900c1ce49d34 unix dgram connect: Socket operation on non-socket at /dev/fd/3 line 2795

The message gets delivered fine, but SquirrelMail doesn't like it and won't copy the message into the "sent" folder (even though it does get delivered). I've a feeling it has something to do with the suid status of the qmail-scanner.pl script. Has anyone else seen this or know of a way to fix it??

AThinkTank
09-16-2006, 05:58 PM
I am having this exact same issue on a Solaris 10 install.

@40000000450c5b5d1c71651c unix dgram connect: Socket operation on non-socket at /dev/fd/3 line 2496

"Anonymous", like they will actually respond, what was your solution?
Any hints or pointers from anyone else? I will be happy to post what ever debug information you find appropriate. My guess is it has to do something with qmail-inject, because it happens also on the ./test_installation.sh -doit script for qmail-scanner.

AThinkTank
09-16-2006, 06:28 PM
funny, hours search, post, minutes later, a solution comes to me.

using information from http://www.qmailrocks.org/qmrbb/showthread.php?t=3167

vi /var/qmail/bin/qmail-scanner-queue.pl
found at line #81
#setlogsock('unix');
setlogsock('stream');

my tests work, and now can send email with no errors.
also, can run the tests in qmail-scanner just fine too.

Miller time!!!

barcajunior
01-06-2008, 03:33 AM
The solution did work.