Re: weird qmail-popup behaviour?

2001-07-06 Thread Arjen van Drie
On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote: On Thu, Jul 05, 2001 at 05:20:54PM +0200, Arjen van Drie wrote: [snip] This is the 'run' script started by supervise: #!/bin/sh exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \

Re: weird qmail-popup behaviour?

2001-07-06 Thread Arjen van Drie
On Fri, Jul 06, 2001 at 08:42:57AM +0200, Arjen van Drie wrote: On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote: On Thu, Jul 05, 2001 at 05:20:54PM +0200, Arjen van Drie wrote: [snip] This is the 'run' script started by supervise: #!/bin/sh exec /usr/local/bin/tcpserver -x

Re: weird qmail-popup behaviour?

2001-07-06 Thread Arjen van Drie
On Fri, Jul 06, 2001 at 12:04:39AM -0700, Ian Lance Taylor wrote: Arjen van Drie [EMAIL PROTECTED] writes: On Thu, Jul 05, 2001 at 11:21:10PM +0200, Peter van Dijk wrote: Could you show us a hexdump of that file? This is interesting :) 000 2123 622f 6e69 732f 0a68 7865 6365 2f20

Re: weird qmail-popup behaviour?

2001-07-06 Thread Peter van Dijk
On Fri, Jul 06, 2001 at 11:00:12PM +0200, Arjen van Drie wrote: [snip] You will see this if you use `cat -ve' on the file. Thanks all. It works now. How does one read hexdumps? Is there a howto or a table somewhere? On FreeBSD I like hexdump -C a lot, which gives output like: bash$

Re: weird qmail-popup behaviour?

2001-07-06 Thread Scott Gifford
Peter van Dijk [EMAIL PROTECTED] writes: On Fri, Jul 06, 2001 at 11:00:12PM +0200, Arjen van Drie wrote: [snip] You will see this if you use `cat -ve' on the file. Thanks all. It works now. How does one read hexdumps? Is there a howto or a table somewhere? [...] For reading

Re: weird qmail-popup behaviour?

2001-07-06 Thread Adam McKenna
On Sat, Jul 07, 2001 at 01:38:02AM +0200, Peter van Dijk wrote: Which immediately shows where exactly the spaces are and everything. cat -ev is helpful as well. --Adam

Re: weird qmail-popup behaviour?

2001-07-05 Thread Arjen van Drie
On Wed, Jul 04, 2001 at 10:01:49AM +0200, Peter van Dijk wrote: On Wed, Jul 04, 2001 at 08:17:13AM +0200, Arjen van Drie wrote: [snip] Any ideas? Hmm, no clue. Tried stracing? Yeah, but that doesn't tell me much: [root@ids /root]# strace -p 21534 select(1, [0], NULL, NULL, {1185, 48}) =

Re: weird qmail-popup behaviour?

2001-07-05 Thread Peter van Dijk
On Thu, Jul 05, 2001 at 08:48:11AM +0200, Arjen van Drie wrote: On Wed, Jul 04, 2001 at 10:01:49AM +0200, Peter van Dijk wrote: On Wed, Jul 04, 2001 at 08:17:13AM +0200, Arjen van Drie wrote: [snip] Any ideas? Hmm, no clue. Tried stracing? Yeah, but that doesn't tell me much:

Re: weird qmail-popup behaviour?

2001-07-05 Thread Arjen van Drie
On Thu, Jul 05, 2001 at 01:27:05PM +0200, Peter van Dijk wrote: Try adding -f, so we see what the child does. Ok. First the one by hand, i only left the relevant strace output [pid 13002] munmap(0x40017000, 4096)= 0 [pid 13002] setgroups32(1, [513]) = 0 [pid 13002] setgid32(513)

Re: weird qmail-popup behaviour?

2001-07-05 Thread Charles Cazabon
Arjen van Drie [EMAIL PROTECTED] wrote: [pid 13202] chdir(/home/qwerty) = 0 [pid 13202] execve(/usr/local/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] execve(/usr/sbin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202]

Re: weird qmail-popup behaviour?

2001-07-05 Thread Arjen van Drie
On Thu, Jul 05, 2001 at 08:08:25AM -0600, Charles Cazabon wrote: Arjen van Drie [EMAIL PROTECTED] wrote: [pid 13202] chdir(/home/qwerty) = 0 [pid 13202] execve(/usr/local/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] execve(/usr/sbin/ , [ ], [/* 18

Re: weird qmail-popup behaviour?

2001-07-05 Thread Peter van Dijk
On Thu, Jul 05, 2001 at 05:20:54PM +0200, Arjen van Drie wrote: [snip] This is the 'run' script started by supervise: #!/bin/sh exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \ /var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword \

Re: weird qmail-popup behaviour?

2001-07-04 Thread Peter van Dijk
On Wed, Jul 04, 2001 at 08:17:13AM +0200, Arjen van Drie wrote: [snip] Any ideas? Hmm, no clue. Tried stracing? Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html

weird qmail-popup behaviour?

2001-07-03 Thread Arjen van Drie
Uhmm, something I don't get. When I run as root by hand: /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \ /var/qmail/bin/qmail-popup my.hostname.ext /bin/checkpassword \ /var/qmail/bin/qmail-pop3d Maildir 21 I get: [arjen@bami arjen]$ telnet my.hostname.ext 110