On Friday 01 June 2007 04:01:01 Sam Varshavchik wrote:
> > so I can't work out which virtual user to check for. Is this
> > something else I am missing or a "bug" with the authdaemon
> > API ?
>
> Try to log in by telnetting to the port and manually entering the login
> command -- check for a stupid mail client that strips off the domain port,
> or uses the domain part where sane software normally uses an explicitly
> defined hostname.
No obscure config setting I might be missing ?
Sorry, I should have provided this in the last email...
Jun 1 03:05:26 us courieresmtpd: started,ip=[::ffff:xx.xx.xx.xx]
Jun 1 03:05:37 us courieresmtpd: EHLO mail.renta.net
Jun 1 03:05:50 us courieresmtpd: MAIL FROM: <[EMAIL PROTECTED]>
Jun 1 03:06:20 us courieresmtpd: RCPT TO: <[EMAIL PROTECTED]>
Jun 1 03:06:21 us authdaemond: received userid lookup request: admin
Jun 1 03:06:21 us authdaemond: authpipe: trying this module
Jun 1 03:06:21 us authdaemond: closing pipe
Jun 1 03:06:21 us authdaemond: forking new one
Jun 1 03:06:21 us authdaemond: attempting to fork
Jun 1 03:06:21 us authdaemond: executing /etc/courier/authProg
Jun 1 03:06:21 us authdaemond: Pipe auth. started Pipe-program (pid 23729)
Jun 1 03:06:21 us authdaemond: new pipe has in: 8, out: 7
Jun 1 03:06:21 us authdaemond: + read TMPIN
Jun 1 03:06:21 us authdaemond: ++ echo 'PRE . courier admin'
> Again, a strace on the authdaemond parent process might be revealing.
select(6, [3 5], NULL, NULL, {300, 0}
) = 1 (in [5], left {227, 456000})
accept(5, {sa_family=AF_FILE, [EMAIL PROTECTED], [2]) = 4
fcntl64(4, F_SETFL, O_RDONLY) = 0
select(5, [4], NULL, NULL, {10, 0}) = 1 (in [4], left {10, 0})
read(4, "PRE . courier admin\n", 8192) = 20
write(2, "DEBUG: received userid lookup re"..., 45) = 45
write(2, "DEBUG: authpipe: trying this mod"..., 36) = 36
select(9, [8], NULL, NULL, {0, 0}) = 1 (in [8], left {0, 0})
write(2, "DEBUG: child died or sent spurio"..., 52) = 52
write(2, "DEBUG: closing pipe\n", 20) = 20
close(8) = 0
close(7) = 0
write(2, "DEBUG: trying to wait for child "..., 53) = 53
waitpid(5871, NULL, WNOHANG) = 5871
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(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7e6a928) = 7237
write(2, "DEBUG: Pipe auth. started Pipe-p"..., 50) = 50
close(6) = 0
close(9) = 0
write(2, "DEBUG: new pipe has in: 8, out: "..., 34) = 34
select(8, NULL, [7], NULL, {10, 0}) = 1 (out [7], left {10, 0})
write(7, "PRE . courier admin\n", 20) = 20
time([1180682312]) = 1180682312
time([1180682312]) = 1180682312
select(9, [8], NULL, NULL, {30, 0}) = 1 (in [8], left {29, 867000})
--- SIGCHLD (Child exited) @ 0 (0) ---
read(8, "FAIL\n", 8191) = 5
write(2, "DEBUG: authpipe: REJECT - try ne"..., 42) = 42
select(5, NULL, [4], NULL, {30, 0}) = 1 (out [4], left {30, 0})
write(4, "FAIL\n", 5) = 5
write(2, "DEBUG: FAIL, all modules rejecte"..., 34) = 34
close(4) = 0
select(6, [3 5], NULL, NULL, {300, 0}
--markc
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users