23 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Need authProg help
FromSent OnAttachments
Mark ConstableMay 29, 2007 12:54 am 
Mark ConstableMay 30, 2007 3:35 am 
Mark ConstableMay 30, 2007 5:17 am 
Mark ConstableMay 30, 2007 6:27 am 
Sam VarshavchikMay 30, 2007 3:16 pm 
Mark ConstableMay 31, 2007 2:58 am 
Sam VarshavchikMay 31, 2007 3:59 am 
Mark ConstableMay 31, 2007 4:43 am 
Sam VarshavchikMay 31, 2007 4:08 pm 
Mark ConstableMay 31, 2007 7:52 pm 
Sam VarshavchikMay 31, 2007 9:00 pm 
Mark ConstableJun 1, 2007 12:21 am 
Sam VarshavchikJun 1, 2007 3:58 am 
Mark ConstableJun 1, 2007 5:59 am 
Aidas KasparasJun 1, 2007 7:15 am 
Sam VarshavchikJun 1, 2007 3:42 pm 
Mark ConstableJun 2, 2007 7:19 am 
Gordon MessmerJun 2, 2007 9:58 pm 
Mark ConstableJun 3, 2007 3:37 am 
Gordon MessmerJun 3, 2007 2:12 pm 
Mark ConstableJun 4, 2007 5:25 am 
Gordon MessmerJun 4, 2007 9:12 am 
Mark ConstableJun 4, 2007 10:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Need authProg helpActions...
From:Mark Constable (mar@renta.net)
Date:May 30, 2007 5:17:00 am
List:net.sourceforge.lists.courier-users

On Wednesday 30 May 2007 10:36:15 Mark Constable wrote:

I'm trying to get courier-authlib-pipe 0.58-4 on Debian4 to work and have got this far... any suggestions ?

May 29 03:18:24 us imapd-ssl: authentication error: Input/output error May 29 03:18:24 us authdaemond: cat: write error: Broken pipe May 29 03:25:58 us authdaemond: /etc/courier/authProg: line 23: echo: write
error: Broken pipe

I tried this authtest below using strace on authdaemond but all I could pick up is the broken pipe error with no further information why the pipe is broken. Can anyone suggest anything else I could try to determine why the STDOUT pipe is breaking ?

# strace -f /usr/lib/courier/courier-authlib/authdaemond 2>&1

# authtest -s imap adm@xxxx.com xxxxxx Authentication FAILED: Input/output error

... [pid 32375] fstat64(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 [pid 32375] fstat64(0, {st_mode=S_IFREG|0600, st_size=95, ...}) = 0 [pid 32375] read(0, "ADDRESS=adm@xxxx.com\nPASSWD2=x"..., 4096) = 95 [pid 32375] write(1, "ADDRESS=adm@xxxx.com\nPASSWD2=x"..., 95) = -1 EPIPE
(Broken pipe) [pid 32375] --- SIGPIPE (Broken pipe) @ 0 (0) --- ...

--markc