Re: [SLE] Sieve: unable to connect at line 169
After installing packages: perl-Mcrypt-2.4.8.2-468 perl-IO-stringy-2.109-29 and restarting cyrus-imap with sieveshell i got the same error: can i help you enabling any debugging log with syslogd? tell me. Gianni. Gianni Socionovo wrote:
my rpm -qa|grep ... shows: perl-Authen-SASL-2.08-2 perl-Authen-SASL-Cyrus-0.11-2 perl-TermReadKey-2.21-294 perl-Digest-SHA1-2.10-2 perl-Cyrus-SIEVE-managesieve-2.2.8-6
I don't have
perl-Mcrypt-2.4.8.2-468 perl-IO-stringy-2.109-29
i try to onstall them and then i will feeback you the results.
Sandy Drobic wrote:
Gianni Socionovo wrote:
Okay, we're getting closer. Normally saslauthd does not support md5, it only supports plain and login. The example you mentioned also set sasl_mech_list=plain. Though you did mention that Imap was working for you, right?
Yes, you are right.
If you can authenticate to Imap you should be able to authenticate to sieve the same way. I'm starting to believe that auth is not the real problem.
connecting to localhost unable to connect to server at /usr/bin/sieveshell line 169
I would like you to check something...I dimly remember that I had a bit of trouble, too, when I tried to set up sieve. Somewhere in the Smartsieve docs they mentioned that a libmcrypt was needed for sieve to work correctly. what does rpm -qa | grep -i "crypt" gives as result?
my rpm -qa|grep -i "crypt" shows the following packages:
libxcrypt-2.2-2 libgcrypt-1.2.0.-3 php4-mycrypt-4.3.8-8 perl-Crypt-SmbHash-0.02-2 libmcrypt-2.5.7-123
Okay, I have also installed perl-mcrypt. In the meantime I took a closer look at /usr/bin/sieveshell to discover what sieveshell needs to run. It's just a perl script with some required modules. Could you please check if you have these perl modules installed:
perl-Authen-SASL-Cyrus-0.11-2 perl-Mcrypt-2.4.8.2-468 perl-Authen-SASL-2.08-2 perl-TermReadKey-2.21-294 perl-Digest-SHA1-2.10-2 perl-IO-stringy-2.109-29 perl-Cyrus-SIEVE-managesieve-2.2.8-6
Especially the last module is needed to run sieveshell.
Sandy
-- _________________________________________________ */Gianni Socionovo/* /E-Business Manager/ MEP S.p.A. Via Papa Giovanni XXIII, 49 61045 Pergola (PU) ITALY /email: giannisocionovo@mepsaws.it <mailto:giannisocionovo@mepsaws.it>/ /Web Page: http://www.mepsaws.com/ Tel. +39 0721 737260 FAx. +39 0721 734533
-- _________________________________________________ */Gianni Socionovo/* /E-Business Manager/ MEP S.p.A. Via Papa Giovanni XXIII, 49 61045 Pergola (PU) ITALY /email: giannisocionovo@mepsaws.it <mailto:giannisocionovo@mepsaws.it>/ /Web Page: http://www.mepsaws.com/ Tel. +39 0721 737260 FAx. +39 0721 734533
Gianni Socionovo wrote:
After installing packages:
perl-Mcrypt-2.4.8.2-468 perl-IO-stringy-2.109-29
and restarting cyrus-imap with sieveshell i got the same error: can i help you enabling any debugging log with syslogd?
Please use strace to get a verbose log of the sieveshell process: strace -o/tmp/sievetrace.txt sieveshell -u mailuser -a mailuser localhost Please be aware that, if you type in any passwords, while strace is running the process, they will be logged also to the outputfile of strace. Then look at the tracefile to see, which files sieveshell tries to open. Some files may not be necessary and only produce an informationary warning, while other missing files will result in aborting the process. Those are what we are looking for. The trace file can be a bit long (my trace file had more than a 1000 lines just for the login process). Sandy
participants (2)
-
Gianni Socionovo
-
Sandy Drobic