On Tue, 2005-03-15 at 19:41 -0600, Dave McCracken wrote: > --On Tuesday, March 15, 2005 17:48:32 -0700 Craig White > <[EMAIL PROTECTED]> wrote: > > > I want to insert sieve scripts for users via sieveshell but I can't seem > > to get that done... > > > > sieveshell -u Alec localhost > > > > will try to authenticate as root, not as Alec and I can't su to Alec > > since he doesn't have a usable shell. Is there any other way? > > Use -a unstead of -u. The correct syntax would be: > > sieveshell -a Alex localhost --- good idea but it doesn't solve my problem
Not sure what my problem is actually - but suspect at the feet of the problem is saslauthd [EMAIL PROTECTED] imap]# telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. * OK srv1.mydomain.net Cyrus IMAP4 v2.2.12-Invoca-RPM-2.2.12-1 server ready . login alec PASSWD . OK User logged in . logout * BYE LOGOUT received . OK Completed Connection closed by foreign host. [EMAIL PROTECTED] imap]# sieveshell -a alec localhost connecting to localhost Please enter your password: unable to connect to server at /usr/bin/sieveshell line 169, <STDIN> line 1. # tail /var/log/maillog ## log of telnet to localhost 143 Mar 15 19:53:27 srv1 master[2548]: about to exec /usr/lib/cyrus- imapd/imapd Mar 15 19:53:27 srv1 imap[2548]: executed Mar 15 19:53:37 srv1 imap[31766]: login: srv1.mydomain.net [127.0.0.1] alec plaintext User logged in # tail /var/log/maillog ## log of unsuccessful connect to sievehell Mar 15 19:53:53 srv1 master[2550]: about to exec /usr/lib/cyrus- imapd/timsieved Mar 15 19:53:53 srv1 sieve[2550]: executed Mar 15 19:53:53 srv1 sieve[2550]: accepted connection Mar 15 19:53:59 srv1 sieve[2550]: badlogin: srv1.mydomain.net[127.0.0.1] PLAIN authentication failure clue is imapd.conf uses ldap... - I have tried MECH=pam MECH=shadow MECH=ldap (same settings in /etc/saslauthd.conf) and /var/log/messages reports the failures... when I try sieveshell -a alec localhost Mar 15 19:58:27 srv1 sieve[2561]: user alec is not allowed to proxy Mar 15 19:58:27 srv1 perl: No worthy mechs found when I try sieveshell -u alec localhost Mar 15 19:58:50 srv1 saslauthd[2492]: do_auth : auth failure: [user=root] [service=sieve] [realm=] [mech=shadow] [reason=Unknown] Mar 15 19:58:50 srv1 sieve[2568]: Password verification failed Mar 15 19:58:50 srv1 perl: No worthy mechs found or with MECH=ldap Mar 15 20:00:29 srv1 saslauthd[2612]: do_auth : auth failure: [user=root] [service=sieve] [realm=] [mech=ldap] [reason=Unknown] Mar 15 20:00:29 srv1 sieve[2619]: Password verification failed Mar 15 20:00:29 srv1 perl: No worthy mechs found My thinking was to blame SELINUX (CENTOS 4) but there is no log of proof on that that I'm aware of... I am perplexed Craig --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html