Sieve works but sieveshell/sivtest fails

Markus Wernig listener at wernig.net
Sun Jan 11 10:45:07 EST 2004


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)

# telnet localhost sieve

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
"IMPLEMENTATION" "Cyrus timsieved v2.2.2-BETA"
"SASL" "OTP LOGIN PLAIN DIGEST-MD5 CRAM-MD5"
"SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
relational regex"
"STARTTLS"
OK
login
NO "Expected a command. Got something else."
logout 
OK "Logout Complete"
Connection to localhost closed by foreign host.
#

With the same entries as ever in the logfiles.

lg /m






More information about the Info-cyrus mailing list