sieveshell

Craig White craigwhite at azapple.com
Wed Mar 16 09:27:58 EST 2005


On Tue, 2005-03-15 at 19:41 -0600, Dave McCracken wrote:
> --On Tuesday, March 15, 2005 17:48:32 -0700 Craig White 
> <craigwhite at azapple.com> 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
> 
----
still struggling here...

starting saslauthd with 'saslauthd -a pam -d'

shows that

sieveshell -a alec localhost

does indeed authenticate but sieveshell still reports failure...

unable to connect to server at /usr/bin/sieveshell line 169, <STDIN>
line 1.

an strace of this sieveshell attempt ends with...

send(5, "<37>Mar 16 06:37:27 perl: No wor"..., 47, 0) = 47
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
getpeername(4, {sa_family=AF_INET, sin_port=htons(2000),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
getsockname(4, {sa_family=AF_INET, sin_port=htons(47252),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
uname({sys="Linux", node="MY_FQDN_REMOVED", ...}) = 0
write(2, "unable to connect to server at /"..., 77unable to connect to
server at /usr/bin/sieveshell line 169, <STDIN> line 1.

how can I fix this?

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




More information about the Info-cyrus mailing list