Re: vchkpw password authentication problem

2001-07-31 Thread Keary Suska

What do your log files say? Are your POP clients configured correctly? The
most common problem is forgetting the user%virtualdomain.com syntax for the
POP user name.

 127.:allow,RELAYCLIENT=
 192.168.:allow,RELAYCLIENT=
 
 It seemed to work find (although am I an open-relay now???)

Not necessarily. This is an over-simplification, but in essence qmail will
only accept mail for domains listed in rcpthosts (whose destination address
is not in locals), or from IP's with a cleared RELAYCLIENT. You would have
to add:
:allow,RELAYCLIENT=
to have an open relay. Qmail is closed by default, unlike sendmail.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

From: board master [EMAIL PROTECTED]
Date: Tue, 31 Jul 2001 02:57:32
To: [EMAIL PROTECTED]
Subject: vchkpw password authentication problem


Hi,
 
   I just recently installed vpopmail-4.9.10+qmail-1.03.  I set up my local
information manually, and used vpopmail's webadmin to create a virutal
domain and pop users; however, when I try to pop mail from the virtual
users, I cannot -- i.e. the password is not accepted (for whatever reason).
Anyone have any ideas?  My home directory for vpopmail is: /var/vpopmail
with the password file in: /var/vpopmail/domains/myvirtualwebsite.com
 
Thanks.
 
P.S. As a side note, I noticed that if I used:
 
127.:allow,RELAYCLIENT=
192.168.:allow,RELAYCLIENT=
:deny
 
In my tcp.smtp file, I couldn't get mail from the outside in (I thought this
file was only supposed to affect mail from the inside out!).  However, when
I changed it to:
 
127.:allow,RELAYCLIENT=
192.168.:allow,RELAYCLIENT=
 
It seemed to work find (although am I an open-relay now???)
 
Thanks again.



Get your FREE download of MSN Explorer at http://explorer.msn.com
http://go.msn.com/bql/hmtag_itl_EN.asp






Re: Compiling on Solaris 8

2001-07-23 Thread Keary Suska

Install gcc, and use it instead.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

 From: Mike Jimenez [EMAIL PROTECTED]
 Date: Mon, 23 Jul 2001 17:14:10 -0700
 To: Qmail [EMAIL PROTECTED]
 Subject: Compiling on Solaris 8
 
 When I try to compile I get this error what do I need to do to fix?
 Thanks
 
 bash-2.03# make setup check
 ( cat warn-auto.sh; \
 echo CC=\'`head -1 conf-cc`\'; \
 echo LD=\'`head -1 conf-ld`\' \
 )  auto-ccld.sh
 cat auto-ccld.sh make-load.sh  make-load
 chmod 755 make-load
 cat auto-ccld.sh find-systype.sh  find-systype
 chmod 755 find-systype
 ./find-systype  systype
 ( cat warn-auto.sh; ./make-load `cat systype` )  load
 chmod 755 load
 cat auto-ccld.sh make-compile.sh  make-compile
 chmod 755 make-compile
 ( cat warn-auto.sh; ./make-compile `cat systype` )  \
 compile
 chmod 755 compile
 ( ( ./compile tryvfork.c  ./load tryvfork ) /dev/null \
 21 \
  cat fork.h2 || cat fork.h1 )  fork.h
 rm -f tryvfork.o tryvfork
 ./compile qmail-local.c
 /usr/ucb/cc:  language optional software package not installed
 make: *** [qmail-local.o] Error 1
 bash-2.03# 
 
 




Re: HELP:make setup check gives a fatal error

2001-07-22 Thread Keary Suska

The main reason for this error is that you are not executing make from the
source root. When you invoke make, unless you specify otherwise, it will
look in the current working directory for its Makefile.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

 From: jitin   [EMAIL PROTECTED]
 Date: 22 Jul 2001 15:16:10 -
 To: [EMAIL PROTECTED] [EMAIL PROTECTED]
 Subject: HELP:make setup check gives a fatal error
 
 I have got stuck up at the third step of the installation of qmail:ANY
 SUGGESTIONS WILL BE APPRECIATED
 
 The INSTALL FILE SAYS:
 
 To create configure qmail
 1. Create the qmail home directory:
 # mkdir /var/qmail
 
 2. Read INSTALL.ids. You must set up the qmail group and the qmail
 users before compiling the programs.
 
 3. Compile the programs and create the qmail directory tree:
 # make setup check
 
 THE ERROR:
 Sun Microsystems Inc. SunOS 5.8 Generic February 2000
 
 # make setup check
 make: Fatal error: Don't know how to make target `setup'
 
 The man for make command exists .
 
 
 
 
 
 
 http://www.monsterindia.com - The Best Jobs. For the Best Minds.
 
 
 
 




SMTP Auth Patch Question

2001-07-22 Thread Keary Suska

Does anyone have comments, recommendations, or warnings over the various
SMTP Auth patches available? I can't seem to find any hard information to
compare them.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet




Re: [OT] conversion inetd daemontools

2001-07-20 Thread Keary Suska

Read the man pages to learn how to invoke daemontools and tcpserver (ucspi).
The qmail scripts are good examples for scripts, I have used them myself as
examples.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

 From: Lukas Beeler [EMAIL PROTECTED]
 Date: Fri, 20 Jul 2001 23:59:42 +0200
 To: [EMAIL PROTECTED]
 Subject: [OT] conversion inetd  daemontools
 
 Sorry for Off-Topic, but there is neither a daemontools nor a ucspi mailing
 list.
 
 Iam using qmail now since a month, and iam really impressed by the
 daemontools package.
 Now i want to switch from using inetd for ftp  rsync to daemontools. I
 would be very pleased, if someone could tell me a page, where i can find
 example scripts for those actions.
 
 thanks in advance
 
 Lukas Beeler
 -- 
 --/-/-- Lukas Beeler  [EMAIL PROTECTED] ---\-\--
 \ \  My HomePage: URL:http://www.projectdream.org  / /
 
 




Re: What do others do about the following problem...

2001-07-18 Thread Keary Suska
Title: Re: What do others do about the following problem...



have you tried the badrcptto patch? That's probably your best answer. There may be another patch that does essentially the same thing, but I haven't compared them and I don't recall the patch name.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

From: Eric Calvert [EMAIL PROTECTED]
Organization: Caveland Connection
Date: Wed, 18 Jul 2001 13:06:32 -0500
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: What do others do about the following problem...


 
I have a growing problem. My mail servers spend a good portion of their day sending bounce messages where ex-customers have signed up for a mailing list, but now no longer have an account with me. For example, [EMAIL PROTECTED] subscribes to the [EMAIL PROTECTED] list. Some time later, user a cancels his/her account. However, joke-of the-day continues to send email to [EMAIL PROTECTED] for MONTHS even though my mail server correctly responds with the '550 User does not exist' error message. My server then also sends a full bounce message. 
 
Is there some way to stop this? It is getting to the point where the bounce messages are taking up MUCH, MUCH more bandwidth than the real email, and is even causing noticable delays in delivery times of real email to external addresses.
 
I'm using qmail-1.03 on linux-2.2.12smp. 
 
I'm crossposting this on isp-tech and qmail mailing lists. Please respond personally.
 
Eric Calvert
Caveland Connection
 







Re: Qmail and NAT

2001-07-12 Thread Keary Suska

That certainly could be the case, but that means that qmail uses its own
resolver and not the OS's, which doesn't sound very smart. Unless an
application can specify what means to resolve names regardless of system
settings, which doesn't seem very smart either. I would try it anyway, but
make sure that the system refers to files first (usu. nsswitch.conf).

-K

 From: Henning Brauer [EMAIL PROTECTED]
 Date: Thu, 12 Jul 2001 16:42:47 +0200
 To: [EMAIL PROTECTED]
 Subject: Re: Qmail and NAT
 
 On Thu, Jul 12, 2001 at 10:37:26AM -0400, Steve wrote:
 The easiest way is to make the qmail server think that the machine
 yourdomain.com is your excchange server.  Just add a line to the etc/hosts
 on the qmail server...
 
 This doesn't buy you anything. qmail never uses /etc/hosts but always DNS.
 -- 
 * 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: patching qmail-smtpd.c twice

2001-06-15 Thread Keary Suska

Look at the patch file to see what line numbers are effected. Lines that
look like:

@@ -96,6 +96,8 @@

Are what you are looking for. Remember to look at the whole file, since
there may be many groups of lines altered. The lines patched from both files
do *not* overlap, then you can apply both by applying the patch that alters
the later lines first. If they overlap, you may have to apply them manually,
unless you can figure out if or how the line numbers are altered and alter
the patch file accordingly. Who knows, maybe they will both work anyway if
you haven't already tried. It doesn't hurt as long as you backup your
qmail-smtpd.c file.

-K


 From: [EMAIL PROTECTED]
 Date: Thu, 14 Jun 2001 10:29:18 -0300
 To: [EMAIL PROTECTED]
 Subject: Re: patching qmail-smtpd.c twice
 
 Apply one patch and check the messages, backup qmail-smtpd.c and apply the
 other, check the message also.
 
 Apply one and then the other, if no strange messages, it's ok.
 
 But at most time the patchs are not very big and they have the line number and
 instructions that must stay, include (+)  or out (-), then the lines that must
 stay.
 
 
 - Original Message -
 From: Sebastián E. Brocher
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 13, 2001 10:59 PM
 Subject: patching qmail-smtpd.c twice
 
 
 Hi, does somebody know if I can apply the maxrcpt.patch (for limiting the
 rcpt's in each connection) and wildmart.patch (one more used for anti-spam) in
 the same qmail-smtpd? If thats the case, in what order should I appy the
 patches?
 
 I suppose otherwise I'd have to look at the source and should do a patch for
 both things myself...
 
 Thanks in advance,
 
 
 Sebastián E. Brocher
 Tuxar
 http://www.tuxar.com
 (54-11)-4315-0016/17
 




Re: URGENT: Qmail-remote gone nuts

2001-06-15 Thread Keary Suska

I have had this problem qmail+vpopmail if there is an error in a .qmail file
in vpopmail's file system. I had this occur (infinite sending loop) when a
.qmail file had a single blank line at the top. Qmail will balk at this, but
vpopmail freaks out. I would double check the .qmail files for that virtual
user.

-K

Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup.


 From: David U. [EMAIL PROTECTED]
 Date: Thu, 14 Jun 2001 08:04:36 -0700
 To: Qmail@List. Cr. Yp. To [EMAIL PROTECTED]
 Subject: RE: URGENT: Qmail-remote gone nuts
 
 Here's an update.
 
 I have an email address called [EMAIL PROTECTED] (run via vpopmail)
 
 in /home/vpopmail/domains/everydns.net/support there is a .qmail file that
 just
 says
 cat .qmail:
 [EMAIL PROTECTED]
 
 So this forwards all [EMAIL PROTECTED] to [EMAIL PROTECTED]
 
 However this morning it sent forwarded about 6000 times.
 
 Now in my logs I have these just constantly appearing:
 == /var/log/qmail/qmail-send/current ==
 2001-06-14 08:02:02.460824500 starting delivery 6231: msg 562568 to remote
 [EMAIL PROTECTED]
 2001-06-14 08:02:02.460830500 status: local 0/10 remote 73/120
 2001-06-14 08:02:02.460831500 starting delivery 6232: msg 562573 to remote
 [EMAIL PROTECTED]
 2001-06-14 08:02:02.460834500 status: local 0/10 remote 74/120
 2001-06-14 08:02:02.465616500 delivery 6231: deferral:
 Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
 2001-06-14 08:02:02.465620500 status: local 0/10 remote 73/120
 2001-06-14 08:02:02.466514500 delivery 6232: deferral:
 Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/
 2001-06-14 08:02:02.466518500 status: local 0/10 remote 72/120
 2001-06-14 08:02:04.460524500 starting delivery 6233: msg 562574 to remote
 [EMAIL PROTECTED]
 2001-06-14 08:02:04.460528500 status: local 0/10 remote 73/120
 2001-06-14 08:02:04.460529500 starting delivery 6234: msg 562576 to remote
 [EMAIL PROTECTED]
 2001-06-14 08:02:04.460532500 status: local 0/10 remote 74/120
 2001-06-14 08:02:04.460533500 starting delivery 6235: msg 562577 to remote
 [EMAIL PROTECTED]
 2001-06-14 08:02:04.460535500 status: local 0/10 remote 75/120
 2001-06-14 08:02:04.462625500 starting delivery 6236: msg 562578 to remote
 [EMAIL PROTECTED]
 2001-06-14 08:02:04.462628500 status: local 0/10 remote 76/120
 2001-06-14 08:02:04.465389500 starting delivery 6237: msg 562575 to remote
 [EMAIL PROTECTED]
 
 So I got rid of the support forward and now support seems to be reiceving mail
 fine -- but how I do clear my queue when qmail-qstat reports:
 messages in queue: 5046
 messages in queue but not yet preprocessed: 0
 
 and qmail-qread reports:
 snip x ALOT
 14 Jun 2001 11:14:28 GMT  #561180  671057  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:16:24 GMT  #561379  691091  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:18:22 GMT  #561578  710756  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:20:21 GMT  #561777  730706  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:22:19 GMT  #561976  750341  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:24:29 GMT  #562175  770246  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:26:48 GMT  #562374  790598  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:29:13 GMT  #562573  810632  
 remote  [EMAIL PROTECTED]
 14 Jun 2001 11:31:23 GMT  #562772  830666  
 remote  [EMAIL PROTECTED]
 snip x ALOT
 
 Thanks,
 davidu
 
 
 -Original Message-
 From: David U. [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 14, 2001 7:33 AM
 To: Qmail@List. Cr. Yp. To
 Subject: URGENT: Qmail-remote gone nuts
 
 
 Hi,
 
 this morning I awoke to find some 6000 emails in my inbox from
 [EMAIL PROTECTED] -- they were the same exact 6000 emails.
 
 The inbox is [EMAIL PROTECTED]
 
 Also in my ps list, I have about 80 qmail-remote spawns that look like this:
 
 998 ?S  0:00  |   |   \_ qmail-remote tomerwolf.com  tomer
 1012 ?S  0:00  |   |   \_ qmail-remote tomerwolf.com
 tomer
 1016 ?S  0:00  |   |   \_ qmail-remote tomerwolf.com
 tomer
 1038 ?S  0:00  |   |   \_ qmail-remote tomerwolf.com
 tomer
 1039 ?S  0:00  |   |   \_ qmail-remote tomerwolf.com
 tomer
 1063 ?S  0:00  |   |   \_ qmail-remote tomerwolf.com
 tomer
 
 What are those? How do I kill them off?  Why am I getting 6000 of the same
 email?
 
 I unfortunatly just cleared my inbox so I don't have headers.
 
 Would this be an issue on my end?  If it is, am I now causing a massive
 headache
 for their admin?
 
 My site bandwidth is using a sustained 30K/s to his server this morning...
 
 How can I quickly stop the problem, and find a solution, and discover what's
 happening?
 
 Thanks,
 DavidU
 
 
 
 




Re: vpopmail authentication

2001-06-11 Thread Keary Suska

You should be invoking qmail-popup, looking something like:

/var/qmail/bin/qmail-popup virtualdomain.com \
/usr/local/ezmlm/vchkpw /var/qmail/bin/qmail-pop3d Maildir

If you are using Maildir instead of Mbox. man qmail-popup, vchkpw, and
qmail-pop3d for information on options and parameters.

-K

Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup.


 From: Harry [EMAIL PROTECTED]
 Date: Sat, 9 Jun 2001 19:45:31 -0700
 To: Keary Suska [EMAIL PROTECTED], Qmail [EMAIL PROTECTED]
 Subject: Re: vpopmail authentication
 
 i also have the same problem. it is working fine on one server but it is not
 working on the new server i have just configured. where does it look for
 authentication. i have modified my qmail-pop3d.init checkpass
 /home/vpopmail/bin/vchkpw.
 any help.
 Harry
 - Original Message -
 From: Keary Suska [EMAIL PROTECTED]
 To: Qmail [EMAIL PROTECTED]
 Sent: Friday, June 08, 2001 4:25 PM
 Subject: Re: vpopmail authentication
 
 
 Make sure you are using the correct POP id: username%virtualdomain.com
 
 otherwise you are checking against /etc/passwd.
 
 -K
 
 Do not meddle in the affairs of wizards, for they are subtle and quick to
 anger.
 
 
 From: Franco Vecchiato [EMAIL PROTECTED]
 Date: Wed, 06 Jun 2001 17:24:38 +0200
 To: [EMAIL PROTECTED]
 Subject: vpopmail authentication
 
 I'm trying to use vpopmail with qmail on a Suse Linux PC, but I'm having
 a
 problem in retrieving the emails with the POP client.
 
 In vpopmail I created a new domain test.it, with a new user utente and
 password testutente.  After setting the right stuff into my DNS
 server, I
 sent an email to [EMAIL PROTECTED]  The email has been delivered correctly
 to
 vpopmail/domain/test.it/utente/new directory and the logfile reports no
 errors, but when I try to connect to the mailserver with a POP client
 (outlook express) configured for this account, I get an authentication
 failure error message from the server.
 
 
 
 
 




Re: vpopmail authentication

2001-06-08 Thread Keary Suska

Make sure you are using the correct POP id: username%virtualdomain.com

otherwise you are checking against /etc/passwd.

-K

Do not meddle in the affairs of wizards, for they are subtle and quick to
anger.


 From: Franco Vecchiato [EMAIL PROTECTED]
 Date: Wed, 06 Jun 2001 17:24:38 +0200
 To: [EMAIL PROTECTED]
 Subject: vpopmail authentication
 
 I'm trying to use vpopmail with qmail on a Suse Linux PC, but I'm having a
 problem in retrieving the emails with the POP client.
 
 In vpopmail I created a new domain test.it, with a new user utente and
 password testutente.  After setting the right stuff into my DNS server, I
 sent an email to [EMAIL PROTECTED]  The email has been delivered correctly to
 vpopmail/domain/test.it/utente/new directory and the logfile reports no
 errors, but when I try to connect to the mailserver with a POP client
 (outlook express) configured for this account, I get an authentication
 failure error message from the server.
 




Re: Multiple user with vpopmail

2001-05-07 Thread Keary Suska

You will likely need to have separate installations of vpopmail to
accomplish this, and you may need to edit the source manually to allow this
functionality. On the brighter side, you may not need to have different
parent users since you are supposed to be able to set quotas on a per
account basis in vpopmail.

-K


 From: Sebastien VIEILLARD [EMAIL PROTECTED]
 Date: Sun, 06 May 2001 12:26:27 +0200
 To: [EMAIL PROTECTED]
 Subject: Multiple user with vpopmail
 
 I'am an isp and i want to use vpopmail for any site installed on server.
 
 The problem is that any site have one specific unix user. and of course, any
 user have a limited quota.
 
 But vpopmail create mailbox for only one unix user (vpopmail user by default).
 Is anybody know, what i can do to have each mailbox
 ~vpopmail/domains/domainename, under specific unix user.
 
 thx
 
 




Re: Both system account and virtual account of one domain.

2001-05-03 Thread Keary Suska

I could be wrong, but by simply adding a domain to rcpthosts and locals will
allow mail to be accepted on multiple domains using /etc/passwd for
authentication. I use vpopmail for virtual domains and it is handled
entirely differently from the locals, which use passwd. It may depend on the
system used to handle virtual domains, however.

-K

Do not meddle in the affairs of wizards, for they are subtle and quick to
anger.


 From: Twinsen Mak [EMAIL PROTECTED]
 Date: Wed, 2 May 2001 07:36:26 +0800
 To: [EMAIL PROTECTED]
 Subject: Both system account and virtual account of one domain.
 
 Does qmail(or vpopmail) can do so that one domain can include some system
 accounts(via passwd) and some virtual accounts(via
 vpopmail w/ mysql)!!? Please advise.
 
 \TM
 
 
 




Re: SPAM Patches recomendations.

2001-05-01 Thread Keary Suska

You are better off asking ORBS to do a relay test, which is more reliable.
http://www.orbs.org/

-K

Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup.


 From: Eduardo Augusto Alvarenga [EMAIL PROTECTED]
 Date: Tue, 01 May 2001 12:15:19 -0300
 To: [EMAIL PROTECTED]
 Subject: SPAM Patches recomendations.
 
 Greetz,
 
 I've tested my qmail smtp server for spam using the Prodygy Solutions
 relay test utility:
 
 http://www.prodigysolutions.com/services/relay_test.php
 
 And got 2(two) holes on my server:
 
 * I'll omit the domain for security reasons of course.
 
 Relay test 7
 MAIL FROM:([EMAIL PROTECTED]@mail.mydomain.com)
 250 ok 
 RCPT TO:(nobody%prodigysolutions.com)
 250 ok  (Failed Test)
 RSET
 250 flushed 
 
 Relay test 13
 MAIL FROM:([EMAIL PROTECTED]@mail.mydomain.com)
 250 ok 
 RCPT TO:(prodigysolutions.com!nobody)
 250 ok  (Failed Test)
 RSET
 250 flushed 
 
 
 Anyone has any tip to fix these problems ? (patches/etc) ?
 Another question: Emails on using % and ! as the domain separator should
 work ?
 
 
 Best Regards,
 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Eduardo Augusto Alvarenga - Analista de Suporte - #179653
 Blumenau - Santa Catarina. Tel. (47) 9102-3303
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
 /\
 \ /  Campanha da Fita ASCII - Contra Mail HTML
 X   ASCII Ribbon Campaign - Against HTML Mail
 / \
 




Re: Help abot qmail and vpomail

2001-04-30 Thread Keary Suska

 Huh? You are thinking of locals or virtualdomains here. The domain must be
 in locals if qmail should accept and queue mail fro that domain.

Yes, but *only* if the domain should not be treated as a virtual domain, or
if the domain used the standard /etc/passwd for user verification.

-K

Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup.


 From: Henning Brauer [EMAIL PROTECTED]
 Date: Sat, 28 Apr 2001 00:05:21 +0200
 To: Qmail [EMAIL PROTECTED]
 Subject: Re: Help abot qmail and vpomail
 
 On Fri, Apr 27, 2001 at 03:26:06PM -0600, Keary Suska wrote:
 If you want qmail to act as a mail gateway to the NT
 machine, simply put the NT domain in the SMTProutes control file, and do
 _not_ accept delivery (i.e. don't have the domain in your rcpthosts file).
 
 Huh? You are thinking of locals or virtualdomains here. The domain must be
 in locals if qmail should accept and queue mail fro that domain.
 
 -- 
 Henning Brauer | BS Web Services
 Hostmaster BSWS| Roedingsmarkt 14
 [EMAIL PROTECTED] | 20459 Hamburg
 http://www.bsws.de | Germany
 
 Unix is very simple, but it takes a genius to understand the simplicity.
 (Dennis Ritchie)
 




Re: Please help! I'm so close to getting qmail up...

2001-04-27 Thread Keary Suska

Have you read the INSTALL.mbox file that came with the qmail source? It may
have some clues. If I am not mistaken, only root can change its identity,
and this error is indicating that the real uid of the process is 1000, which
is not root, so it can't change to real uid 0, so the setuid call is
failing. I am assuming that 1000 is the uid of qmaill, or whichever qmail
user is responsible for local deliveries.

It may be necessary that qmail-start should be invoked under root, which
seems to be the case on my machine. If it is not, that could be a cause.

-K


 From: Foo Ji-Haw [EMAIL PROTECTED]
 Date: Fri, 27 Apr 2001 14:21:08 +0800
 To: [EMAIL PROTECTED]
 Subject: Please help! I'm so close to getting qmail up...
 
 Hi all,
 
 Some background:
 -I'm trying to run qmail on my Freebsd 4.2.
 -I'm using qmail from the freebsd cd package.
 -I read the FAQs, bought the Qmail book from SAMS, and prepared the qmail
 daemons. They are up and running exactly as depicted in the book.
 -I tried a simple test to send a local mail to myself with the following
 command:
 
 cat test | /var/qmail/bin/qmail-inject
 
 The mail did not get processed. I found this in the maillog:
 
 Apr 27 13:42:48 markus qmail: 988350168.284945 delivery 32: deferral:
 mail.local
 :_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
 Apr 27 13:42:48 markus qmail: 988350168.285228 status: local 1/10 remote 0/20
 Apr 27 13:43:10 markus mail.local: lockmailbox /var/mail/jhfoo failed; error
 cod
 e 75 
 Apr 27 13:43:10 markus qmail: 988350190.305262 delivery 33: deferral:
 mail.local
 :_lockmailbox_/var/mail/jhfoo_failed;_error_code_75_/
 Apr 27 13:43:10 markus qmail: 988350190.305477 status: local 0/10 remote 0/20
 
 I trid setting /var/mail to drwxrwxrwx, then I get this error:
 
 Apr 27 14:16:00 markus qmail: 988352160.082426 delivery 54: deferral:
 mail.local
 :_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
 Apr 27 14:16:00 markus qmail: 988352160.082655 status: local 0/10 remote 0/20
 Apr 27 14:17:38 markus qmail: 988352258.085002 starting delivery 55: msg 454
 to 
 local [EMAIL PROTECTED]
 Apr 27 14:17:38 markus qmail: 988352258.085580 status: local 1/10 remote 0/20
 Apr 27 14:17:38 markus mail.local: setreuid(0, 1000): Operation not permitted
 (r
 =1000, e=1000)
 Apr 27 14:17:38 markus qmail: 988352258.149416 delivery 55: deferral:
 mail.local
 :_setreuid(0,_1000):_Operation_not_permitted_(r=1000,_e=1000)/
 Apr 27 14:17:38 markus qmail: 988352258.149625 status: local 0/10 remote 0/20
 
 Can someone please tell me what to do? I'm so darn close to getting qmail
 up!!!
 




Re: Help abot qmail and vpomail

2001-04-27 Thread Keary Suska

I don't follow you. If you want qmail to act as a mail gateway to the NT
machine, simply put the NT domain in the SMTProutes control file, and do
_not_ accept delivery (i.e. don't have the domain in your rcpthosts file).
vpopmail should only be configured for mail you expect to receive and store
on that host, not mail destined for a remote host, unless you are trying to
do address forwarding, which you really can only do effectively using .qmail
files.

-K


 From: Desarrollo y Sistemas [EMAIL PROTECTED]
 Date: Thu, 26 Apr 2001 18:15:52 -0300
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Help abot qmail and vpomail
 
 Hi:
 
 I have a Linux platform Red Hut 7.0 working on qmail, vopmail, qmailadmin
 and sqlwebmail. My virtual domains work great. I have the following inquiry
 as follow:
 
 - I have an NT with an application with domain xxx.com name of with the
 following IP address.xxx.xxx.xxx.38
 
 
 - I created a vopmail in my virtual domain with the same name as the NT
 domain name xxx.com on my Linux platform Red Hut 7.0. The Linux server has
 the following IP address xxx.xxx.xxx.47
 
 
 I need to :
 
 Modify the MX in order to point from my virtual domain to the Linux IP
 adress xxx.xxx.xxx.47 . Right now point to xxx.xxx.xxx.38
 
 
 If an email cuenta.xxx.com arrives to the vopmail and the email or account
 cuenta.xxx.com does not exist then it should  qmail should solve the problem
 and the qmail should send the information to the NT server. And this last
 one NT, work with this count.
 
 
 If an cuenta.xxx.com arrives to vopmail and exists then qmail should take
 care of the email or account and workds
 
 Is possible to do it?
 
 Thanks a lot for your help
 
 Best Regards,
 
 Alexandra Murillo
 
 
 
 
 




Re: Receiving mail for multiple domains

2001-04-27 Thread Keary Suska

man qmail-control

Check out rcpthosts.


-K


 From: Mark [EMAIL PROTECTED]
 Date: 27 Apr 2001 14:56:08 -0600
 To: [EMAIL PROTECTED]
 Subject: Receiving mail for multiple domains
 
 
 How can I configure qmail to accept mail for mail.domaina.com and
 mail.domainb.com?
 
 Nothing in the FAQ could be found.
 
 Thanks,
 
 Mark
 
 




Qmail Patch Memory leak

2001-04-26 Thread Keary Suska

Has anyone seen a memory leak problem with qmail using any or all of the
following patches:

- Outgoing IP Patch
- 0.0.0.0 patch
- badrcptto patch
- tarpit patch

after making and installing the memory would go to almost nothing (with
minimal swapping, however) and qmail would constantly report out of memory
deferral errors with qmail-remote. I believe I downloaded these from the
qmail site (although it is possible one or another was downloaded from a
different site).

Regards,

Keary Suska
Mgr., Information Technologies
Frequent Flyer Services
http://www.webflyer.com/
mailto: [EMAIL PROTECTED]
(719) 597-8899 x737
(719) 597-6855 (fax)





Black Hole Mailbox

2001-04-17 Thread Keary Suska

I want to create a virtual black hole mailbox using .qmail-user-box syntax.
I have tried:
cat  /dev/null
and
cat  /dev/null; exit 99

But in both cases qmail tries to deliver the message (which of course
bounces since I don't have an actual delivery point).

Is there a particular process for creating blackhole mailboxes?

Regards,

Keary Suska
Mgr., Information Technologies
Frequent Flyer Services
http://www.webflyer.com/
mailto: [EMAIL PROTECTED]
(719) 597-8899 x737
(719) 597-6855 (fax)





Re: Black Hole Mailbox

2001-04-17 Thread Keary Suska

Will that also prevent qmail from following any further delivery
instructions specified in a .qmail file?

In my situation, I have a .qmail file that turns delivery over to vpopmail.
I have a .qmail-mileslink that turns delivery over to ezmlm. I want a
.qmail-mileslink-blackhole that bit buckets all mail to that address. I want
to make sure that qmail won't consult any of the other .qmail files after
doing so. Will this technique accomplish this?

PS on my last email: I used "|cat", not just "cat" in the .qmail file, in
case anyone wonders.

Regards,

Keary Suska
Mgr., Information Technologies
Frequent Flyer Services
http://www.webflyer.com/
mailto: [EMAIL PROTECTED]
(719) 597-8899 x737
(719) 597-6855 (fax)


 From: Chris Johnson [EMAIL PROTECTED]
 Date: Tue, 17 Apr 2001 18:33:25 -0400
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Black Hole Mailbox
 
 On Tue, Apr 17, 2001 at 04:31:17PM -0600, Keary Suska wrote:
 I want to create a virtual black hole mailbox using .qmail-user-box syntax.
 I have tried:
 cat  /dev/null
 and
 cat  /dev/null; exit 99
 
 But in both cases qmail tries to deliver the message (which of course
 bounces since I don't have an actual delivery point).
 
 Is there a particular process for creating blackhole mailboxes?
 
 echo '#'  .qmail-whateverfileitis
 
 Chris
 




Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-03 Thread Keary Suska

 Sorry to ask basic questions, I am newbie in this
 domain. The uid 511 is the vpopmail user, but if it is
 rejecting why when I tested it with mailing to another
 user, that user received, even with all the looping?

Not rejecting, "re-injecting". vpopmail is invoking qmail (probably
qmail-inject) and asking it to resend the message. That would be the reason
for the duplicate delivery headers Apparently, vpopmail is also successfully
delivering the message.

 The top level means in the domains level or in the
 vpopmail folder? And what means "include the vpopomail
 invocations found in .qmail-default".

Yes. vpopmail works by telling qmail to deliver messages to
~/vpopmail/domains/virtualdomain.com/ (~ being whatever the vpopmail home
is, whether /var or /home or whatever). In that directory, there is a
.qmail-default that tells qmail to invoke the vpopmail delivery program to
actually deliver the message (IIRC). At that point, the vdeliver program
either delivers the message or returns an error to indicate no such user or
what not. A .qmail-user file will override the .qmail-default, and be used
for delivery instructions. To do this, you could cd into the particular
directory for the virtual domain, copy the .qmail-default file to the
appropriate .qmail-user name (e.g. .qmail-henry), then append your command
line for sending the alerts. If mail gets delivered but no alerts are sent,
then the vdeliver program is telling qmail to stop processing the .qmail
file, in which case you have to move your command line above the line(s)
provides in the .qmail-default file. It should theoretically be that simple.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Wei Yao Gharib [EMAIL PROTECTED]
 Date: Tue, 3 Apr 2001 02:56:52 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: Re: dot qmail problem (HELP NEEDED URGENT)
 
 Hello,
 
 Keary Suska said:
 
 "Who is uid 511? If it is the vpopmail user, then
 vpopmail is 
 perpetually
 reinjecting the email. If it is a qmail user, then it
 is qmail. I 
 believe
 that I recall a problem with vpopmail that it could
 not handle pipes.
 Perhaps this is the problem."
 
 Sorry to ask basic questions, I am newbie in this
 domain. The uid 511 is the vpopmail user, but if it is
 rejecting why when I tested it with mailing to another
 user, that user received, even with all the looping?
 (His inbox kept receiving the emails until we removed
 the dot-qmail of the original user).
 
 
 "To remedy this, you would move your
 command to
 the top level where the .qmail-default is, and use the
 .qmail-user 
 format,
 but you will probably have to include the vpopomail
 invocations found
 in
 .qmail-default to ensure mail delivery, but you can
 test that. Also, be
 sure
 that your command line returns a status of 0, which
 you should force 
 whether
 the command line works or not. Better yet, call a
 shell script."
 
 The top level means in the domains level or in the
 vpopmail folder? And what means "include the vpopomail
 invocations found in .qmail-default".
 
 TIA
 Wei Yao Gharib
 
 
 
 
 
 =
 
 Wei Yao Gharib
 System Administrator
 Wise Communication
 N? 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
 Tel: +212(0)37810808  Fax: +212(0)37810773
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/
 




Re: Qmail attack

2001-04-03 Thread Keary Suska

I had a similar experience, but it wasn't actually a mail bomb, it was a
SPAM attempt. If a spammer thinks that your domain may be a free email
service, they will attempt delivery with an apparently random list of users,
which I believe is extracted from other free email services.

You could try tarpitting, but that only works with multiple RCPT TO
invocations. Even limiting the number of concurrent connections won't
necessarily help, since a lot of mail can be delivered in a fairly short
amount of time with only 10 incoming connections. And you could also
facilitate a self-made DOS attack if the remote SMTP client is persistent.

-K


 From: "Renato" [EMAIL PROTECTED]
 Date: 3 Apr 2001 22:47:27 -
 To: [EMAIL PROTECTED]
 Subject: Qmail attack
 
 
 Hi all,
 
 I was victim of an attack today. Somebody connected to my smtp server and
 sent multiple messages to same address. The headers look like:
 
 From: "User" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 Well, naturally somebody can connect to port 25 and send this mail with
 these headers. But the attacker used a script and sent the same message
 thousands of time !!! My queue grow to more than 10.000 messages in
 minutes !!
 
 What can I do to avoid this type of attack ?
 
 Thanks
 Renato - Brazil.
 




Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Keary Suska

Qmail is not very robust when it comes to dealing with errors or unexpected
conditions in .qmail files. The most common response by qmail in such a
situation is to get into an infinite delivery loop. That being said, if I
recall correctly, there is particular behavior of qmail's delivery system
that is effected by the return status of piped programs. I don't recall what
these are, but it could be that a status of 0 (what would be returned by
your command line) may not be the status desired. Another issue could be
that I recall some issues with using piped commands with vpopmail. Since it
is actually vpopmail that handles the final delivery step (you can see this
in the .qmail-default file of your virtual domain directory), it could be
vpopmail that is returning an unexpected result to qmail and causing it to
attempt redelivery. I believe it is qmail-local that handles local
deliveries for qmail--have you read over its docs?

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Wei Yao Gharib [EMAIL PROTECTED]
 Date: Mon, 2 Apr 2001 07:46:36 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: dot qmail problem (HELP NEEDED URGENT)
 
 Hello,
 
 I have RedHat 6.0 and RedHat6.2. There is
 qmail-1.03; vpopmail and sqwebmail installed as major
 sotwares for mail.
 I tried to create dot-qmail for the virtual users
 inside of the vpopmail folders so any new income mail
 for that user, it will send an SMS or a email to
 another address to notify the new message (which will
 contain who is sending and the subject).
 I found some scripts in the mailing list and tried
 a simple one just to test:
 "| egrep -e '^From:|Subject:' | Mail -s YouGotMail
 [EMAIL PROTECTED]"
 But the time that I put this in the .qmail and the
 user received one new message, it started to send
 thousands of email to without stoping until I removed
 dot-qmail.
 I tried other scripts that I found in the mailing
 list and the same behaviour happened again. I read the
 documentation of qmail and the mailing list but I
 still cannot find where I am missing.
 Please any help will be very appreciated.
 
 TIA
 Wei Yao Gharib
 
 =
 
 Wei Yao Gharib
 System Administrator
 Wise Communication
 N? 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
 Tel: +212(0)37810808  Fax: +212(0)37810773
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/?.refer=text
 




Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Keary Suska

 Qmail is not very robust when it comes to dealing with errors or unexpected
 conditions in .qmail files.
 
 What do you base this on?  The experience of the rest of the members of the
 list would tend to show that this is simply incorrect.

In retrospect, it could be true that the issue is with vpopmail, since my
experiences are based only on both, but only if vpopmail is explicitly
reinjecting the email. If it is instead returning a status that does not
indicate to qmail to stop attempting delivery or whatever, qmail should get
the clue that delivery isn't going to happen after some number of failures
(and that shouldn't be thousands). But since I can't say for sure what is
happening, I will have to withdraw my comment for the moment.

-K


 From: Charles Cazabon [EMAIL PROTECTED]
 Date: Mon, 2 Apr 2001 15:19:42 -0600
 To: Qmail [EMAIL PROTECTED]
 Subject: Re: dot qmail problem (HELP NEEDED URGENT)
 
 Keary Suska [EMAIL PROTECTED] wrote:
 
 The most common response by qmail in such a situation is to get into an
 infinite delivery loop.
 
 A .qmail file won't cause this in general; it normally takes an incorrect
 smtproutes setting to cause a mail loop.  Of course, deliveries to commands
 can cause all sorts of problems, if the script/command you are delivering to
 is buggy.
 
 Charles
 -- 
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 Any opinions expressed are just that -- my opinions.
 ---
 




Re: dot qmail problem (HELP NEEDED URGENT)

2001-04-02 Thread Keary Suska

Who is uid 511? If it is the vpopmail user, then vpopmail is perpetually
reinjecting the email. If it is a qmail user, then it is qmail. I believe
that I recall a problem with vpopmail that it could not handle pipes.
Perhaps this is the problem. To remedy this, you would move your command to
the top level where the .qmail-default is, and use the .qmail-user format,
but you will probably have to include the vpopomail invocations found in
.qmail-default to ensure mail delivery, but you can test that. Also, be sure
that your command line returns a status of 0, which you should force whether
the command line works or not. Better yet, call a shell script.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Wei Yao Gharib [EMAIL PROTECTED]
 Date: Mon, 2 Apr 2001 15:19:03 -0700 (PDT)
 To: [EMAIL PROTECTED]
 Subject: Re: dot qmail problem (HELP NEEDED URGENT)
 
 Hello,
 
 I am not using any smtproutes. I tested many
 commands in the scripts and all of them is giving the
 same results.
 The most simple command that I did :
 "| cat 
 /home/vpopmail/domains/wisecom.ar.mail.ma/amina/filename"
 
 And the result was like that:
 
 Return-Path: [EMAIL PROTECTED]
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13266 invoked by uid 511); 2 Apr 2001
 16:24:06 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13259 invoked by uid 511); 2 Apr 2001
 16:24:06 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13252 invoked by uid 511); 2 Apr 2001
 16:24:06 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13245 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13238 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13231 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13224 invoked by uid 511); 2 Apr 2001
 16:24:05 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13217 invoked by uid 511); 2 Apr 2001
 16:24:04 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13210 invoked by uid 511); 2 Apr 2001
 16:24:04 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13203 invoked by uid 511); 2 Apr 2001
 16:24:04 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13196 invoked by uid 511); 2 Apr 2001
 16:24:03 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 13189 invoked by uid 511); 2 Apr 2001
 16:24:03 -
 Delivered-To: [EMAIL PROTECTED]
 ...
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8513 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8506 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8499 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Delivered-To: [EMAIL PROTECTED]
 Received: (qmail 8492 invoked by uid 511); 2 Apr 2001
 16:22:10 -
 Message-ID:
 [EMAIL PROTECTED]
 From: "gharib abdelhak" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: 16:09
 Date: Mon, 02 Apr 2001 16:22:10 GMT
 Mime-Version: 1.0
 Content-Type: text/plain; format=flowed;
 charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 
 hi 1
 
 
 Please, could tell me where am I missing.
 
 TIA
 Wei Yao Gharib
 
 
 
 =
 
 Wei Yao Gharib
 System Administrator
 Wise Communication
 N? 1070, Av. Sahara Sect. 5 Hay Salam 11000 Sale Morocco
 Tel: +212(0)37810808  Fax: +212(0)37810773
 
 
 __
 Do You Yahoo!?
 Get email at your own domain with Yahoo! Mail.
 http://personal.mail.yahoo.com/?.refer=text
 




Re: Repeated Identical Messages

2001-03-19 Thread Keary Suska

My first foray into using ezmlm+qmail resulted in a few users getting up to
hundreds if copies of the email. Does this mean that they are probably
behind a PIX with this broken feature? Why wouldn't it happen with all of
their other email? Is it a qmail incompatibility?

-K


 From: dan kelley [EMAIL PROTECTED]
 Date: Mon, 19 Mar 2001 16:34:47 -0500
 To: "Kep Brown" [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: RE: Repeated Identical Messages
 
 
 as someone here was nice enough to point out to me:
 
 by default, certain versions of PIX software come out of the box with
 fixup protocol smtp 25
 enabled. 
 
 this implements something called 'Mail Guard', which rewrites smtp
 conversations, only allowing rfc 821 commands.
 
 we've been having two types of mail problems since installing the pix:
 
 1. certain domains just couldn't email us.
 2. we sometimes receive hundreds of copies of the same email.
 
 once i removed the smtp fixup from the pix, mail started soming throough
 from the domains that fell into category #1.  (incidentally, they we're all
 exchange servers).  it appears that number2 is now fixed as well, although
 that will take more time to verify.
 
 basically, what would happen is this:
 
 remote mailserver initiates conversation, says something like
 EHLO server.imaginary.com
 
 the PIX would rewrite the line to this (becase EHLO isin't rfc821)
  server.imaginary.com
 
 to which qmail would respond:
 
 502 unimplemented (#5.5.1)
 
 the upshot was that eventually i'd have about 50 qmail-smtpd processes
 running at any given time.
 
 what finally gave the source of the problem away:
 
 telnet your mailserver 25
 from both inside the network , and outside (through the pix).
 
 if you type help, and you get
 502 unimplemented from the outside, and
 214 qmail home page:http://pobox.com/~djb/qmail.html
 from the inside, the pix may be your problem.
 
 dan
 
 
 At 01:12 PM 3/19/01 -0800, you wrote:
 What would a PIX have to do with it?  I am having a random mutiple delivery
 problem, and I am behind a PIX.
 
 Thanks
 Kep
 
 _
 
 ants.com http://www.ants.com  scout http://www.ants.com/scout
 
 Kep Brown
 Systems, Network and Database Administrator
 phone: (805) 560-3781
 fax: (805) 560-3991
 e: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 
 -Original Message-
 From: Moutsos Georgios [mailto:[EMAIL PROTECTED]]
 Sent: Monday, March 19, 2001 10:21 AM
 To: dan kelley
 Cc: [EMAIL PROTECTED]
 Subject: RE: Repeated Identical Messages
 
 
 Your servers are probably behind a Cisco PIX firewall.
 
 J.
 
 -Original Message-
 From: dan kelley [mailto:[EMAIL PROTECTED]]
 Sent: , 19  2001 6:35 
 To: Markus Stumpf
 Cc: [EMAIL PROTECTED]
 Subject: Re: Repeated Identical Messages
 
 
 
 this is getting much weirder.  following the message below, i tested both
 my backup and primary to see if they implemented help for qmail.
 
 here's what happened:
 
 when i test help by doing the following:
 
 from an ip inside the local network:
 
 telnet mailhost.otec.com smtp
 [dkelley@mx1 qmail]# telnet mailhost.otec.com smtp
 Trying 209.3.117.5...
 Connected to mx1.ny.otec.com.
 Escape character is '^]'.
 220 mx1.ny.otec.com ESMTP
 help
 214 qmail home page: http://pobox.com/~djb/qmail.html
 
 from a remote ip:
 % telnet mailhost.otec.com smtp
 Trying 209.3.117.5...
 Connected to mx1.ny.otec.com.
 Escape character is '^]'.
 220 *
 help
 502 unimplemented (#5.5.1)
 
 ...
 
 
 
 
 
 
 Dan Kelley
 www.otec.com
 212-840-8600
 
 




Re: Qmail-Popup Problem

2001-03-12 Thread Keary Suska

That makes sense. It only seems to be the @home addresses that have trouble,
and the trouble seems to be intermittent (no problems today).

Thanks for you help.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: "Paul J. Schinder" [EMAIL PROTECTED]
 Date: Sun, 11 Mar 2001 18:52:47 -0500
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Qmail-Popup Problem
 
 Qmail-Popup is filling my logs with:
 
 qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify
 hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed
 
 It appears that every connection attempt log this message, but I can
 nslookup without any problem, and tcpdmatch without any problem either. It
 appears that this could be a TCP Wrappers problem but I can't duplicate it
 with tcpdmatch, and it doesn't fail for other servers.
 
 Anyone seen this before?
 
 Yes.  @Home has a tendency to lose entries in one or both of their
 main DNS servers.  When this happens, you frequently get this kind of
 message from tcpwrappers.  I just ran a dnstrace on this address and
 it looks like it's back to normal; both 24.0.0.27 and 24.2.0.27 know
 the address.  Usually if you just wait a few hours, the problem gets
 fixed.  Heaven help you if they lose the entries permanently, which
 has happened to us twice  Their front line customer support people
 don't know what DNS is, and you have to argue with them for a while
 until you get kicked up the the second line people, who usually know
 about basic Internet services.
 
 
 -K
 
 -- 
 --
 Paul J. Schinder
 NASA Goddard Space Flight Center
 Code 693
 [EMAIL PROTECTED]
 




Qmail-Popup Problem

2001-03-11 Thread Keary Suska

Qmail-Popup is filling my logs with:

 qmail-popup[29108]: warning: /etc/hosts.allow, line 8: can't verify
hostname: gethostbyname(c393514-a.grdjctn1.co.home.com) failed

It appears that every connection attempt log this message, but I can
nslookup without any problem, and tcpdmatch without any problem either. It
appears that this could be a TCP Wrappers problem but I can't duplicate it
with tcpdmatch, and it doesn't fail for other servers.

Anyone seen this before?

-K





Re: Return-Path

2001-03-04 Thread Keary Suska

call qmail-inject with the -f option or specify the return path in the
headers:
Return-Path: user@host

-K


 From: "Jon" [EMAIL PROTECTED]
 Date: Sat, 3 Mar 2001 10:57:50 -
 To: [EMAIL PROTECTED]
 Subject: Return-Path
 
 Hi,
 
 I have been running qmail for about 2 months now and everything has been
 great :-)  I have a very simple setup.  I host web sites on the server using
 Apache, and when someone uses a perl script though there web site, email
 sent by perl script has a return-path of
 
 [EMAIL PROTECTED]
 
 I thought qmail might use the username of the Apache web server as the
 return-path but it doesn't.  Anyway to control what the return-path is?  I
 have qmail setup to use the "alias" username to store mail and the Maildir
 format.  So my /var/qmail/control/virtualdomains file looks like -
 
 websiteurl.com:alias-websiteurl
 
 Any ideas?  All the best,
 
 Jon
 
 




Re: What does this mean.

2001-02-26 Thread Keary Suska

May be a number of things. How much space do you have left in your /var
partition (if that is where qmail is installed)? I would check there first,
then look into any possible permissions issues.

-K


 From: denis [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Date: Mon, 26 Feb 2001 14:44:44 -0800
 To: [EMAIL PROTECTED]
 Subject: What does this mean.
 
 Hi,
 
 I have been getting this message in my logfile:
 
 qmail: [numbers] alert: unable to append to bounce message HELP!
 sleeping...
 
 qmail seems to be doing this every 10 seconds or so.
 
 Any advice or pointers to the right direction for information will be
 apreachiated
 
 




Re: delay in receiving from Hotmail, Usa.net, etc

2001-02-25 Thread Keary Suska

It is likely a problem with the email services, and not your machine. I have
heard of numerous delay and lost message problems with these services. You
can also look at the complete mail headers to see how many hops it took to
get to your server and how long. According to SMTP every server that touches
a piece of mail must add its identity and a timestamp as it passes it along.
By tracing it along you will probably find where the delay is occurring.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: Chrisanthy Chrisanthy [EMAIL PROTECTED]
 Organization: Circlecom
 Reply-To: Chrisanthy Chrisanthy [EMAIL PROTECTED]
 Date: Sun, 25 Feb 2001 09:11:30 +0700
 To: [EMAIL PROTECTED]
 Subject: delay in receiving from Hotmail, Usa.net, etc
 
 Guys,
 I really need your help. I've search through Qmail documentations and
 mailing-list in
 internet and can't find the answer. I hope someone here can help me.
 
 My Qmail, and Vpopmail work fine. I follow the instructions in INSTALL
 files when installing the packages.
 I can send and receive email from some mail sites without
 problem.
 But recently I find out that if someone who's using Hotmail, USA.net,
 and some other mail server, tried to send email to some users in my
 mail server, 80% of the messages lost in space, 5% received, and 15%
 received after several days. What's the problem?
 
 NO ERROR MESSAGE IN MY LOG FILE-- /var/log/messages
 I don't use supervise, accustamp, cyclog, or anything, just in the
 /var/log/messages.
 
 Please help!
 -- 
 Best regards,
 Chrisanthy
 
 
 




Re: vpopmail, qmail and postmaster

2001-02-15 Thread Keary Suska

The postmaster account is added by default by vpopmail. You will have to
manually create a .qmail file that forwards to the specified address.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: Sashka [EMAIL PROTECTED]
 Reply-To: Sashka [EMAIL PROTECTED]
 Date: Wed, 14 Feb 2001 23:37:18 -0500
 To: [EMAIL PROTECTED]
 Subject: vpopmail, qmail and postmaster
 
 Hello,
 
 I'm running qmail and vpopmail on my server at work. I would like to
 forward all e-mail coming to postmaster@ any domain to my e-mail,
 for example, [EMAIL PROTECTED]
 
 How should I do that?
 
 
 Thanks.
 
 -- 
 Sashka
 
 
 




Re: vpopmail

2001-02-13 Thread Keary Suska

The installation guide gives such an example:

env - PATH="/var/qmail/bin:/usr/local/bin" \
tcpserver -H -R 0 pop-3 \
/var/qmail/bin/qmail-popup your.domain.com \
/home-dir-of-vpopmail/bin/vchkpw /var/qmail/bin/qmail-pop3d Maildir 


-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: "alex" [EMAIL PROTECTED]
 Date: Mon, 12 Feb 2001 23:10:53 -0500
 To: [EMAIL PROTECTED]
 Subject: vpopmail
 
 Hello,
 
 It might be stupid question, but I have no clue where should I put startup
 line for qmail-pop3d and vchkpw? I tried in /var/qmail/rc but it didn't
 work. Please help me!
 
 aleks
 
 




Re: Could someone just tell me the reason for this message

2001-02-12 Thread Keary Suska

Look in /home/vpopmail/domains/domain.com. There should be a .qmail-default
file in that location that calls vdelivermail. If that exists, check to make
sure you have a directory for "user" in the domain directory as well.

I also use qmail+vpopmail, so I can help further if the above doesn't reveal
anything.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Roger Arnold [EMAIL PROTECTED]
 Date: Fri, 09 Feb 2001 15:24:54 +1100
 To: Qmail Users [EMAIL PROTECTED]
 Subject: Could someone just tell me the reason for this message
 
 Roger Arnold wrote:
 
 Could someone just tell me the reason for this message so I can start
 over, sorting it out please?
 I think I am brain dead because I am just going around in circles.
 Email client message:
 
 An error occurred while sending mail.
 The mail server responded:
 5.1.1 [EMAIL PROTECTED]... User unknown
 Please check the message recipients and try again.
 
 What I need to know is:
 Is this error caused by a problem in RELAYCLIENT or
 An error in Qmails control files or
 Something else
 
 I have been reading and reading until I don't know arthur from martha,
 and am now totaly confused.
 Yes I am a newbie
 
 One last thing, can you have 2 startup lines for tcpserver (one for pop3
 and one for smtp)
 Eg.
 /usr/bin/tcpserver -u vpopmail -g vchkpw -H -R 0 pop-3
 /usr/bin/qmail-popup jupiter.webways-hosting.net
 /home/vpopmail/bin/vchkpw /usr/bin/qmail-pop3d Maildir 
 
 /usr/bin/tcpserver -x/home/vpopmail/etc/tcp.smtp.cdb -u101 -g16 0 smtp
 /var/qmail/bin/qmail-smtpd 
 
 Many thanks in advance for any and all help
 Regards
 Roger
 
 




Re: Specific IP

2001-01-28 Thread Keary Suska

Which part of qmail? For qmail-remote, you need a patch if you don't want it
using the default host (it will only bind to localhost if that's the only
host available, IIRC). For qmail-smtpd, you can specify that through
tcpserver. No other part should be sensitive to address.

-K


 From: Linux [EMAIL PROTECTED]
 Organization: Linux
 Reply-To: [EMAIL PROTECTED]
 Date: Sat, 27 Jan 2001 14:24:39 +0100
 To: [EMAIL PROTECTED]
 Subject: Specific IP
 
 Hi.
 
 There is a method to run qmail on a specific IP address.
 For example binding on 111.222.222.222:25 instead of 0.0.0.0:25
 
 Thanks
 




Re: can't connect to smtp

2001-01-26 Thread Keary Suska

Have you checked your tcpserver logs to see what it thinks is going on? If
there is no record of your attempt to connect, it means it is not listening
on port 25. Otherwise it may tell you why you are being refused. Just in
case--did you re/compile the rules file? You could also use tcprulescheck to
test the rules file.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Curtis Collicutt [EMAIL PROTECTED]
 Date: Thu, 25 Jan 2001 22:54:52 -0800 (PST)
 To: [EMAIL PROTECTED]
 Subject: can't connect to smtp
 
 Hi,
 
 I'm trying to diagnose the reason why I can't connect
 to port 25 on the localhost. I've tried with #telnet
 localhost 25 and #mconnect and I get:
 
 tcpclient: unable to connect to 127.0.0.1 port 25:
 connection refused
 
 with both.
 
 I've just installed qmail following the howto found at
 http://www.flounder.net/qmail/qmail-howto.html.
 
 $ ps ax | grep qmail
 22825 ??  S   8:39.46 supervise qmail-smtpd
 25256 p0  R+  0:00.00 grep qmail (sh)
 20531 C0- S  10:04.16 supervise qmail-send
 
 Shows that qmail-smtpd is running, but I can't
 connect.
 
 tcpserver rules are:
 127.0.0.1:allow,RELAYCLIENT=""
 :allow
 
 So I should be able to connect, as far as I know.
 
 Anything else I can look at? I'm so stumped.
 
 Thanks for any help.
 Curtis.
 
 
 
 
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - Buy the things you want at great prices.
 http://auctions.yahoo.com/
 




Re: queue is empty, but qmail still complains

2001-01-25 Thread Keary Suska

Try:
/var/qmail/queue -type f

If there are *any* references in the numbered subdirectories in *any* of the
queues, you may get the message in question. Be sure to delete them all.

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Charles Cazabon [EMAIL PROTECTED]
 Date: Wed, 24 Jan 2001 19:27:14 -0600
 To: Qmail [EMAIL PROTECTED]
 Subject: Re: queue is empty, but qmail still complains
 
 Keary Suska [EMAIL PROTECTED] wrote:
 Qmail stores references to messages in multiple locations in the queue. What
 this error likely means is that there are references to messages in the todo
 directory that don't exist in the mess directory. Find the messages via
 something like find /var/qmail/queue -name '*MESSAGEID*' where MESSAGEID is
 the id number of the message. Delete every instance of the troublesome
 message ID's.
 
 Actually, I'm quite aware of this -- that's why in my original message,
 I posted (among other things) the result of `find /var/qmail/queue -type f`
 showing that there are _no_ files in the queue directory other than
 lock/tcpto and lock/sendmutex.  queue-fix (with the big-todo patch) says
 the queue is fine.
 
 To sum up:  this is not simple queue corruption, caused by manually
 removing files in the queue hierarchy.  Something distinctly odd is going
 on.  I can stop qmail, verify no qmail processes are running, verify there
 are no files in the queue structure other than the two mentioned above,
 start qmail, and _still_ get error output about these particular files
 in mess/*/ being missing.  Where is qmail getting the necessary state
 information to determine that these files should exist?
 
 I've also just noticed something else odd about the error messages -- aren't
 the files in the split directories normally named by inode number?  In this
 case, the "missing" files all share the names of the split directories that
 qmail thinks they should be in -- i.e. mess/13/13, mess/14/14, etc.
 
 Here's a listing of /var/qmail/queue/mess:
 
 [root@charon mess]# pwd
 /var/qmail/queue/mess
 [root@charon mess]# ll
 total 92
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 0/
 drwxr-x---   2 qmailq   qmail4096 Apr  9  1999 1/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 10/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 11/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 12/
 drwxr-x---   2 qmailq   qmail4096 Jun 27  2000 13/
 drwxr-x---   2 qmailq   qmail4096 Jun 27  2000 14/
 drwxr-x---   2 qmailq   qmail4096 Jun 27  2000 15/
 drwxr-x---   2 qmailq   qmail4096 Jun 27  2000 16/
 drwxr-x---   2 qmailq   qmail4096 Jun 27  2000 17/
 drwxr-x---   2 qmailq   qmail4096 Feb 14  2000 18/
 drwxr-x---   2 qmailq   qmail4096 May 11  2000 19/
 drwxr-x---   2 qmailq   qmail4096 Apr  9  1999 2/
 drwxr-x---   2 qmailq   qmail4096 Jun 27  2000 20/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 21/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 22/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 3/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 4/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 5/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 6/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 7/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 8/
 drwxr-x---   2 qmailq   qmail4096 Jan 24 15:04 9/
 
 I just don't get it.  I've searched the archives of the list, and can't find
 any occurrences of this.  I'd appreciate any thoughts on what might be
 causing this.
 
 Charles
 
 [root@charon queue]# ps auxw | grep qmail
 [root@charon queue]# pwd
 /var/qmail/queue
 [root@charon queue]# find . -type f
 ./lock/sendmutex
 ./lock/tcpto
 [root@charon queue]# /etc/rc.d/init.d/qmail start
 Starting qmail:  done.
 [root@charon queue]# tail /var/log/maillog
 Jan 24 16:02:49 charon qmail: 980373769.839878 warning: unable to stat
 mess/13/13
 Jan 24 16:02:49 charon qmail: 980373769.841153 warning: unable to stat
 mess/14/14
 Jan 24 16:02:49 charon qmail: 980373769.841305 warning: unable to stat
 mess/15/15
 Jan 24 16:02:49 charon qmail: 980373769.841445 warning: unable to stat
 mess/16/16
 Jan 24 16:02:49 charon qmail: 980373769.841572 warning: unable to stat
 mess/17/17
 Jan 24 16:02:49 charon qmail: 980373769.845169 warning: unable to stat
 mess/18/18
 Jan 24 16:02:49 charon qmail: 980373769.845323 warning: unable to stat
 mess/19/19
 Jan 24 16:02:49 charon qmail: 980373769.845463 warning: unable to stat
 mess/20/20
 Jan 24 16:02:49 charon qmail: 980373769.848179 warning: unable to stat
 mess/21/21
 Jan 24 16:02:49 charon qmail: 980373769.851135 warning: unable to stat
 mess/22/22
 
 -- 
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~cha

Re: Problem with qmail and SMTP port w/ Debian Linux.

2001-01-25 Thread Keary Suska

Did you configure qmail-smtpd? It either needs to be always running or
invoked via tcpserver or inetd. It sounds like this is not the case.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: John Bowen [EMAIL PROTECTED]
 Date: Thu, 25 Jan 2001 15:26:39 -0800
 To: [EMAIL PROTECTED]
 Subject: Problem with qmail and SMTP port w/ Debian Linux.
 
 
 Hi,
 
 Having a problem, here's my story: I did a clean install of Debian Potato
 Linux on a P100 machine, I did NOT install exim [selected option 5/do not
 configure mail] when doing the install.  I followed the Life With Qmail
 document to the letter, installing qmail 1.03, the daemontools, and
 ucspi-tcp.  I also installed the POP3 module that came with qmail.  The 4
 qmail- processes are running and locally everything seems to work okay
 [verified with a ps and a qmail-inject to myself from an echo on the command
 line].
 
 Now, I can send mail from my machine to other local accounts and external
 domains just fine.  I can check POP3 remotely just fine.  However my big
 problem is that I'm not receiving outside mail sent to my domain.  I
 verified DNS is setup correctly and goes to the correct IP address.  The
 bounce message I'm getting is:
 
 [EMAIL PROTECTED]... Deferred: Connection refused by
 mail.birthmachine.com.
 
 ...on top of this, I can't telnet into my own port 25 [telnet on 127.0.0.1
 25 AND outside by IP both fail with "could not open a connection"], which
 makes me think I'm missing some SMTP daemon/port listener that should have
 been installed with exim that qmail expects to use.  A portscan on my
 machine verifies that port 25 isn't open.
 
 I did absolutely nothing fancy on the qmail/Linux install, haven't
 installed ANYTHING but what I mentioned above.  I'm pretty much a Linux
 ignoramus and have no idea where to go from here.
 
 Thanks in advance for any pointers or help...
 - John
 




Re: queue is empty, but qmail still complains

2001-01-24 Thread Keary Suska

Qmail stores references to messages in multiple locations in the queue. What
this error likely means is that there are references to messages in the todo
directory that don't exist in the mess directory. Find the messages via
something like find /var/qmail/queue -name '*MESSAGEID*' where MESSAGEID is
the id number of the message. Delete every instance of the troublesome
message ID's.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: Charles Cazabon [EMAIL PROTECTED]
 Date: Wed, 24 Jan 2001 16:11:12 -0600
 To: [EMAIL PROTECTED]
 Subject: queue is empty, but qmail still complains
 
 Greetings,
 
 Here's an interesting one.  On one of our lesser-used development boxes, we're
 using an older version of Bruce Guenter's qmail+patches RPMs -- release 7,
 which is mostly qmail, plus Russ Nelson's big-todo, and a few of Bruce's
 convenience patches (like qmail-owners).
 
 Here's what I don't understand:  my queue is currently empty.  However, qmail
 is still complaining about being unable to stat files in the mess/
 subdirectories, even after a fresh start.  I've run queue-fix (with the
 big-todo patch) on the queue, and it reports no problems.  I've included the
 output of a shell session which particularly bothers me.
 
 Where is qmail getting the idea that these files should exist?
 
 Charles
 
 ---output of shell---
 
 [root@charon queue]# /etc/rc.d/init.d/qmail stop
 Stopping qmail:  done.
 [root@charon queue]# ps auxw | grep qmail
 [root@charon queue]# pwd
 /var/qmail/queue
 [root@charon queue]# find . -type f
 ./lock/sendmutex
 ./lock/tcpto
 [root@charon queue]# /etc/rc.d/init.d/qmail start
 Starting qmail:  done.
 [root@charon queue]# tail /var/log/maillog
 Jan 24 16:02:49 charon qmail: 980373769.839878 warning: unable to stat
 mess/13/13
 Jan 24 16:02:49 charon qmail: 980373769.841153 warning: unable to stat
 mess/14/14
 Jan 24 16:02:49 charon qmail: 980373769.841305 warning: unable to stat
 mess/15/15
 Jan 24 16:02:49 charon qmail: 980373769.841445 warning: unable to stat
 mess/16/16
 Jan 24 16:02:49 charon qmail: 980373769.841572 warning: unable to stat
 mess/17/17
 Jan 24 16:02:49 charon qmail: 980373769.845169 warning: unable to stat
 mess/18/18
 Jan 24 16:02:49 charon qmail: 980373769.845323 warning: unable to stat
 mess/19/19
 Jan 24 16:02:49 charon qmail: 980373769.845463 warning: unable to stat
 mess/20/20
 Jan 24 16:02:49 charon qmail: 980373769.848179 warning: unable to stat
 mess/21/21
 Jan 24 16:02:49 charon qmail: 980373769.851135 warning: unable to stat
 mess/22/22
 
 And output of qmail-showctl, for completeness:
 
 [root@charon queue]# qmail-showctl
 qmail home directory: /var/qmail.
 user-ext delimiter: -.
 paternalism (in decimal): 2.
 silent concurrency limit: 120.
 subdirectory split: 23.
 user ids: 101, 102, 103, 0, 104, 105, 106, 107.
 group ids: 16, 11.
 
 aliasempty: 
 Default delivery target contains: |dot-forward .forward
 Default delivery target contains: |preline procmail
 
 badmailfrom: (Default.) Any MAIL FROM is allowed.
 
 bindroutes: (Default.) No binding routes.
 
 bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.
 
 bouncehost: (Default.) Bounce host name is charon.qcc.sk.ca.
 
 checkpassword: (Default.) Password checking program is checkpassword.
 
 concurrencylocal: (Default.) Local concurrency is 10.
 
 concurrencypop3d: (Default.) POP-3 daemon concurrency is 20.
 
 concurrencyqmqpd: (Default.) QMQP daemon concurrency is 20.
 
 concurrencyqmtpd: (Default.) QMTP daemon concurrency is 20.
 
 concurrencyremote: (Default.) Remote concurrency is 20.
 
 concurrencysmtpd: (Default.) SMTP daemon concurrency is 20.
 
 databytes: (Default.) SMTP DATA limit is 0 bytes.
 
 defaultdomain: Default domain name is qcc.sk.ca.
 
 defaulthost: Default host name is qcc.sk.ca.
 
 doublebouncehost: 2B recipient host: qcc.sk.ca.
 
 doublebounceto: (Default.) 2B recipient user: postmaster.
 
 envnoathost: Presumed domain name is qcc.sk.ca.
 
 helohost: (Default.) SMTP client HELO host name is charon.qcc.sk.ca.
 idhost: (Default.) Message-ID host name is charon.qcc.sk.ca.
 
 localiphost: (Default.) Local IP address becomes charon.qcc.sk.ca.
 
 locals: 
 Messages for localhost are delivered locally.
 Messages for charon.qcc.sk.ca are delivered locally.
 Messages for skgov.qcc.sk.ca are delivered locally.
 Messages for www.skgov.qcc.sk.ca are delivered locally.
 Messages for search.skgov.qcc.sk.ca are delivered locally.
 Messages for www.search.skgov.qcc.sk.ca are delivered locally.
 
 logger: (Default.) Logging is done via: splogger.
 
 me: My name is charon.qcc.sk.ca.
 
 percenthack: (Default.) The percent hack is not allowed.
 
 plusdomain: Plus domain name is qcc.sk.ca.
 
 qmqpservers: (Default.) No QMQP servers.
 
 queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
 
 rcpthosts: 
 SMTP clients may send messages to recipients at localhost.
 SMTP clients may send messages to recipients at 

Re: Queue

2001-01-23 Thread Keary Suska

Find the message in /var/qmail/queue/mess, the find for the message id under
queue: find /var/qmail/queue -name 'MSG_ID*' -exec rm -f {} \; or something
similar.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: "NDSoftware" [EMAIL PROTECTED]
 Date: Tue, 23 Jan 2001 15:08:09 +0100
 To: [EMAIL PROTECTED]
 Subject: Queue
 
 Hi,
 How i can delete a message in the queue because my qmail is crashed and my
 queue is not cleaned and my customer receveid this message by 120 !
 Thanks
 
 Nicolas DEFFAYET, NDSoftware
 http://www.ndsoftware.net - [EMAIL PROTECTED]
 France: Tel +33 671887502 - Fax N/A
 UK: Tel +44 8453348750 - Fax +44 8453348751
 USA: Tel N/A - Fax N/A
 
 




Re: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0or 127.0.0.1)

2001-01-22 Thread Keary Suska

This would definitely be a bug of concern--even sendmail (yoiks!) knows how
to handle 0.0.0.0. But shouldn't qmail bounce the message as a possible MX
loop?

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."


 From: Scott Gifford [EMAIL PROTECTED]
 Date: 22 Jan 2001 17:20:49 -0500
 To: [EMAIL PROTECTED]
 Subject: Subtle qmail bug? (was Re: Handling an MX record of 0.0.0.0 or
 127.0.0.1)
 
 Scott Gifford [EMAIL PROTECTED] writes:
 
 We received an influx of mail today addressed to (probably bogus)
 users at the domain 'groupprojects.net'.  This domain has the
 following MX record:
 
 groupprojects.net   preference = 0, mail exchanger = 0.0.0.0
 
 When we received the message, qmail connected to 0.0.0.0 to deliver
 the mail.  0.0.0.0 connects to 127.0.0.1, so qmail ended up connected
 to itself.  It continued to deliver the message to itself, and because
 127. is allowed to relay on my system, the message was accepted.  Then
 qmail would immediately begin delivering the message to itself again.
 Wash, rinse, repeat.
 
 [ ... ]
 
 Further investigation of this problem has led me to what seems to be a
 subtle bug in qmail.
 
 in ipme.c, qmail tries to decide what IP addresses will connect back
 to itself.  It does this by finding the IP addresses of all network
 interfaces on the system, and putting them into an ipalloc structure
 called ipme.  Then, in qmail-remote.c, it deals with the situation
 where the best-preference MX for a domain is itself, but this domain
 doesn't appear in control/locals, by issuing a permanent failure for
 the message, via perm_ambigmx(), which displays the familiar error
 message:
 
 Sorry. Although I'm listed as a best-preference MX or A for that host,
 it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)
 
 This is necessary to prevent a tight internal mail loop, like the one
 I encountered below.  Otherwise, qmail will see that the message isn't
 local, qmail-remote will connect to its own IP address, and the
 message will be re-injected.
 
 The problem is that 0.0.0.0 is a special IP address which refers to
 "This host on this network" (RFC 1122, 3.2.1.3a), although it isn't
 the address of any of the interfaces on a host.  According to Paul
 Vixie in the comp.protocols.tcp-ip.domains FAQ (Q5.15):
 
 0.0.0.0 is just an alias for the first interface address assigned
 after a system boot [ ... ]
 
 The IP stacks I've checked (Solaris and Linux) behave consistently
 with this.
 
 Because qmail doesn't recognize 0.0.0.0 as an IP address which refers
 to the local host, when it sees an MX record with that address, it
 doesn't recognize it as being an address that will connect back to
 itself.  This causes the looping scenario that ipme is designed to
 prevent.
 
 The simple solution to this problem is to add 0.0.0.0 to ipme, by
 adding something like:
 
 ip_scan("0.0.0.0",ix.ip);
 if (!ipalloc_append(ipme,ix)) { close(moreipme_fd); return 0; }
 
 into ipme.c, around line 96.
 
 The solution we actually used took advantage of an internal patch
 which allows us to list additional addresses to be added to ipme in
 "control/moreipme", which works around some other problems qmail has
 when addresses that refer to it go through any kind of address
 translation or proxying, and it can't recognize them as local.  We
 just added 0.0.0.0 to the beginning of this file, and all was well.
 
 I'd be happy to hear any comments on this problem.
 
 -ScottG.
 




Re: Qmail and Syslogd?

2001-01-18 Thread Keary Suska

Are there any intrusion detection systems that support the multilog file
format?

-K


 From: Dave Sill [EMAIL PROTECTED]
 Organization: Oak Ridge National Lab, Oak Ridge, Tenn., USA
 Date: Thu, 18 Jan 2001 10:36:32 -0500
 To: [EMAIL PROTECTED]
 Subject: Re: Qmail and Syslogd?
 
 "Collin B. McClendon" [EMAIL PROTECTED] wrote:
 
 In light of my recent delivery issues, I was curious as to whether syslogd
 may have anything to do with it? During a mail run of our mailing lists
 syslogd is hitting 90% processor usage or more and staying there. Just
 curious,
 
 Why use syslog when there's a more reliable, secure, efficient, and
 functional alternative? (Hint: multilog)
 
 -Dave
 




Re: Virtual domains and forwarding.

2001-01-18 Thread Keary Suska

I am not sure what you mean here by, "without the email data passing through
domain.com." If your host is listed as the mail host for the domain, it will
have to handle it one way or another.

If you have an additional domain that you want to host, say, domain2.com,
you would simply add the domain to the virtualdomains control file then tell
qmail where to deposit it (see the FAQ regarding virtual domains).

But if you mean that you want your mail server to act as a relay--i.e.,
although your host is set up as the mail host in DNS, but mail is actually
to be delivered to a remote machine, you would make the virtualdomains entry
then an appropriate smtproutes entry (IIRC).

-K

"Do not meddle in the affairs of wizards, for they are subtle and quick to
anger."


 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 08:46:32 +1000 (EST)
 To: [EMAIL PROTECTED]
 Subject: Virtual domains and forwarding.
 
 1. I have another domain I need to host on my machine. Is it possible
 to send email to [EMAIL PROTECTED] and it will forward to an email address
 (external to the domain.com machine) without the email data passing
 through domain.com? I don't think this is possible.
 
 




Re: Virtual domains and forwarding.

2001-01-18 Thread Keary Suska

 Well say you send email to [EMAIL PROTECTED] The mail server you're sending from
 will look up the MX record for domain.com and attempt to connect. Now when
 you're trying to connect to domain.com, domain.com says oh, that gets
 forwarded to [EMAIL PROTECTED], so I won't take the email but send it onto
 [EMAIL PROTECTED] instead.

Actually, domain.com *will* accept the message, i.e., it will store it
locally in its queue. Using the virtualdomains/smtproutes option I listed in
my previous email, the message will then be sent on to the remote host
automatically without requiring a valid local user part of the address or a
.qmail file.

-K


 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 10:43:06 +1000 (EST)
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Virtual domains and forwarding.
 
 On Thu, 18 Jan 2001, Keary Suska wrote:
 
 I am not sure what you mean here by, "without the email data passing through
 domain.com." If your host is listed as the mail host for the domain, it will
 have to handle it one way or another.
 
 
 I don't think it's possible, but it is an idea so that you can use a slow
 connection to route lots of mail. Instead of the mail going through that
 server...
 
 Does that help at all?
 
 




Re: Virtual domains and forwarding.

2001-01-18 Thread Keary Suska

What do you mean by "pass through?" What are you trying to avoid?

-K


 From: Grant [EMAIL PROTECTED]
 Date: Fri, 19 Jan 2001 11:51:23 +1000 (EST)
 To: Keary Suska [EMAIL PROTECTED]
 Cc: Qmail [EMAIL PROTECTED]
 Subject: Re: Virtual domains and forwarding.
 
 Actually, domain.com *will* accept the message, i.e., it will store it
 locally in its queue. Using the virtualdomains/smtproutes option I listed in
 my previous email, the message will then be sent on to the remote host
 automatically without requiring a valid local user part of the address or a
 .qmail file.
 
 But the data will still pass through the machine right?
 
 




qmail-remote Address

2001-01-17 Thread Keary Suska

How can one determine and specify the IP address used by qmail-remote for
remote mail delivery? It used the default IP for the host instead of the
address for its FQDN.

-K

"Do not meddle in the affairs of dragons, because you are crunchy and taste
good with ketchup."