[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pysieved] Trace... (was: Authentication problem)



Hi,

Maybe someone can do something useful with this trace. It's what I get 
when I try to do authentication via the dovecot socket with the PLAIN 
mechanism. 

1184890637.95 == Connect from ('172.20.20.14', 43290)
1184890637.95 S: '"IMPLEMENTATION" "pysieved 0.9+DEV"\r\n'
1184890637.95 S: '"SASL" "PLAIN"\r\n'
1184890637.95 S: '"SIEVE" "fileinto reject envelope vacation imapflags 
notify subaddress relational comparator-i;ascii-numeric"\r\n'
1184890637.95 C: 'OK\r\n'
1184890638.04 C: 'AUTHENTICATE "PLAIN" "(username and password in base64)"
Traceback (most recent call last):
  File "/usr/local/lib/pysieved/managesieve.py", line 150, in handle
    func(*cmd[1:])
  File "/usr/local/lib/pysieved/managesieve.py", line 234, in 
do_authenticate
    if not self.authenticate(user, passwd):
  File "./pysieved.py", line 98, in authenticate
    return authenticate.auth(self.params)
  File "/usr/local/lib/pysieved/plugins/dovecot.py", line 199, in auth
    auth_string = ('AUTH\t%d\tPLAIN\tservice=%s\tresp=%s' %
KeyError: 'passwd'
1184890638.04 C: 'BYE "Server error"\r\n'
----------------------------------------
Exception happened during processing of request from ('172.20.20.14', 
43290)
Traceback (most recent call last):
  File "SocketServer.py", line 440, in process_request
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "./pysieved.py", line 93, in __init__
    managesieve.RequestHandler.__init__(self, *args)
  File "/usr/local/lib/pysieved/managesieve.py", line 47, in __init__
    server)
  File "SocketServer.py", line 521, in __init__
    self.handle()
  File "/usr/local/lib/pysieved/managesieve.py", line 150, in handle
    func(*cmd[1:])
  File "/usr/local/lib/pysieved/managesieve.py", line 234, in 
do_authenticate
    if not self.authenticate(user, passwd):
  File "./pysieved.py", line 98, in authenticate
    return authenticate.auth(self.params)
  File "/usr/local/lib/pysieved/plugins/dovecot.py", line 199, in auth
    auth_string = ('AUTH\t%d\tPLAIN\tservice=%s\tresp=%s' %
KeyError: 'passwd'
----------------------------------------