Re: weird qmail-popup behaviour?

2001-07-05 Thread Arjen van Drie

On Wed, Jul 04, 2001 at 10:01:49AM +0200, Peter van Dijk wrote:
On Wed, Jul 04, 2001 at 08:17:13AM +0200, Arjen van Drie wrote:
[snip]
 
 Any ideas?

Hmm, no clue. Tried stracing?

Yeah, but that doesn't tell me much:

[root@ids /root]# strace -p 21534
select(1, [0], NULL, NULL, {1185, 48}) = 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: qmail logging

2001-07-05 Thread Ken Jones

phase wrote:
 
 I currently have qmail logging via syslog to maillog.   I would like to
 change the log files to log to the /var/log/qmail dir.
 
 This is my rc file.
 
 #!/bin/sh
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start ./Mailbox splogger qmail
 
 as u see it uses the splogger..
 
 I've found one example but it uses cyclog which I can't find in the
 latest daemontools where it should be?  It goes something like this..
 
 #!/bin/sh
 exec env - PATH=/var/qmail/bin:$PATH \
 qmail-start ./Mailbox /usr/local/bin/accustamp \
| setuser qmaill /usr/local/bin/cyclog /var/log/qmail 
 
 In short,  can I use splogger or any other log tool  to direct logging
 to the /var/log/qmail dir  how would the rc file look like?
 
 thanxs..

Take a look at http://www.inter7.com/qmailmrtg7/
It has sample startup scripts and of course, 
mrtg graphs for all the logs.

Basicly this is the startup script (from the 
qmailmrtg7 INSTALL doc)

1. How should I start qmail, smtp and pop to create the right kind
   of logs?

First make sure you have the log directories:
mkdir /var/log/qmail
mkdir /var/log/pop3
mkdir /var/log/smtp
chown qmaill /var/log/qmail
chown qmaill /var/log/pop3
chown qmaill /var/log/smtp

Then start up qmail

env - PATH=/var/qmail/bin:/usr/local/bin \
qmail-start ./Maildir/ | /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s100 /var/log/qmail 

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -v -H -R -l$HOSTNAME -c200 0 110
/var/qmail/bin/qmail-popup \
$HOSTNAME \
/home/vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir
21 |  \
 /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s100 /var/log/pop3 

env - PATH=/var/qmail/bin:/usr/local/bin \
tcpserver -v -H -R -l$HOSTNAME -x
/home/vpopmail/etc/tcp.smtp.cdb \
-c200 -u8002 -g8001 0 25 fixcrio /var/qmail/bin/qmail-smtpd 21
| \
/usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s100 /var/log/smtp 



Qmail tries to deliver to /home/usr/Maildir

2001-07-05 Thread lists



Hello,
My saga continues...
I'm having a problem where qmail is attempting to deliver 
mail to/home/usr/Maildir instead 
of/usr/local/vpopmail/domain/mydomain/user/Maildir.Most of the users are 
vpopmail users and therefore do not have a /home/usrdirectory, so I get the 
dreaded 'Unable_to_chdir_to_maildir' on incomingmail to them.After 4 hrs 
sleep in the last 24 hrs straight trying to get this problemsolved, I'm 
getting a little frustrated. Any feedback would be appreciated.Here are 
my files:warabi# cat 
/usr/local/etc/rc.d/svscan.sh#!/bin/sh -e# 
startup script from:# http://www.flounder.net/qmail/qmail-howto.html#8#ln 
-s /var/qmail/supervise/qmail-pop3d /service/qmail-pop3dcase "$1" 
in 
start) echo -n "Startng djb 
services: svscan " cd 
/service env - 
PATH="/usr/local/bin:$PATH" svscan 
 echo $!  
/var/run/svscan.pid echo 
"." ;; 
stop) echo -n "Stopping djb 
services: svscan " kill `cat 
/var/run/svscan.pid` echo -n 
"services " svc -dx 
/service/* echo -n " logging 
" svc -dx 
/service/*/log echo 
"." ;; 
restart|reload|force-reload) $0 
stop $0 
start 
;; *) 
echo 'Usage: /usr/local/etc/rc.d/svscan 
(start|stop|restart)' exit 
1;esacexit 0warabi# 
cat /service/qmail-send/run 
(-/var/qmail/supervise/qmail-send/run)#!/bin/shexec 
/var/qmail/rcwarabi# cat 
/service/qmail-smtpd/run 
(-/var/qmail/supervise/qmail-smtp/run)#!/bin/shQMAILDUID=`id 
-u qmaild`NOFILESGID=`id -g qmaild`exec /usr/local/bin/softlimit -m 
200 \/usr/local/bin/tcpserver -v -p -x 
/usr/local/vpopmail/etc/tcp.smtp.cdb \-u $QMAILDUID -g $NOFILESGID 0 
smtp /var/qmail/bin/qmail-smtpd 
21warabi# cat 
/service/qmail-pop3d/run 
(-/var/qmail/supervise/qmail-pop3d/run)#!/bin/shenv 
- PATH="/var/qmail/bin:/usr/local/bin" \/usr/local/bin/tcpserver -H -R 
-u vpopmail -g vchkpw 0 pop3/var/qmail/bin/qmail-popup 
\warabi.nca.or.jp /usr/local/vpopmail/bin/vchkpw 
\/var/qmail/bin/qmail-pop3d Maildir 
21warabi# cat 
/var/qmail/rc#!/bin/shexec env - 
PATH="/var/qmail/bin:$PATH" \qmail-start "`cat 
/var/qmail/control/defaultdelivery`" 
21warabi# cat 
/var/qmail/control/defaultdelivery./Maildir/warabi# 
cat 
/var/qmail/control/defaultdomainwarabi.nca.or.jpwarabi# 
cat 
/usr/local/vpopmail/etc/tcp.smtp127.0.0.1:allow,RELAYCLIENT=""warabi# 
cat 
/var/qmail/users/assign+nca.or.jp-:nca.or.jp:1227:65535:/usr/local/vpopmail/domains/nca.or.jp:-::
.All files/dirs under 
/usr/local/vpopmail are chown vpopmail.vchkpw.All subdirs are chmod 
755.
According to http://www.lifewithqmail.org/lwq.html,
"3.6.2. Wildcard assignmentA wildcard assignment looks 
like:

+prefix:user:uid:gid:directory:dash:prepend:

What this means is that messages received for addresses of the 
form prefixrest will run as user user, with the specified uid and gid, and the 
file directory/.qmaildashprependrest will specify how the messages are to be 
delivered."

I have the following file:warabi# cat 
/usr/local/vpopmail/domains/nca.or.jp/.qmail-default| 
/usr/local/vpopmail/bin/vdelivermail '' 
/usr/local/vpopmail/domains/nca.or.jp/1/04awano

Which I assume means that bounced mail goes to [EMAIL PROTECTED] . Is this 
correct?I still don't see why qmail is trying to put the 
mail in /home/usr/Maildir instead of under the vpopmail/domains 
directory...
Can anyone see what I am missing here?Thanks for 
any help.Shawn


Re: weird qmail-popup behaviour?

2001-07-05 Thread Peter van Dijk

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



SAFECAT ERROR

2001-07-05 Thread Cleiton Luiz Siqueira

Hi all,

I've had some problems lately with safecat program.
Sometimes some users of my qmail server ask me why your messages aren't
getting in them directories.
They send messages to themselves and sometimes this messages aren't
delivered in the directory.
I have an alias .qmail-default with the following expression
|/bin/delivery.
This delivery program is a perl program. There are a procedure like
this into this program:

system(/usr/local/bin/safecat /home/$domain/$login/Maildir/tmp
/home/$domain/$login/Maildir/new);

I checked the variables $domain and $login and they are right, but
sometimes happen some error that
I can't see and the message isn't delivered.
Can someone help me about it?

Best regards,
Cleiton




Re: weird qmail-popup behaviour?

2001-07-05 Thread Arjen van Drie

On Thu, Jul 05, 2001 at 01:27:05PM +0200, Peter van Dijk wrote:

Try adding -f, so we see what the child does.

Ok. First the one by hand, i only left the relevant strace output

[pid 13002] munmap(0x40017000, 4096)= 0
[pid 13002] setgroups32(1, [513])   = 0
[pid 13002] setgid32(513)   = 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: elm and pop

2001-07-05 Thread cyberruz

To clarify:

I have tried to send an email via  elq  (ie elm) and the error I get is:

mailer returned error status 1


When I run fetchmail, I get the following errors:

SMTP connect to localhost failed
SMTP transaction error while fetching from pop.xxx.xxx.xx

fetchmail can see the pop server and the server recognises my username
and password.  I used fetchmailconf to setup my .fetchmailrc file and
ran the test, getting the above errors.

I am running qmail with localhost as the server.  DNS is setup as I can
run dig on any machine and can run Netscape.
Am running Debian 2.2r3 and can't find the getmail package for it in
order to run getmail instead of fetchmail.

Incidentally, when I run netscape mail, I get no problems.  (obviously
it works fine as a mail client)


Cheers

Rob...




Re: what's wrong with my system

2001-07-05 Thread Charles Cazabon

Sobari Tanuwijaya [EMAIL PROTECTED] wrote:

  Post your start script for qmail, along with an ls -l of the file it's
  in.  If something's wrong with the script, you won't even get as far
  as exec'ing qmail-start.

 After reading your mail I check again the log vor qmail-send, and 
 because it is still empty and when I tried to check its status it 
 stated up with 0 seconds while the other with thousands of 
 seconds, then I assume it is not running, following your direction I 
 check the /var/qmail/rc, I found the problem in there, there is a type 
 in there where it should be #!/bin/sh it is written #!bin/sh

Excellent.

 The problem now is I cannot get the message from the server,
 I use vpopmail using vchkpw as a replacement for checkpassword
 
 I just change the checkpassword with /home/vpopmail/bin/vchkpw, 
 it can validate the username and password, but it gives me nothing, 
 although I saw several mail in my mailbox, but it cannot be 
 retrieved.

I presume your POP3 start script invokes tcpserver, which invokes qmail-popup,
which calls vchkpw, followed by qmail-pop3d?  If the messages are ending up in
the proper virtual users' maildirs, then check your argument to qmail-pop3d.
If that's not the problem, then ask on the vpopmail list.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: qmail logging

2001-07-05 Thread Charles Cazabon

phase [EMAIL PROTECTED] wrote:
 I currently have qmail logging via syslog to maillog.   I would like to
 change the log files to log to the /var/log/qmail dir.
[...] 
 I've found one example but it uses cyclog which I can't find in the
 latest daemontools where it should be?

cyclog was replaced with multilog in the latest daemontools.  See the
documentation in daemontools for information about multilog.  For example
configurations using multilog to log to /var/log/dir/, Life with qmail is
a very good starting point.  See http://lifewithqmail.org/

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: weird qmail-popup behaviour?

2001-07-05 Thread Charles Cazabon

Arjen van Drie [EMAIL PROTECTED] wrote:

 [pid 13202] chdir(/home/qwerty)   = 0
 [pid 13202] execve(/usr/local/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such 
file or directory)
 [pid 13202] execve(/usr/sbin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such file 
or directory)
 [pid 13202] 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: Qmail tries to deliver to /home/usr/Maildir

2001-07-05 Thread Charles Cazabon

lists [EMAIL PROTECTED] wrote:

 I have the following file:
 warabi# cat /usr/local/vpopmail/domains/nca.or.jp/.qmail-default
 | /usr/local/vpopmail/bin/vdelivermail ''
 /usr/local/vpopmail/domains/nca.or.jp/1/04awano
 
 Which I assume means that bounced mail goes to [EMAIL PROTECTED] . Is this
 correct?
 I still don't see why qmail is trying to put the mail in /home/usr/Maildir
 instead of under the vpopmail/domains directory...

Repeating myself:  your virtualdomains configuration.  Post the contents of
virtualdomains.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: SAFECAT ERROR

2001-07-05 Thread Charles Cazabon

Cleiton Luiz Siqueira [EMAIL PROTECTED] wrote:
 
 I've had some problems lately with safecat program.

Nope.

 Sometimes some users of my qmail server ask me why your messages aren't
 getting in them directories.  They send messages to themselves and sometimes
 this messages aren't delivered in the directory.  I have an alias
 .qmail-default with the following expression |/bin/delivery.  This
 delivery program is a perl program.

It's broken.  If message delivery fails, temporarily or permanently, this
program _must_ return that information to qmail-send (through qmail-local) by
its exit code, or you can lose mail.  Apparently this is what's happening to
you.

 There are a procedure like this into this program:
 
 system(/usr/local/bin/safecat /home/$domain/$login/Maildir/tmp
 /home/$domain/$login/Maildir/new);
 
 I checked the variables $domain and $login and they are right, but sometimes
 happen some error that I can't see and the message isn't delivered.

Error that you can't see?  Your program is buggy.  What are you trying to
accomplish?  It looks like a homebrewed virtual domain manager.  Use vmailmgr
instead.

 Can someone help me about it?

You'll have to fix your Perl program, or switch to using something less buggy.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

2001-07-05 Thread eddy

I have a problem with qmail, and make me cannot send or receive mail, and it
show error messages like this :

delivery 1: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

Can anyone help me to fix it out 
Thanks

Regards,


Eddy




HELP with Aliases and Forwarding

2001-07-05 Thread Sherry Work








We have just moved to a Windows2000 server, and I set up all of our
aliases and then when I set up the forwards for the aliases, the aliases names
moved out of the aliases page.



Our forwards are not working, and the only POP account is postmaster.



I do not have access to the administrative functions of qmail, other
than adding a Pop account, aliase forward and creating a mailing list.



The mailing list does not work either.



What can I ask our ISP to check? As I can not see the error logs.



Any help would be great, thanks










Re: HELP with Aliases and Forwarding

2001-07-05 Thread Chris Johnson

On Thu, Jul 05, 2001 at 07:41:05AM -0700, Sherry Work wrote:
 We have just moved to a Windows2000 server, and I set up all of our aliases
 and then when I set up the forwards for the aliases, the aliases names moved
 out of the aliases page.

Uhhh... say what?

You're going to need to come up with something a lot more coherent and
containing a lot more information if you want to get help.

Chris



Re: HELP with Aliases and Forwarding

2001-07-05 Thread Lars Hansson

On Thu, 5 Jul 2001 07:41:05 -0700 Sherry Work [EMAIL PROTECTED] wrote:

 We have just moved to a Windows2000 server, and I set up all of our aliases
 and then when I set up the forwards for the aliases, the aliases names moved
 out of the aliases page.
 

I honestly did not know qmail worked on Windows 2000? Or am I missing something?


 Our forwards are not working, and the only POP account is postmaster.
 
 I do not have access to the administrative functions of qmail, other than
 adding a Pop account, aliase forward and creating a mailing list.
 
 The mailing list does not work either.
 
 What can I ask our ISP to check? As I can not see the error logs.
 

Well, if it is indeed on Windows 2000 my guess is that you're using
Exchange (God forbid...) and then we can not help you. This list is for
Qmail, not Exchange. Try a mailing list or newgroup for Exchange.


 Any help would be great, thanks
 

And please, please, please do NOT send HTML mail. It's a godawful abomination.

Lars




Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Marek Gutkowski

Hi,

There is a mail in my queue, trying to get out to hotmail.com. This is what
I find in my logs,
every time qmail tries:

@40003b4478201cef303c starting delivery 3170: msg 277314 to remote
[EMAIL PROTECTED]
@40003b44783418edd024 delivery 3170: deferral:
CNAME_lookup_failed_temporarily._(#4.4.3)/

Snort log:

sensei snort: IDS212 - MISC - DNS Zone Transfer: xxx.xxx.xxx.xxx:3211 -
yyy.yyy.yyy.yyy:53

Dump of the offending packet:

xxx.xxx.xxx.xxx:3211 - yyy.yyy.yyy.yyy:53
TCP TTL:64 TOS:0x0 ID:16519 IpLen:20 DgmLen:71 DF
***AP*** Seq: 0xB3A4D61B  Ack: 0x208246C  Win: 0x7D78  TcpLen: 20
0x: 00 E0 18 90 75 23 00 06 29 EE 61 2E 08 00 45 00  u#..).a...E.
0x0010: 00 47 40 87 40 00 40 06 B6 9B C3 74 DE 53 C3 74  .G@.@.@t.S.t
0x0020: DE 51 0C 8B 00 35 B3 A4 D6 1B 02 08 24 6C 50 18  .Q...5..$lP.
0x0030: 7D 78 6E 93 00 00 00 1D 01 85 01 00 00 01 00 00  }xn.
0x0040: 00 00 00 00 07 68 6F 74 6D 61 69 6C 03 63 6F 6D  .hotmail.com
0x0050: 00 00 FF 00 01   .

xxx.xxx.xxx.xxx is the mail server, qmail-1.03, Linux. yyy.yyy.yyy.yyy is
the DNS server, NT.

Why does qmail try to download the zone file for hotmail.com from my DNS
server? I don't get it :(
Thanks,

Marek Gutkowski




Re: elm and pop

2001-07-05 Thread Charles Cazabon

cyberruz [EMAIL PROTECTED] wrote:
 
 When I run fetchmail, I get the following errors:
 
 SMTP connect to localhost failed
 SMTP transaction error while fetching from pop.xxx.xxx.xx
 
 fetchmail can see the pop server and the server recognises my username
 and password.  I used fetchmailconf to setup my .fetchmailrc file and
 ran the test, getting the above errors.

It failed to connect to the SMTP server on localhost, just like the error
says.  Is qmail-smtpd running and accepting connections from localhost?

 Incidentally, when I run netscape mail, I get no problems.  (obviously
 it works fine as a mail client)

If it sends mail fine too, then it's delivering mail to a different host,
port, or using /usr/sbin/sendmail injection.

By the way, doing delivery by SMTP re-injection is a broken design, and is
responsible for most of fetchmail's problems.  Configure fetchmail to call an
MDA directly, or switch to getmail.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: HELP with Aliases and Forwarding

2001-07-05 Thread Charles Cazabon

Lars Hansson [EMAIL PROTECTED] wrote:
 On Thu, 5 Jul 2001 07:41:05 -0700 Sherry Work [EMAIL PROTECTED] wrote:
 
  We have just moved to a Windows2000 server, and I set up all of our
  aliases and then when I set up the forwards for the aliases, the aliases
  names moved out of the aliases page.
  
 
 I honestly did not know qmail worked on Windows 2000? Or am I missing
 something?

I think the user has access to a web page for adminning his own virtualdomain,
hosted on his ISP's qmail box.  This might be a vmailmgr setup with
oMail-admin, or custom CGIs using vmailmgr's daemon, or the PHP interface,
etc.  Or it could be vpopmail.

In any case, this is something you have to ask your ISP, not us.  If the ISP
can't figure out their problems with qmail, they can post relevant details
here, or hire a qmail consultant.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Charles Cazabon

Marek Gutkowski [EMAIL PROTECTED] wrote:
 
 There is a mail in my queue, trying to get out to hotmail.com. This is what
 I find in my logs, every time qmail tries:
 
 @40003b4478201cef303c starting delivery 3170: msg 277314 to remote
 [EMAIL PROTECTED]
 @40003b44783418edd024 delivery 3170: deferral:
 CNAME_lookup_failed_temporarily._(#4.4.3)/

Perfectly normal behaviour, if Hotmail's DNS is broken, or your resolver is
broken.

 Snort log:
 
 sensei snort: IDS212 - MISC - DNS Zone Transfer: xxx.xxx.xxx.xxx:3211 -
 yyy.yyy.yyy.yyy:53
[...] 
 Why does qmail try to download the zone file for hotmail.com from my DNS
 server?

It doesn't.  snort is lying -- don't worry, it lies about a lot of other
things, too.  Take everything snort says with a grain of salt.  Please do not
followup with any further snort discussion; it's offtopic for this list.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



qmail-remote

2001-07-05 Thread David Gartner

Hey all,

I have a slight problem.  I got some calls that the mail server was taking 5
hours to send email, so I checked out the mail server.  I had 3 connections to
some mail server (all the same) and all the other qmail-remotes were enclosed in
brackets [qmail-remote].  Not knowing what this was, I did a 'killall
-HUP qmail-remote'.   The 'unclogged' the remote process and it started
delivering the messages that were on hold.  Can anyone tell me what might have
cause this and do I need to worry about it happening again?

David





popping and qmail

2001-07-05 Thread Chris Woods



Do I need to install 
a popper inorder to pop mail from a windows machine on/outside the local 
network? If so is qpopper a good one?

Thanks.
Chris


Re: weird qmail-popup behaviour?

2001-07-05 Thread Arjen van Drie

On Thu, Jul 05, 2001 at 08:08:25AM -0600, Charles Cazabon wrote:
Arjen van Drie [EMAIL PROTECTED] wrote:

 [pid 13202] chdir(/home/qwerty)   = 0
 [pid 13202] execve(/usr/local/bin/ , [ ], [/* 18 vars */]) = -1 ENOENT (No such 
file or directory)
 [pid 13202] execve(/usr/sbin/ , [ ], [/* 18 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: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Marek Gutkowski


- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]


 Perfectly normal behaviour, if Hotmail's DNS is broken, or your resolver
is
 broken.

I agree. Hotmail's DNS is broken. That's not the point.

 It doesn't.  snort is lying -- don't worry, it lies about a lot of other
 things, too.  Take everything snort says with a grain of salt.  Please do
not
 followup with any further snort discussion; it's offtopic for this list.


First - thanks for a quick reply.

Snort is just a tool, and my previous post was about qmail, not snort :)
Snort is not lying. You think it took the packet dump out of the blue sky?
I also ran tcpdump and it says the same. Is tcpdump also lying?

Mail server really tries to connect to the DNS with tcp dport 53. It does.
It does. I'm sure.
Any ideas?

Marek




Re: Error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

2001-07-05 Thread Arjen van Drie

On Thu, Jul 05, 2001 at 06:30:40PM +0700, eddy wrote:
I have a problem with qmail, and make me cannot send or receive mail, and it
show error messages like this :

delivery 1: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

Can anyone help me to fix it out 

Not of you don't send more info... Now I can only say that you
don't have a maildir in your homedirectory...

How do you start qmail-send (what is in /var/qmail/rc)?


-- 

Grtz, 

Arjen.




Re: Error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

2001-07-05 Thread lists

I am having the same problem...

(I send an email to the list earlier with the contents of all files I
thought might be relevant, but I haven't seen that mail come up. Can anyone
confirm that it was sent to the list? Perhaps I made a mistake in
sending...)

Shawn




Re: popping and qmail

2001-07-05 Thread Ahmad Ridha

Chris Woods writes: 

 Do I need to install a popper inorder to pop mail from a windows machine
 on/outside the local network?  If so is qpopper a good one? 
 

qmail already has its own popper which only support maildir. Check Life with 
qmail http://www.lifewithqmail.org about how to install it. 

Regards, 

Ahmad Ridha 



Re: Error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

2001-07-05 Thread dale

check for a Maildir in your users directory.
If the Maildir is there make sure that the user owns the directory.

-- 
Thank you,
Dale




Re: Error deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

2001-07-05 Thread Jamin A. Brown

Eddy,

qmail delivers mail as the user it is delivering to (assuming a standard
install). So the recipient of the mail has to A.) have permissions to get
to and write into the Maildir, and B.) The Maildir and its subdirectories
need to exist.

You should be able to use ls -l to determine if the ownership and
permissions are correct on the homedirectory and Maildir in question. If
the Maildir doesn't exist, create it.

If you can't figure it out, we will need more information, like logfiles,
an ls -lR of the user's home directory, etc.

Jamin

On Thu, 5 Jul 2001, eddy wrote:

 I have a problem with qmail, and make me cannot send or receive mail, and it
 show error messages like this :

 delivery 1: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/

 Can anyone help me to fix it out 
 Thanks

 Regards,


 Eddy







Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Greg White

On Thu, Jul 05, 2001 at 05:25:04PM +0200, Marek Gutkowski wrote:
 
 - Original Message -
 From: Charles Cazabon [EMAIL PROTECTED]
 
 
  Perfectly normal behaviour, if Hotmail's DNS is broken, or your resolver
 is
  broken.
 
 I agree. Hotmail's DNS is broken. That's not the point.
 
  It doesn't.  snort is lying -- don't worry, it lies about a lot of other
  things, too.  Take everything snort says with a grain of salt.  Please do
 not
  followup with any further snort discussion; it's offtopic for this list.
 
 
 First - thanks for a quick reply.
 
 Snort is just a tool, and my previous post was about qmail, not snort :)
 Snort is not lying. You think it took the packet dump out of the blue sky?
 I also ran tcpdump and it says the same. Is tcpdump also lying?

Snort is lying. tcpdump is being misunderstood* by someone who doesn't
understand the DNS protocol -- and who is being rude to someone who is trying
to help as a result.


* Unless tcpdump is actually saying 'Zone transfer', or showing you AXFR
requests, or something like that. In which case it's lying too. ;) qmail
_does not do AXFR_, nor can it cause an AXFR.
 
 Mail server really tries to connect to the DNS with tcp dport 53. It does.
 It does. I'm sure.

I'm sure it does too. Connections on port 53/TCP _do not_ have to be
zone transfer requests. RTFM, RFC 1035. Sounds like your qmail might
require the big-dns patch.** You should be able to find it on the qmail
home page.

** Odd, though, as my queries for hotmail MX records show 504 bytes,
inside the limit for UDPThey seem to have intentionally stayed
inside this limit, on purpose. Could we see the results of (both or
either):

dig mx hotmail.com @ns1.hotmail.com
dnsq mx hotmail.com ns1.hotmail.com

Specifically, I'd like to see the byte count.

-- 
Greg White



Re: stopping delivery to remote domain

2001-07-05 Thread Thomas Blauvelt


We had the same problem with this domain, but of course it was 'remote'
mail that was hanging, not local. Our solution was to add this domain
to our local DNS so it would be delivered locally and then dumped.
We have also blocked smtp connections from the many IPs that these
hosts resolved to.



On Thu, 5 Jul 2001, Charles Cazabon wrote:

 Dale [EMAIL PROTECTED] wrote:
  Is there a way to stop local mail from being delivered to a remote domain.
  I have a domain that keeps filling up my que and never delivers.  the domain
  is always listed as opt??.edirectnetworks.net For some reason they never
  seem to time out and drop out of the que.  They just sit there... and
  finally will build up to the point that I will have to reboot the system to
  clear out the cue enough to start the delivery of my local mail in a timely
  manner.
 
 Messages sitting in the queue do not stop local deliveries from happening.
 Even in-progress remote deliveries which are stalled do not stop local
 deliveries from happening -- concurrency is maintained separately for local
 and remote deliveries.
 
 You're micromanaging the queue.  Have you actually seen local mail delivery
 delayed by these stuck messages?  If so, post the log of qmail-send during
 the time it was happening.
 
 Charles
 -- 
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---
 


Thank you.

tom blauvelt


Thomas Blauvelt NorthNet Internet Services, Inc.
North Country Reference  Research Resources Council
[EMAIL PROTECTED]   7 Commerce Lane  Canton NY 13617 USA  (315) 386-4569




Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Charles Cazabon

Marek Gutkowski [EMAIL PROTECTED] wrote:
 
  It doesn't.  snort is lying -- don't worry, it lies about a lot of other
  things, too.  Take everything snort says with a grain of salt.

 First - thanks for a quick reply.
 
 Snort is just a tool, and my previous post was about qmail, not snort :)
 Snort is not lying. You think it took the packet dump out of the blue sky?
 I also ran tcpdump and it says the same. Is tcpdump also lying?

No.  There's no zone transfer happening.  The worst case is Hotmail went over
the 512-byte UDP DNS response limit, and the resolver is therefore trying to
do a TCP query instead.  This is not a zone transfer, but snort reports it as
such.

 Mail server really tries to connect to the DNS with tcp dport 53. It does.
 It does. I'm sure.

Hotmail's probably over the 512 byte limit, then.  That doesn't make it a zone
transfer.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: qmail-remote

2001-07-05 Thread MarkD

On Thu, Jul 05, 2001 at 11:05:40AM -0400, David Gartner allegedly wrote:
 Hey all,
 
 I have a slight problem.  I got some calls that the mail server was taking 5
 hours to send email, so I checked out the mail server.  I had 3 connections to
 some mail server (all the same) and all the other qmail-remotes were enclosed in
 brackets [qmail-remote].  Not knowing what this was, I did a 'killall
 -HUP qmail-remote'.   The 'unclogged' the remote process and it started
 delivering the messages that were on hold.  Can anyone tell me what might have
 cause this

Not now that you've destroyed the evidence.

When something unexpected happens to a system and you want to find out
what's going on, the best thing to do is as little as possible. Avoid
anything that might perturb the observations.

Killing a process loses all the state about the process, what files it
had open, what system call it might have been sitting on, where in the
code it was, what it was connected to, what mail it was handling, that
sort of thing.

Also, if you're referring to OS related information (ie ps output) it
helps to know the OS version, the h/w, that sort of thing.


Regards.



Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread James Stevens

No, I show them well under the 512 limit.. Even then if the 'bigtodo-dns' I
believe it's called is installed then what does it matter??? I am correct
right?

--JT
Network Administrator
http://www.webcommanders.com

- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 9:19 AM
Subject: Re: Hotmail, CNAME lookup failure, zone transfer...WTF?


 Marek Gutkowski [EMAIL PROTECTED] wrote:
 
   It doesn't.  snort is lying -- don't worry, it lies about a lot of
other
   things, too.  Take everything snort says with a grain of salt.

  First - thanks for a quick reply.
 
  Snort is just a tool, and my previous post was about qmail, not snort :)
  Snort is not lying. You think it took the packet dump out of the blue
sky?
  I also ran tcpdump and it says the same. Is tcpdump also lying?

 No.  There's no zone transfer happening.  The worst case is Hotmail went
over
 the 512-byte UDP DNS response limit, and the resolver is therefore trying
to
 do a TCP query instead.  This is not a zone transfer, but snort reports it
as
 such.

  Mail server really tries to connect to the DNS with tcp dport 53. It
does.
  It does. I'm sure.

 Hotmail's probably over the 512 byte limit, then.  That doesn't make it a
zone
 transfer.

 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---





Re: bounce/457 processing

2001-07-05 Thread Alex Pennace

On Thu, Jul 05, 2001 at 05:35:26PM +0200, Daniel BODEA wrote:
 One thing I haven't been able to find in the INTERNALS file (and without studying 
yet the code in detail) is how qmail-send processes the /queue/bounce files. Does it 
group several addresses with permanent errors into one single message? If it does, 
how does it cope with the VERH system? Normaly, I shouldn't have to parse the whole 
bounce message to for the list of invalid addresses.

Assume message 457 is a VERP message. Failed deliveries for message
457 will be returned to verpprefix-@wherever, as opposed to normal
VERP which goes to verpprefix-bouncing=com@wherever.

This bounce will be in QSBMF format, see
http://cr.yp.to/proto/qsbmf.txt.



Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Charles Cazabon

James Stevens [EMAIL PROTECTED] wrote:

It doesn't.  snort is lying -- don't worry, it lies about a lot of
other things, too.  Take everything snort says with a grain of salt.
 
   Snort is just a tool, and my previous post was about qmail, not snort :)
   Snort is not lying. You think it took the packet dump out of the blue
   sky?  I also ran tcpdump and it says the same. Is tcpdump also lying?
 
  No.  There's no zone transfer happening.  The worst case is Hotmail went
  over the 512-byte UDP DNS response limit, and the resolver is therefore
  trying to do a TCP query instead.  This is not a zone transfer, but snort
  reports it as such.

 No, I show them well under the 512 limit.. Even then if the 'bigtodo-dns' I
 believe it's called is installed then what does it matter???

bigdns is the patch you're talking about.  It matters in certain
circumstances.  Perhaps your local dns resolver is broken, or it forwards to
another broken resolver.  Perhaps Hotmail's load-balanced and distributed DNS
is giving slightly different answers there than here.

Regardless, you were very rude above.  What we're telling you is the truth;
please accept it, don't abuse those supplying the answers.

 I am correct right?

Sadly, no.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Marek Gutkowski


- Original Message -
From: Greg White [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 6:06 PM
Subject: Re: Hotmail, CNAME lookup failure, zone transfer...WTF?



 Snort is lying. tcpdump is being misunderstood* by someone who doesn't
 understand the DNS protocol -- and who is being rude to someone who is
trying
 to help as a result.

It was not my intention to be rude. If I were - I am sorry.

 I'm sure it does too. Connections on port 53/TCP _do not_ have to be
 zone transfer requests. RTFM, RFC 1035. Sounds like your qmail might
 require the big-dns patch.** You should be able to find it on the qmail
 home page.

This is a big lesson for me. You are 100% right. I thought DNS queries
always go as UDP packets :)


 ** Odd, though, as my queries for hotmail MX records show 504 bytes,
 inside the limit for UDPThey seem to have intentionally stayed
 inside this limit, on purpose. Could we see the results of (both or
 either):

 dig mx hotmail.com @ns1.hotmail.com
 dnsq mx hotmail.com ns1.hotmail.com

This is a different story. Both dig and dnsq show 504 bytes. I attach a full
output.
Thanks,

Marek


;  DiG 8.3  mx hotmail.com @ns1.hotmail.com
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 6
;; flags: qr aa rd; QUERY: 1, ANSWER: 12, AUTHORITY: 5, ADDITIONAL: 8
;; QUERY SECTION:
;;  hotmail.com, type = MX, class = IN

;; ANSWER SECTION:
hotmail.com.1H IN MX10 mc3.law13.hotmail.com.
hotmail.com.1H IN MX10 mc4.law13.hotmail.com.
hotmail.com.1H IN MX10 mc5.law13.hotmail.com.
hotmail.com.1H IN MX10 mc6.law13.hotmail.com.
hotmail.com.1H IN MX10 mc4.law5.hotmail.com.
hotmail.com.1H IN MX10 mc5.law5.hotmail.com.
hotmail.com.1H IN MX10 mc6.law5.hotmail.com.
hotmail.com.1H IN MX10 mc7.law5.hotmail.com.
hotmail.com.1H IN MX10 mc1.law5.hotmail.com.
hotmail.com.1H IN MX10 mc2.law5.hotmail.com.
hotmail.com.1H IN MX10 mc1.law13.hotmail.com.
hotmail.com.1H IN MX10 mc2.law13.hotmail.com.

;; AUTHORITY SECTION:
hotmail.com.1H IN NSns1.hotmail.com.
hotmail.com.1H IN NSns2.hotmail.com.
hotmail.com.1H IN NSns3.hotmail.com.
hotmail.com.1H IN NSns4.hotmail.com.
hotmail.com.1H IN NSns1.jsnet.com.

;; ADDITIONAL SECTION:
mc3.law13.hotmail.com.  6m40s IN A  64.4.49.135
mc4.law13.hotmail.com.  6m40s IN A  64.4.49.199
mc5.law13.hotmail.com.  6m40s IN A  64.4.50.7
mc6.law13.hotmail.com.  6m40s IN A  64.4.50.71
mc4.law5.hotmail.com.   6m40s IN A  64.4.56.135
mc5.law5.hotmail.com.   6m40s IN A  64.4.56.199
mc6.law5.hotmail.com.   6m40s IN A  64.4.55.7
mc7.law5.hotmail.com.   6m40s IN A  64.4.42.7

;; Total query time: 822 msec
;; FROM: blackhole to SERVER: ns1.hotmail.com  216.200.206.140
;; WHEN: Thu Jul  5 18:50:28 2001
;; MSG SIZE  sent: 29  rcvd: 504



15 hotmail.com:
504 bytes, 1+12+5+8 records, response, authoritative, noerror
query: 15 hotmail.com
answer: hotmail.com 3600 MX 10 mc3.law13.hotmail.com
answer: hotmail.com 3600 MX 10 mc4.law13.hotmail.com
answer: hotmail.com 3600 MX 10 mc5.law13.hotmail.com
answer: hotmail.com 3600 MX 10 mc6.law13.hotmail.com
answer: hotmail.com 3600 MX 10 mc4.law5.hotmail.com
answer: hotmail.com 3600 MX 10 mc5.law5.hotmail.com
answer: hotmail.com 3600 MX 10 mc6.law5.hotmail.com
answer: hotmail.com 3600 MX 10 mc7.law5.hotmail.com
answer: hotmail.com 3600 MX 10 mc1.law5.hotmail.com
answer: hotmail.com 3600 MX 10 mc2.law5.hotmail.com
answer: hotmail.com 3600 MX 10 mc1.law13.hotmail.com
answer: hotmail.com 3600 MX 10 mc2.law13.hotmail.com
authority: hotmail.com 3600 NS ns1.hotmail.com
authority: hotmail.com 3600 NS ns2.hotmail.com
authority: hotmail.com 3600 NS ns3.hotmail.com
authority: hotmail.com 3600 NS ns4.hotmail.com
authority: hotmail.com 3600 NS ns1.jsnet.com
additional: mc3.law13.hotmail.com 400 A 64.4.49.135
additional: mc4.law13.hotmail.com 400 A 64.4.49.199
additional: mc5.law13.hotmail.com 400 A 64.4.50.7
additional: mc6.law13.hotmail.com 400 A 64.4.50.71
additional: mc4.law5.hotmail.com 400 A 64.4.56.135
additional: mc5.law5.hotmail.com 400 A 64.4.56.199
additional: mc6.law5.hotmail.com 400 A 64.4.55.7
additional: mc7.law5.hotmail.com 400 A 64.4.42.7



Re: qmail-remote

2001-07-05 Thread David Gartner

Me again...

Now we're getting this in the log files:

@40003b44845219ec0e14 status: local 0/10 remote 3/20 exitasap
@40003b44845219ec73a4 delivery 760867: deferral: qmail-remote_crashed./
@40003b44845219ece8d4 status: local 0/10 remote 2/20 exitasap
@40003b44845219ed524c delivery 760873: deferral: qmail-remote_crashed./
@40003b44845219edc77c status: local 0/10 remote 1/20 exitasap
@40003b44845219ee2d0c delivery 760883: deferral: qmail-remote_crashed./
@40003b44845219eea23c status: local 0/10 remote 0/20 exitasap


Here's what we've always used for the startup of qmail, and never had a problem (till
now):


/bin/csh -cf '/var/qmail/rc '
tcpserver -R -c 150 0 110 /var/qmail/bin/qmail-popup mail.mydomain.net
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
tcpserver -p  -x /etc/tcp.smtp.cdb -c 150 0 smtp /var/qmail/bin/qmail-smtpd 

The server seems to be sending and receiving mail fine though.  The only thing I'm
noticing is that the size of the unprocessed queue messages is growing.

Any ideas?

Thanks again

David

 On Thu, Jul 05, 2001 at 11:05:40AM -0400, David Gartner allegedly wrote:
  Hey all,
 
  I have a slight problem.  I got some calls that the mail server was taking 5
  hours to send email, so I checked out the mail server.  I had 3 connections to
  some mail server (all the same) and all the other qmail-remotes were enclosed in
  brackets [qmail-remote].  Not knowing what this was, I did a 'killall
  -HUP qmail-remote'.   The 'unclogged' the remote process and it started
  delivering the messages that were on hold.  Can anyone tell me what might have
  cause this




Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread James Stevens

grrr hate it when I forget to reply to all...

--JT
- Original Message -
From: James Stevens [EMAIL PROTECTED]
To: Charles Cazabon [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 10:38 AM
Subject: Re: Hotmail, CNAME lookup failure, zone transfer...WTF?


 That wasn't my message.. I was meerly replying to a message and asking a
 question Charles .. ;)

 --JT
 Network Administrator
 http://www.webcommanders.com

 - Original Message -
 From: Charles Cazabon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, July 05, 2001 10:15 AM
 Subject: Re: Hotmail, CNAME lookup failure, zone transfer...WTF?


  James Stevens [EMAIL PROTECTED] wrote:
 
  It doesn't.  snort is lying -- don't worry, it lies about a lot
of
  other things, too.  Take everything snort says with a grain of
 salt.
   
 Snort is just a tool, and my previous post was about qmail, not
 snort :)
 Snort is not lying. You think it took the packet dump out of the
 blue
 sky?  I also ran tcpdump and it says the same. Is tcpdump also
 lying?
   
No.  There's no zone transfer happening.  The worst case is Hotmail
 went
over the 512-byte UDP DNS response limit, and the resolver is
 therefore
trying to do a TCP query instead.  This is not a zone transfer, but
 snort
reports it as such.
 
   No, I show them well under the 512 limit.. Even then if the
 'bigtodo-dns' I
   believe it's called is installed then what does it matter???
 
  bigdns is the patch you're talking about.  It matters in certain
  circumstances.  Perhaps your local dns resolver is broken, or it
forwards
 to
  another broken resolver.  Perhaps Hotmail's load-balanced and
distributed
 DNS
  is giving slightly different answers there than here.
 
  Regardless, you were very rude above.  What we're telling you is the
 truth;
  please accept it, don't abuse those supplying the answers.
 
   I am correct right?
 
  Sadly, no.
 
  Charles
  --
  ---
  Charles Cazabon[EMAIL PROTECTED]
  GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
  ---
 





Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Charles Cazabon

James Stevens [EMAIL PROTECTED] wrote:
 
  That wasn't my message.. I was meerly replying to a message and asking a
  question Charles .. ;)

I apologize to the list for any confusion; I mis-attributed statements to
James while trying to clean up and prune the quoting in the message.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Strange tcp.smtp issue

2001-07-05 Thread Josiah Hobson

I think I sent this in a few days ago, but I have seen no replies as yet. 
I seem to be seeing periodic corruption of my tcp.smtp.cdb file. I would 
really value some input from those more knowledgable than myself b/c I am
totally stumped...

It all started when I wanted to open up SMTP to other machines on my local
network. I added this line to tcp.smtp and rebuilt the cdb:
10.0.0.:allow,RELAYCLIENT=

Now the smtp socket seems to die or hang or something after 12-24 hours.
netstat shows it as still listening, but a telnet to port 25 will connect
but not initiate a session or respond to any commands. Applications
attempting to send mail will of course timeout waiting for a response.

Restarting qmail with `qmail restart` does NOT solve the problem, nor does
restarting the OS. Simply rebuilding the cdb with `qmail cdb` DOES HOWEVER
fix the problem immediately. So it does seem that the tcp.smtp.cbd file is
being corrupted. 

I don't see anything anywhere in the logs to indicate that something bad
is happenening. I am no qmail expert so I'm about at the end of my
troubleshooting capability. Anybody who can shed some light on the inner 
workings of this cdb so I can figure out why it is being corrupted? 

I mean, I could always cron a `qmail cdb` script and probably avoid the
issue, but I hate not get down to the root cause.

My qmail setup is pretty plain vanilla - configured according to the 
advice in living with qmail. It was running fine for several weeks 
before I made this change, although I was not really using SMTP then.

Thanks!

- josiah



Re: Hotmail, CNAME lookup failure, zone transfer...WTF?

2001-07-05 Thread Henning Brauer

On Thu, Jul 05, 2001 at 05:25:04PM +0200, Marek Gutkowski wrote:
 Mail server really tries to connect to the DNS with tcp dport 53. It does.
 It does. I'm sure.

Whenever a dns response exceeds the magic XXX byte size (forgot the exact
number) the udp query is dropped and retried over tcp, that's what you are
seeing. Easy to guess that this slows down things and is totally bogus as
there is no real reason for a dns response to be bigger than these X bytes.
the big-dns patch enables qmail to use these oversized dns packtes, but
hotmail's setup is stupid.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: Strange tcp.smtp issue

2001-07-05 Thread Adam Conolly


I had the Exact Same problem, Unfortunately (or fortunately for me) it 
seemed to fix itself when i started playing with djbdns, replacing bind.
 But i have no idea if its related at all, or not.

Josiah Hobson wrote:

I think I sent this in a few days ago, but I have seen no replies as yet. 
I seem to be seeing periodic corruption of my tcp.smtp.cdb file. I would 
really value some input from those more knowledgable than myself b/c I am
totally stumped...

It all started when I wanted to open up SMTP to other machines on my local
network. I added this line to tcp.smtp and rebuilt the cdb:
10.0.0.:allow,RELAYCLIENT=

Now the smtp socket seems to die or hang or something after 12-24 hours.
netstat shows it as still listening, but a telnet to port 25 will connect
but not initiate a session or respond to any commands. Applications
attempting to send mail will of course timeout waiting for a response.

Restarting qmail with `qmail restart` does NOT solve the problem, nor does
restarting the OS. Simply rebuilding the cdb with `qmail cdb` DOES HOWEVER
fix the problem immediately. So it does seem that the tcp.smtp.cbd file is
being corrupted. 

I don't see anything anywhere in the logs to indicate that something bad
is happenening. I am no qmail expert so I'm about at the end of my
troubleshooting capability. Anybody who can shed some light on the inner 
workings of this cdb so I can figure out why it is being corrupted? 

I mean, I could always cron a `qmail cdb` script and probably avoid the
issue, but I hate not get down to the root cause.

My qmail setup is pretty plain vanilla - configured according to the 
advice in living with qmail. It was running fine for several weeks 
before I made this change, although I was not really using SMTP then.

Thanks!

- josiah



-- 
Adam Conolly

System Administrator
Cintek Internet Services







Re: Strange tcp.smtp issue

2001-07-05 Thread Charles Cazabon

Josiah Hobson [EMAIL PROTECTED] wrote:

 Now the smtp socket seems to die or hang or something after 12-24 hours.
 netstat shows it as still listening, but a telnet to port 25 will connect
 but not initiate a session or respond to any commands. Applications
 attempting to send mail will of course timeout waiting for a response.

If tcpserver hits the concurrency limit you've specified (default 40),
additional connections will go into this limbo state until one of the existing
connections exits.  Perhaps something is tying up connections?  Make sure you
use the -v option of tcpserver, and capture/log tcpserver's output.  That will
log status lines, showing you what the concurrency is at every connection.  If
it goes steadily up, this is your problem.

 Restarting qmail with `qmail restart` does NOT solve the problem, nor does
 restarting the OS.

Restarting the OS?  You mean rebooting?  That clears the TCP connection
backlog in every OS I know :).

 Simply rebuilding the cdb with `qmail cdb` DOES HOWEVER fix the problem
 immediately. So it does seem that the tcp.smtp.cbd file is being corrupted. 

It appears so.  Are you logging tcpserver's output and using the -v flag?

 I don't see anything anywhere in the logs to indicate that something bad
 is happenening. I am no qmail expert so I'm about at the end of my
 troubleshooting capability. Anybody who can shed some light on the inner 
 workings of this cdb so I can figure out why it is being corrupted? 

tcprules can't leave a corrupt .cdb file -- it writes to a temp file, and
only moves it into place of the original if successful.

 I mean, I could always cron a `qmail cdb` script and probably avoid the
 issue, but I hate not get down to the root cause.

I would guess filesystem or memory corruption.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



[ANNOUNCE] TMDA 0.22 - A qmail-based anti-SPAM system

2001-07-05 Thread Jason R. Mastaler

Since I announced TMDA 0.10 here a couple months ago, the software has
undergone several major feature additions including:
  
* Support for site-wide installations using qmail-relay rewriting.
  This also allows TMDA to be used by non-qmail clients such as those
  running Microsoft Windows.
  
* A powerful new matching syntax based on Unix shell-style wildcards.
  
* Package installation options for Linux and FreeBSD.
  
TMDA has also reached a level of stability where I feel it is now
production-worthy.
  
About TMDA:
  
TMDA is an OSI certified Python application for qmail systems designed
to significantly reduce (or eliminate) the amount of SPAM/UCE you
receive by using unique, cryptographically enhanced (called tagged)
e-mail addresses.  TMDA can both filter your incoming e-mail, and tag
your outgoing address.

For more information, download locations, and installation
instructions, visit the TMDA homepage:

URL:http://tmda.sourceforge.net/

Enjoy.



Re: FYI: Windows is better

2001-07-05 Thread Medi Montaseri


Microsoft is like a little convertable sexy car, good for running to the
store to
buy a pack of cigarette. But if you decide to haul 18 tons of lumber,
it is not the
right vehicle.
As such, how many average people use 18 ton trucks? And as such how
much work is done by the trucking (or transportation) industry?
"[EMAIL PROTECTED]" wrote:
Subject: Windows vs Unix
From:Charles Booher
h-64-105-140-243.lnoclli.covad.net
Tue Jul 3 12:25:05
My second computer was a VA Linux box. I tried to run
SCO Unix on my first computer but that did not work out
for a number of reasons.
When Windows 3.0 was young I was working on various
applications for Sun, HP, Silicon Graphics and all those
other soon to be defunct Unix Workstation vendors. I was
one of the first guys to write a P.O. for Rack mounted
Linux boxes, and I have done a lot of developement with
X-Windows, Motif, GNU, and all the GNU Toys. I started
learning Windows 3.0 and worked my way through all the
other MS developement tool kits starting with the C/C++
7.0 compiler and Borland Compilers.
I have been working in both Unix and Windows for the Last
10 years.
Windows is a better software system. Linux is free and
the only use I have had for it in the last four years was
to set up a cheap router using an obsolete scrap computer.
Unix does very little that is usefull to the average
computer user.
Unix is not a new technology.
Linux is just a free rewrite of the Unix system.
Where are the application packages for Linux? They are
mostly a pile of student written science fair experiments
scattered on a large number of obscure web site. So you
can download the source to LaTex. Who cares? People buy
computers to run applications. They don't buy computers
to run compilers, although Microsoft does make better
compilers for x86 than GNU.
MSDN is a better development environment than GNU,
Better software tools create better software.
People don't care how well an operating system works if
there are no useful applications.
So how is Richard Stallman doing with his Hurd Operating
system?
The entire GNU-Linux system is nothing more than a
science fair experiment run by various techno-geeks. As a
science fair experiment GNU-Linux has its uses.
I have looked very deeply into both systems and Microsoft
has the better system.
Regards,
Charles


--
===
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
===



qmail processes and POP3

2001-07-05 Thread Chris Woods



I have installed 
qmail-popup and qmail-pop3d. But when I go look at the processes running I 
am getting the following:

Can someone help me 
with this.

Thanks.
Chris.

root  1902  0.0  0.2   988  308 pts/2S13:23   0:00 supervise qmail-send
root  1909  0.0  0.2   988  308 pts/2S13:23   0:00 supervise qmail-smtpd
root  1911  1.7  0.2   988  308 pts/2S13:23   1:16 supervise qmail-pop3d
qmaill1922  0.1  0.2  1004  352 pts/2S13:23   0:08 multilog t ./main
qmails5424  0.0  0.3  1044  380 pts/2S13:48   0:00 qmail-send
root  5425  0.0  0.2  1000  320 pts/2S13:48   0:00 qmail-lspawn 
|dot-forward .forward?   ./Maildir/
qmailr5426  0.0  0.2  1000  320 pts/2S13:48   0:00 qmail-rspawn
qmailq5427  0.0  0.2   992  336 pts/2S13:48   0:00 qmail-clean
qmaild5428  0.0  0.4  1316  560 pts/2S13:48   0:00 
/usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -u 1024 -g 1023 0 smtp 
rblsmtpd rblsmtpd -rrelays.mail-abuse.org /var/qmail/bin/qmail-smtpd
qmaill5432  0.2  0.2  1004  352 pts/2S13:48   0:07 /usr/local/bin/multilog 
t /var/log/qmail/pop3d
qmaill5433  0.0  0.2  1000  304 pts/2S13:48   0:00 /usr/local/bin/multilog 
t s250 /var/log/qmail/qmail-send
qmaill5434  0.0  0.2  1000  304 pts/2S13:48   0:00 /usr/local/bin/multilog 
t s250 /var/log/qmail/qmail-smtpd
root 19442  0.0  0.6  1724  800 pts/2S14:35   0:00 sh -c ?case 
$REMOTENAME in h) H=;; p) H=p;; *) H=H;; esac?case $REMOTEINFO in r) R=;; 
[0-9]*) R=t$REMOTEINFO;; *) R=R;; esac?exec \?softlimit 
${DATALIMIT+-d$DATALIMIT} \?/usr/local/bin/tcpserver \??-vD$H$R 
\??${LOCALNAME+-l$LOCALNAME} \??${BACKLOG+-b$BACKLOG} 
\??${CONCURRENCY+-c$CONCURRENCY} \??-xtcp.cdb \??-- ${IP-0} ${PORT-110} \?
/var/qmail/bin/qmail-popup ${POPUPHOST-`sed 1q /var/qmail/control/me`} \?
/bin/checkpassword \?/var/qmail/bin/qmail-pop3d ${MAILDIRNAME-Maildir}?
root 19445  0.0  0.6  1724  800 pts/2S14:35   0:00 sh -c ?case 
$REMOTENAME in h) H=;; p) H=p;; *) H=H;; esac?case $REMOTEINFO in r) R=;; 
[0-9]*) R=t$REMOTEINFO;; *) R=R;; esac?exec \?softlimit 
${DATALIMIT+-d$DATALIMIT} \?/usr/local/bin/tcpserver \??-vD$H$R 
\??${LOCALNAME+-l$LOCALNAME} \??${BACKLOG+-b$BACKLOG} 
\??${CONCURRENCY+-c$CONCURRENCY} \??-xtcp.cdb \??-- ${IP-0} ${PORT-110} \?
/var/qmail/bin/qmail-popup ${POPUPHOST-`sed 1q /var/qmail/control/me`} \?
/bin/checkpassword \?/var/qmail/bin/qmail-pop3d ${MAILDIRNAME-Maildir}?
root 19446  0.0  0.6  1724  800 pts/2R14:35   0:00 sh -c ?case 
$REMOTENAME in h) H=;; p) H=p;; *) H=H;; esac?case $REMOTEINFO in r) R=;; 
[0-9]*) R=t$REMOTEINFO;; *) R=R;; esac?exec \?softlimit 
${DATALIMIT+-d$DATALIMIT} \?/usr/local/bin/tcpserver \??-vD$H$R 
\??${LOCALNAME+-l$LOCALNAME} \??${BACKLOG+-b$BACKLOG} 
\??${CONCURRENCY+-c$CONCURRENCY} \??-xtcp.cdb \??-- ${IP-0} ${PORT-110} \?
/var/qmail/bin/qmail-popup ${POPUPHOST-`sed 1q /var/qmail/control/me`} \?
/bin/checkpassword \?/var/qmail/bin/qmail-pop3d ${MAILDIRNAME-Maildir}?



RE: FYI: Windows is better

2001-07-05 Thread Mark Douglas



Excellent analogy!! I love it!


Mark Douglas - 
Architecture Sympatico-Lycos Inc. All your base are belong to us! Make your time! 

  -Original Message-From: Medi Montaseri 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 05, 2001 
  8:47To: [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Subject: Re: FYI: Windows is 
  betterMicrosoft is like a little convertable sexy car, 
  good for running to the store to buy a pack of cigarette. But if you 
  decide to haul 18 tons of lumber, it is not the right vehicle. 
  As such, how many average people use 18 ton trucks? And as such how 
  much work is done by the trucking (or transportation) industry? 
  "[EMAIL PROTECTED]" wrote: 
  Subject: Windows vs Unix From:Charles Booher 
h-64-105-140-243.lnoclli.covad.net Tue Jul 3 12:25:05 
My second computer was a VA Linux box. I tried to run SCO Unix 
on my first computer but that did not work out for a number of reasons. 
When Windows 3.0 was young I was working on various applications for 
Sun, HP, Silicon Graphics and all those other soon to be defunct Unix 
Workstation vendors. I was one of the first guys to write a P.O. 
for Rack mounted Linux boxes, and I have done a lot of developement with 
X-Windows, Motif, GNU, and all the GNU Toys. I started 
learning Windows 3.0 and worked my way through all the other MS 
developement tool kits starting with the C/C++ 7.0 compiler and Borland 
Compilers. 
I have been working in both Unix and Windows for the Last 10 years. 
Windows is a better software system. Linux is free and the only 
use I have had for it in the last four years was to set up a cheap 
router using an obsolete scrap computer. 
Unix does very little that is usefull to the average computer user. 
Unix is not a new technology. 
Linux is just a free rewrite of the Unix system. 
Where are the application packages for Linux? They are mostly a 
pile of student written science fair experiments scattered on a large 
number of obscure web site. So you can download the source to 
LaTex. Who cares? People buy computers to run applications. 
They don't buy computers to run compilers, although Microsoft does make 
better compilers for x86 than GNU. 
MSDN is a better development environment than GNU, Better software 
tools create better software. 
People don't care how well an operating system works if there are no 
useful applications. 
So how is Richard Stallman doing with his Hurd Operating system? 
The entire GNU-Linux system is nothing more than a science fair 
experiment run by various techno-geeks. As a science fair experiment 
GNU-Linux has its uses. 
I have looked very deeply into both systems and Microsoft has the 
better system. 
Regards, 
Charles --
===
Medi Montaseri, [EMAIL PROTECTED], 408-450-7114
Prepass Inc, IT/Operations, Software Eng.
=== 



Re: FYI: Windows is better

2001-07-05 Thread Brook Humphrey

On Thursday 05 July 2001 05:46 am, you wrote:

My analagy would be more like a porche with a lawnmower engine.

 Microsoft is like a little convertable sexy car, good for running to
 the store to
 buy a pack of cigarette. But if you decide to haul 18 tons of lumber,
 it is not the
 right vehicle.

 As such, how many average people use 18 ton trucks? And as such how
 much work is done by the trucking (or transportation) industry?

-- 

-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
Brook Humphrey  
  Mobile PC Medic, 420 1st, Cheney, WA 99004, 509-235-9107  
  
 http://www.webmedic.net, [EMAIL PROTECTED], [EMAIL PROTECTED]  
 
-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-~`'~-
  My posting or sending this is NOT an invitation for spammers to say 
that
  I've asked to be put on a mailing list.
   You are not permitted to send unsolicited bulk email 
 (commonly referred to as spam) 
to this address, or to sell this address to people who do. 
By extracting the address from this page, 
  you agree to pay a fee of $10,000.00 per UBE message you send 
   and $100,000.00 per instance you sold this address.
 
___-~-___
  Holliness unto the Lord
  He must increase but I must decrease.
  *-~-*



Re: FYI: Windows is better

2001-07-05 Thread Chris Garrigues

 From:  Medi Montaseri [EMAIL PROTECTED]
 Date:  Thu, 05 Jul 2001 05:46:42 -0700

 Microsoft is like a little convertable sexy car, good for running to the
 store to
 buy a pack of cigarette. But if you decide to haul 18 tons of lumber, it
 is not the
 right vehicle.
 
 As such, how many average people use 18 ton trucks? And as such how
 much work is done by the trucking (or transportation) industry?

As a Miata driver, I'd like to point out that far too many people drive 
things which have more in common with the 18 ton truck than they do with
my car.

I don't like your analogy because it inaccurately puts me (as a Miata driver) in 
the same category as Windows users, but I think in the real world the Windows 
users are more like the SUV drivers who have something that feels powerful and 
safe, but isn't.

Chris

-- 
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO  http://www.virCIO.Com
4314 Avenue C   
Austin, TX  78751-3709  +1 512 374 0500

  My email address is an experiment in SPAM elimination.  For an
  explanation of what we're doing, see http://www.DeepEddy.Com/tms.html 

Nobody ever got fired for buying Microsoft,
  but they could get fired for relying on Microsoft.



 PGP signature


RE: qmail processes and POP3

2001-07-05 Thread Chris Woods



sorry 
for the bad attachment this looks better:


I have installed 
qmail-popup and qmail-pop3d. But when I go look at the processes running I 
am getting the following:

Can someone help me 
with this.

Thanks.
Chris.
--

  cwoods@vader:/home/cwoods# 
  ps auxww | grep qmailroot 1902 
  0.0 0.2 988 308 pts/2 
  S 13:23 0:00 supervise 
  qmail-send
  root 1909 0.0 
  0.2 988 308 pts/2 S 
  13:23 0:00 supervise qmail-smtpd
  root 1911 1.7 
  0.2 988 308 pts/2 S 
  13:23 1:31 supervise qmail-pop3d
  qmaill 1922 0.1 0.2 
  1004 352 pts/2 S 13:23 
  0:10 multilog t ./main
  qmails 5424 0.0 0.3 
  1044 380 pts/2 S 13:48 
  0:00 qmail-send
  root 5425 0.0 
  0.2 1000 320 pts/2 S 
  13:48 0:00 qmail-lspawn |dot-forward 
  .forward? ./Maildir/
  qmailr 5426 0.0 0.2 
  1000 320 pts/2 S 13:48 
  0:00 qmail-rspawn
  qmailq 5427 0.0 0.2 
  992 336 pts/2 S 13:48 
  0:00 qmail-clean
  qmaild 5428 0.0 0.4 
  1316 560 pts/2 S 13:48 
  0:00 /usr/local/bin/tcpserver -H -R -v -p -x /etc/tcp.smtp.cdb -u 1024 -g 1023 
  0 smtp rblsmtpd rblsmtpd -rrelays.mail-abuse.org 
  /var/qmail/bin/qmail-smtpd
  qmaill 5432 0.2 0.2 
  1004 352 pts/2 S 13:48 
  0:10 /usr/local/bin/multilog t /var/log/qmail/pop3d
  qmaill 5433 0.0 0.2 
  1000 304 pts/2 S 13:48 
  0:00 /usr/local/bin/multilog t s250 
  /var/log/qmail/qmail-send
  qmaill 5434 0.0 0.2 
  1000 304 pts/2 S 13:48 
  0:00 /usr/local/bin/multilog t s250 
  /var/log/qmail/qmail-smtpd
  root 31707 0.0 0.3 
  1112 448 pts/3 S 14:49 
  0:00 grep qmail
  root 31741 0.0 0.6 
  1724 800 pts/2 S 14:49 
  0:00 sh -c ? case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; 
  esac? case "$REMOTEINFO" in r) R=;; [0-9]*) 
  R="t$REMOTEINFO";; *) R=R;; esac? exec \? 
  softlimit ${DATALIMIT+"-d$DATALIMIT"} \? 
  /usr/local/bin/tcpserver \??-vD"$H$R" \??${LOCALNAME+"-l$LOCALNAME"} 
  \??${BACKLOG+"-b$BACKLOG"} \??${CONCURRENCY+"-c$CONCURRENCY"} \??-xtcp.cdb 
  \??-- "${IP-0}" "${PORT-110}" \? /var/qmail/bin/qmail-popup 
  "${POPUPHOST-`sed 1q /var/qmail/control/me`}" \? 
  /bin/checkpassword \? /var/qmail/bin/qmail-pop3d 
  "${MAILDIRNAME-Maildir}"?
  root 31742 0.0 0.6 
  1724 800 pts/2 R 14:49 
  0:00 sh -c ? case "$REMOTENAME" in h) H=;; p) H=p;; *) H=H;; 
  esac? case "$REMOTEINFO" in r) R=;; [0-9]*) 
  R="t$REMOTEINFO";; *) R=R;; esac? exec \? 
  softlimit ${DATALIMIT+"-d$DATALIMIT"} \? 
  /usr/local/bin/tcpserver \??-vD"$H$R" \??${LOCALNAME+"-l$LOCALNAME"} 
  \??${BACKLOG+"-b$BACKLOG"} \??${CONCURRENCY+"-c$CONCURRENCY"} \??-xtcp.cdb 
  \??-- "${IP-0}" "${PORT-110}" \? /var/qmail/bin/qmail-popup 
  "${POPUPHOST-`sed 1q /var/qmail/control/me`}" \? 
  /bin/checkpassword \? /var/qmail/bin/qmail-pop3d 
  "${MAILDIRNAME-Maildir}"?
  root 31743 0.0 0.2 
  1016 332 pts/2 R 14:49 
  0:00 /usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup 
  pop.charterwest-mortgage.com /bin/checkpassword /var/qmail/bin/qmail-pop3d 
  Maildir
  cwoods@vader:/home/cwoods# 
  
  ---Original 
  Message-From: Chris Woods 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 05, 2001 2:41 
  PMTo: [EMAIL PROTECTED]Subject: qmail processes and 
  POP3
  I have installed 
  qmail-popup and qmail-pop3d. But when I go look at the processes running 
  I am getting the following:
  
  Can someone help 
  me with this.
  
  Thanks.
  Chris.


Re: FYI: Windows is better

2001-07-05 Thread Robin S. Socha

* Mark Douglas [EMAIL PROTECTED] [010705 14:52]:

Ok. So we have:

* 12 lines of signature
* full quote (do you read from bottom to top? No? THEN WHY THE FUCK DO
  YOU NOT SET UP YOUR TRASHTOY CORRECTLY?)
* no quote string
* no attribution line
* HTML to bloat your crap mail even more
* fucked up line width

And all of this is brought to you by:
X-Mailer: Internet Mail Service (5.5.2650.21)

 Excellent analogy!! I love it!

It's bullshit. And this is a technical mailing list. Your emotions are
of no interest whatsoever. Go hug a tree, luser.

 Microsoft is like a little convertable sexy car, good for running to
 the store to buy a pack of cigarette. But if you decide to haul 18
 tons of lumber, it is not the right vehicle. 

Bullshit. It's neither convertible (unless you'd like to draw an analogy
between your top opening at 125mph and a BSOD) nor sexy. It's
technically outdated, it's insecure, and it's made to be used by idiots.
If you look up sexy convertible in a dictionary, you'll never find
something a) made by idiots b) for idiots c) by an American company.

 As such, how many average people use 18 ton trucks? And as such how 
 much work is done by the trucking (or transportation) industry? 

The internet was neither invented by Gill Bates, nor by Al Gore. *WE*
run it, and we don't use Windows. Ever. If you find using MacOS or $UNIX
on your desktop too much of an intellectual challenge, please don't use
technical mailing lists.

And could you girls please take your lamer talk somewhere else? Like
news:comp.os.advocacy? Oh. And DO NOT FUCKING Cc: ME.



RE: FYI: Windows is better

2001-07-05 Thread Bill Andersen

Robin S. Socha wrote:
 The internet was neither invented by Gill Bates, nor by Al Gore. *WE*
 run it, and we don't use Windows. Ever. If you find using MacOS or $UNIX
 on your desktop too much of an intellectual challenge, please don't use
 technical mailing lists.

Oh no, this is real scary.  I may have to adopt a new found respect
for you Robin.  Do you actually hold the MacOS in higher regard
then Windows?  Or is that only the new MacOS X due to it's $UNIX
roots?




RE: FYI: Windows is better

2001-07-05 Thread Mark Douglas
Title: RE: FYI: Windows is better





 
 * Mark Douglas [EMAIL PROTECTED] [010705 14:52]:
 
 Ok. So we have:
 
 * 12 lines of signature
Erm, 3 lines.


 * full quote (do you read from bottom to top? No? THEN WHY THE FUCK DO
 YOU NOT SET UP YOUR TRASHTOY CORRECTLY?)
Sorry, do you like how I'm doing it now?


 * no quote string
 * no attribution line
Corrected.


 * HTML to bloat your crap mail even more
Fixed.


 * fucked up line width
Due to above, fixed.


 
  Excellent analogy!! I love it!
 
 It's bullshit. And this is a technical mailing list. Your emotions are
 of no interest whatsoever. Go hug a tree, luser.


My emotions are of no interest, and yet you feel free to bitch about the way I have my mail client setup. I find this to be a contradiction. Anyway, I don't want to plug up this beloved technical mailing list of yours with any more off topic garbage. 'Nuf said.




Re: FYI: Windows is better

2001-07-05 Thread Kurth Bemis

This guy reminds me of the guys in high school that used to brag about how 
their truck/car brand was better then another brand.

my chevy could pull your dodge around in circles

get a freaking lifeshut your mouth if your going to be a annoying 
little puke.

there is no need for profanity on this list or otherwise.  Grow 
up.  Fuck..Shit...look mommy I can use four letter words.Let us know 
when you have graduated to 5 and 6 letter words, eh?

speaking of crap in mail.  lets review your headers.

X-Mailer: Mutt http://www.mutt.org/
X-URL: http://socha.net/
X-Uptime: 2:53PM  up 45 days,  2:02, 2 users, load averages: 1.56, 1.47, 1.42
X-Operating-System: OpenBSD mail1 2.8 MAIL1
X-Editor: Vim-507 http://www.vim.org/
X-Delivery-Agent: TMDA v0.16/Python 1.5.2 (openbsd2)

good. my MUA really needs to know your uptime or your OS oh great!.

now to really make you mad.  below you'll see my comments.

* Mark Douglas [EMAIL PROTECTED] [010705 14:52]:

Ok. So we have:

* 12 lines of signature
* full quote (do you read from bottom to top? No? THEN WHY THE FUCK DO
   YOU NOT SET UP YOUR TRASHTOY CORRECTLY?)
* no quote string
* no attribution line
* HTML to bloat your crap mail even more
* fucked up line width

sigh - no comment.


And all of this is brought to you by:
X-Mailer: Internet Mail Service (5.5.2650.21)

  Excellent analogy!! I love it!

It's bullshit. And this is a technical mailing list. Your emotions are
of no interest whatsoever. Go hug a tree, luser.

neither are yours.  get with it.


  Microsoft is like a little convertable sexy car, good for running to
  the store to buy a pack of cigarette. But if you decide to haul 18
  tons of lumber, it is not the right vehicle.

Bullshit. It's neither convertible (unless you'd like to draw an analogy
between your top opening at 125mph and a BSOD) nor sexy. It's
technically outdated, it's insecure, and it's made to be used by idiots.
If you look up sexy convertible in a dictionary, you'll never find
something a) made by idiots b) for idiots c) by an American company.

well.  I can tell your not a High School GradSexy Convertible won't 
be in the dictionary.  its two words Einstein!  And plus sexy is a 
derivative of sex  so you'll have to look for sex.


  As such, how many average people use 18 ton trucks? And as such how
  much work is done by the trucking (or transportation) industry?

The internet was neither invented by Gill Bates, nor by Al Gore. *WE*
run it, and we don't use Windows. Ever. If you find using MacOS or $UNIX
on your desktop too much of an intellectual challenge, please don't use
technical mailing lists.

and if you can't control yourself you'll have to have the teacher separate 
you from the rest of the class.  If making come constructive comments 
aren't within your capabilities maybe you should un sub from this 
list.  And please - If you do decide to un sub from this list don't mail 
the list and say how do i un subscribe?  but you probably will anyway.


And could you girls please take your lamer talk somewhere else? Like
news:comp.os.advocacy? Oh. And DO NOT FUCKING Cc: ME.

and maybe you could take your bitching to news:alt.lamer.bitching.moron :-)



Kurth Bemis
Owner: Ozone Computer
Owner/Senior Network Administrator: USAExpress.net LLC
HomePage: http://kurth.hardcrypto.com

Man kann niemanden zu seinem Glück zwingen




SMTP AUTH + MYSQL Checkpassword

2001-07-05 Thread Steve

Hi,

I've read all that I can find on the subject and tried to build this
setup a few different ways with a few peoples patches and all with no
luck.

I built checkpassword .9 setup for MySQL... if I test it it works.

I built qmail-smtpd with the patch to authenticate and call checkpassword.
Eric M. Johnston's YAQSAP.

Unfortunately when I put it together it doesn't work.  The behavior I see
is that it does not respond to the connection and I also see another
qmail-smtpd process fire up and get stuck.  I can make a check password that
always _exit(1) or _exit(0) and then the authentication process seems to
work... the dialog box pops up in Outlook.

Any ideas?  Even some suggestions on how to better debug would be great
because I find that qmail-smtpd does not log any error messages.

Thanks,

Steve




Re: FYI: Windows is better

2001-07-05 Thread Daniel Duclos

On Thu, 5 Jul 2001, Kurth Bemis wrote:

 This guy reminds me of the guys in high school that used to brag about how
 their truck/car brand was better then another brand.



Why, oh why, is this being discussed on a qmail list?

Daniel Lobato Duclos - [EMAIL PROTECTED] - http://www.cybershark.net
---
Stand for something, or you will fall for nothing.
(http://www.gnu.org/philosophy/pragmatic.html)




Re: SMTP AUTH + MYSQL Checkpassword

2001-07-05 Thread Dave Weiner

 Hi,

 I've read all that I can find on the subject and tried to build this
 setup a few different ways with a few peoples patches and all with no
 luck.

 I built checkpassword .9 setup for MySQL... if I test it it works.

 I built qmail-smtpd with the patch to authenticate and call checkpassword.
 Eric M. Johnston's YAQSAP.

 Unfortunately when I put it together it doesn't work.  The behavior I see
 is that it does not respond to the connection and I also see another
 qmail-smtpd process fire up and get stuck.  I can make a check password
that
 always _exit(1) or _exit(0) and then the authentication process seems to
 work... the dialog box pops up in Outlook.

 Any ideas?  Even some suggestions on how to better debug would be great
 because I find that qmail-smtpd does not log any error messages.

While I wasn't using the checkpassword setup for MySQL (I'm using the 4.10.x
series of vpopmail), I had a similar experiance.  Make sure that the
checkpassword program that you are using is written so it's using exit(1)
not exit(0) for everything except a successfull authentication.  Once I made
those changes to vchkpw, it worked like a champ.


 Thanks,

 Steve

Dave W





Re: FYI: Windows is better

2001-07-05 Thread Kurth Bemis

At 05:01 PM 7/5/2001, Daniel Duclos wrote:

i can't tell ya :-)

On Thu, 5 Jul 2001, Kurth Bemis wrote:

  This guy reminds me of the guys in high school that used to brag about how
  their truck/car brand was better then another brand.
 


Why, oh why, is this being discussed on a qmail list?

Daniel Lobato Duclos - [EMAIL PROTECTED] - http://www.cybershark.net
---
Stand for something, or you will fall for nothing.
(http://www.gnu.org/philosophy/pragmatic.html)




Re: weird qmail-popup behaviour?

2001-07-05 Thread Peter van Dijk

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



easy one

2001-07-05 Thread Chris Woods



I am following the 
life with qmail page and I am confused regarding the installation of qmail-pop3d 
in relation to startup files. I have svscan running and I was wondering do 
I also need to have qmailctl script running.

Thanks.
Chris.


RE: Strange tcp.smtp issue

2001-07-05 Thread Josiah Hobson

Charles, thanks for the response!

That scenario sounds feasible enough, but looks like that is not it.

The output from tcpserver is all very much like this (and annoyingly has no
date/time):

@40003b433ad92bbc7304 tcpserver: status: 1/20
@40003b433ad92bc0b8c4 tcpserver: pid 12691 from 131.193.178.181
@40003b433ad92eddf29c tcpserver: ok 12691 :10.0.0.5:25
muncher.math.uic.edu:131.193.178.181::26023
@40003b433ada0ffedb34 tcpserver: end 12691 status 0
@40003b433ada0fff5834 tcpserver: status: 0/20

Am I correct to think that my concurrency is the 1/20, 0/20, etc? If so it
does not seem to be piling up dead connections.

And, yes, rebooting the machine also does not fix the problem.

Like you say, tcprules does leave a clean .cdb file, but it seems as though
some other process comes along and steps on it later. I guess filesystem or
memory corruption could be the culprit. I guess that is off-topic for the
qmail list, but any ideas how I might test out that theory?

Thanks again, j


-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 3:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Strange tcp.smtp issue


Josiah Hobson [EMAIL PROTECTED] wrote:

 Now the smtp socket seems to die or hang or something after 12-24 hours.
 netstat shows it as still listening, but a telnet to port 25 will connect
 but not initiate a session or respond to any commands. Applications
 attempting to send mail will of course timeout waiting for a response.

If tcpserver hits the concurrency limit you've specified (default 40),
additional connections will go into this limbo state until one of the
existing
connections exits.  Perhaps something is tying up connections?  Make sure
you
use the -v option of tcpserver, and capture/log tcpserver's output.  That
will
log status lines, showing you what the concurrency is at every connection.
If
it goes steadily up, this is your problem.

 Restarting qmail with `qmail restart` does NOT solve the problem, nor does
 restarting the OS.

Restarting the OS?  You mean rebooting?  That clears the TCP connection
backlog in every OS I know :).

 Simply rebuilding the cdb with `qmail cdb` DOES HOWEVER fix the problem
 immediately. So it does seem that the tcp.smtp.cbd file is being
corrupted.

It appears so.  Are you logging tcpserver's output and using the -v flag?

 I don't see anything anywhere in the logs to indicate that something bad
 is happenening. I am no qmail expert so I'm about at the end of my
 troubleshooting capability. Anybody who can shed some light on the inner
 workings of this cdb so I can figure out why it is being corrupted?

tcprules can't leave a corrupt .cdb file -- it writes to a temp file, and
only moves it into place of the original if successful.

 I mean, I could always cron a `qmail cdb` script and probably avoid the
 issue, but I hate not get down to the root cause.

I would guess filesystem or memory corruption.

Charles
--
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---




Host level routing is getting denied

2001-07-05 Thread Rodney Broom

I'm trying to configure to have mail for [EMAIL PROTECTED] get delivered to a
specific mailbox file, but without having a corresponding system user. I
don't need POP access or any other features, just the incoming routing. I've
looked at a couple of FAQs and several docs online, and none are working.
qmail keeps saying that there's, no mailbox here by that name.

Can anybody lend some help?

---
Rodney Broom
Programmer: Desert.Net





Not able to sending email to only one domain from qmail server

2001-07-05 Thread Harry

 Hello all,

 I have a very weird problem. I have qmail running fine. I am able to send
 email to all other domains except only one domain. I get the following
 message and finally this message is not delivered.

 This message was created automatically by mail delivery software.

 A message that you sent has not yet been delivered to all its recipients
 after more than 4 hours on the queue on marketinsights.com.

 The message identifier is: 15IDWP-0004es-00
 The subject of the message is:
 The date of the message is:Thu, 5 Jul 2001 11:55:47 -0700

 The address to which the message has not yet been delivered is:

   [EMAIL PROTECTED]

 No action is required on your part. Delivery attempts will continue for
 some time, and this warning may be repeated at intervals if the message
 remains undelivered. Eventually the mail delivery software will give up,
 and when that happens, the message will be returned to you.

 first I get this message after one hour and then after four hours and so
 forth. All the other domains where qmail server is running they receive
the
 message fine. Any email I send to this domain I get these messages.

 Is this to do something with reverse DNS lookup?

 Anybody has any idea please let me know.

 Regards,

 Harry







Re: Host level routing is getting denied

2001-07-05 Thread Rodney Broom

From: John White [EMAIL PROTECTED]

 On Thu, Jul 05, 2001 at 04:25:00PM -0700, Rodney Broom wrote:
  I'm trying to configure to have mail for [EMAIL PROTECTED] get delivered to
a
  specific mailbox file, but without having a corresponding system user.

JW Not a problem.  just add:
JW ~alias/.qmail-user

Close, but not quite. If I use ~alias/.qmail-jack, then ALL mail sent to the
user jack at ANY of the domains that I control will make it to the same
mail box. I need [EMAIL PROTECTED] and [EMAIL PROTECTED] to make it into different
mailboxes.

---
Rodney Broom
Programmer: Desert.Net





Re: Host level routing is getting denied

2001-07-05 Thread Charles Cazabon

Rodney Broom [EMAIL PROTECTED] wrote:
 I'm trying to configure to have mail for [EMAIL PROTECTED] get delivered to a
 specific mailbox file, but without having a corresponding system user. I
 don't need POP access or any other features, just the incoming routing. I've
 looked at a couple of FAQs and several docs online, and none are working.
 qmail keeps saying that there's, no mailbox here by that name.

If this domain is not in locals, you could also use a virtual user entry in
virtualdomains to do something similar.  For instance, if your account is
rodney, and you want to capture mail to [EMAIL PROTECTED], put this in
virtualdomains:

  [EMAIL PROTECTED]:rodney-info

Then, in ~rodney, have a .qmail-info file with a delivery
instruction:

  ./Mail/info/

which files it in a Maildir of that name and path.

If this domain is in locals, you could use an ~alias/.qmail file to forward it
to your personal account (or an extension address of your account).  To
capture mail to [EMAIL PROTECTED], where example.net is in locals, have a
file ~alias/.qmail-info which contains

  rodney-info

And then have ~rodney/.qmail-info as above.  There's lots of other ways to do
this too.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Not able to sending email to only one domain from qmail server

2001-07-05 Thread Charles Cazabon

Harry [EMAIL PROTECTED] wrote:

 I have a very weird problem. I have qmail running fine. I am able to send
 email to all other domains except only one domain. I get the following
 message and finally this message is not delivered.
[...]
 A message that you sent has not yet been delivered to all its recipients
 after more than 4 hours on the queue on marketinsights.com.
[...]
 The address to which the message has not yet been delivered is:
[...]
 No action is required on your part. Delivery attempts will continue for
 some time, and this warning may be repeated at intervals if the message
 remains undelivered. Eventually the mail delivery software will give up,
 and when that happens, the message will be returned to you.

Read all that above again, carefully.  Contemplate why you are asking the
qmail list what is the problem, when the message above tells you there is no
problem (yet).

In short:  it's a delivery delay notification.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Quick question re maildir

2001-07-05 Thread Steve Reed

Hi all,

Thanks for the great help from this group in the past.  I plan 
to begin the migration process to qmail in the coming days and 
weeks, and as part of the planning process am wondering if the 
general consensus is that the maildir method is the way to 
go.  Appreciate comments/advice.

Cheers,

Steve




RE: Quick question re maildir

2001-07-05 Thread Joshua Nichols


 weeks, and as part of the planning process am wondering if the
 general consensus is that the maildir method is the way to
 go.  Appreciate comments/advice.

Absolutely.

Check the archives, there's alot of info there about the benefits of
Maildirs.  Recently, someone posted some excellent statistics on Maildir v.
mbox.


--joshua.




Re: Quick question re maildir

2001-07-05 Thread dsr

On Wed, Jul 04, 2001 at 12:30:52PM +1200, Steve Reed wrote:
 Hi all,
 
 Thanks for the great help from this group in the past.  I plan 
 to begin the migration process to qmail in the coming days and 
 weeks, and as part of the planning process am wondering if the 
 general consensus is that the maildir method is the way to 
 go.  Appreciate comments/advice.

Basically, the only reasons not to go to maildir are shell users
who are set in their ways (and have been for years).

Maildirs are incredibly easy to manipulate with shell or Perl or
Python, more reliable than mailbox, and can be locked over NFS.

Shell users will generally fall into the mutt or emacs camps; you
should wean your Pine users anyway; you already know if you have
a population of mh users.

POP users will never notice the difference, except that when someone
mails them a 400MB PowerPoint preso, you can ls their maildir, note
the 400MB monstrosity, and delete it or move it for them without
disturbing any other mail.

-dsr-



Re: Quick question re maildir

2001-07-05 Thread Charles Cazabon

[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 Maildirs are incredibly easy to manipulate with shell or Perl or
 Python, more reliable than mailbox, and can be locked over NFS.

Small correction:  Maildirs need no locking, even over NFS.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



easy one

2001-07-05 Thread Chris Woods

I have installed qmail and everything is working.  Now I need to get POP3 working.  In 
the 'Life with Qmail' book it talks about editing the 'qmailctl' file to control 
qmail.  However I have 'svscan' running.

Can these run in parallel?  Will having both installed cause any problems?

TIA
chris.



Re: easy one

2001-07-05 Thread Greg White

On Thu, Jul 05, 2001 at 09:39:30PM -0500, Chris Woods wrote:
 I have installed qmail and everything is working.  Now I need to get POP3 working.  
In the 'Life with Qmail' book it talks about editing the 'qmailctl' file to control 
qmail.  However I have 'svscan' running.
 
 Can these run in parallel?  Will having both installed cause any problems?
 
 TIA
 chris.

Just follow LWQ -- it knows what it's doing. Honest. The instructions
there work quite well. Once it's done, and it works (and it will),
examine what was done, and I'll bet you'll figure out why it works. ;)

-- 
Greg White



ANN: queue_repair v.0.8.0 -- yet another qmail queue repair tool

2001-07-05 Thread Charles Cazabon

Greetings,

This is the first public release of queue_repair, which is yet another qmail
queue repair tool.

Features include:

  -written in Python; no compilation necessary.
  
  -automatic, dynamic determination of UIDs and GIDs.

  -automatic, dynamic determination of conf-split; can be overridden on
  the commandline to change the conf-split of an existing queue without
  running a parallel, temporary instance of qmail for queuelifetime.
  Just recompile and stop qmail, run queue-repair, and restart qmail.

  -automatic, dynamic determination of use of big-todo; can be overridden
  on the commandline to change an existing queue as above.

  -handles basic tasks like fixing a queue restored from backups, incorrect
  ownership or permissions of directories and files, missing or extra
  split subdirectories, unexpected files or other direntries, or creating
  a valid queue from scratch.

  -can run in repair or test (report-only) modes.  The default is test mode.

  -can also be imported as a library from other Python scripts.  All
  functionality is available for customized uses this way.

  -licensed under the GNU General Public License version 2.

queue_repair is available for download at
http://www.qcc.sk.ca/~charlesc/software/queue_repair/

I would appreciate any feedback on queue_repair.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Essy Ren

Hello again
I've installed qmail-1.03 and using bind 9
I've made the MX record like this in my db.test.local file :
mailIN  MX10 riga.test.local
mailIN  A 192.168.1.31


When I run the ps aux the qmail seems to run :
qmails 134  0.0  0.3  1088  392 ?S09:51   0:00
qmail-send
qmaill 139  0.1  0.2  1052  364 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill 141  0.0  0.2  1044  336 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail
root   142  0.0  0.2  1048  336 ?S09:51   0:00
qmail-lspawn ./Maildir
qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00
qmail-rspawn
qmailq 144  0.0  0.2  1040  348 ?S09:51   0:00
qmail-clean

But when I try to send myself an email, it show line like this at my
/var/log/qmail/current file :
@40003b4528aa0eba06f4 starting delivery 4: msg 191485 to local
[EMAIL PROTECTED]
@40003b4528aa0eba7c24 status: local 1/10 remote 0/20
@40003b4528aa1125658c delivery 4: deferral:
Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
@40003b4528aa1125e674 status: local 0/10 remote 0/20

eventhough i set the mode to 777 at my Maildir, it didn't take any effect
...
can someone help me ... ?
thanks





Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Essy Ren

Hello again
I've installed qmail-1.03 and using bind 9
I've made the MX record like this in my db.test.local file :
mailIN  MX10 riga.test.local
mailIN  A 192.168.1.31


When I run the ps aux the qmail seems to run :
qmails 134  0.0  0.3  1088  392 ?S09:51   0:00
qmail-send
qmaill 139  0.1  0.2  1052  364 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill 141  0.0  0.2  1044  336 ?S09:51   0:00
/usr/local/bin/multilog t /var/log/qmail
root   142  0.0  0.2  1048  336 ?S09:51   0:00
qmail-lspawn ./Maildir
qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00
qmail-rspawn
qmailq 144  0.0  0.2  1040  348 ?S09:51   0:00
qmail-clean

But when I try to send myself an email, it show line like this at my
/var/log/qmail/current file :
@40003b4528aa0eba06f4 starting delivery 4: msg 191485 to local
[EMAIL PROTECTED]
@40003b4528aa0eba7c24 status: local 1/10 remote 0/20
@40003b4528aa1125658c delivery 4: deferral:
Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
@40003b4528aa1125e674 status: local 0/10 remote 0/20

eventhough i set the mode to 777 at my Maildir, it didn't take any effect
...
can someone help me ... ?
thanks






How can i get the mail size in qmail-local.c

2001-07-05 Thread qftang



Hi everyone:
 now i am doing some development based on 
qmail,and i want to get the mail size in the file qmail-local.c,how can i do 
that.

Sorry for my poor english.

best regards

qftang.

2001-7-6


Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Charles Cazabon

Essy Ren [EMAIL PROTECTED] wrote:

 Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
 @40003b4528aa1125e674 status: local 0/10 remote 0/20

You're trying to do mbox delivery to a Maildir, or something similar.  Check
your default delivery instruction (argument to qmail-start, possibly stored in
a file somewhere), any .qmail files used, and the man page for qmail-local for
details.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

qmail-lspawn ./Maildir
qmailr 143  0.0  0.2  1048  328 ?S09:51   0:00

Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
@40003b4528aa1125e674 status: local 0/10 remote 0/20

Add a trailing slash to ./Maildir/ ...

Cheers -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO0Uqx71ZYOtSwT+tAQFW0Af/UmUeOmW+3kURmau+ai2aHykRQUEhNVic
wilBCKu9G8Z7TGuVuXVLKHZgIuWdKdXq8glr7QdnP+/SVsvpxAoCDt0ZSSKyVGM1
6MPzMcntDbAIvsFxytWLL6jQbDetF6QS6jLyO5mp2cVfpeNmAqTEsSdLCFmtDqX0
dGUIWDM68u6+I3OTfmyXu7ENlhqZcplvDg/wztrfn5LoxhVTekajIFGJizRobZdU
NfxhqHqsIK7txpEgTeMr657lPvXXbAy1n6jiVVUsRAUAHqS1QBMsWk4OqGwpBUNh
0j+db9Jzw7hTD5t5dR78kNZKasnPc//o3kIOeiyzM43E6Qrdkf2v8Q==
=GrYF
-END PGP SIGNATURE-





Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Daniel Kelley


you're probably starting qmail with and argument that looks like this:

qmail-start ./Maildir

instead of this:

qmail-start ./Maildir/

the trailing slash tells qmail that it should to a Maildir, and not
a file.  


 But when I try to send myself an email, it show line like this at my
 /var/log/qmail/current file :
 @40003b4528aa0eba06f4 starting delivery 4: msg 191485 to local
 [EMAIL PROTECTED]
 @40003b4528aa0eba7c24 status: local 1/10 remote 0/20
 @40003b4528aa1125658c delivery 4: deferral:
 Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
 @40003b4528aa1125e674 status: local 0/10 remote 0/20





Re: How can i get the mail size in qmail-local.c

2001-07-05 Thread Charles Cazabon

qftang [EMAIL PROTECTED] wrote:

 now i am doing some development based on qmail,and i want to get the mail
 size in the file qmail-local.c,how can i do that.

If you mean you're writing a program called for delivery from a .qmail file by
qmail-local, the message file descriptor is seekable -- a quick hack would be
to seek to the end and do an ftell() or equivalent.

 Sorry for my poor english.

It's not bad at all.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



RE: Quick question re maildir

2001-07-05 Thread David Talkington

-BEGIN PGP SIGNED MESSAGE-

Joshua Nichols wrote:

 weeks, and as part of the planning process am wondering if the
 general consensus is that the maildir method is the way to
 go.  Appreciate comments/advice.

Absolutely.

Check the archives, there's alot of info there about the benefits of
Maildirs.  Recently, someone posted some excellent statistics on Maildir v.
mbox.

I don't remember the post, but was this the information to which it
referred?

http://www.courier-mta.org/mbox-vs-maildir

It's a very thorough set of benchmarks.  Good reading.

- -d

- -- 
David Talkington
http://www.spotnet.org

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBO0Usor1ZYOtSwT+tAQGixAgAo2BnWtUxHXuvA9odsoa/OmE8wshYfhBe
k0ePargg81ft0/pPMv1uoVD/DaecExh/Fyj0QyNv1TuWcHNFgxWaALt11FTnSQif
Tj3hM2lVmtRoSISHN/IDWKbHqS4HLohMNHa6D/AzQx3QlZO1HVq9jX7Fow8PszQe
FL5OmHAJPN83uEvNdO+MnRxKDi9710R8HNc2KwGqALnMJTX5tmTnp8dEx5yh1P3Z
s8nSru49H29dFAqw2/YfwIj4Hw/QffwWmCNlfitB3VWtInHvwhxSlcsobmAuyFGZ
PqPCoj8LZj5J6Wbbaosqd0kekFz9uZ5CKjH1f/r9B+a8IAV0F5PYig==
=S5LR
-END PGP SIGNATURE-





RE: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Joshua Nichols


 Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/
 @40003b4528aa1125e674 status: local 0/10 remote 0/20

 eventhough i set the mode to 777 at my Maildir, it didn't take any effect

Listen to the error.  It is not a DNS problem.  Post the contents of
/var/qmail/rc.  Chances are REALLY good there's a typo there.

Here's mine:

#!/bin/sh
exec env - PATH=/var/qmail/bin:$PATH \
qmail-start '|dot-forward .forward ./Maildir/'


Oh, and change your permissions back.  They should be 700.  While you're at
it, make sure the user owns the Maildir.

This problem is all over the archives.  Look there.


--joshua.





Re: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Essy Ren

Hi thanks for all at qmail list for the quick reply 
finally i can send the messages
and the report at /var/log/qmail/current is like this :

@40003b45473506367634 delivery 3: success: did_0+1+0/qp_23115/
@40003b454735063c5dec status: local 1/10 remote 0/20
@40003b45473506442234 end msg 191482
@40003b4547350caecda4 delivery 4: success: did_1+0+0/
@40003b4547350caf277c status: local 0/10 remote 0/20
@40003b4547350caf4e8c end msg 191483

But when I check to my Maildir (~essy/Maildir)
it's still empty, my email actually never back to my inbox  I can't
receive the email 
here's the output when i do telnet 127.0.0.1 110

Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
+OK riga POP3 Server (Version 1.006d) ready at Fri Jul 06 12:13:47 2001
USER essy
+OK please send PASS command
PASS essy
+OK 0 messages ready for essy in /var/spool/mail/essy

where's my email gone to ??





Re[2]: Unable_to_open_./Maildir:_is_a_directory._(#4.2.1)/

2001-07-05 Thread Lars Hansson

 
 Trying 127.0.0.1...
 Connected to 127.0.0.1.
 Escape character is '^]'.
 +OK riga POP3 Server (Version 1.006d) ready at Fri Jul 06 12:13:47 2001
 USER essy
 +OK please send PASS command
 PASS essy
 +OK 0 messages ready for essy in /var/spool/mail/essy
 
 where's my email gone to ??
 
 

Seems like your pop3 server is looking for mail in /var/spool/mail but you
are delivering to a Maildir. You need a pop3 server that can handle
maildir.
There is one with the qmail distribution and it should be in your
/var/qmail/bin directory. look for qmail-pop3d.

Cheers
Lars