Re: weird qmail-popup behaviour?
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 \ /var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword \ /var/qmail/bin/qmail-pop3d Maildir 21 Could you show us a hexdump of that file? This is interesting :) 000 2123 622f 6e69 732f 0a68 7865 6365 2f20 010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374 020 7370 7265 6576 2072 782d 2f20 7465 2f63 030 6374 7270 6c75 7365 642e 742f 7063 702e 040 706f 2e33 6463 2062 762d 2d20 2052 482d 050 2d20 206c 2030 2030 3131 2030 0a5c 2f09 060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71 070 6961 2d6c 6f70 7570 2070 6469 2e73 7274 080 7669 6169 2e6c 7633 2e61 656e 2074 622f 090 6e69 632f 6568 6b63 6170 7373 6f77 6472 0a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c 0b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064 0c0 614d 6c69 6964 2072 3e32 3126 0a0a 0ce Remember, it _only_ doesn't work when run by supervise. When run without supervise it works fine :\ -- Grtz, Arjen.
Re: weird qmail-popup behaviour?
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 /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \ /var/qmail/bin/qmail-popup ids.trivial.3va.net /bin/checkpassword \ /var/qmail/bin/qmail-pop3d Maildir 21 When i run this one like this: #!/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 /var/qmail/bin/qmail-pop3d Maildir 21 it works! Duh! All other qmail run scripts with multiple lines ended by '\' do work. Nou breekt mijn klomp :\ (Dutch expression: now my wooden shoe breaks). Could you show us a hexdump of that file? This is interesting :) 000 2123 622f 6e69 732f 0a68 7865 6365 2f20 010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374 020 7370 7265 6576 2072 782d 2f20 7465 2f63 030 6374 7270 6c75 7365 642e 742f 7063 702e 040 706f 2e33 6463 2062 762d 2d20 2052 482d 050 2d20 206c 2030 2030 3131 2030 0a5c 2f09 060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71 070 6961 2d6c 6f70 7570 2070 6469 2e73 7274 080 7669 6169 2e6c 7633 2e61 656e 2074 622f 090 6e69 632f 6568 6b63 6170 7373 6f77 6472 0a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c 0b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064 0c0 614d 6c69 6964 2072 3e32 3126 0a0a 0ce Remember, it _only_ doesn't work when run by supervise. When run without supervise it works fine :\ -- Grtz, Arjen. -- Grtz, Arjen.
Re: weird qmail-popup behaviour?
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 010 7375 2f72 6f6c 6163 2f6c 6962 2f6e 6374 020 7370 7265 6576 2072 782d 2f20 7465 2f63 030 6374 7270 6c75 7365 642e 742f 7063 702e 040 706f 2e33 6463 2062 762d 2d20 2052 482d 050 2d20 206c 2030 2030 3131 2030 0a5c 2f09 060 6176 2f72 6d71 6961 2f6c 6962 2f6e 6d71 070 6961 2d6c 6f70 7570 2070 6469 2e73 7274 080 7669 6169 2e6c 7633 2e61 656e 2074 622f 090 6e69 632f 6568 6b63 6170 7373 6f77 6472 0a0 5c20 0a20 2f09 6176 2f72 6d71 6961 2f6c 0b0 6962 2f6e 6d71 6961 2d6c 6f70 3370 2064 0c0 614d 6c69 6964 2072 3e32 3126 0a0a 0ce There is a space after the second backslash. This means that the backslash is not a line continuation character, since that only happens if the backslash appears at the end of the line. That means that checkpassword is being run with no arguments, which causes it to silently and immediately exit. 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? -- Grtz, Arjen.
Re: weird qmail-popup behaviour?
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$ hexdump -C /var/service/qmail-send/run 23 21 2f 62 69 6e 2f 73 68 0a 65 78 65 63 20 65 |#!/bin/sh.exec e| 0010 6e 76 20 2d 20 50 41 54 48 3d 22 2f 76 61 72 2f |nv - PATH=/var/| 0020 71 6d 61 69 6c 2f 62 69 6e 3a 24 50 41 54 48 22 |qmail/bin:$PATH| 0030 20 71 6d 61 69 6c 2d 73 74 61 72 74 20 2e 2f 4d | qmail-start ./M| 0040 61 69 6c 64 69 72 2f 0a |aildir/.| 0048 Which immediately shows where exactly the spaces are and everything. For reading hexdumps without ascii side-output, you need to convert the hex codes to ascii. Google can teach you a lot about that, I don't have anything handy right now (and too much blood in my alcohol). Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html
Re: weird qmail-popup behaviour?
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 hexdumps without ascii side-output, you need to convert the hex codes to ascii. Google can teach you a lot about that, I don't have anything handy right now (and too much blood in my alcohol). On Linux, see the ascii(7) manpage. If you're not, search around for it, or email me off-list and I'll send you a copy. ScottG.
Re: weird qmail-popup behaviour?
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?
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}) = 1 (in [0], left {1172, 22}) read(0, user qwerty\r\n, 128) = 13 select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0}) write(1, +OK \r\n, 6) = 6 select(1, [0], NULL, NULL, {1200, 0}) = 1 (in [0], left {1196, 93}) read(0, pass qwerqwer\r\n, 128) = 15 fcntl64(1, F_GETFL) = 0x2 (flags O_RDWR) close(2)= 0 fcntl64(1, F_DUPFD, 2) = 2 close(3)= -1 EBADF (Bad file descriptor) pipe([3, 4])= 0 fork() = 21569 close(3)= 0 write(4, qwerty\0qwerqwer\021534.994315366..., 54) = 54 close(4)= 0 --- SIGCHLD (Child exited) --- wait4(21569, [WIFEXITED(s) WEXITSTATUS(s) == 111], 0, NULL) = 21569 select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0}) write(1, -ERR authorization failed\r\n, 27) = 27 _exit(1)= ? -- Grtz, Arjen.
Re: weird qmail-popup behaviour?
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: [root@ids /root]# strace -p 21534 Try adding -f, so we see what the child does. Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html
Re: weird qmail-popup behaviour?
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) = 0 [pid 13002] setuid32(513) = 0 [pid 13002] chdir(/home/qwerty) = 0 [pid 13002] execve(/var/qmail/bin/qmail-pop3d, [/var/qmail/bin/qmail-pop3d, Maildir], [/* 31 vars */]) = 0 [pid 13002] uname({sys=Linux, node=ids.trivial.3va.net, ...}) = 0 [pid 13002] brk(0) = 0x804e210 [pid 13002] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000 [pid 13002] open(/etc/ld.so.preload, O_RDONLY) = -1 ENOENT (No such file or directory) [pid 13002] open(/etc/ld.so.cache, O_RDONLY) = 3 [pid 13002] fstat64(3, {st_mode=S_IFREG|0644, st_size=19076, ...}) = 0 [pid 13002] old_mmap(NULL, 19076, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 [pid 13002] close(3)= 0 [pid 13002] open(/lib/libc.so.6, O_RDONLY) = 3 [pid 13002] read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0H\277\1..., 1024) = 1024 and all goes well. Then started by svscan: [pid 13202] munmap(0x40017000, 4096)= 0 [pid 13202] setgroups32(1, [513]) = 0 [pid 13202] setgid32(513) = 0 [pid 13202] setuid32(513) = 0 [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] execve(/usr/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] execve(/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] _exit(111) = ? ... wait4 resumed [WIFEXITED(s) WEXITSTATUS(s) == 111], 0, NULL) = 13202 --- SIGCHLD (Child exited) --- select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200, 0}) write(1, -ERR authorization failed\r\n, 27) = 27 _exit(1)= ? Although /var/qmail/bin is in $PATH. -- Grtz, Arjen.
Re: weird qmail-popup behaviour?
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] execve(/usr/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] execve(/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] _exit(111) = ? It's searching the path, trying to exec a program named -- a single space. That can't be correct. What's in the script that starts this process again? Charles -- --- Charles Cazabon[EMAIL PROTECTED] GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/ ---
Re: weird qmail-popup behaviour?
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 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] execve(/usr/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] execve(/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file or directory) [pid 13202] _exit(111) = ? It's searching the path, trying to exec a program named -- a single space. That can't be correct. What's in the script that starts this process again? 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 \ /var/qmail/bin/qmail-pop3d Maildir 21 -- Grtz, Arjen.
Re: weird qmail-popup behaviour?
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 \ /var/qmail/bin/qmail-pop3d Maildir 21 Could you show us a hexdump of that file? This is interesting :) Greetz, Peter -- Against Free Sex! http://www.dataloss.nl/Megahard_en.html
Re: weird qmail-popup behaviour?
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?
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 Trying 172.16.3.1... Connected to my.hostname.ext. Escape character is '^]'. +OK [EMAIL PROTECTED] user qwerty +OK pass qwerqwer +OK But when i run exactly the same using supervise in my bootup script: #!/bin/sh #exec /usr/local/bin/softlimit -m 200 \ exec /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 (softlimit also gives me an error, says it doesn't know the -m option) i get: [arjen@bami arjen]$ telnet my.hostname.ext 110 Trying 172.16.3.1... Connected to my.hostname.ext. Escape character is '^]'. +OK [EMAIL PROTECTED] user qwerty +OK pass qwerqwer -ERR authorization failed Connection closed by foreign host. Any ideas? -- Grtz, Arjen.
Re: weird
On Thu, May 10, 2001 at 03:55:16PM -0500, Mate Wierdl wrote: A bit offtopic: A subscriber regularly gets warning messages whenever a certain guy posts to the list. This poster has this From: Francisco Stefano Wechsler [EMAIL PROTECTED] The domain wechsler.fca.unesp.br is nonexistent, and the subscriber's ISP (TU-Berlin.DE) has the policy that if there is no valid sender address in any header field, they bounce the message. Hence the message bounces back to ezmlm, which then sends a probe to the subscriber. Is there any rfc that is violated by TU-Berlin.DE's policy? Quotes from RFC2821 (which replaces RFC821): When RFC 822 format [7, 32] is being used, the mail data include the memo header items such as Date, Subject, To, Cc, From. Server SMTP systems SHOULD NOT reject messages based on perceived defects in the RFC 822 or MIME [12] message header or message body. In particular, they MUST NOT reject messages in which the numbers of Resent-fields do not match or Resent-to appears without Resent-from and/or Resent- date. As discussed in section 2.4.1, a relay SMTP has no need to inspect or act upon the headers or body of the message data and MUST NOT do so except to add its own Received: header (section 4.4) and, optionally, to attempt to detect looping in the mail system (see section 6.2). [note: section 2.4.1 doesn't exist in RFC2821, nor in RFC821] -- recipients buffer The minimum total number of recipients that must be buffered is 100 recipients. Rejection of messages (for excessive recipients) with fewer than 100 RCPT commands is a violation of this specification. The general principle that relaying SMTP servers MUST NOT, and delivery SMTP servers SHOULD NOT, perform validation tests on message headers suggests that rejecting a message based on the total number of recipients shown in header fields is to be discouraged. Sounds like a SHOULD NOT. However, the general principle this last quote refers to, doesn't seem to be mentioned specifically anywhere. Greetz, Peter.
Re: weird
On Fri, May 11, 2001 at 09:56:10AM +0200, Peter van Dijk wrote: [note: section 2.4.1 doesn't exist in RFC2821, nor in RFC821] The author means section 2.4. Mate
weird
A bit offtopic: A subscriber regularly gets warning messages whenever a certain guy posts to the list. This poster has this From: Francisco Stefano Wechsler [EMAIL PROTECTED] The domain wechsler.fca.unesp.br is nonexistent, and the subscriber's ISP (TU-Berlin.DE) has the policy that if there is no valid sender address in any header field, they bounce the message. Hence the message bounces back to ezmlm, which then sends a probe to the subscriber. Is there any rfc that is violated by TU-Berlin.DE's policy? Thx, Mate -- --- Mate Wierdl | Dept. of Math. Sciences | University of Memphis
Weird delivered-to header
Hi all, I received a spam earlier today from some lame company at website-modules.com and when I was going through the headers to see if it had come from an open relay, I noticed a really odd Delivered-To header, you'll see it below in the included section. I searched through the qmail and vpopmail source code, both of which we're running, and cannot find anything like that so I don't think my server generated that. It was delivered to me because I have a catch-all account but I'd still like to figure out what happened. The addr.com server is running sendmail. Thanks for any help, Dave Return-Path: [EMAIL PROTECTED] Delivered-To: -error-5.7.1~DENIED,Maximum.messages.reached,please.try.back.in.30.minutes.@ mail.hostasaurus.com Received: (qmail 1792 invoked from network); 2 May 2001 05:49:45 - Received: from unknown (HELO addr21.addr.com) (209.249.147.220) by mail.hostasaurus.com with SMTP; 2 May 2001 05:49:45 - Received: (from nobody@localhost) by addr21.addr.com (8.11.1/8.9.1) id f425rWt66086; Tue, 1 May 2001 22:53:32 -0700 (PDT) (envelope-from nobody) Date: Tue, 1 May 2001 22:53:32 -0700 (PDT) Message-Id: [EMAIL PROTECTED] From: Ryan Gibson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Business Development for hostasaurus.com -Original Message- From: Ryan Gibson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 02, 2001 1:54 AM To: [EMAIL PROTECTED] Subject: Business Development for hostasaurus.com Hello, [snip]
Weird problem... X-MS-TNEF-Correlator
Hi, One of our users complained that one of her email accounts received an email with Word Doc attachment, and the attachment went through fine, while a her second account which was cc'ed just like the first one, received it all messed up and with a X-MS-TNEF-Correlator tag.. I was wondering if anyone else experienced this problem before or what the problem might be. We are running qmail, while the mail server the email came from is running Microsoft Exchange 5.5 I assume. Obviously this is weird because one person sent out email to couple cc'ed people and one received it fine, while the other didn't... Here are the headers of both of the emails, names and emails have been changed. The first cc'ed local account that accepted the message is [EMAIL PROTECTED] and received the attachment correctly. The second email is to [EMAIL PROTECTED] and received the attachment wrong. Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 32430 invoked from network); 24 Mar 2001 20:32:18 - Received: from unknown (HELO mail1.weyerhaeuser.com) (208.247.148.1) by localdomain.com with SMTP; 24 Mar 2001 20:32:18 - Received: by mail1.weyerhaeuser.com with Internet Mail Service (5.5.2650.21) id G9DS5QR4; Sat, 24 Mar 2001 12:22:45 -0800 Message-ID: [EMAIL PROTECTED] From: "Some, User" [EMAIL PROTECTED] To: "Another Person'" [EMAIL PROTECTED] Cc: "Person 2'" [EMAIL PROTECTED], "JNELSON'" [EMAIL PROTECTED], "PERSON 3'" [EMAIL PROTECTED], "PERSON 4'" [EMAIL PROTECTED], "JHAMM'" [EMAIL PROTECTED], "PERSON5'" [EMAIL PROTECTED], "PERSON6" [EMAIL PROTECTED] Subject: Contact: Me Date: Sat, 24 Mar 2001 12:22:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="_=_NextPart_000_01C0B4A0.2EFD58FA" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_000_01C0B4A0.2EFD58FA Content-Type: text/plain DuPont St_.doc Another Person, email message Thanks, Some User --_=_NextPart_000_01C0B4A0.2EFD58FA Content-Type: application/msword; name="DuPont St_.doc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="DuPont St_.doc" 0M8R4KGxGuEAPgADAP7/CQAGAAABMwAA EAAANQEAAAD+ADIAAAD/ CUT OFF Second email: Return-Path: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] Received: (qmail 32423 invoked from network); 24 Mar 2001 20:32:18 - Received: from unknown (HELO mail1.weyerhaeuser.com) (208.247.148.1) by localdomain.com with SMTP; 24 Mar 2001 20:32:18 - Received: by mail1.weyerhaeuser.com with Internet Mail Service (5.5.2650.21) id G9DS5QRV; Sat, 24 Mar 2001 12:22:45 -0800 Message-ID: [EMAIL PROTECTED] From: "Some, User" [EMAIL PROTECTED] To: "Another Person'" [EMAIL PROTECTED] Cc: "Person 2'" [EMAIL PROTECTED], "JNELSON'" [EMAIL PROTECTED], "PERSON 3'" [EMAIL PROTECTED], "PERSON 4'" [EMAIL PROTECTED], "JHAMM'" [EMAIL PROTECTED], "PERSON5'" [EMAIL PROTECTED], "PERSON6" [EMAIL PROTECTED] Subject: Contact: Me Date: Sat, 24 Mar 2001 12:22:44 -0800 X-MS-TNEF-Correlator: [EMAIL PROTECTED] MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/mixed; boundary="_=_NextPart_000_01C0B4A0.2EFD58FA" This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_000_01C0B4A0.2EFD58FA Content-Type: text/plain Another Person, email message Thanks, Some User --_=_NextPart_000_01C0B4A0.2EFD58FA Content-Type: application/ms-tnef Content-Transfer-Encoding: base64 eJ8+Ii4UAQaQCAAEAAABAAEAAQeQBgAI5AQAAADoAAEIgAcAGElQTS5NaWNy b3NvZnQgTWFpbC5Ob3RlADEIAQuAAQAhMkQwQTQ0MkRGMTFGRDUxMTk0QjUwMDgwNUZCQjVG CUT OFF __ Kris.
RE: Yet another weird POP3 problem
Thanks Sean, In fact I switched pop3d from inetd to tcpserver and it now works! Nonetheless, here are the information you asked for, they may be helpful to someone sometime :-) Ah! I have an idea... Took a little while, but can you paste to the newsgroup the line you are using to start qmail-popup in the news group again? Also give us a few lines surrounding it as well. Also, it seems as though you are using a RedHat based OS. Can you confirm that? Also please double check in your /etc/services file that ports 110/TCP and 110/UDP are open (not commented out) I'm running qmail under Suse 7.0 although I'm much more familiar with Redhat. The services are uncommented. pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail qmail-popup flateric.webdefense \ /bin/checkpoppasswd/var/qmail/bin/qmail-pop3d Maildir ...Now that I'm not sick anymore I realize that since my inetd line is in 2 parts, that's probably why it didn't work :-) Paste a quick 'ps -aux | grep qmail' to the group as well, I am interested to see what shows up.. I am not sure I asked, but could you let us know if you are running svc (daemontools) or any other package like that? I wasn't running anything apart from qmail. K, that is good. Now are you sure those messages are getting stored in the correct directories? (eg: $HOME/Maildir/) just cd into the directories and go for a quick check on the contents. Yes everything was stored in the right place. Can you double check the existence of your pass checker? I am using checkpoppasswd, and it is placed in /bin Cheers, Pierre ** In KPMG's opinion, non-encrypted communication via the Internet is not to be considered secure. For that reason, it is KPMG's policy that uninvited use of the Internet concerning exchange of confidential information with our clients must not take place. When exchanging information, the client is held liable. This e-mail may contain confidential information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please notify us immediately and delete this mail. **
Re: Yet another weird POP3 problem
Pierre: There is a whack of things to try and check listed below, but I would suggest checking the last comment first. As I believe it to be the most probably cause of your issues. Bedel, Pierre wrote: #3 -ERR this user has no $HOME/Maildir Hi, Um, first a few things. After boot-up or a quick -HUP on inetd, do you ever see a process called qmail-popup or even perhaps qmail-pop3d running? I only see a qmail-popup process when launching it by hand. I must rectify a mistake I made in my previous mail: if i run qmail-popup by hand I don't get the opportunity to telnet into my server, I am instead instantly asked to authenticate myself. Also, if I run qmail-popup in the background by adding '' at the end, and then telnet into it I still get the error message. Hr.. Something is not working correctly from boot-up on the qmail-popup / pop3d side. I was worried that perhaps pop3d was starting separate from pop3d.. It is rare, but I have actually seen it happen. Ah! I have an idea... Took a little while, but can you paste to the newsgroup the line you are using to start qmail-popup in the news group again? Also give us a few lines surrounding it as well. Also, it seems as though you are using a RedHat based OS. Can you confirm that? Also please double check in your /etc/services file that ports 110/TCP and 110/UDP are open (not commented out) Paste a quick 'ps -aux | grep qmail' to the group as well, I am interested to see what shows up.. I am not sure I asked, but could you let us know if you are running svc (daemontools) or any other package like that? Oh, and two other things can you try and instigate a pop3d session with your off-server mail program (if it bails again, don't worry about it yet)... (outlook, eudora .. Whatever), then send us the last few lines of your pop3d logfile? I think that output in your case will be saved in $logdir/maillog so just get into your log directory and 'tail -n30 maillog'. I think that might prove to be an interesting read. Depending on the results of the above. We should be able to get a better picture of your situation. And one more on this topic. I was just reading your first post, and when you launch the service by hand, you are able to telnet to the port. Does that also mean that when you launch service by hand you are able to check mail using your mail client remotely? Because it could be a problem I had (why I switched to tcpserver. Inet.d refused to launch qmail-popup correctly. Switching solved that problem: use this link for more info http://www.lifewithqmail.org/lwq.html#pop-imap-servers What happens when you send mail to the user? To the account [EMAIL PROTECTED]? I am able to send mail to both my pop3 user and the few system accounts I have. K, that is good. Now are you sure those messages are getting stored in the correct directories? (eg: $HOME/Maildir/) just cd into the directories and go for a quick check on the contents. It would also help out a lot if you were able to send us the true domain name and perhaps if you could send the output of a qmail-lint: Warning: users/assign checking not implemented. And one more thing... Are you using any virtual mailer package like vpopmail or vmailmrg (I am not sure if there are any others out there but it still counts)? If so, you need to be sure you are using their password checker (authentication mechanism), (eg: the checker I use is checkvpw). Can you double check the existence of your pass checker? cd /bin ls -lh | grep checkpoppasswd Or if you use the 'locate' command at all locate checkpoppasswd If that item is not actually there, authentication will fail every time. If it is not present at the defined location or anywhere else... You can get one by following the instructions at the above link. Let me know if that helps, Sean
RE: Yet another weird POP3 problem
#3 -ERR this user has no $HOME/Maildir Hi, Um, first a few things. After boot-up or a quick -HUP on inetd, do you ever see a process called qmail-popup or even perhaps qmail-pop3d running? I only see a qmail-popup process when launching it by hand. I must rectify a mistake I made in my previous mail: if i run qmail-popup by hand I don't get the opportunity to telnet into my server, I am instead instantly asked to authenticate myself. Also, if I run qmail-popup in the background by adding '' at the end, and then telnet into it I still get the error message. What happens when you send mail to the user? To the account [EMAIL PROTECTED]? I am able to send mail to both my pop3 user and the few system accounts I have. It would also help out a lot if you were able to send us the true domain name and perhaps if you could send the output of a qmail-lint: Warning: users/assign checking not implemented. Forgive any very stupid mistakes, I'm fighting a nasty flu :-( Pierre ** In KPMG's opinion, non-encrypted communication via the Internet is not to be considered secure. For that reason, it is KPMG's policy that uninvited use of the Internet concerning exchange of confidential information with our clients must not take place. When exchanging information, the client is held liable. This e-mail may contain confidential information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please notify us immediately and delete this mail. **
Yet another weird POP3 problem
Hi, I got qmail to work (thanks Peter) and installed qmail-pop3d with a single UID according to Paul Gregg's instructions. However I must have made a dumb mistake along the way (probably in inetd.conf) : when trying to retrieve mail I get a -ERR this user has no $HOME/Maildir On the local machine : telnet 192.168.1.1 110 ... -ERR this user has no $HOME/Maildir telnet 127.0.0.1 110 ... -ERR this user has no $HOME/Maildir HOWEVER if I run : /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir and then telnet 192.168.1.1 110 the user is authorized and everything works fine !!! Here is my inetd.conf line : pop3 stream tcp nowait root /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir The user does have a Maildir : users/assign: =domain-user:popuser:511:511:/var/qmail/pop/popboxes/domain/user/::: . There is a .qmail file and a Maildir directory both owned by the single UID popuser Thanks for your help ** In KPMG's opinion, non-encrypted communication via the Internet is not to be considered secure. For that reason, it is KPMG's policy that uninvited use of the Internet concerning exchange of confidential information with our clients must not take place. When exchanging information, the client is held liable. This e-mail may contain confidential information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please notify us immediately and delete this mail. **
RE: Yet another weird POP3 problem
Thanks for your reply. I am now more confused. So let's have each question defined clearly: 1. POP3 script You said to include it with /var/qmail/rc. Then you said that you used the same switch statement to start ... What is the SWITCH statement. Please show me what changes you will make to the following script (this is the exact same script I plan to use): /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.tibonline.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 | \ /var/qmail/bin/splogger pop3d 2. User Name/Password In my case I have UserName/Password in the /etc/passwd file. User mail account (/home/user/Maildir) is setup. It receives mail OK. My problem is connecting from MS Outlook Express, which gives an error that UserName and/or Password is not correct. You said that in your case the problem was resolved by re-starting the qmail via /var/qmail/bin/qmail-start. Dis you use the following commond: #/var/qmail/bin/qmail-start ./Maildir/ If not, what did you do exectly. Thanks for your help. Does anybody out in the qmail world can shed some light on this problem? Kirti -Original Message- From: Bedel, Pierre [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 5:46 AM To: '[EMAIL PROTECTED]' Subject: Yet another weird POP3 problem Hi, I got qmail to work (thanks Peter) and installed qmail-pop3d with a single UID according to Paul Gregg's instructions. However I must have made a dumb mistake along the way (probably in inetd.conf) : when trying to retrieve mail I get a -ERR this user has no $HOME/Maildir On the local machine : telnet 192.168.1.1 110 ... -ERR this user has no $HOME/Maildir telnet 127.0.0.1 110 ... -ERR this user has no $HOME/Maildir HOWEVER if I run : /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir and then telnet 192.168.1.1 110 the user is authorized and everything works fine !!! Here is my inetd.conf line : pop3 stream tcp nowait root /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir The user does have a Maildir : users/assign: =domain-user:popuser:511:511:/var/qmail/pop/popboxes/domain/user/::: . There is a .qmail file and a Maildir directory both owned by the single UID popuser Thanks for your help ** In KPMG's opinion, non-encrypted communication via the Internet is not to be considered secure. For that reason, it is KPMG's policy that uninvited use of the Internet concerning exchange of confidential information with our clients must not take place. When exchanging information, the client is held liable. This e-mail may contain confidential information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please notify us immediately and delete this mail. **
RE: Yet another weird POP3 problem
On Wed, 7 Mar 2001, Kirti S. Bajwa wrote: Thanks for your reply. I am now more confused. So let's have each question defined clearly: 1. POP3 script You said to include it with /var/qmail/rc. Then you said that you used the same switch statement to start ... What is the SWITCH statement. Please show me what changes you will make to the following script (this is the exact same script I plan to use): /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.tibonline.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 | \ /var/qmail/bin/splogger pop3d Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 56K Nationwide Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
RE: Yet another weird POP3 problem
/var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? I tried it and I don't think so Any suggestion??? Remember I am using "qmail-HOWTO" to install and start qmail. This particular HOWTO does not address the pop3 script. Kirti -Original Message- From: Vince Vielhaber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:49 AM To: Kirti S. Bajwa Cc: 'Bedel, Pierre'; '[EMAIL PROTECTED]' Subject: RE: Yet another weird POP3 problem On Wed, 7 Mar 2001, Kirti S. Bajwa wrote: Thanks for your reply. I am now more confused. So let's have each question defined clearly: 1. POP3 script You said to include it with /var/qmail/rc. Then you said that you used the same switch statement to start ... What is the SWITCH statement. Please show me what changes you will make to the following script (this is the exact same script I plan to use): /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.tibonline.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 | \ /var/qmail/bin/splogger pop3d Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 56K Nationwide Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
RE: Yet another weird POP3 problem
You are right, I am not. Can you suggest where I should place the pop3 script? Kirti -Original Message- From: Peter van Dijk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:05 AM To: '[EMAIL PROTECTED]' Subject: Re: Yet another weird POP3 problem On Wed, Mar 07, 2001 at 10:49:29AM -0500, Vince Vielhaber wrote: [snip] /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? I'm certain he isn't. Greetz, Peter.
RE: Yet another weird POP3 problem
On Wed, 7 Mar 2001, Kirti S. Bajwa wrote: /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? I tried it and I don't think so Any suggestion??? Remember I am using "qmail-HOWTO" to install and start qmail. This particular HOWTO does not address the pop3 script. Put them in a seperate script, or put them first in /var/qmail/rc or even in your startup script or ... Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 56K Nationwide Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
RE: Yet another weird POP3 problem
In my case this approach will not work. I am starting qmail at boot from /service directory using under svscan. I am not using the script as you have suggested. In may case qmail is running fine, I can receive messages in user's directories. Thanks. Kirti -Original Message- From: Bill Andersen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:57 AM To: Kirti S. Bajwa Subject: RE: Yet another weird POP3 problem I just installed Linux and qmail for the first time EVER this weekend, so don't take this as an "expert" opinion, however, mine IS working with qmail and pop3d... I added the "tcpserver" command within the "start" command of the /etc/init.d/qmail script... case "$1" in start) echo -n "Starting qmail: svscan" cd /var/qmail/supervise env - PATH="$PATH" svscan echo $! /var/run/svscan.pid echo "." echo -n "Starting qmail-pop3d: svscan" # What I added tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.mydomain.com \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 \ /var/qmail/bin/splogger pop3d # End of what I added echo ".." ;; stop) Works fine for me... Bill -Original Message- From: Kirti S. Bajwa [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:21 AM To: 'Vince Vielhaber'; '[EMAIL PROTECTED]' Subject: RE: Yet another weird POP3 problem /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? I tried it and I don't think so Any suggestion??? Remember I am using "qmail-HOWTO" to install and start qmail. This particular HOWTO does not address the pop3 script. Kirti -Original Message- From: Vince Vielhaber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:49 AM To: Kirti S. Bajwa Cc: 'Bedel, Pierre'; '[EMAIL PROTECTED]' Subject: RE: Yet another weird POP3 problem On Wed, 7 Mar 2001, Kirti S. Bajwa wrote: Thanks for your reply. I am now more confused. So let's have each question defined clearly: 1. POP3 script You said to include it with /var/qmail/rc. Then you said that you used the same switch statement to start ... What is the SWITCH statement. Please show me what changes you will make to the following script (this is the exact same script I plan to use): /var/qmail/rc #!/bin/sh exec env - PATH="/var/qmail/bin:$PATH" \ qmail-start ./Maildir/ Are you certain you're getting past this point and executing the lines below? /usr/local/bin/tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup mail.tibonline.net \ /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21 | \ /var/qmail/bin/splogger pop3d Vince. -- == Vince Vielhaber -- KA8CSHemail: [EMAIL PROTECTED]http://www.pop4.net 56K Nationwide Dialup from $16.00/mo at Pop4 Networking Online Campground Directoryhttp://www.camping-usa.com Online Giftshop Superstorehttp://www.cloudninegifts.com ==
RE: Yet another weird POP3 problem
"Kirti S. Bajwa" [EMAIL PROTECTED] wrote: In my case this approach will not work. I am starting qmail at boot from /service directory using under svscan. I am not using the script as you have suggested. In may case qmail is running fine, I can receive messages in user's directories. Look as your /service/qmail-smtpd scripts and copy/modify them as appropriate for qmail-pop3d. -Dave
Re: Yet another weird POP3 problem
correct. You said that in your case the problem was resolved by re-starting the qmail via /var/qmail/bin/qmail-start. Dis you use the following commond: #/var/qmail/bin/qmail-start ./Maildir/ If not, what did you do exectly. Thanks for your help. Does anybody out in the qmail world can shed some light on this problem? Kirti -Original Message- From: Bedel, Pierre [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 5:46 AM To: '[EMAIL PROTECTED]' Subject: Yet another weird POP3 problem Hi, I got qmail to work (thanks Peter) and installed qmail-pop3d with a single UID according to Paul Gregg's instructions. However I must have made a dumb mistake along the way (probably in inetd.conf) : when trying to retrieve mail I get a -ERR this user has no $HOME/Maildir On the local machine : telnet 192.168.1.1 110 ... -ERR this user has no $HOME/Maildir telnet 127.0.0.1 110 ... -ERR this user has no $HOME/Maildir HOWEVER if I run : /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir and then telnet 192.168.1.1 110 the user is authorized and everything works fine !!! Here is my inetd.conf line : pop3 stream tcp nowait root /var/qmail/bin/qmail-popup host.domain /bin/checkpoppasswd /var/qmail/bin/qmail-pop3d Maildir The user does have a Maildir : users/assign: =domain-user:popuser:511:511:/var/qmail/pop/popboxes/domain/user/::: . There is a .qmail file and a Maildir directory both owned by the single UID popuser Thanks for your help ** In KPMG's opinion, non-encrypted communication via the Internet is not to be considered secure. For that reason, it is KPMG's policy that uninvited use of the Internet concerning exchange of confidential information with our clients must not take place. When exchanging information, the client is held liable. This e-mail may contain confidential information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please notify us immediately and delete this mail. **
Very weird qmail behaviour ...
Hi, I'm currently trying to get qmail working on a small LAN (10 pc's). I've set up smtp and qmail-pop3d. The problem is the following : - just after booting, I do a 'ps aux' and no qmail process shows up...however, when telneting from another pc on ports 25 and 110 I do get a response from qmail. But there's nothing in the targeted Maildir. - if I stop qmail and restart it, and do a 'ps aux' the qmail processes are present...and I find the mails I telneted in the right maildirs. Thanks for any advice, Pierre ** In KPMG's opinion, non-encrypted communication via the Internet is not to be considered secure. For that reason, it is KPMG's policy that uninvited use of the Internet concerning exchange of confidential information with our clients must not take place. When exchanging information, the client is held liable. This e-mail may contain confidential information and is intended solely for the addressee, and any disclosure of this information is strictly prohibited and may be unlawful. If you have received this e-mail by mistake, please notify us immediately and delete this mail. **
Re: Very weird qmail behaviour ...
On Fri, Mar 02, 2001 at 05:11:12PM +0100, Bedel, Pierre wrote: [snip] I'm currently trying to get qmail working on a small LAN (10 pc's). I've set up smtp and qmail-pop3d. The problem is the following : - just after booting, I do a 'ps aux' and no qmail process shows up...however, when telneting from another pc on ports 25 and 110 I do get a response from qmail. But there's nothing in the targeted Maildir. That means your tcpserver processes are running (or qmail-smtpd and pop3d from inetd), but qmail isn't. - if I stop qmail and restart it, and do a 'ps aux' the qmail processes are present...and I find the mails I telneted in the right maildirs. That makes perfect sense if qmail wasn't running at first. Greetz, Peter.
Re: weird
Unless my box is broke: 220 challenger.skynetweb.com ESMTP helo foo 250 challenger.skynetweb.com mail from: 250 ok rcpt to: 250 ok DATA 354 go ahead It allowed me to enter a null recipient, as long as the RCPT command was issued (although with a null value). This resulted in: @40003a8bfcf115456d4c starting delivery 270: msg 224533 to local @challenger.skynetweb.com It also works if a From address is specified, for thoroughness sake. It delivered this message on my system, although I do not know where (assuming postmaster/mailer-daemon, since I do not have a .qmail-default). On the other hand, I just tried it on Outlook Express 5, and it wouldn't let me send a message without a recipient. I also tried it on some other MTAs, just for the heck of it: IMail for NT: 220 X1 NT-ESMTP Server mail.skynetweb.com (IMail 6.05 3879-1) helo foo 250 hello mail.skynetweb.com mail from: [EMAIL PROTECTED] 250 ok rcpt to: 250 ok its for data 354 ok, send it; end with CRLF.CRLF Sendmail 8.9.3/Linux: 220 support.skynetweb.com ESMTP Sendmail 8.9.3/8.9.3; Thu, 15 Feb 2001 11:07:36 -0500 helo foo 250 support.skynetweb.com Hello IDENT:[EMAIL PROTECTED] [64.23.32.190] (may be forged), pleased to meet you mail from: [EMAIL PROTECTED] 250 [EMAIL PROTECTED]... Sender ok rcpt to: 553 ... data 503 Need RCPT (recipient) I wouldn't really call this a problem with qmail (and again, like I said, my installation could just be broken), but I could see how it could be an annoyance. However I don't think the MUA should really allow a null recipient (OE 5 doesn't, Pine 4.21/RedHat doesn't, and Netscape Mail in 4.76 doesn't). Just a thought. -- Kyle Knack Server Engineer - SkyNetWEB/Affinity Internet [EMAIL PROTECTED] - Original Message - From: Alex Pennace [EMAIL PROTECTED] To: M. Yu [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, February 15, 2001 1:20 AM Subject: Re: weird On Thu, Feb 15, 2001 at 02:16:43PM +0800, M. Yu wrote: I typed a new message in Outlook Express and forgot (doh!) to enter a recipient before clicking on send. Question: 1. why did qmail allow an empty recipient (or did outlook substituted something in there)? alex@buick:~$ mconnect 220 buick.pennace.org unauthorized interception prohibited ESMTP HELO foo 250 buick.pennace.org unauthorized interception prohibited MAIL From: 250 ok DATA 503 RCPT first (#5.5.1) qmail-smtpd wants at least one recipient. 2. where'd it go? Confer with your logs. 3. is there an option anywhere in qmail where i can tell it to stop accepting messages with blank recipients? But qmail-smtpd already does that.
weird
Ok this is weird. I typed a new message in Outlook Express and forgot (doh!) to enter a recipient before clicking on send. Question: 1. why did qmail allow an empty recipient (or did outlook substituted something in there)? 2. where'd it go? 3. is there an option anywhere in qmail where i can tell it to stop accepting messages with blank recipients? TIA, M. Yu
Re: weird
On Thu, Feb 15, 2001 at 02:16:43PM +0800, M. Yu wrote: I typed a new message in Outlook Express and forgot (doh!) to enter a recipient before clicking on send. Question: 1. why did qmail allow an empty recipient (or did outlook substituted something in there)? alex@buick:~$ mconnect 220 buick.pennace.org unauthorized interception prohibited ESMTP HELO foo 250 buick.pennace.org unauthorized interception prohibited MAIL From: 250 ok DATA 503 RCPT first (#5.5.1) qmail-smtpd wants at least one recipient. 2. where'd it go? Confer with your logs. 3. is there an option anywhere in qmail where i can tell it to stop accepting messages with blank recipients? But qmail-smtpd already does that.
Weird double To: in bounce-backs...
For some strange reason, I occassionally receive bounce-backs (i.e. Returned mail: ) that have a double To: field in the headers... e.g.: To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] This is obviously wrong and gives qmail a headache. Instead of parsing the incoming bounce-back to a bounce-back handling Perl script (as it always did before) qmail now sends those bounce-backs to me and floods my mailbox... Is there a root cause for the problem and any idea how to fix it? I have been running in the same environment for months now and this problem only started very recently... Thanks for your help. Simon Grabowski
I'm trying to do something weird.... coders help needed.
HI list. I want to make the controls files (first virtualdomains) load directly from a mysql database. I found that all the reads to control/* files is done by control.c so I start modifing it. (attach included) The first thing I want (before I try to do mysql things) is hard-code a virtualdomain entry, only for testing. I think the problem is in the stralloc_copys. stralloc_copy(sa,me); stralloc_0(sa); stralloc_cats(sa,"szysz.com.ar:alias"); I made a flagme=2 in the qmail-send call to read_file to virtualdomains to identify this reading from others. switch(control_readfile(vdoms,"control/virtualdomains",2)) Now It does not work, but I don't get any errors, and don't read the control/virtualdomain file. If someone want's to help with this, please mail me. I'm doing varius hacks to qmail to integrate with mysql, I've ready a forwardmysql program. Javier Szyszlican web.net.ar #include "readwrite.h" #include "open.h" #include "getln.h" #include "stralloc.h" #include "substdio.h" #include "error.h" #include "control.h" #include "alloc.h" #include "scan.h" #include mysql/mysql.h #include stdio.h #define TRY_N 10 static char inbuf[64]; static stralloc line = {0}; static stralloc me = {0}; static int meok = 0; MYSQL real_mysql, *mysql = NULL; MYSQL_RES *result; int Mysql_Reconnect() { int i ; i = 0; while(iTRY_N) { mysql_init(real_mysql); if (!(mysql=mysql_real_connect(real_mysql, "localhost", "qmail", "qmail" ,NULL, 3306, NULL, 0))) { mysql = NULL; } else { mysql = real_mysql; break; } i++; sleep(3); } if (mysql != NULL) { i = 0; while(iTRY_N) { if (mysql_select_db(mysql, "subdominios")) { } else { return(0); } i++; sleep(3); } } return(-1); } void My_Mysql_Close(int keepopen_flag) { if(keepopen_flag == 0) { if (mysql != NULL) { mysql_close(mysql); } mysql = NULL; } } static void striptrailingwhitespace(sa) stralloc *sa; { while (sa-len 0) switch(sa-s[sa-len - 1]) { case '\n': case ' ': case '\t': --sa-len; break; default: return; } } int control_init() { int r; r = control_readline(me,"control/me"); if (r == 1) meok = 1; return r; } int control_rldef(sa,fn,flagme,def) stralloc *sa; char *fn; int flagme; char *def; { int r; r = control_readline(sa,fn); if (r) return r; if (flagme) if (meok) return stralloc_copy(sa,me) ? 1 : -1; if (def) return stralloc_copys(sa,def) ? 1 : -1; return r; } int control_readline(sa,fn) stralloc *sa; char *fn; { substdio ss; int fd; int match; fd = open_read(fn); if (fd == -1) { if (errno == error_noent) return 0; return -1; } substdio_fdbuf(ss,read,fd,inbuf,sizeof(inbuf)); if (getln(ss,sa,match,'\n') == -1) { close(fd); return -1; } striptrailingwhitespace(sa); close(fd); return 1; } int control_readint(i,fn) int *i; char *fn; { unsigned long u; switch(control_readline(line,fn)) { case 0: return 0; case -1: return -1; } if (!stralloc_0(line)) return -1; if (!scan_ulong(line.s,u)) return 0; *i = u; return 1; } int control_readfile(sa,fn,flagme) stralloc *sa; char *fn; int flagme; { substdio ss; int fd; int match; charbuf1[1024]; MYSQL_ROW row; char *b; if (!stralloc_copys(sa,"")) return -1; if (flagme == 2) { /* Mysql_Reconnect(); sprintf(buf1, "SELECT url FROM clientes"); mysql_query(mysql, buf1) ; result=mysql_store_result(mysql); row=mysql_fetch_row(result); sprintf(buf1,"%s:alias",row[0]); stralloc_cat(sa,buf1); */ stralloc_copy(sa,me); stralloc_0(sa); stralloc_cats(sa,"szysz.com.ar:alias"); return 1; //mysql_free_result(result); //My_Mysql_Close(0); } else { fd = open_read(fn); if (fd == -1) { if (errno == error_noent) { if (flagme meok) { if (!stralloc_copy(sa,me)) return -1; if (!stralloc_0(sa)) return -1; return 1; } return 0; } return -1; } substdio_fdbuf(ss,read,fd,inbuf,sizeof(inbuf)); for (;;) { if (getln(ss,line,match,'\n') == -1) break; if (!match !line.len) { close(fd); return 1; } striptrailingwhitespace(line); if (!stralloc_0(line)) break; if (line.s[0]) if (line.s[0] != '#') if (!stralloc_cat(sa,line)) break; if (!match) { close(fd); return 1; } } close(fd); } return -1; }
Re: I'm trying to do something weird.... coders help needed.
On Tue, 17 Oct 2000, Javier Szyszlican wrote: HI list. I want to make the controls files (first virtualdomains) load directly from a mysql database. Why? The files read by qmail-send are read into memory and are not read again until qmail-send is either restarted or receives a SIGHUP. A simpler approach might be to generate virtualdomains from your database and then send qmail-send a SIGHUP. Other control files are read by programs such as qmail-smtpd, qmail-inject and qmail-remote. These programs read the control files once, perform their actions and then exit. Again a simpler approach would be to generate these files from your database. The only problem I can see with this method is any race conditions where files are incomplete, but this can be avaoided by writing to a temporary file and then doing a rename(). -- Regards Peter -- Peter Samuel[EMAIL PROTECTED] http://www.e-smith.org (development)http://www.e-smith.com (corporate) Phone: +1 613 368 4398 Fax: +1 613 564 7739 e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada "If you kill all your unhappy customers, you'll only have happy ones left"
Weird Problems.
Hey guys, Ok I am to my wits end ona problem. 1) tcpserver hangs for 2-4 min after 4-10 min of operations. Looking at the problem it looks like the TCPSERVER hangs and svscan restarts it after 2-4 mins. If I Kill the tcpserver processes ever 5 min I dont have any problems.. (This one is really killing me..) I know its not a DNS issue, I know its not equipment issues (After replacing a 2500 series Cisco with 2600 series, and replacing old BAY networks switch with new Cisco Castlyst 2900 series) This problem just started happening last week. (The machine has been processing mail fine for last 230 days) I also have tried to recompile tcpserver to no avail. And it is completely random, tcpserver locks up when there is a Heavy Load and when there isno load on the machine. Any help is much appreciated. Sean Truman[EMAIL PROTECTED]http://www.prodigysolutions.com/
Re: Weird Problems.
Sean C Truman wrote: Hey guys, Ok I am to my wits end on a problem. 1) tcpserver hangs for 2-4 min after 4-10 min of operations. Looking at the problem it looks like the TCPSERVER hangs and svscan restarts it after 2-4 mins. If I Kill the tcpserver processes ever 5 min I dont have any problems.. (This one is really killing me..) I know its not a DNS issue, I know its not equipment issues (After replacing a 2500 series Cisco with 2600 series, and replacing old BAY networks switch with new Cisco Castlyst 2900 series) This problem just started happening last week. (The machine has been processing mail fine for last 230 days) I also have tried to recompile tcpserver to no avail. And it is completely random, tcpserver locks up when there is a Heavy Load and when there is no load on the machine. Chances are I'm not going to be the one answering this question, it's a bit out of my area of expertise. But I do feel compelled to give some advice: you would be much more likely to actually get an answer if you provide some (any) info about your setup. At this point we know there are a few Cisco switches on your network, but we don't even know which OS you're running. Here are some questions: What OS? What hardware? (espesially network hardware) How (exactly) is your machine connected to the internet? What else is running on the machine? Those are just the ones that popped into my head in a few seconds. Something tells me the guru that answers this question is going to need alot more info than that... Good Luck, Eric
Re: WEIRD BEHAVIOR WITH MY QMAILd!!
On Mon, Jul 31, 2000 at 02:29:20AM +0100, Artur D'assumpção wrote: [snipped a bunch of badly indented lines] If I send , LOCALY, a mail to [EMAIL PROTECTED] or even [EMAIL PROTECTED], it will work with no problems!! In the other way, if ill do the same thing remotly only [EMAIL PROTECTED] will work!! Everything else , [EMAIL PROTECTED] [EMAIL PROTECTED] will give this error. 194.210.xx.xx_does_not_like_recipient./Remote_host_said:_553_sorry,_that_domain_isn't_in_my _list_of_allowed_rcpthosts_(#5.7.1)/Giving_up_on_194.210.xx.xx./ OK, that's common. Are you sure [EMAIL PROTECTED] won't work? It should. vhost should fail, but galileu _should_ work. It IS in the rcpthosts file. And, because it's in control/locals, it should be taken as a local address. And I have this, [root@sarrazola control]# cat defaultdomain example.com [root@sarrazola control]# cat locals localhost galileu.example.com example.com galileu [root@sarrazola control]# cat me galileu.example.com [root@sarrazola control]# cat rcpthosts localhost galileu galileu.example.com example.com [root@sarrazola control]# Has you can see I can't resolve the problem... And I dont understand it... RTFM would be nice. man 5 qmail-control, in particular, is very useful to find out what each and every one of this file is supposed to do. RC -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Engenharia ISP / Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal | Tel: +351 21 3166700 (24h/dia) - Fax: +351 21 3166701
WEIRD BEHAVIOR WITH MY QMAILd!!
Hi I need some help with qmail!! I've been running qmail and it's been working ok! vhosts, everything. Today I've setted a NameServer Cause I've changed to a real domain , example: example.com, and i've changed hostname too. In order to work well i've changed all files in /var/qmail/control domain: example.com hostname: galileu Problem: If I send , LOCALY, a mail to [EMAIL PROTECTED] or even [EMAIL PROTECTED], it will work with no problems!! In the other way, if ill do the same thing remotly only [EMAIL PROTECTED] will work!! Everything else , [EMAIL PROTECTED] [EMAIL PROTECTED] will give this error. 194.210.xx.xx_does_not_like_recipient./Remote_host_said:_553_sorry,_that_domain_isn't_in_my _list_of_allowed_rcpthosts_(#5.7.1)/Giving_up_on_194.210.xx.xx./ And I have this, [root@sarrazola control]# cat defaultdomain example.com [root@sarrazola control]# cat locals localhost galileu.example.com example.com galileu [root@sarrazola control]# cat me galileu.example.com [root@sarrazola control]# cat rcpthosts localhost galileu galileu.example.com example.com [root@sarrazola control]# Has you can see I can't resolve the problem... And I dont understand it... Please help!! [EMAIL PROTECTED]
POP3 weird problem
Hello everyone, I have a server running Linux RH6.2 with qmail,vpopmail, qmailadmin. I'm using qmail-pop3d and Maildir as delivery method. Everything was working fine until yesterday a guy on my company updated the kernel of that machine and fixed a small problem with a firewall, opening port 113. From then, everytime the pop3 server server starts I got a hard error message before the usual message. Besides the authentification stopped working... now I got -ERR This user has no $HOME/Maildir when I try to read the mail via pop3. The smtp server and the webmail works ok. I recompile qmail but nothing changed. Any ideas or suggestions? Thanks in advance, Paco Gracia Amira Sistemas
Weird startup troubles
Hi, all. I'm running qmail 1.02 on Linux/UltraSPARC. If I run /var/qmail/rc ...by hand, qmail starts and runs flawlessly. But if I use the init script that came with the source code: #!/bin/csh -cf /var/qmail/rc ...which is the way I have qmail set to start at boot, I get something like this, quoting /var/log/messages from my last boot: May 15 18:04:54 embley qmail: csh May 15 18:04:55 embley qmail: : error in loading shared libraries: libtermcap.so.2: cannot open shared object file: Error 23 May 15 18:04:55 embley kernel: VFS: file-max limit 4096 reached May 15 18:05:09 embley rc: Starting qmail failed To further confuse matters, if I do this: # /bin/csh -cf /var/qmail/rc ...it works just fine as well. If I call the initscript by hand, I don't see the library message but qmail does spawn so many copies of itself that I get the max-files error. Is this a known issue? Is there a better way to start qmail at boot? TIA, -m -- Michael Jinks, IB Systems Administrator, Chicago Center for Computational Psychology finger [EMAIL PROTECTED] for public key
Weird CNAME lookup failure?
qmail-1.03, cname patch applied. SCO openserver 5.0.5 everything seems to be right, but it can't do lookups? "CNAME_lookup_failed...(#4.4.3) The program dnsip correctly finds ip address. Will deliver locally, will receive. Everything seems to be working, just that nothing is working. Please help, Bill
Re: Urgent!: Really Weird Problems with qmail
It's hard to make anything out of the information you've supplied. First of all, go through the logs and see if you can track down this wierd behaviour. Also, check your Sent-mail box and check the headers for those unknown messages. You might want to try to send an email without using a MUA. Try some ´echo -n "to: [EMAIL PROTECTED]\nsubject: test\n[..more headers..]" |/var/qmail/bin/qmail-inject´ and see if you can reproduce the results. If you can't find a logical explanation, consider the information below: vchkpw has had remote-exploitable vulnerabilities resulting in root access. I don't have the version number of the vulnerable vpopmail in my head, but inter7 should be able to supply you with that information. (I think there might be some information on their homepage still.) My advice, check if you've used a vulnerable version of vpopmail, and if you have, try to figure out if you've been owned. The risk might not be that high, but it's the first I'd look into if my mail would start delivering mail to adresses I've never heard of and can't track down in any of my postings. Martin Paulucci wrote: Hi!, I'm having problems with qmail. I don't know why, but when I send an email to certain addresses at certain moments the mail gets sent to other addresses that I don't even know, and many even not exist. So if I send an email to [EMAIL PROTECTED] (my default domain) the mail gets perfectly delivered to that mailbox but it seems that qmail also tries to send it to some more destinations which I don't even know the email addresses ever. The weird thing is that this happens sometimes, not always. One of the account is a vpopmail account with a .qmail inside the maildir, which includes 3 address in this format: .qmail contents: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] And belongs to vpopmail:vchkpw (user:group) Any idea at all?...is it a virus to the clients (I've tried different machines, different clients - outlook, pegasus- and happens the same thing) or anything else?. One cause could be that I upgraded my vpopmail version latelybut I really don't know!.. Here's one of the messages I get: Received: (qmail 5833 invoked from network); 28 Mar 2000 22:41:21 - Received: from unknown (HELO www6.realwebsite.com) (206.159.209.7) by babel.sintesoft.net with SMTP; 28 Mar 2000 22:41:21 - Received: from babel.sintesoft.net ([200.43.4.34]) by www6.realwebsite.com (Post.Office MTA v3.5.3 release 223 ID# 0-57750U2200L400S0V35) with SMTP id com for [EMAIL PROTECTED]; Tue, 28 Mar 2000 14:38:06 -0800 Received: (qmail 5820 invoked for bounce); 28 Mar 2000 22:41:12 - Date: 28 Mar 2000 22:41:12 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at babel.sintesoft.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, I couldn't find any host named amerarg.com.ar. (#5.1.2) [EMAIL PROTECTED]: 200.10.100.10 does not like recipient. Remote host said: 550 [EMAIL PROTECTED]... User unknown Giving up on 200.10.100.10. --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 5800 invoked by uid 108); 28 Mar 2000 22:41:10 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 5798 invoked by uid 108); 28 Mar 2000 22:41:10 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 5796 invoked from network); 28 Mar 2000 22:41:09 - Received: from unknown (HELO ils) (200.43.4.4) by babel.sintesoft.net with SMTP; 28 Mar 2000 22:41:09 - Message-ID: 00c601bf9906$b3468520$[EMAIL PROTECTED] Reply-To: "Martin Paulucci" [EMAIL PROTECTED] From: "Martin Paulucci" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: prueba Date: Tue, 28 Mar 2000 19:41:04 -0300 Organization: ServiRED Company MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Weird
Now I've just reinstalled my mandrake linux, because of the apache problem (it won;t work with the new kernel (2.2.14), so I reinstall the mandrake) but now , when I telnet localhost 25 it doesn't give any SMTP banner or anything as usual. all the qmail directories are NOT deleted, and are their own place. I've tried to reinstall the qmail but it goes nothing. if I NMAP the server then it tells that port 25 is opened So how to fix this ? --- AFLHI 058009990407128029/089802---(102598//991024)
Addition was Weird
After waiting for long time, the SMTP banner then up again how this could be happened ? so when I telnet localhost 25, I must wait about 3 minutes to wait until the SMTP banner up. (qmail is ready) how to fix this --- AFLHI 058009990407128029/089802---(102598//991024)
RE: Addition was Weird
A couple of things could be at work here: 1) Your mail server is running identd and its taking 3 minutes timing out trying to determine your identity. 2) The IP address you are connecting from is not in DNS properly, so you are timing out with DNS trying to do a reverse DNS Lookup. Matt Soffen Web Intranet Developer http://www.iso-ne.com/ == Boss- "My boss says we need some eunuch programmers." Dilbert - "I think he means UNIX and I already know UNIX." Boss- "Well, if the company nurse comes by, tell her I said never mind." - Dilbert - == -Original Message- From: Irwan Hadi [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, March 28, 2000 8:09 PM To: [EMAIL PROTECTED] Subject: Addition was Weird After waiting for long time, the SMTP banner then up again how this could be happened ? so when I telnet localhost 25, I must wait about 3 minutes to wait until the SMTP banner up. (qmail is ready) how to fix this --- AFLHI 058009990407128029/089802---(102598//991024)
Re: Addition was Weird
On Tue, Mar 28, 2000 at 06:09:09PM -0700, Irwan Hadi [EMAIL PROTECTED] wrote: After waiting for long time, the SMTP banner then up again how this could be happened ? so when I telnet localhost 25, I must wait about 3 minutes to wait until the SMTP banner up. (qmail is ready) how to fix this Are you trying to get ident/auth information from the smtp connection? If so and you denying packets to the ident/auth port, there can be significant delays while the attempted connection to the ident/auth server times out.
Re: Weird
Hi, when I screwed up my DNS settings I observed the same behavior. Thus, check yours. cheers. eh. At 18:07 28.3.2000 -0700, you wrote: Now I've just reinstalled my mandrake linux, because of the apache problem (it won;t work with the new kernel (2.2.14), so I reinstall the mandrake) but now , when I telnet localhost 25 it doesn't give any SMTP banner or anything as usual. all the qmail directories are NOT deleted, and are their own place. I've tried to reinstall the qmail but it goes nothing. if I NMAP the server then it tells that port 25 is opened So how to fix this ? --- AFLHI 058009990407128029/089802---(102598//991024) +---+ | fffhh Dr. Erwin Hoffmann | | ff hh| | ffeee ccc ooomm mm mm Wiener Weg 8 | | fff ee ee hh hh cc oo oo mmm mm mm 50858 Koeln| | ff ee eee hh hh cc oo oo mm mm mm| | ff eee hh hh cc oo oo mm mm mm Tel 0221 484 4923 | | ff hh hhccc ooomm mm mm Fax 0221 484 4924 | +---+
Urgent!: Really Weird Problems with qmail
Hi!, I'm having problems with qmail. I don't know why, but when I send an email to certain addresses at certain moments the mail gets sent to other addresses that I don't even know, and many even not exist. So if I send an email to [EMAIL PROTECTED] (my default domain) the mail gets perfectly delivered to that mailbox but it seems that qmail also tries to send it to some more destinations which I don't even know the email addresses ever. The weird thing is that this happens sometimes, not always. One of the account is a vpopmail account with a .qmail inside the maildir, which includes 3 address in this format: .qmail contents: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] And belongs to vpopmail:vchkpw (user:group) Any idea at all?...is it a virus to the clients (I've tried different machines, different clients - outlook, pegasus- and happens the same thing) or anything else?. One cause could be that I upgraded my vpopmail version latelybut I really don't know!.. Here's one of the messages I get: Received: (qmail 5833 invoked from network); 28 Mar 2000 22:41:21 - Received: from unknown (HELO www6.realwebsite.com) (206.159.209.7) by babel.sintesoft.net with SMTP; 28 Mar 2000 22:41:21 - Received: from babel.sintesoft.net ([200.43.4.34]) by www6.realwebsite.com (Post.Office MTA v3.5.3 release 223 ID# 0-57750U2200L400S0V35) with SMTP id com for [EMAIL PROTECTED]; Tue, 28 Mar 2000 14:38:06 -0800 Received: (qmail 5820 invoked for bounce); 28 Mar 2000 22:41:12 - Date: 28 Mar 2000 22:41:12 - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: failure notice Hi. This is the qmail-send program at babel.sintesoft.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. [EMAIL PROTECTED]: Sorry, I couldn't find any host named amerarg.com.ar. (#5.1.2) [EMAIL PROTECTED]: 200.10.100.10 does not like recipient. Remote host said: 550 [EMAIL PROTECTED]... User unknown Giving up on 200.10.100.10. --- Below this line is a copy of the message. Return-Path: [EMAIL PROTECTED] Received: (qmail 5800 invoked by uid 108); 28 Mar 2000 22:41:10 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 5798 invoked by uid 108); 28 Mar 2000 22:41:10 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 5796 invoked from network); 28 Mar 2000 22:41:09 - Received: from unknown (HELO ils) (200.43.4.4) by babel.sintesoft.net with SMTP; 28 Mar 2000 22:41:09 - Message-ID: 00c601bf9906$b3468520$[EMAIL PROTECTED] Reply-To: "Martin Paulucci" [EMAIL PROTECTED] From: "Martin Paulucci" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: prueba Date: Tue, 28 Mar 2000 19:41:04 -0300 Organization: ServiRED Company MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Re: weird
On Thu, Mar 16, 2000 at 05:08:23PM -0500, Keith Warno wrote: eh? That would work; try "man forward" :) Erm... it would, you're right... (*blush*) Ricardo - Original Message - From: "Ricardo Cerqueira" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 16, 2000 4:31 PM Subject: Re: weird On Thu, Mar 16, 2000 at 04:24:33PM -0600, Jonathan Fortin wrote: Sorry for not being professional, i was just stressed out, btw, i got it working fine and everything but i got one question, how do i forward all mail with broke username like [EMAIL PROTECTED] to admin account? i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that good? no, it's not... it should just be "[EMAIL PROTECTED]". Try "man dot-qmail", too :) Ricardo -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Rede Técnica (Carrier Division) | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Rede Técnica | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
Re: weird
On Thu, Mar 16, 2000 at 04:24:33PM -0600, Jonathan Fortin wrote: Sorry for not being professional, i was just stressed out, btw, i got it working fine and everything but i got one question, how do i forward all mail with broke username like [EMAIL PROTECTED] to admin account? i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that good? no, it's not... it should just be "[EMAIL PROTECTED]". Try "man dot-qmail", too :) Ricardo -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Rede Técnica (Carrier Division) | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
Re: weird
eh? That would work; try "man forward" :) - Original Message - From: "Ricardo Cerqueira" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 16, 2000 4:31 PM Subject: Re: weird On Thu, Mar 16, 2000 at 04:24:33PM -0600, Jonathan Fortin wrote: Sorry for not being professional, i was just stressed out, btw, i got it working fine and everything but i got one question, how do i forward all mail with broke username like [EMAIL PROTECTED] to admin account? i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that good? no, it's not... it should just be "[EMAIL PROTECTED]". Try "man dot-qmail", too :) Ricardo -- +--- | Ricardo Cerqueira | PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42 | Novis - Rede Técnica (Carrier Division) | Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
Weird Problems
Hello, I got qmail setup properly, and im running from inetd, these is my inetd configurations.. #pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup revelex.com /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir/ smtp stream tcp nowait qmaild /usr/libexec/tcpd /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd and i dont got rcphosts at all, and i created Maildir with makemaildir or wotever in users home directory and i chowned it user.user /home/user... And i can connect to pop3 perfectly and smtp but the weird reason is, i cannot send or reiceve *SHIT*! hehe, sorry for that, just a little ticked off, i appreciate any help, thank you Jonathan Fortin, Network Administrator [EMAIL PROTECTED] -- Revelex Canada 6830 Park Avenue Suite 209 Montreal,Qc H3N 1W7 business: (514) 274-5120 ext. 228 cellular: (514) 242-7325
Re: Weird Problems
Try this if you really want to use inetd #POP-3 Server pop-3 stream tcp nowait root/usr/sbin/tcpd ipop3d # This All goes on one line smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/qmail-smtpd You should really user tcpserver though and not user inetd..
Re: Weird Problems
"Jonathan Fortin" [EMAIL PROTECTED] wrote: I got qmail setup properly, and im running from inetd, these is my inetd configurations.. No you don't. #pop3 stream tcp nowait root/var/qmail/bin/qmail-popup qmail-popup revelex.com /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d ./Maildir/ smtp stream tcp nowait qmaild /usr/libexec/tcpd /var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd POP won't work until you uncomment the pop3 entry and HUP inetd. and i dont got rcphosts at all, So you're an open relay. and i created Maildir with makemaildir or wotever in users home directory and i chowned it user.user /home/user... And i can connect to pop3 perfectly and smtp but the weird reason is, i cannot send or reiceve *SHIT*! Try sending or receiving *MAIL* instead. :-) Does SMTP work? If not, what do the logs say? If your only problem is that you can't connect to the POP daemon, see my previous reply to you. -Dave
Re: Weird Problems
Christopher Tarricone [EMAIL PROTECTED] wrote: Try this if you really want to use inetd #POP-3 Server pop-3 stream tcp nowait root/usr/sbin/tcpd ipop3d ipop3d? -Dave
Weird
I get as errors, Unable to open ./Maildir:is_a_directory? wtf do i do now? Jonathan Fortin, Network Administrator [EMAIL PROTECTED] -- Revelex Canada 6830 Park Avenue Suite 209 Montreal,Qc H3N 1W7 business: (514) 274-5120 ext. 228 cellular: (514) 242-7325
Re: Weird
Hmmm.. Maildir _should_ be a directory. Is the trailing slash missing from ./Maildir/ in the rc script? - Original Message - From: "Jonathan Fortin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 16, 2000 5:02 PM Subject: Weird I get as errors, Unable to open ./Maildir:is_a_directory? wtf do i do now? Jonathan Fortin, Network Administrator [EMAIL PROTECTED] -- Revelex Canada 6830 Park Avenue Suite 209 Montreal,Qc H3N 1W7 business: (514) 274-5120 ext. 228 cellular: (514) 242-7325
Re: weird
Sorry for not being professional, i was just stressed out, btw, i got it working fine and everything but i got one question, how do i forward all mail with broke username like [EMAIL PROTECTED] to admin account? i edited .qmail-default and add | forward [EMAIL PROTECTED] , is that good? Jonathan Fortin, Network Administrator [EMAIL PROTECTED] -- Revelex Canada 6830 Park Avenue Suite 209 Montreal,Qc H3N 1W7 business: (514) 274-5120 ext. 228 cellular: (514) 242-7325
qmail behaving weird with virtualdomain
Hello, today when I rebooted my computer for the first time since I had added a virtualdomain on my qmail-machine, it didn't work. It wanted to transport the mail's that should, and had been before the reboot, be handled locally away to a remote server. So I began looking into the thing, and I noticed my control file for virtualdomains was named virtualdomain, how could it be that it had worked with this name? So I renamed it to virtualdomains, and added teddybear.cx in it, which is my virtualdomain anyway. Still didn't work. So i removed it, created a new file, added teddybear.cx in it, now it worked. How is this? Anyway, a few hours later, I restarted qmail, and now again it doesn't work... I have no clue whatsoever what can be the faulty thing here... Anyone got any suggestions? The system I am running is Linux Slackware 7.0, and no patches in qmail. itsec.nu is the main domainname for my server to handle, and teddybear.cx is my virtualdomain. I run the nameserver myself. here's my control/virtualdomains file; #cat virtualdomains [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -EOF- I'd be grateful if anyone could be please answer to this with some kind of suggestions, cause my head starts to get real empty... I have read Life with qmail by Dave Sill, and done exactly as it says there, no luck though. Mikael Schmidt [EMAIL PROTECTED] http://teddybear.cx/ http://www.itsec.nu/ "When you dream, there are no rules Certified Linux Administrator People can fly, anything can happen..." watata tuoijombade dikombe - Astral Projection
Re: qmail behaving weird with virtualdomain
here's my control/virtualdomains file; #cat virtualdomains [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Hmm. "An empty prepend means that domain is not a virtual domain" say the qmail-send manpage. What do you try with this setup? If you ony want to forward the mail delete virtualdomains put teddybear.x into rcpthosts and local and create three alias files in ~alias: .qmail-iphil - [EMAIL PROTECTED] - .qmail-lexor - [EMAIL PROTECTED] - .qmail-mikael:schmidt - [EMAIL PROTECTED] - Beware that no users iphil and lexor exist locally. A users/assign solution would give more control but might be too complicated to maintain. Regards, Frank
qmail behaving weird with virtualdomain
Hello, today when I rebooted my computer for the first time since I had added a virtualdomain on my qmail-machine, it didn't work. It wanted to transport the mail's that should, and had been before the reboot, be handled locally away to a remote server. So I began looking into the thing, and I noticed my control file for virtualdomains was named virtualdomain, how could it be that it has worked with this name? So I renamed it to virtualdomains, and added teddybear.cx in it, which is my virtualdomain anyway. Still didn't work. So i removed it, created a new file, added teddybear.cx in it, now it worked. How is this? Anyway, a few hours later, I restarted qmail, and now again it doesn't work... I have no clue whatsoever what can be the faulty thing here... Anyone got any suggestions? The system I am running is Linux Slackware 7.0, and no patches in qmail. itsec.nu is the main domainname for my server to handle, and teddybear.cx is my virtualdomain. I run the nameserver myself. Mikael Schmidt [EMAIL PROTECTED] http://teddybear.cx/ http://www.itsec.nu/ "When you dream, there are no rules Certified Linux Administrator People can fly, anything can happen..." watata tuoijombade dikombe - Astral Projection
qmail / vpopmail / weird behavior
Hi gang, I've been fighting with this one for a while now, i'm not sure what the exact problem is. The system is running openbsd 2.6, with the generic kernel. As far as i can tell, qmail is running alright, but vpopmail is doing something weird. For instance, when i add a virtual domain: host# ./vadddomain test Please enter password for postmaster: enter password again: ps: illegal option -- f usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user] [-M core] [-N system] [-W swap] ps [-L] host# Something tells me this is not the correct behavior =) My best guess is that the vadddomain command never finishes setting up all of the necessary files, or makes all of the required changes to /var/qmail/users/assign, and /var/qmail/control/{rcpthosts,locals}. I'm interested in seeing this work, it's been a while since i've used qmail with inter7's excellent vchkpw. I can't wait to see some of the new features in action! Thanks, Jonathan
Re: qmail / vpopmail / weird behavior
Jonathan Herbert wrote: Hi gang, I've been fighting with this one for a while now, i'm not sure what the exact problem is. The system is running openbsd 2.6, with the generic kernel. As far as i can tell, qmail is running alright, but vpopmail is doing something weird. For instance, when i add a virtual domain: host# ./vadddomain test Please enter password for postmaster: enter password again: ps: illegal option -- f usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user] [-M core] [-N system] [-W swap] ps [-L] host# Something tells me this is not the correct behavior =) My best guess is that the vadddomain command never finishes setting up all of the necessary files, or makes all of the required changes to /var/qmail/users/assign, and /var/qmail/control/{rcpthosts,locals}. I'm interested in seeing this work, it's been a while since i've used qmail with inter7's excellent vchkpw. I can't wait to see some of the new features in action! Thanks, Jonathan Check the config.h file for #define PS_COMMAND It looks like it might not be setting the ps command options correctly for openBSD. If this is the case, it will have setup everything correcly and failed on HUPing qmail-send. qmail-send needs to be HUP'd when a new virtual domain gets added since the control/rcpthosts and control/virtualdomains have the new domain added. I suspect your PS_COMMAND is set to "ps -ef". It should probably be set to ps ax or ps -ax Ken Jones
Re: Weird thing with ETRN patch
On Mon, Nov 29, 1999 at 03:24:16PM +0100, Paulo Jan wrote: You seem to have a typo: I've pointed it out in the diff listing below: 74,77d73 void smtp_etrn() { out("250 ok\r\n"); } 236,237c232 smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n"); The above line is wrong. There should be a dash '-' between 250 and 8BITMIME. With a multiline response, all but the last numeric code must be followed by a dash, to indicate continuation of the response. I don't know whether it was my mistake when posting the patch, but if it was, I apologise. Change that, and you'll be fine. --- smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n"); 413d407 , { "etrn", smtp_etrn, flush }
Weird thing with ETRN patch
Hi all: Today I tried to recompile qmail-smtpd to make it recognize the ETRN command, following Anand Buddhdev's mail to this list from last june (BTW: thanks for your clarification about setlock). I already have serialmail and AutoTURN set up, and this change was just so that qmail-smtpd didn't answer an "Unimplemented" to the clients that sent an ETRN command. The patch that Anand proposed in his mail was, from what I can see, trivial: -Add an ", { "etrn", smtp_etrn, flush }" line to the "smtpcommands part. -Add a smtp_etrn function, that just returns "250 ok". -Add "ETRN" to the line that advertises the capabilities of the server. I'm adding the diff below, at the end of the mail. Even for a complete C ignorant like me, it should be obvious that the above mentiond changes are trivial. Right? Well, I compile it, substitute for old binary (stopping qmail-smtpd first, of course)... and all hell breaks loose. A few minutes later, my coworkers tell me that they can't send mail using Netscape, which gives a "Protocol error" or some other similarly unhelpful message. Outlook Express, Eudora and manually telnetting to port 25 can send mail fine. We also check that the sendmail server of one of our customers, which receives mail for another domain, can't send mail to our server, leaving an error message that says: "SMTP DATA-1 protocol error: 250 ok". Since the mail server is in production and we're on office hours, we can't really experiment too much, so I copy over the old qmail-smtpd binary. Then, minutes later, I try to recompile the patched qmail-smtpd.c again, taking extra care this time to delete all the object files that existed from the last compilation (I think I deleted them the first time, but just in case...). The result is exactly the same. Now the question: why does this happen? Not that it's a life or death matter, since AutoTURN is working anyway, but I just can't understand how such a trivial patch can cause these problems. Maybe one of the "250 ok" messages in the source has a newline or return carriage missing (or has an extra one), but I just checked, and all the ones added by the patch end in "\r\n", so... (I'm using Linux 2.0.34 with GCC 2.7.2. I used the same environment to compile the qmail 1.03 that we use and didn't have any problems). Oh, yes, the diff between the modified qmail-smtpd.c and the original one: 74,77d73 void smtp_etrn() { out("250 ok\r\n"); } 236,237c232 smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n"); --- smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n"); 413d407 , { "etrn", smtp_etrn, flush } Paulo Jan. DDnet.
Re: Weird thing with ETRN patch
On Mon, 29 Nov 1999, Paulo Jan wrote: [snip] 74,77d73 void smtp_etrn() { out("250 ok\r\n"); } 236,237c232 smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n250 ETRN\r\n"); This line is the problem. It should read: out("\r\n250-PIPELINING\r\n250-8BITMIME\r\n250 ETRN\r\n"); ^ Must be a '-' not a ' '. :) --- smtp_greet("250-"); out("\r\n250-PIPELINING\r\n250 8BITMIME\r\n"); 413d407 , { "etrn", smtp_etrn, flush } Paulo Jan. DDnet. - Timothy L. Mayo mailto:[EMAIL PROTECTED] Senior Systems Administrator localconnect(sm) http://www.localconnect.net/ The National Business Network Inc. http://www.nb.net/ One Monroeville Center, Suite 850 Monroeville, PA 15146 (412) 810- Phone (412) 810-8886 Fax
Re: Weird Message...
Andy Walden Wrote thus: I searched the archives for this, and saw it mention several times, but I couldn't find a definitive answer. I'm getting: Sep 20 13:40:09 leviathan qmail: 937852809.494540 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.524814 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.555087 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.583407 warning: trouble injecting bounce message, will try later I haven't changed anything (that I know of). The server has been up without incident now for 196 days. I did a qmail-qread and didn't see anything really weird. I have plenty of disk space, did an ls -laR of the entire /var/qmail/queue directory looking for anything large and didn't see anything. Any thoughts on this? Thanks. -- --- Andy WaldenWork Email: [EMAIL PROTECTED] Network Administrator,Pers Email: [EMAIL PROTECTED] MTCO CommunicationsPhone: (800) 859-6826 "A little nonsense now and then, is relished by the wisest men." -Willi Wonka I'm having the same problem. I posted it to this list, but with no response so far. If anyone understands this problem, I hope they'll share their wisdom. Good luck! -Carlos
Re: Weird Message...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Sep 99, at 3:47, D. Carlos Knowlton wrote: Sep 20 13:40:09 leviathan qmail: 937852809.494540 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.524814 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.555087 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.583407 warning: trouble injecting bounce message, will try later [snip] I'm having the same problem. I posted it to this list, but with no response so far. If anyone understands this problem, I hope they'll share their wisdom. There may be two reasons: 1. Somehow, the queue structure (or access rights) got damaged. Use a tool which shows that, like "make setup check" or "queue-fix" from www.qmail.org. 2. Besides being out of free space, you may be out of inodes. Check not only "df", but also "df -i". -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBN+ePvFMwP8g7qbw/EQLWawCgjD1uw0W9hXUoQaFSesroikxkTt0An1Q7 Qf9QjyKiU5gSfYfRm2vtdor4 =QbFd -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Re: Weird Message...
On Tue, 21 Sep 1999, Petr Novotny wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21 Sep 99, at 3:47, D. Carlos Knowlton wrote: Sep 20 13:40:09 leviathan qmail: 937852809.494540 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.524814 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.555087 warning: trouble injecting bounce message, will try later Sep 20 13:40:09 leviathan qmail: 937852809.583407 warning: trouble injecting bounce message, will try later [snip] I'm having the same problem. I posted it to this list, but with no response so far. If anyone understands this problem, I hope they'll share their wisdom. There may be two reasons: 1. Somehow, the queue structure (or access rights) got damaged. Use a tool which shows that, like "make setup check" or "queue-fix" from www.qmail.org. This fixed it for me. Thank you. -- --- Andy WaldenWork Email: [EMAIL PROTECTED] Network Administrator, Pers Email: [EMAIL PROTECTED] MTCO CommunicationsPhone: (800) 859-6826 "A little nonsense now and then, is relished by the wisest men." -Willi Wonka
Re: Weird stats?
Fred Lindberg wrote: On Tue, 18 May 1999 11:22:11 -0400, Mark E Drummond wrote: What I am wondering about is the apparently long processing time for messages. According to these stats we are processing only ~2722 messages per day (~1.9 per minute) at ~23K each. Yet the average message queue time is 527 seconds?! Why would a message sit in the queue for so long with such a light load? Here's the numbers: First, you have a very lightly loaded machine, and it's goofing off most of the time ;-) This explains the 1.9 messages/min. We've had qmail do 1000/min on simple hardware, admittedly with ideal recipients. The queue time includes deliveries that were repeatedly deferred (host unreachable, user over quota try later, etc) that then finally timed out their queue life time(something like 7 days). Thus, the average is not very useful. Average ddelay per success (s): 95.132936: This shows you that the delivery attempts that were successful took on average 95 s to complete. This does not count all the unsuccessful delivery attempts. Look at other stats in the package. The time taken to complete 50% or 80% of the deliveries or the average time for the first 50 or 80% is a much more useful measure. In summary, looks ok and the numbers are a reflection of the recipients, not your qmail installation. I ran zddelay on the logs after posting this and yes, 82% of all messages are being delivered in under 1 second, 91% in under 2 seconds, but the last 1-2% are taking _huge_ amounts of time which it skewing the results. Here's the run of zddelay: Distribution of ddelays for successful deliveries Meaning of each line: The first pct% of successful deliveries all happened within doneby seconds. The average ddelay was avg. doneby avg pct 0.490.46 10 0.490.46 11 0.490.47 12 0.490.47 13 0.500.47 14 0.500.47 15 0.500.47 16 0.500.47 17 0.500.47 18 0.500.48 19 0.510.48 20 0.510.48 21 0.510.48 22 0.510.48 23 0.510.48 24 0.520.48 25 0.520.48 26 0.520.49 27 0.520.49 28 0.520.49 29 0.530.49 30 0.530.49 31 0.530.49 32 0.530.49 33 0.540.49 34 0.540.50 35 0.540.50 36 0.540.50 37 0.550.50 38 0.550.50 39 0.550.50 40 0.550.50 41 0.560.50 42 0.560.51 43 0.560.51 44 0.570.51 45 0.570.51 46 0.570.51 47 0.580.51 48 0.580.52 49 0.590.52 50 0.590.52 51 0.590.52 52 0.600.52 53 0.600.52 54 0.610.53 55 0.610.53 56 0.620.53 57 0.620.53 58 0.620.53 59 0.630.53 60 0.640.54 61 0.640.54 62 0.650.54 63 0.650.54 64 0.660.55 65 0.670.55 66 0.680.55 67 0.680.55 68 0.690.56 69 0.700.56 70 0.710.56 71 0.730.56 72 0.740.57 73 0.750.57 74 0.770.57 75 0.790.58 76 0.810.58 77 0.830.59 78 0.860.59 79 0.890.60 80 0.930.60 81 0.980.61 82 1.030.61 83 1.090.62 84 1.160.63 85 1.250.64 86 1.340.65 87 1.450.66 88 1.590.67 89 1.750.69 90 1.920.71 91 2.160.73 92 2.470.76 93 2.880.79 94 3.490.83 95 4.590.89 96 10.000.99 97 10.331.20 98 100.18 97.06 99 608402.00 100.41 100 - med -- _ Mark E Drummond Royal Military College of Canada [EMAIL PROTECTED] Computing Services Linux Uber Alles perl || die
Re: Weird stats?
On Wed, 19 May 1999 09:05:21 -0400, Mark E Drummond wrote: I ran zddelay on the logs after posting this and yes, 82% of all messages are being delivered in under 1 second, 91% in under 2 seconds, but the last 1-2% are taking _huge_ amounts of time which it skewing the results. As expected. These are deferred deliveries that ultimately fail when the queue life time times out. Host unreachable, CNAME lookup failed temporarily, "no more space of device" permanently, etc. Success = qmail is done with message. This is successful delivery, or permanent error. A temporary error becomes permanent at the timeout. So: 1.750.69 90 90% of deliveries get done very fast (probably most are local) 10.331.20 98 98% of messages get done very fast, there are some remote ones among these. 100.18 97.06 99 99% of messages get done ok. There are some slow remote ones among these. 608402.00 100.41 100 100% takes a long time. The last % contain mainly temporary failures that ultimately time out. All as it should be on a very lightly loaded system that does mainly local work. -Sincerely, Fred (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)
Re: Weird stats?
Fred Lindberg wrote: All as it should be on a very lightly loaded system that does mainly local work. Actually it does no local work. It is just a gateway which forwards "legit" mail to our internal mailhub which the users access. But I'll still take that as meaning the machine is operating fine. Thanks for all your input. I really love using qmail but I need to make sure it performs well because I have to justify it's use over sendmail. I installed it when we purchased a new gateway machine and the biggest issue for me was migrating our heavily hand-hacked sendmail.cf to the latest version. No thanks! Of course, my boss had other concerns like performance, support, etc. - med -- _ Mark E Drummond Royal Military College of Canada [EMAIL PROTECTED] Computing Services Linux Uber Alles perl || die
Weird stats?
I've installed qmailanalog on my mail gateway and ran zoverall against the last 81 days of mail stats. What I came up with leads me to question how well my machine is working. The hardware is a Sun Enterprise 250 with dual 300MHz UltraSPARC-II's, and 256MB of RAM running Solaris 7. What I am wondering about is the apparently long processing time for messages. According to these stats we are processing only ~2722 messages per day (~1.9 per minute) at ~23K each. Yet the average message queue time is 527 seconds?! Why would a message sit in the queue for so long with such a light load? Here's the numbers: Basic statistics qtime is the time spent by a message in the queue. ddelay is the latency for a successful delivery to one recipient---the end of successful delivery, minus the time when the message was queued. xdelay is the latency for a delivery attempt---the time when the attempt finished, minus the time when it started. The average concurrency is the total xdelay for all deliveries divided by the time span; this is a good measure of how busy the mailer is. Completed messages: 222628 Recipients for completed messages: 244706 Total delivery attempts for completed messages: 257266 Average delivery attempts per completed message: 1.15559 Bytes in completed messages: 5139085562 Bytes weighted by success: 5470767758 Average message qtime (s): 526.552 Total delivery attempts: 258538 success: 234138 failure: 10575 deferral: 13825 Total ddelay (s): 22274235.431068 Average ddelay per success (s): 95.132936 Total xdelay (s): 553004.573188 Average xdelay per delivery attempt (s): 2.138968 Time span (days): 81.7779 Average concurrency: 0.0782671 -- _ Mark E Drummond Royal Military College of Canada [EMAIL PROTECTED] Computing Services Linux Uber Alles perl || die