qmail Digest 17 Jun 2001 10:00:01 -0000 Issue 1398

Topics (messages 64287 through 64312):

Re: [Q] qmail with lwq
        64287 by: tc lewis
        64288 by: Frank Tegtmeyer

How I can use ezmlm with vpopmail?
        64289 by: Fatal Connect

Re: POP/IMAP server - more NEWBIE
        64290 by: Robin S. Socha

Re: Qmail ADMIN!!! Please Help
        64291 by: Anton Pirnat

Re: IMAP benchmarks
        64292 by: Robin S. Socha

[Q] qmail and supervise
        64293 by: YOON, Joo-Yung
        64294 by: Frank Tegtmeyer
        64311 by: YOON, Joo-Yung

How to accept e-mails to addresses like [EMAIL PROTECTED]%mail.foo.bar?
        64295 by: Adam Nealis
        64296 by: Russell Nelson
        64297 by: Adam Nealis

courier-imap and tcpserver ?
        64298 by: Oden Eriksson

beginner of qmail - creating of users cdb database
        64299 by: Martin Kubecek
        64300 by: arjen-qmail.3va.net
        64301 by: Nick (Keith) Fish
        64309 by: Joshua Nichols
        64310 by: Henning Brauer

qmail Size Problem
        64302 by: Eugene Teo
        64305 by: Nick (Keith) Fish
        64306 by: Eugene Teo

Re: rss spam filtering problems
        64303 by: Stephen Bosch
        64304 by: Stephen Bosch
        64307 by: Stephen Bosch
        64308 by: Russell Nelson

qmail-qfilter
        64312 by: Jon

Administrivia:

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To bug my human owner, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------



it looks like you have svscan running on / and /service instead of just
/service.  check your /etc/inittab and other init scripts and such and
make sure that only 1 svscan is running and only on /service.  there are
also 2 supervise processes running on qmail-smtpd for some reason.  it
could be related to the above.  since 2 of those are running, 1 of them is
actually running it (bound on port 25/tcp), and the other one keeps trying
to start it but fails because it can't bind to that port since the first
one already has it...

somewhere to start, at least.

-tcl.


On Sat, 16 Jun 2001, YOON, Joo-Yung wrote:

> I installed qmail in accordance with lwq (dated 13 June 2001).
> I am gone to chapter 2 Installation, and did not go to chapter 3
> Configuratin yet.
>
> Tried to stop qmail, but it does not stop by saying
>   qmail-send: no file
>   qmail-smtp: no file
>
> But I have them in /service linked to /var/qmail/supervise.
>
> So I restarted the linux box.
> Then I could stop and start the qmail system.
>
> But the log in /var/log/qmail/smtpd/current says
> @400000003b2b26d422cdd01c tcpserver: fatal: unable to bind: address already used
> @400000003b2b26d53b4973bc tcpserver: fatal: unable to bind: address already used
> @400000003b2b26d70196845c tcpserver: fatal: unable to bind: address already used
> @400000003b2b26d80352e22c tcpserver: fatal: unable to bind: address already used
> @400000003b2b26d90504dfbc tcpserver: fatal: unable to bind: address already used
>
> and the terminal of the booting still produces junk fatal error messages that
> I can not read because they scroll up too fast.
>
> The environment of my system is
> linux-2.2.18
> debian-2.2 (potato)
> qmail-1.03
> ucspi-tcp-0.88
> daemontools-0.70
>
> Now the qmail is running, and I attach the ps output for your information.
>
> Could you please help me?
> I will highly appreciate it.
>
> Warm regards,
> --
> YOON, Joo-Yung / ArBaGo Int'l
> KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
> Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]
>







"YOON, Joo-Yung" <[EMAIL PROTECTED]> writes:

> Now the qmail is running, and I attach the ps output for your information.

Please include /service on the commandline of svscan (inittab?). You
are running svscan on the root directory because you didn't give
parameters.

Change that and look at it again then. May be it's the only problem.

Regards, Frank




        Hello!
        I have a problem while sending messages to ezmlm mailing list... I
created mailing list '[EMAIL PROTECTED]', but when I type(as said in
INSTALL file) '% echo subject:testing | /var/qmail/bin/qmail-inject
[EMAIL PROTECTED]', it mails me a message:
-------------------------------*****************************************
Date: 16 Jun 2001 11:12:38 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at yauza.ru.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, no mailbox here by that name. vpopmail (#5.1.1)

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 12636 invoked by uid 0); 16 Jun 2001 11:12:38 -0000
Date: 16 Jun 2001 11:12:38 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
Cc: recipient list not shown: ;
subject:testing
---------------------------------****************************************

Have I wrote incorrect directory in /path/to/source/qmail-bin? I put there
/var/qmail, maybe I must put /var/vpopmail?

        Thank you!
---
Gergel Nikita                                   System administrator
YAUZA-Telecom                                   Moscow, Russia





* Technology Strategic Planning <Technology> writes:
> "Nick (Keith) Fish" <[EMAIL PROTECTED]> 
>> Stephen Froehlich wrote:

Do you read your mail from bottom to top? If not, why do you start your
reply on top of the original mail?

>>> In the near future, I'll need to allow encrypted remote access.
>>> (Encrypted only.)  I have a few, relatively trusted users.  How
>>> would you go about meeting those requirements?
>>
>> Run two copies of tcpserver under supervise (well, four if you want
>> both POP and IMAP), one not encrypted and available to your local
>> network as specified in tcpserver's rules files, and the other
>> encrypted and available to anyone.  
[...]

> For one, how good is the IMAP encryption?  

That depends on your implementation.

> Is it just preventing casual browsing, serious private attempts, 

That depends on your implementation.

> or people with supercomputers?

Which interest should they have in your private mail?

> How about VPN solutions?  

That depends on your implementation.

> Is there a decent Linux server for MS's VPN?  

How do you want to write something decent for something not decent?
There are several VPN implementations (FreeS/WAN works well), but if
you're looking into VPN solutions, you'd better take a close look at
OpenBSD.

> I have an NT server (with scads of processing power), but am afraid to
> expose it to the internet in any way, shape, or form.  

MS says it's secure. Just do it. They wouldn't *sell* anything that has
bugs, right?

> The mail server will be inside of a DMZ once I get things up and
> running fully - which is a much better place to do this from.  

If you intend to run MS Exchange, it won't matter much.

> How about the PGP based IP tunneling?  Any experiences or impressions?

It works. But why would you want to do it if there are other options?

> Is this overkill?

No. Underkill.

> Should I be concerned if we have to carry it on a laptop across
> borders?

That depends on the border.
-- 
Robin S. Socha - Your Worst Network Nightmare(tm).
`In Germany, they are not referred to as network administrators. They
prefer to be called "Sons Of The Third Reich".' (Kate: www.katewerk.com)




or even..it is the wrong version of vpopmail. I got the same message then. 
But all went well after upgrading vpopmail :)

hth
Anton Pirnat


On Friday 15 June 2001 07:44, Santosh Pasi wrote:
> Hi,
>
> >gcc -I.       -g -O2 -c qmailadmin.c
> >qmailadmin.c:30: vpopmail.h: No such file or directory
>
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> >qmailadmin.c:31: vauth.h: No such file or directory
>
>                   ^^^^^^^^^^^^
>
> >make[2]: *** [qmailadmin.o] Error 1
>
> On your system, there is no vpopmail.h and vauth.h file.
> try to get these files first(you may find in vpopmail src) and include
> it in proper path, may be /usr/include
> Regards,
> Santosh Pasi
>
>
>
> ---------------Original Message------------------
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>
> >Precedence: bulk
> >From: "Mike Jimenez" <[EMAIL PROTECTED]>
> >To: "Qmail" <[EMAIL PROTECTED]>
> >Subject: Qmail ADMIN!!! Please Help
> >Date: Wed, 13 Jun 2001 12:18:42 -0700
> >Content-Transfer-Encoding: 7bit
> >Importance: Normal
> >
> >Using the new vpopmail vpopmail-4.9.10.tar and the Qmail Admin
> >qmailadmin-0.45.tar . I cannot get Qmail admin to compile?
> >Here is the error message I recieve.
> >What in the heck is going on ? I can compile qmailadmin-0.26.tar with no
> >errors but I dont want to use that.
> >Thanks
> >Mike
> >
> >qmailadmin-0.45]#
> >./configure --enable-vpopuser=vpopmail
>
> --enable-cgibindir=/apache/cgi-bin -->enable-htmldir=/usr/local/share
> --enable-vpopmaildir=/home/vpopmail/
>
> >creating cache ./config.cache
> >checking for a BSD compatible install... /usr/bin/install -c
> >checking whether build environment is sane... yes
> >checking whether make sets ${MAKE}... yes
> >checking for working aclocal... found
> >checking for working autoconf... found
> >checking for working automake... found
> >checking for working autoheader... found
> >checking for working makeinfo... found
> >checking host system type... i686-unknown-linux
> >checking for gcc... gcc
> >checking whether the C compiler (gcc  ) works... yes
> >checking whether the C compiler (gcc  ) is a cross-compiler... no
> >checking whether we are using GNU C... yes
> >checking whether gcc accepts -g... yes
> >checking for ranlib... ranlib
> >checking for POSIXized ISC... no
> >checking how to run the C preprocessor... gcc -E
> >checking for AIX... no
> >checking for crypt in -lcrypt... yes
> >checking for crypt in -lshadow... no
> >checking for floor in -lm... yes
> >checking for gethostbyaddr in -lnsl... yes
> >checking for getsockname in -lsocket... no
> >cat: /home/vpopmail//etc/inc_deps: No such file or directory
> >cat: /home/vpopmail//etc/lib_deps: No such file or directory
> >checking for ezmlm-idx... no
> >checking for dirent.h that defines DIR... yes
> >checking for opendir in -ldir... no
> >checking for ANSI C header files... yes
> >checking for unistd.h... yes
> >checking for working const... yes
> >checking for size_t... yes
> >checking whether struct tm is in sys/time.h or time.h... time.h
> >checking for getcwd... yes
> >checking for mkdir... yes
> >checking for strdup... yes
> >checking for strstr... yes
> >updating cache ./config.cache
> >creating ./config.status
> >creating Makefile
> >creating config.h
> >qmailadmin-0.45]# make
> >make  all-recursive
> >make[1]: Entering directory `/installers/qmailadmin-0.45'
> >make[2]: Entering directory `/installers/qmailadmin-0.45'
> >gcc -I.       -g -O2 -c qmailadmin.c
> >qmailadmin.c:30: vpopmail.h: No such file or directory
> >qmailadmin.c:31: vauth.h: No such file or directory
> >make[2]: *** [qmailadmin.o] Error 1
> >make[2]: Leaving directory `/installers/qmailadmin-0.45'
> >make[1]: *** [all-recursive] Error 1
> >make[1]: Leaving directory `/installers/qmailadmin-0.45'
> >make: *** [all-recursive-am] Error 2
> >
> >==========================================================
> >Mike Jimenez
> >System Administrator
> >Visual Perspectives Internet, Inc. (VPI.Net)
> >Tel: (949) 595-8622 -- Fax: (949) 595-8629
> >http://www.vpi.net
> >==========================================================




Thanks for the pointer.




Thanks for your help.

I checked the system, and found out that there were 2 places that initiate
svscan.  The one is /etc/inittab, and the other is /etc/init.d/svscan.

Life with Qmail (installation document) misses the point that 
daemontool installs /etc/init.d/svscan and that it requests the readers
to put a commanline in the /etc/inittab.

So I removed the command line in the inittab file.  
And the svscan problem went away.  (Thanks for your hint.)

But I still have another problem unsolved yet.
I booted the system again, and still sees a warning message keep scrolling up.
It is "supervise:fatal:unable to start supervise/run:file does not exist".

The directories related are as follows.
1. /service

# ls -l /service
lrwxrwxrwx    1 root     root           31  6¿ù 16 18:05 qmail-send -> 
/var/qmail/supervise/qmail-send
lrwxrwxrwx    1 root     root           32  6¿ù 16 18:05 qmail-smtpd -> 
/var/qmail/supervise/qmail-smtpd
drwx------    3 root     root         4096  6¿ù 16 23:16 supervise

(There is another supervise inside the supervise directory.)

2. /var/qmail/supervise/qmail-send/supervise

3. /var/qmail/supervise/qmail-smtpd/supervise

And for more information, I grepped the ps.

1. ps ax |grep supervise
  315 ?        S      0:00 supervise supervise
  317 ?        S      0:00 supervise qmail-send
  318 ?        S      0:00 supervise log
  319 ?        S      0:01 supervise qmail-smtpd
  320 ?        S      0:00 supervise log
 4194 ?        S      0:00 supervise qmail-smtpd
 4195 ?        S      0:00 supervise supervise

2. ps ax |grep qmail
  317 ?        S      0:00 supervise qmail-send
  319 ?        S      0:01 supervise qmail-smtpd
  321 ?        S      0:00 qmail-send
  323 ?        S      0:00 /usr/local/bin/multilog t /var/log/qmail/smtpd
  324 ?        S      0:00 /usr/local/bin/multilog t /var/log/qmail
  438 ?        S      0:00 qmail-lspawn ./Mailbox
  439 ?        S      0:00 qmail-rspawn
  440 ?        S      0:00 qmail-clean
 4514 ?        S      0:00 supervise qmail-smtpd

Please give me another help.

Warm regards,

On Sat, Jun 16, 2001 at 05:57:03AM -0400, tc lewis wrote:
> 
> it looks like you have svscan running on / and /service instead of just
> /service.  check your /etc/inittab and other init scripts and such and
> make sure that only 1 svscan is running and only on /service.  there are
> also 2 supervise processes running on qmail-smtpd for some reason.  it
> could be related to the above.  since 2 of those are running, 1 of them is
> actually running it (bound on port 25/tcp), and the other one keeps trying
> to start it but fails because it can't bind to that port since the first
> one already has it...
> 
> somewhere to start, at least.
> 
> -tcl.
> 
> 
> On Sat, 16 Jun 2001, YOON, Joo-Yung wrote:
> 
> > I installed qmail in accordance with lwq (dated 13 June 2001).
> > I am gone to chapter 2 Installation, and did not go to chapter 3
> > Configuratin yet.
> >
> > Tried to stop qmail, but it does not stop by saying
> >   qmail-send: no file
> >   qmail-smtp: no file
> >
> > But I have them in /service linked to /var/qmail/supervise.
> >
> > So I restarted the linux box.
> > Then I could stop and start the qmail system.
> >
> > But the log in /var/log/qmail/smtpd/current says
> > @400000003b2b26d422cdd01c tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d53b4973bc tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d70196845c tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d80352e22c tcpserver: fatal: unable to bind: address already used
> > @400000003b2b26d90504dfbc tcpserver: fatal: unable to bind: address already used
> >
> > and the terminal of the booting still produces junk fatal error messages that
> > I can not read because they scroll up too fast.
> >
> > The environment of my system is
> > linux-2.2.18
> > debian-2.2 (potato)
> > qmail-1.03
> > ucspi-tcp-0.88
> > daemontools-0.70
> >
> > Now the qmail is running, and I attach the ps output for your information.
> >
> > Could you please help me?
> > I will highly appreciate it.
> >
> > Warm regards,
> > --
> > YOON, Joo-Yung / ArBaGo Int'l
> > KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
> > Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]
> >
> 
> 
> 

-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]




"YOON, Joo-Yung" <[EMAIL PROTECTED]> writes:

> drwx------    3 root     root         4096  6¿ù 16 23:16 supervise
> 
> (There is another supervise inside the supervise directory.)

This is left from your previous wrong setup. There are supervise
directories on overy first level directory now. To remove them:

/etc/init.d/svscan stop   (check that it really is stopped)
rm -ri /*/supervise
/etc/init.d/svscan start

This should remove the warning messages and clean your system from
unnecessary supervise directories.

Regards, Frank




Dear Frank,

Thanks for your help.
I deleted all supervise directories, and it seems to work.

Warm regards,

On Sat, Jun 16, 2001 at 04:49:20PM +0200, Frank Tegtmeyer wrote:
> "YOON, Joo-Yung" <[EMAIL PROTECTED]> writes:
> 
> > drwx------    3 root     root         4096  6¿ù 16 23:16 supervise
> > 
> > (There is another supervise inside the supervise directory.)
> 
> This is left from your previous wrong setup. There are supervise
> directories on overy first level directory now. To remove them:
> 
> /etc/init.d/svscan stop   (check that it really is stopped)
> rm -ri /*/supervise
> /etc/init.d/svscan start
> 
> This should remove the warning messages and clean your system from
> unnecessary supervise directories.
> 
> Regards, Frank

-- 
YOON, Joo-Yung / ArBaGo Int'l
KOREA 420-111 BooChun WonMi-1-Dong 1-28 (GunYong Bldg. 302)
Mobile +82.19.350.1369  Fax +82.32.655.855.9 Email [EMAIL PROTECTED]




For reasons I am not too clear about, a user with
a POP3 vpopmail account on my qmail server appears
to let out his reply address as

[EMAIL PROTECTED]%mail.foo.bar

foo.bar is a valid domain that I accept mail for,
and mail.foo.bar is a valid host in that domain.

E-mail to this user generates errors such as:

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)

I've been through "Life with Qmail" and the FAQ and
didn't spot anything.

So: what info do I put into what files?

TIA,

Adam.



____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie




Adam Nealis writes:
 > For reasons I am not too clear about, a user with
 > a POP3 vpopmail account on my qmail server appears
 > to let out his reply address as
 > 
 > [EMAIL PROTECTED]%mail.foo.bar

This is wrong, and bad.  It's a construct from a pre-MX days, when
there were smtp clients that didn't support MX records.  But everybody 
does now, so there is absolutely ZERO excuse for using an address of
that form.

 > So: what info do I put into what files?

Still, they've told people about that address, so you ought to support 
it.  man qmail-send and search for percenthack.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude <windows.h>
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 




Thanks for the quick reply!

--- Russell Nelson <[EMAIL PROTECTED]> wrote: 
> Adam Nealis writes:
>  > For reasons I am not too clear about, a user with
>  > a POP3 vpopmail account on my qmail server appears
>  > to let out his reply address as
>  > 
>  > [EMAIL PROTECTED]%mail.foo.bar
> 
> This is wrong, and bad.  It's a construct from a pre-MX days, when
> there were smtp clients that didn't support MX records.  But everybody 
> does now, so there is absolutely ZERO excuse for using an address of
> that form.
I agree it is a bit of a relic. Also, of course allowing
the percenthack was the usual way of dong relaying back in
pre-1997(?) sendmail days.

>  > So: what info do I put into what files?
> 
> Still, they've told people about that address, so you ought to support 
> it.  man qmail-send and search for percenthack.
OK, I'll RTFM and look for percenthack. But AFAIR the
percenthack isn't selective, so I think I'll try to
fix the guy's mail client.

Adam.


____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie




Hi list,

I wonder if anyone has courier-imap running under tcpserver, and if so could 
share how it was done?

Thanks in advance.

-- 

Regards // Oden Eriksson
Kvikkjokk Networks





Hi Penguins

I would like to use the Qmail as mail server. I read document Life with
qmail and all man pages of qmail.
Now, I have some problems with building addresess assignments  from a
passwd file by qmail-pw2u.

When I run qmail-pw2u, it newer finish. So, it doesn´t create /users/assign
file.
When I create /users/assign file manually (for example
=martin:martin:1001:0:/home/martin:::), then I run qmail-newu to create cdb
database, I receive following error message: qmail-newu: fatal: bad format
in users/assign

Could you tell me plese, what is wrong?

Thank sou very much for answers





On Sat, 16 Jun 2001, Martin Kubecek wrote:

> database, I receive following error message: qmail-newu: fatal: bad format
> in users/assign
> 
> Could you tell me plese, what is wrong?

Did you finish assign with a single dot on the last line? Like so:


.



Grtz, 

Arjen.






Martin Kubecek wrote:
> 
> Hi Penguins
> 
> 
> When I run qmail-pw2u, it newer finish. So, it doesn´t create /users/assign
> file.

I am guessing that you are simply running `qmail-pw2u` here, which sits
and waits for input.  In actuality, qmail-pw2u is a filter, so you need to
send your passwd file through it with the command:

`cat /etc/passwd | /var/qmail/bin/qmail-pw2u > /var/qmail/users/assign`

> When I create /users/assign file manually (for example
> =martin:martin:1001:0:/home/martin:::), then I run qmail-newu to create cdb
> database, I receive following error message: qmail-newu: fatal: bad format
> in users/assign

Like Arjen said, you prolly didn't end it with a dot on the last line.

> Could you tell me plese, what is wrong?
> 
> Thank sou very much for answers

BTW, for future reference, include the actual commands you are entering
into your shell and we won't all have to guess at what you are doing
wrong. =)

-- 
Nick (Keith) Fish
Network Engineer
Triton Technologies, Inc.





> database, I receive following error message: qmail-newu: fatal: bad format
> in users/assign
>
> Could you tell me plese, what is wrong?
>

Well, you really ought to have posted the file, but I'd be willing to bet
you forgot the last line.

It is documented in the man pages that the last line of users/assign must
contain a single period.

I.e.

=martin:martin:1001:0:/home/martin:::
=joe:joe:501:501:/home/joe:::
=sue:sue:502:502:/home/sue:::
.

Also, you may have a problem delivering to 'martin' because your account
appears to be in the root group (GID=0).  I know qmail won't deliver to
root, can anyone confirm if it will deliver to members of group 0?


Good luck

--joshua.





On Sat, Jun 16, 2001 at 05:14:38PM -0400, Joshua Nichols wrote:
> appears to be in the root group (GID=0).  I know qmail won't deliver to
> root, can anyone confirm if it will deliver to members of group 0?

It does.

-- 
* 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)




Hi guys

I was setting up qmail and I encountered a very strange problem.
Everything is setup properly, I can do virtual domains, blah blah.
In short. it works.

The thing is: whenever i start qmail, my /usr which qmail is occuping
keeps on growing. And when I stop qmail, it halts. It grows up to
the point it says no space left where in fact it has 2.2gb space. Next,
i did a du -s /usr and the space is not the same as reported df. It's
big difference. one is 500mb and the other is 4.5gb?

Now, has anyone here encountered this problem? If so, how did
you rectify this?

In case you are going to ask these questions, here are my answers:

1) qmail is working. It is running perfectly ok. I can create virtual
domains,
pop3 emails, send emails via smtp server, etc.

2) I am using ucspi-tcp and daemontools from djb as well as qmail.

3) qmail is running under /service.

4) logs are at /var/logs/qmail. it has nothing to do with /usr and it has
distinct
partitions.

5) I am using multilog.

qmaill   15407  0.0  0.0  1240  392 ?        S    00:22   0:00
/usr/local/bin/multilog t /var/log/qmail
qmaill   21727  0.0  0.0  1240  392 ?        S    00:22   0:00
/usr/local/bin/multilog t /var/log/qmail/smtpd
qmaill   10392  0.0  0.0  1240  392 ?        S    00:22   0:00
/usr/local/bin/multilog t /var/log/qmail/pop3d

7) /var/qmail is a symlink for /usr/local/qmail. /usr itself is a ext2
partition of 6gb. I
am using Debian (Sid).

/dev/sda3             5.7G  1.3G  4.1G  23% /usr

pancreas:/usr/local/qmail# du -sh /usr/
591M    /usr

8) My guess is also log file as well BUT there is no log for these. And log
files are
found in /var.

>My guess is that your /var/qmail may be increasing coz of the log file,
>not the queue.  But if the queue is the problem, then try a du on the
>/var/qmail/queue directory to check if that is the one with the problem.

pancreas:/usr/local/qmail# du -sh /var/qmail/queue/
412k    /var/qmail/queue

>splogger and multilog work really fine for me, but if I'm like running
>it in supervise without testing it first, the logs tend to get really
>large if the qmail service is unable to bind to the correct port.  Just
>run the commands inside the script that you are using to run qmail.

root     14656  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise
qmail-send
root     26223  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise log
root      3662  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise
qmail-smtpd
root      1636  0.0  0.0  1224  340 ?        S    Jun16   0:00 supervise log
root     28124  0.2  0.0  1224  340 ?        S    00:22   0:08 supervise
qmail-pop3d
root     10997  0.0  0.0  1224  340 ?        S    00:22   0:00 supervise log

9) I am using a DIY Dual P-3 800 with 1GB ECC SDRAM Ram,
2 SCSI Seagate Cheetahs, running Debian (Sid).

Thank you.

Eugene
--
eMail: [EMAIL PROTECTED]
www: http://www.eugeneteo.net/





Eugene Teo wrote:
> 
> The thing is: whenever i start qmail, my /usr which qmail is occuping
> keeps on growing. And when I stop qmail, it halts. It grows up to
> the point it says no space left where in fact it has 2.2gb space. Next,
> i did a du -s /usr and the space is not the same as reported df. It's
> big difference. one is 500mb and the other is 4.5gb?
> 
> Eugene

Sounds like a permissions problem.  What does `ls -ls ~qmailq/queue` look
like?  Here's mine:

   4 drwx------   2 qmails   qmail        4096 Jun 14 21:15 bounce/
   4 drwx------  25 qmails   qmail        4096 Apr 26 20:49 info/
   4 drwx------   2 qmailq   qmail        4096 Jun 16 14:01 intd/
   4 drwx------  25 qmails   qmail        4096 Apr 26 20:49 local/
   4 drwxr-x---   2 qmailq   qmail        4096 Apr 26 20:49 lock/
   4 drwxr-x---  25 qmailq   qmail        4096 Apr 26 20:49 mess/
   4 drwx------   2 qmailq   qmail        4096 Jun 16 14:01 pid/
   4 drwx------  25 qmails   qmail        4096 Apr 26 20:49 remote/
   4 drwxr-x---   2 qmailq   qmail        4096 Jun 16 14:01 todo/

-- 
Nick (Keith) Fish
Network Engineer
Triton Technologies, Inc.




Hi Nick,

hmm, permissions are the same except the ownership of the files.
Despite the changes made, the partition still grows. So i guess it's
unlikely be the permissions problem =(

Eugene


----- Original Message -----
From: "Nick (Keith) Fish" <[EMAIL PROTECTED]>
To: "Eugene Teo" <[EMAIL PROTECTED]>; "Qmail Mailing List"
<[EMAIL PROTECTED]>
Sent: Saturday, June 16, 2001 10:10 PM
Subject: Re: qmail Size Problem


> Eugene Teo wrote:
> >
> > The thing is: whenever i start qmail, my /usr which qmail is occuping
> > keeps on growing. And when I stop qmail, it halts. It grows up to
> > the point it says no space left where in fact it has 2.2gb space. Next,
> > i did a du -s /usr and the space is not the same as reported df. It's
> > big difference. one is 500mb and the other is 4.5gb?
> >
> > Eugene
>
> Sounds like a permissions problem.  What does `ls -ls ~qmailq/queue` look
> like?  Here's mine:
>
>    4 drwx------   2 qmails   qmail        4096 Jun 14 21:15 bounce/
>    4 drwx------  25 qmails   qmail        4096 Apr 26 20:49 info/
>    4 drwx------   2 qmailq   qmail        4096 Jun 16 14:01 intd/
>    4 drwx------  25 qmails   qmail        4096 Apr 26 20:49 local/
>    4 drwxr-x---   2 qmailq   qmail        4096 Apr 26 20:49 lock/
>    4 drwxr-x---  25 qmailq   qmail        4096 Apr 26 20:49 mess/
>    4 drwx------   2 qmailq   qmail        4096 Jun 16 14:01 pid/
>    4 drwx------  25 qmails   qmail        4096 Apr 26 20:49 remote/
>    4 drwxr-x---   2 qmailq   qmail        4096 Jun 16 14:01 todo/
>
> --
> Nick (Keith) Fish
> Network Engineer
> Triton Technologies, Inc.





Chris Johnson wrote:
> 
> On Fri, Jun 15, 2001 at 01:17:24PM -0400, Brent B. Powers wrote:
> >
> > I don't seem to be filtering out relay sites via
> > relays.mail-abuse.org. The address that gets through is on the relay
> > list, www.loscabos.gob.mx, or 148.235.5.210, as it is pingable at
> > 210.5.235.148.relays.mail-abuse.org
> >
> > My qmail setup is reasonably similar to that within life with qmail,
> > and, hence, my /var/qmail/supervise/qmail-smtpd/run is:
> >
> >
> > #!/bin/sh
> >
> > QMAILDUID=`id -u qmaild`
> > NOFILESGID=`id -g qmaild`
> > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> >
> > exec /usr/local/bin/softlimit -m 2000000 \
> >   /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> >     -u "$QMAILDUID" -g "$NOFILESGID" \
> >       0 smtp \
> >       /usr/local/bin/rblsmtpd \
> >                               -rblackholes.mail-abuse.org \
> >                               -rdialups.mail-abuse.org \
> >                               -rrelays.mail-abuse.org \
> >         /var/qmail/bin/qmail-smtpd 2>&1
> >
> > Note that the rbl and dul portions are indeed working. I have applied
> > the patch to allow rblsmtpd to work with A records.
> 
> Change:
> 
> -rrelays.mail-abuse.org
> 
> to:
> 
> -r 'relays.mail-abuse.org:Open relay problem - see 
><URL:http://www.mail-abuse.org/cgi-bin/nph-rss?query=%IP%>'
> 
> Chris

rblsmtpd.c has to be patched for this to work, does it not?

I tried the above *with* the patch, and it didn't work either. I don't
think it's working right anymore. My system fails the RSS test at Russ
Nelson's site.

-Stephen-




Stephen Bosch wrote:
> 
> Chris Johnson wrote:
> >
> > On Fri, Jun 15, 2001 at 01:17:24PM -0400, Brent B. Powers wrote:
> > >
> > > I don't seem to be filtering out relay sites via
> > > relays.mail-abuse.org. The address that gets through is on the relay
> > > list, www.loscabos.gob.mx, or 148.235.5.210, as it is pingable at
> > > 210.5.235.148.relays.mail-abuse.org
> > >
> > > My qmail setup is reasonably similar to that within life with qmail,
> > > and, hence, my /var/qmail/supervise/qmail-smtpd/run is:
> > >
> > >
> > > #!/bin/sh
> > >
> > > QMAILDUID=`id -u qmaild`
> > > NOFILESGID=`id -g qmaild`
> > > MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> > >
> > > exec /usr/local/bin/softlimit -m 2000000 \
> > >   /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
> > >     -u "$QMAILDUID" -g "$NOFILESGID" \
> > >       0 smtp \
> > >       /usr/local/bin/rblsmtpd \
> > >                               -rblackholes.mail-abuse.org \
> > >                               -rdialups.mail-abuse.org \
> > >                               -rrelays.mail-abuse.org \
> > >         /var/qmail/bin/qmail-smtpd 2>&1
> > >
> > > Note that the rbl and dul portions are indeed working. I have applied
> > > the patch to allow rblsmtpd to work with A records.
> >
> > Change:
> >
> > -rrelays.mail-abuse.org
> >
> > to:
> >
> > -r 'relays.mail-abuse.org:Open relay problem - see 
><URL:http://www.mail-abuse.org/cgi-bin/nph-rss?query=%IP%>'
> >
> > Chris
> 
> rblsmtpd.c has to be patched for this to work, does it not?

Sorry -- missed that in the above mail. =)

Anyway -- this doesn't work for me either.

-Stephen-




Chris Johnson wrote:

> > I tried the above *with* the patch, and it didn't work either. I don't
> > think it's working right anymore. My system fails the RSS test at Russ
> > Nelson's site.
> 
> Which is because the RSS people removed Russ's IP address from their database.

Oh -- really? They don't approve of what he's doing?

How can I test it, then?

-Stephen-




Stephen Bosch writes:
 > Chris Johnson wrote:
 > 
 > > > I tried the above *with* the patch, and it didn't work either. I don't
 > > > think it's working right anymore. My system fails the RSS test at Russ
 > > > Nelson's site.
 > > 
 > > Which is because the RSS people removed Russ's IP address from their database.
 > 
 > Oh -- really? They don't approve of what he's doing?

No, I think a robot removed it.  What's curious is that I get no
response from [EMAIL PROTECTED]  I'll ping 'em again.

 > How can I test it, then?

No idea.  That's why I wrote the testing robot.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://russnelson.com
Crynwr sells support for free software  | PGPok | 
521 Pleasant Valley Rd. | +1 315 268 1925 voice | #exclude <windows.h>
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | 




Hi everyone!

I want to start using qmail-qfilter, I patched qmail using QMAILQUEUE and
this went ok.  I then went into the qmail-qfilter directory and typed make.
Then the errors started :-)

./choose cl trysetenv setenv.h1 setenv.h2 > setenv.h
./compile qmail-qfilter.c
In file included from qmail-qfilter.c:26:
fork.h:4: conflicting types for `fork'
/usr/include/unistd.h:245: previous declaration of `fork'
fork.h:5: conflicting types for `vfork'
/usr/include/unistd.h:461: previous declaration of `vfork'
qmail-qfilter.c: In function `parse_sender':
qmail-qfilter.c:92: warning: implicit declaration of function `unsetenv'
qmail-qfilter.c: In function `mktmpfile':
qmail-qfilter.c:218: warning: implicit declaration of function `open'
*** Error code 1
make: Fatal error: Command failed for target `qmail-qfilter.o'


I am running Solaris (Intel based).  I searched the mailing list and could
not find anything helpful.  Has anyone got any ideas?

Thanks,

Jon



Reply via email to