Can not logon to Sieve -- need help

Scott Russell lnxgeek at us.ibm.com
Wed Sep 25 23:03:49 EDT 2002


Add the /usr/local perl path to your PERL5LIB env var. For my Red Hat
7.3 box where bash is the default shell for all accounts I added the
following to my /etc/profile:

  PERL5LIB=/usr/local/lib/perl5/site_perl/5.6.1/i386-linux/
  export PERL5LIB

When using sieveshell try having both --user and --auth set as such:

     sieveshell --user=cyrus --auth=cyrus localhost

--
  Scott
  
On Wed, Sep 25, 2002 at 10:19:08PM -0400, Su Li wrote:
> Hi,
> 
> I can not logon to Sieve using sieveshell. Here is what I have done.
> 
> I compiled Cyrus IMAP with sieve. I tested Sieve by 'telnet localhost', I
> got:
> 
>  [root at web9 i386-linux]# telnet localhost sieve
>  Trying 127.0.0.1...
>  Connected to web4 (127.0.0.1).
>  Escape character is '^]'.
>  "IMPLEMENTATION" "Cyrus timsieved v1.1.0"
>  "SASL" "PLAIN OTP DIGEST-MD5 CRAM-MD5"
>  "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress
> relational regex"
>  OK
> 
> It looks OK.
> 
> ----------
> But when I try 'sieveshell --user=cyrus localhost', I got:
> 
>  [root at web9 lib]# sieveshell --user=cyrus localhost
>  Can't locate loadable object for module Cyrus::SIEVE::managesieve in @INC
> (@INC contains:     /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
> /usr/lib/perl5/site_perl/5.6.1/i386-  linux /usr/lib/perl5/site_perl/5.6.1
> /usr/lib/perl5/site_perl/5.6.0/i386-linux    /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux
> /usr/lib/perl5/vendor_perl/5.6.1  /usr/lib/perl5/vendor_perl .) at
> /usr/local/bin/sieveshell line 44
>  Compilation failed in require at /usr/local/bin/sieveshell line 44.
>  BEGIN failed--compilation aborted at /usr/local/bin/sieveshell line 44. 
> 
> -------------
> When I cd to '/usr/local/lib.orig/site_perl/5.6.0/i386-linux', I can get the
> promp:
> 
>  [root at web9 i386-linux]# /usr/local/bin/sieveshell --user=cyrus localhost
>  connecting to localhost
>  Please enter your password: 
> 
> ------------
> But I can not login.
> 
>  Sep 25 22:07:24 web9 sieve[21040]: accepted connection
>  Sep 25 22:07:24 web9 master[21056]: about to exec /usr/cyrus/bin/timsieved
>  Sep 25 22:07:24 web9 sieve[21056]: executed
>  Sep 25 22:07:31 web9 timsieved[21040]: badlogin: web4[127.0.0.1] DIGEST-MD5
> authentication  failure
>  Sep 25 22:07:38 web9 timsieved[21040]: badlogin: web4[127.0.0.1] PLAIN
> authentication  failure
>  Sep 25 22:07:46 web9 timsieved[21040]: badlogin: web4[127.0.0.1] OTP
> authentication failure
>  Sep 25 22:07:51 web9 timsieved[21040]: badlogin: web4[127.0.0.1] CRAM-MD5
> authentication failure
> 
> ------
> Any help on how to get Sieve working is apprieciated.
> 
> Thanks a lot.
> 
> 
> Su

-- 
  Scott Russell (lnxgeek at us.ibm.com)
  Linux Technology Center, System Admin, RHCE.
  Dial 877-735-8200 then ask for 919-543-9289 (TTY)





More information about the Info-cyrus mailing list