On Sun, 11 Jan 2004, Markus Wernig wrote: > On Sun, 2004-01-11 at 16:22, Ken Murchison wrote: > > Markus Wernig wrote: > > > > > Hallo > > > > > > I have done a fresh compile of cyrus-imap 2.2.2-Beta on Solaris 9. > > > Everything works quite as expected (it took some time to find out about > > > the new bytecode format of sieve scripts, though). > > > > > > The only thing that keeps failing is sieve access via the sieve socket. > > > > > > # sivtest -u user localhost (with or without further options) > > > always results in: > > > # failure: SASL initialization > > > > > > # sieveshell -u user localhost > > > has sieveshell die with: > > > # unable to connect to server at /usr/local/bin/sieveshell line 174 > > > > > > When I enter a "print $!" in sieveshell after the call to > > > sieve_get_handle I get a "Bad file number" - rather obviously, as the > > > call didn't complete successfully and no handle was returned. > > > > > > > > > Both methods (sivtest and sieveshell) give me no error in > > > /var/log/local6.log. The log shows the connection attempt though: > > > > Are you seeing any errors in auth.log? What do you see when you telnet > > to the sieve port? > > I do see those: > Jan 11 13:53:33 alhambra perl5.8.0[12486]: [ID 702911 auth.notice] Bad > IPLOCALPORT value > Jan 11 13:55:57 alhambra sieve[12506]: [ID 702911 auth.notice] Bad > IPREMOTEPORT value > Jan 11 13:55:57 alhambra sieve[12506]: [ID 702911 auth.notice] Bad > IPLOCALPORT value > > when using sieveshell > > and > > Jan 11 13:58:07 alhambra sivtest[12535]: [ID 702911 auth.notice] Bad > IPLOCALPORT value > Jan 11 13:58:07 alhambra sieve[12536]: [ID 702911 auth.notice] Bad > IPREMOTEPORT value > Jan 11 13:58:07 alhambra sieve[12536]: [ID 702911 auth.notice] Bad > IPLOCALPORT value > > when using sivtest. > > But I have ignored them so far, since they seem somehow ldap-related, I > see them from imap[s], sendmail as well (which work both without any > issues, SMTPAUTH and all)
It is getnameinfo() related. Check the following thread: http://asg.web.cmu.edu/archive/message.php?mailbox=archive.info-cyrus&msg=26349 -- Igor