

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
23 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Need authProg help| From | Sent On | Attachments |
|---|---|---|
| Mark Constable | May 29, 2007 12:54 am | |
| Mark Constable | May 30, 2007 3:35 am | |
| Mark Constable | May 30, 2007 5:17 am | |
| Mark Constable | May 30, 2007 6:27 am | |
| Sam Varshavchik | May 30, 2007 3:16 pm | |
| Mark Constable | May 31, 2007 2:58 am | |
| Sam Varshavchik | May 31, 2007 3:59 am | |
| Mark Constable | May 31, 2007 4:43 am | |
| Sam Varshavchik | May 31, 2007 4:08 pm | |
| Mark Constable | May 31, 2007 7:52 pm | |
| Sam Varshavchik | May 31, 2007 9:00 pm | |
| Mark Constable | Jun 1, 2007 12:21 am | |
| Sam Varshavchik | Jun 1, 2007 3:58 am | |
| Mark Constable | Jun 1, 2007 5:59 am | |
| Aidas Kasparas | Jun 1, 2007 7:15 am | |
| Sam Varshavchik | Jun 1, 2007 3:42 pm | |
| Mark Constable | Jun 2, 2007 7:19 am | |
| Gordon Messmer | Jun 2, 2007 9:58 pm | |
| Mark Constable | Jun 3, 2007 3:37 am | |
| Gordon Messmer | Jun 3, 2007 2:12 pm | |
| Mark Constable | Jun 4, 2007 5:25 am | |
| Gordon Messmer | Jun 4, 2007 9:12 am | |
| Mark Constable | Jun 4, 2007 10:01 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [courier-users] Need authProg help | Actions... |
|---|---|---|
| From: | Sam Varshavchik (mrs...@courier-mta.com) | |
| Date: | May 31, 2007 3:59:31 am | |
| List: | net.sourceforge.lists.courier-users | |
Mark Constable writes:
On Wednesday 30 May 2007 22:17:22 Sam Varshavchik wrote:
First, set the number of daemon processes to 1, then strace the child authdaemond process.
Thanks Sam.
Apologies to everyone for the large strace dump but I still can't pick why it's failing (probably in the last 20-30 lines of interest). If I change authmodulelist="authpipe" back to authmodulelist="authmysql" then everything works so I can assume that authdaemond is otherwise working correctly. This is a little suspect...
[pid 17744] open("/etc/authlib/authProg", O_RDONLY|O_LARGEFILE) = 6
[pid 17744] ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfe2d4c8) = -1 ENOTTY
(Inappropriate ioctl for device)
This is normal.
# strace -f -p 17607
Process 17607 attached - interrupt to quit
select(6, [3 5], NULL, NULL, {65, 712000}) = 1 (in [5], left {62, 252000})
accept(5, {sa_family=AF_FILE, path=@}, [2]) = 4
fcntl64(4, F_SETFL, O_RDONLY) = 0
select(5, [4], NULL, NULL, {10, 0}) = 1 (in [4], left {10, 0})
read(4, "AUTH 40\nimap\nlogin\nadmin@xxxx"..., 8192) = 48
write(2, "DEBUG: received auth request, se"..., 59) = 59
write(2, "DEBUG: authpipe: trying this mod"..., 36) = 36
write(2, "DEBUG: closing pipe\n", 20) = 20
write(2, "DEBUG: forking new one\n", 23) = 23
pipe([6, 7]) = 0
pipe([8, 9]) = 0
write(2, "DEBUG: attempting to fork\n", 26) = 26
clone(Process 17744 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e50708) = 17744
[pid 17607] write(2, "DEBUG: Pipe auth. started Pipe-p"..., 51) = 51
# some lines removed
Well, that's where the interesting stuff probably was. What the child process does is not important. The important stuff is what the parent process does.
Remove the -f flag from strace, let it trace just the parent process.







