Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Mon, Jul 02, 2001 at 10:39:43AM -0700, Will Yardley wrote:
> Jörgen Persson wrote:
> > 
> > On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> > > i've heard from a couple people that the qmail-send process is
> > > supposed to take up all the avail cpu when nothing else is using it;
> > > is that right?
> > 
> > Hardly -- what does the log say?
> > 
> > Jörgen
> well the logs aren't really spitting out any errors; they look like this
> (and a lot of procmail backtraces from various peoples' mail delivery).
> we do have a lot of people using procmail to filter their mail (probably
> about 20 or so out of 40 users) and a bunch of people using spambouncer
> (a bunch of procmail scripts) but the machine itself doesn't have that
> many users, and the load did the same thing when less people were using
> procmail and almost noone was using spambouncer.


Procmail may cause it but I doubt it since your problem concerns 
outgoing mail.

Check your queue -- what does ''/var/qmail/queue/lock'' look like?

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Will Yardley

yeah but there is barely anything there.  we don't send out very much
mail at all (the machine is only for internal use).  in fact the entire
/var/qmail/queue directory tree is pretty much empty, as is
/var/spool/qmail

this is why it's perplexing... i think it must be a problem with the
install or something; qmail has been acting that way since it was
installed - even when there was barely anyone on the machine.

zugzug# ll
total 16
drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
-rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
-rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
-rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger
zugzug# pwd
/var/qmail/queue/lock

and from roughly the same time...

  1:21am  up 55 days, 10:22,  2 users,  load average: 1.20, 1.24, 1.25
61 processes: 54 sleeping, 2 running, 5 zombie, 0 stopped
CPU states:  0.1% user,  0.6% system,  0.0% nice,  0.5% idle
Mem:  516576K av, 383872K used, 132704K free,  19700K shrd, 257452K buff
Swap: 1020116K av,   3340K used, 1016776K free 93692K
cached

  PID USER PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME
COMMAND
32076 qmails20   0   396  396   308 R   0 90.5  0.0 778:11
qmail-send
19851 root   2   0  1276 1276   680 R   0  2.8  0.2   0:00 top

Jörgen Persson wrote:
> 
> On Mon, Jul 02, 2001 at 10:39:43AM -0700, Will Yardley wrote:
> > Jörgen Persson wrote:
> > >
> > > On Mon, Jul 02, 2001 at 01:25:20AM -0700, Will Yardley wrote:
> > > > i've heard from a couple people that the qmail-send process is
> > > > supposed to take up all the avail cpu when nothing else is using it;
> > > > is that right?
> > >
> > > Hardly -- what does the log say?
> > >
> > > Jörgen
> > well the logs aren't really spitting out any errors; they look like this
> > (and a lot of procmail backtraces from various peoples' mail delivery).
> > we do have a lot of people using procmail to filter their mail (probably
> > about 20 or so out of 40 users) and a bunch of people using spambouncer
> > (a bunch of procmail scripts) but the machine itself doesn't have that
> > many users, and the load did the same thing when less people were using
> > procmail and almost noone was using spambouncer.
> 
> Procmail may cause it but I doubt it since your problem concerns
> outgoing mail.
> 
> Check your queue -- what does ''/var/qmail/queue/lock'' look like?
> 
> Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
> zugzug# ll
> total 16
> drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
> drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
> -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
> -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
> -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger


Bingo...

trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Will Yardley

sweet thanks for pointing this out. sorry to be so obtuse, but can
you explain how it should be?

make check didn't fix it (although it did notice that there was a
problem).

i also tried:
make trigger

zugzug# make trigger
cc   trigger.o   -o trigger
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
trigger.o: In function `trigger_set':
trigger.o(.text+0x25): undefined reference to `open_read'
collect2: ld returned 1 exit status
make: *** [trigger] Error 1

so perhaps there's an error with either the source (as i mentioned it's
from the debian source package for 1.03) or with the library mentioned
(crt1.0).  the machine is debian / potato (2.2) GNU / Linux

w 
Jörgen Persson wrote:
> 
> On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
> > zugzug# ll
> > total 16
> > drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
> > drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
> > -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
> > -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
> > -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger
> 
> Bingo...
> 
> trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)
> 
> Jörgen



Re: Extremely slow after move/IP change

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 11:03:39AM +0200, Petter Sundlöf wrote:
[snip]
> Any ideas? Could this be DNS problems? Shouldn't be, as everything else
> in that regard seems to be working in the server.

It's DNS problems. The resolver listed in /etc/resolv.conf is probably
unable to resolve the reverse for your 192.168. IPs.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Extremely slow after move/IP change

2001-07-03 Thread Petter Sundlöf

Hi.

I just moved my QMail-based box (QMail for SMTP, UW-imapd for IMAP) to a
new place, with a new IP and connection and all.

Strangely though, at first it wouldn't work at all... couldn't log in to
IMAP. I had set up all the network stuff correctly -- it at least
worked.

After a reboot or two -- hm :P -- I could log in, but only after waiting
for about 1 minute.

When I have logged in, listing folders, moving messages et cetera is
fast.

But sending messages is also really slow.

When I first try to send it, I see something like this in the logs:

Jul  3 10:58:34 findus smtpd: 994150714.769002 tcpserver: status: 1/40
Jul  3 10:58:34 findus smtpd: 994150714.776933 tcpserver: pid 24484 from
192.168.1.15
---

Then it takes a little while, and this shows up:

Jul  3 10:58:37 findus smtpd: 994150717.813845 tcpserver: ok 24484
:192.168.1.1:25 :192.168.1.15:odd:33201
Jul  3 10:58:37 findus qmail: 994150717.886713 new msg 122101
Jul  3 10:58:37 findus qmail: 994150717.887005 info msg 122101: bytes
578 from <[EMAIL PROTECTED]> qp 24491 uid 1007
Jul  3 10:58:37 findus smtpd: 994150717.896878 tcpserver: end 24484
status 0
Jul  3 10:58:37 findus smtpd: 994150717.897104 tcpserver: status: 0/40
Jul  3 10:58:37 findus qmail: 994150717.984510 starting delivery 116:
msg 122101 to remote [EMAIL PROTECTED]
Jul  3 10:58:37 findus qmail: 994150717.984752 status: local 0/10 remote
1/20
Jul  3 10:58:37 findus imapd[24492]: connect from [EMAIL PROTECTED]
Jul  3 10:58:39 findus qmail: 994150719.597920 delivery 116: success:
64.4.42.7_accepted_message./Remote_host_said:_250_Requested_mail_action_okay,_completed/
Jul  3 10:58:39 findus qmail: 994150719.598190 status: local 0/10 remote
0/20
Jul  3 10:58:39 findus qmail: 994150719.598277 end msg 122101
Jul  3 10:58:42 findus imapd[24492]: Authenticated user=odd
host=celibacy [192.168.1.15]
---

Any ideas? Could this be DNS problems? Shouldn't be, as everything else
in that regard seems to be working in the server.

Best wishes,
Petter Sundlöf



Re: Extremely slow after move/IP change

2001-07-03 Thread Petter Sundlöf

> It's DNS problems. The resolver listed in /etc/resolv.conf is probably
> unable to resolve the reverse for your 192.168. IPs.
> 
> Greetz, Peter

But shouldn't I be able to use it within the local network? If not,
that's just insane.

How do I go around qmail trying to resolve 192.168's? I do have
192.168.1.15 in /etc/hosts, with a name...

Cheers



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 02:02:31AM -0700, Will Yardley wrote:
> sweet thanks for pointing this out. sorry to be so obtuse, but can
> you explain how it should be?


The server I'm currently on looks like this:

total 12
drwxr-x---2 qmailq   qmail4096 Jul  1  2000 .
drwxr-x---   11 qmailq   qmail4096 Jul  1  2000 ..
-rw---1 qmails   qmail   0 Jul  1  2000 sendmutex
-rw-r--r--1 qmailr   qmail1024 Jun 28 08:13 tcpto
prw--w--w-1 qmails   qmail   0 Jul  3 10:52 trigger


> make check didn't fix it (although it did notice that there was a
> problem).
> 
> i also tried:
> make trigger
> 
> zugzug# make trigger
> cc   trigger.o   -o trigger
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> trigger.o: In function `trigger_set':
> trigger.o(.text+0x25): undefined reference to `open_read'
> collect2: ld returned 1 exit status
> make: *** [trigger] Error 1



I get the same error myself if I try ''make trigger'' but ''make'' with
the original source works fine under libc 2.2.3 and gcc 2.95.4. Try to 
recompile the entire source.


> so perhaps there's an error with either the source (as i mentioned it's
> from the debian source package for 1.03) or with the library mentioned
> (crt1.0).  the machine is debian / potato (2.2) GNU / Linux


I've been running the binary qmail package to Debian Potato successfully 
on several servers. Though I prefer to compile it myself :)


An alternative solution is:
1) shut down qmail
2) mv trigger /tmp
3) mknod trigger p
4) chown qmails.qmail trigger
5) chmod 644 trigger
6) start qmail

I moved trigger to tmp as a backup if something goes wrong but I'm quite
certain it'll work though.

The CPU problem might remain if the queue inodes are wrong...


A third solution is queue-fix[1] which is mentioned on the ''qmail
home page''[2]. It is supposed to fix the entire queue structure but I
haven't tested that utility myself.


Jörgen
[1] http://www.netmeridian.com/e-huss/queue-fix.tar.gz
[2] http://www.qmail.org/



Re: Extremely slow after move/IP change

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 11:34:58AM +0200, Petter Sundlöf wrote:
> > It's DNS problems. The resolver listed in /etc/resolv.conf is
> > probably unable to resolve the reverse for your 192.168. IPs.
> >
> > Greetz, Peter
>
> But shouldn't I be able to use it within the local network? If not,
> that's just insane.
>
> How do I go around qmail trying to resolve 192.168's? I do have
> 192.168.1.15 in /etc/hosts, with a name...


Are you using tcpserver?? Does it ask for reverse lookups? Shut it off
with -H.

Jörgen



Aliases with "-"

2001-07-03 Thread Peter Klingeberg

Hi !

Is there any special capital like ":" for dots
to use "-" in aliasnames ? (.qmail-user-name-name)

Thanks




conf-spawn and FD_SET SUCCESS

2001-07-03 Thread D Rajesh



Hi All,
 
Sorry, to bother all even though the subject says SUCCESS.
 
Just to Thank all
 
I have gone through the qmail - mailing archives and finally
succeeded in applying big-concurrency patch.
 
The archives were simply great with all the help. I have found the 
solution for the FD_SET error that cropped in qmail - installation
with big concurrency patch setting the conf-spawn  to 1000.
 
My thanks to everyone and specially to Peter, James and 
Adi Prasaja from whose mails I got the solution from the archives in 
the below link.
 
http://www.ornl.gov/its/archives/mailing-lists/qmail/2000/09/msg01095.html
 
As James mentioned in his mail the installation is successful, but I have 

1 million mails to be sent and I' m afraid that the Linux kernel 
may crash !!!
 
My qmail parameters are as follows on a redhat Linux 6.2 
kernel 2.2.14 :-
 
qmail + DNS patch + big - todo patch + big - concurrency patch
silent concurrency --- 1000
conf-split --- 15
concurrency remote --- 200
timeout smtp --- 240
timeout remote --- 240
and I am running 3 qmail-send 's from /var/qmail, /var/qmail1, 
/var/qmail2
for the operation to send 1 million.
 
Will this do to send these 1 million mails and how long it may take for 
this ???
Is there any way to calculate 
 
Finally, Just curious to know
what this file /usr/include/bits/types.h is used for 
 
Cheers,
rajesh.


Re: Aliases with "-"

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 11:50:36AM +0200, Peter Klingeberg wrote:
> Hi !
> 
> Is there any special capital like ":" for dots
> to use "-" in aliasnames ? (.qmail-user-name-name)

No, "-" works just fine. Only dot is special.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 03:15:36PM +0530, D Rajesh wrote:
[snip]
> My qmail parameters are as follows on a redhat Linux 6.2 
> kernel 2.2.14 :-

Upgrade to the most recent. Now.

> qmail + DNS patch + big - todo patch + big - concurrency patch
> silent concurrency --- 1000
> conf-split --- 15

conf-split should be prime for optimal performance. What's wrong with
the default 23?

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Aliases with "-"

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 11:50:36AM +0200, Peter Klingeberg wrote:
> 
> Is there any special capital like ":" for dots
> to use "-" in aliasnames ? (.qmail-user-name-name)
> 


Use ''-'' for aliases with ''-'', ie:

if .qmail-user-name-name is located under ~alias it recieves mail 
for  but if it's located under ~user it will
recieve mail for .

Jörgen



Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Will Yardley

i installed the .deb binary packages (very nervously) and i think that
has fixed the problem *knocks wood* 

thanks to everyone who responded.  one other little question.  is there
anywhere else i should check permissions of besides /var/qmail/ ?  i had
to change the uids and gids of some system users to get the package to
install, and so i used 'find' to change the permissions to the correct
user(s) in /var/qmail.  there isn't anywhere else i need to change,
right?

has anyone had good luck with these binary packages?
http://innominate.org/~pape/Debian/ (listed on the main qmail page)?
aside from installing dot-forward and fastforward which I don't need
since the system already uses .qmail files and qmail style aliases it
seemed to work pretty well.

w

Will Yardley wrote:
> 
> sweet thanks for pointing this out. sorry to be so obtuse, but can
> you explain how it should be?
> 
> make check didn't fix it (although it did notice that there was a
> problem).
> 
> i also tried:
> make trigger
> 
> zugzug# make trigger
> cc   trigger.o   -o trigger
> /usr/lib/crt1.o: In function `_start':
> /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> trigger.o: In function `trigger_set':
> trigger.o(.text+0x25): undefined reference to `open_read'
> collect2: ld returned 1 exit status
> make: *** [trigger] Error 1
> 
> so perhaps there's an error with either the source (as i mentioned it's
> from the debian source package for 1.03) or with the library mentioned
> (crt1.0).  the machine is debian / potato (2.2) GNU / Linux
> 
> w
> Jörgen Persson wrote:
> >
> > On Tue, Jul 03, 2001 at 01:36:51AM -0700, Will Yardley wrote:
> > > zugzug# ll
> > > total 16
> > > drwxr-x---2 qmailq   qmail4096 Mar 30  2000 ./
> > > drwxr-x---   11 qmailq   qmail4096 Mar 30  2000 ../
> > > -rw---1 qmails   qmail   0 Mar 30  2000 sendmutex
> > > -rw-r--r--1 qmailr   qmail1024 Jul  2 20:05 tcpto
> > > -rw--w--w-1 qmails   qmail   1 Jul  3 01:20 trigger
> >
> > Bingo...
> >
> > trigger ought to be a pipe ''make check'' will fix it -- hopefully. ;)
> >
> > Jörgen



Re: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread Henning Brauer

On Tue, Jul 03, 2001 at 03:15:36PM +0530, D Rajesh wrote:
> conf-split --- 15

Congratulations. Nobody knew that 15 was a prime until today.

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



dot-qmail problem

2001-07-03 Thread usenet_only

Hello,

I am using the .qmail-file to forward messages to another email-address.
But I want to keep the mails in original Maildir also.

My .qmail-file:

[EMAIL PROTECTED]
./Maildir/

Postmaster receives following error:

Hi. This is the qmail-send program at mydomain.com
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)

What is wrong?

I'm using qmail-1.03 with vpopmail 4.9.8-1

Peter

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a




Re: qmail-send cpu and imapd / Maildir

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 03:22:43AM -0700, Will Yardley wrote:
> i installed the .deb binary packages (very nervously) and i think that
> has fixed the problem *knocks wood* 
> 
> thanks to everyone who responded.  one other little question.  is there
> anywhere else i should check permissions of besides /var/qmail/ ?  i had
> to change the uids and gids of some system users to get the package to
> install, and so i used 'find' to change the permissions to the correct
> user(s) in /var/qmail.  there isn't anywhere else i need to change,
> right?


I don't think so but keep an eye on the queue.
 
 
> has anyone had good luck with these binary packages?
> http://innominate.org/~pape/Debian/ (listed on the main qmail page)?
> aside from installing dot-forward and fastforward which I don't need
> since the system already uses .qmail files and qmail style aliases it
> seemed to work pretty well.


I haven't tried them -- I use Debian's package when I don't compile it
myself :)

Jörgen



Re: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread D Rajesh

Hi Henning / Peter,

Thanks a lot for your responses..

I'm really very sorry..about the typo mistake
conf-split is 17

>conf-split should be prime for optimal performance. What's wrong with
>the default 23?

I thought a large conf-split only makes sense if we have more than 20.000
messages *in the queue* . I guess this does not happen even if I send 
huge volume of mails after applying big concurrency patch.

I felt  we will decrease the file access time and seek time 

Was I wrong...??? Do I need to have huge conf-split to send high
volumes of mails 

PL suggest me the optimal parameters that I should use.

Cheers,
rajesh.

- Original Message - 
From: "Henning Brauer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 3:48 PM
Subject: Re: conf-spawn and FD_SET SUCCESS


> On Tue, Jul 03, 2001 at 03:15:36PM +0530, D Rajesh wrote:
> > conf-split --- 15
> 
> Congratulations. Nobody knew that 15 was a prime until today.
> 
> -- 
> * 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: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 04:27:21PM +0530, D Rajesh wrote:
[snip]
> >conf-split should be prime for optimal performance. What's wrong with
> >the default 23?
> 
> I thought a large conf-split only makes sense if we have more than 20.000
> messages *in the queue* . I guess this does not happen even if I send 
> huge volume of mails after applying big concurrency patch.

23 is not 'large', and 23 is never too much.

> Was I wrong...??? Do I need to have huge conf-split to send high
> volumes of mails 

If you intend to have more than about 25.000 mails in the queue, a
conf-split above 23 might be what you want.

However, are you:
- sending 25.000 mails
or
- sending 1 mail to 25.000 people?

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread D Rajesh

Hi Peter,

Thanks again for your reply

I am actually trying to send 200,000 mails and
not 1 mail to 200,000 people... !!!

PL suggest me on what parameters should I use ...

Cheers,
rajesh.

- Original Message -
From: "Peter van Dijk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 4:41 PM
Subject: Re: conf-spawn and FD_SET SUCCESS


> On Tue, Jul 03, 2001 at 04:27:21PM +0530, D Rajesh wrote:
> [snip]
> > >conf-split should be prime for optimal performance. What's wrong with
> > >the default 23?
> >
> > I thought a large conf-split only makes sense if we have more than
20.000
> > messages *in the queue* . I guess this does not happen even if I send
> > huge volume of mails after applying big concurrency patch.
>
> 23 is not 'large', and 23 is never too much.
>
> > Was I wrong...??? Do I need to have huge conf-split to send high
> > volumes of mails 
>
> If you intend to have more than about 25.000 mails in the queue, a
> conf-split above 23 might be what you want.
>
> However, are you:
> - sending 25.000 mails
> or
> - sending 1 mail to 25.000 people?
>
> Greetz, Peter
> --
> Against Free Sex!   http://www.dataloss.nl/Megahard_en.html
>




Re: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 04:55:59PM +0530, D Rajesh wrote:
> Hi Peter,
> 
> Thanks again for your reply
> 
> I am actually trying to send 200,000 mails and
> not 1 mail to 200,000 people... !!!
> 
> PL suggest me on what parameters should I use ...

Then set your conf-split to somewhere near 200. A nice prime would be
201.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: conf-spawn and FD_SET SUCCESS

2001-07-03 Thread D Rajesh

Hi Peter,

Thanks again for your patience.

I will do that. I will send the mails after the config and 
Hope that atleast my Linux Kernel will not crash ;)

I will let you and the list know on the performance I get.

Thanks a lot to all... Finally with all your help I am ready
for it and waiting for the result keeping my fingers crossed. ;)

Cheers,
rajesh.


- Original Message - 
From: "Peter van Dijk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 5:05 PM
Subject: Re: conf-spawn and FD_SET SUCCESS


> On Tue, Jul 03, 2001 at 04:55:59PM +0530, D Rajesh wrote:
> > Hi Peter,
> > 
> > Thanks again for your reply
> > 
> > I am actually trying to send 200,000 mails and
> > not 1 mail to 200,000 people... !!!
> > 
> > PL suggest me on what parameters should I use ...
> 
> Then set your conf-split to somewhere near 200. A nice prime would be
> 201.
> 
> Greetz, Peter
> -- 
> Against Free Sex!   http://www.dataloss.nl/Megahard_en.html
> 




Re: Extremely slow after move/IP change

2001-07-03 Thread adi

On Tue, Jul 03, 2001 at 11:46:12AM +0200, J?rgen Persson wrote:
> > But shouldn't I be able to use it within the local network? If not,
> > that's just insane.
> >
> > How do I go around qmail trying to resolve 192.168's? I do have
> > 192.168.1.15 in /etc/hosts, with a name...
> 
> Are you using tcpserver?? Does it ask for reverse lookups? Shut it off
> with -H.

Umm.. this is rather inacurate. qmail doesn't use /etc/hosts, fix
your dns instead. Or, use tcpserver with '-l0'.

Regards,

P.Y. Adi Prasaja




looking for files

2001-07-03 Thread GARGIULO Eduardo INGDESI

Hi all.

In lifewithqmail, the script for start/stop qmail-pop3d
use files: /usr/local/bin/softlimit , /usr/local/bin/multilog
Wher can I find those files? I have qmail-1.03, checkpassword-0.90
ucspi-tcp-0.88 but I haven't got softlimit and multilog.

thanks

--yapedu



(No subject)

2001-07-03 Thread reach_prashant

Hello friends

i have been using qmail-1.03 from almost a year now , and before 2 days
i have received a complain from one of my customer that he is not able to
send (relay or mail destined to localdomain) from my qmail-smtpd , he is
getting an error "connection timeout/reset" etc errors while sending the
mail , further if the mail contains more then one line then this is
happening ,but if the message is lesser then one line (message body is
lesser then one line) then qmail-smtpd is accepting his mails and mails are
also getting delivered sucessfully  but without any spaces (even if the
line contains space char) , 

 now the intresting thing is that the mail client from which this customer
is trying to send/receive mails works on TV , and its specifically designed
for broadband users , 

 i myself has tested this tool(mail client for tv for broadband network)
with other ISP's , other mail servers on internet but its working with all
those accept out mail server ,

 so please suggest how to debug/resolve this problem , 

 also if someone can tell me with which RFC's qmail complies with , 
pop-3 is also not working with this mail tool, so please suggest me the
RFC's for SMTP and POP with which qmail complies with.


Thanks & Regards
Prashant Desai


_
Wanna have a date?  Log on to http://dating.zeenext.com



Re: looking for files

2001-07-03 Thread Jason Kawaja

ftp cr.yp.to/daemontools

On Tue, 3 Jul 2001, GARGIULO Eduardo   INGDESI wrote:

> use files: /usr/local/bin/softlimit , /usr/local/bin/multilog
> Wher can I find those files? I have qmail-1.03, checkpassword-0.90


/* Regards,
   Jason Kawaja, UF-ECE Sys Admin */





Re: High Volume....

2001-07-03 Thread Jost Krieger

On Tue, Jul 03, 2001 at 09:11:33AM +0200, Peter van Dijk wrote:
> On Mon, Jul 02, 2001 at 11:37:03AM +0200, Xavier Pegenaute wrote:
> > Hi all..
> > 
> > i can try any prime number for hashing ..? ( is limited?)
> 
> You can try any number, but anything over 1/1000th of your queuesize
> is overkill.

I thought it would be better to take a number about the square root of the
top queue size, which minimizes search length on a classical file system.

For 23000 your on the order of 151, which happens to look prime.

Jost
-- 
| [EMAIL PROTECTED]  Please help stamp out spam! |
| Postmaster, JAPH, resident answer machine  am RZ der RUB |
| Pluralitas non est ponenda sine necessitate  |
| William of Ockham (1285-1347/49) |



Re: Extremely slow after move/IP change

2001-07-03 Thread Jörgen Persson

On Tue, Jul 03, 2001 at 06:59:00PM +0700, adi wrote:
> On Tue, Jul 03, 2001 at 11:46:12AM +0200, Jörgen Persson wrote:
> > > How do I go around qmail trying to resolve 192.168's? I do have
> > > 192.168.1.15 in /etc/hosts, with a name...
> >
> > Are you using tcpserver?? Does it ask for reverse lookups? Shut it
> > off with -H.
>
> Umm.. this is rather inacurate. qmail doesn't use /etc/hosts, fix your
> dns instead. Or, use tcpserver with '-l0'.
>
> Regards,
>
> P.Y. Adi Prasaja
>


The two options are different but both might be usefull:
  -H to not look up remote host
  -l to not look up local host

Jörgen
--
Don't mix up the senders when you want to call posts inaccurate.
I never mentioned /etc/hosts.



Re: High Volume....

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 12:45:09PM +, Jost Krieger wrote:
[snip]
> I thought it would be better to take a number about the square root of the
> top queue size, which minimizes search length on a classical file system.
> 
> For 23000 your on the order of 151, which happens to look prime.

Search length is O((number of messages)/(conf-split)+(conf-split)).

Why?

If qmail wants to access message 12345, which is, for example, in
5/12345, the OS has to:
- linear search to find directory 5/
- inside this dir, linear search for 12345

Finding 5/ will take O(conf-split) steps. Finding 12345 within that
dir will take O((number of messages)/(conf-split)) steps.

This is all on classical filesystems. On filesystems like ReiserFS
that use search trees and other fancy stuff, it all basically comes
down to O(lg n), or even O(1) with hashing.

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



RFC complience

2001-07-03 Thread reach_prashant


Hello friends

i have been using qmail-1.03 from almost a year now , and before 2 days

i have received a complain from one of my customer that he is not able to
send (relay or mail destined to localdomain) from my qmail-smtpd , he is
getting an error "connection timeout/reset" etc errors while sending the
mail , further if the mail contains more then one line then this is
happening ,but if the message is lesser then one line (message body is
lesser then one line) then qmail-smtpd is accepting his mails and mails are

also getting delivered sucessfully  but without any spaces (even if the
line contains space char) , 

 now the intresting thing is that the mail client from which this customer
is trying to send/receive mails works on TV , and its specifically designed

for broadband users , 

 i myself has tested this tool(mail client for tv for broadband network)
with other ISP's , other mail servers on internet but its working with all
those accept out mail server ,

 so please suggest how to debug/resolve this problem , 

 also if someone can tell me with which RFC's qmail complies with , 
pop-3 is also not working with this mail tool, so please suggest me the
RFC's for SMTP and POP with which qmail complies with.


Thanks & Regards
Prashant Desai


_
Wanna have a date?  Log on to http://dating.zeenext.com

_
Wanna have a date?  Log on to http://dating.zeenext.com



getting more verbose error messages from qmail

2001-07-03 Thread Michael Geier, CDM Systems Admin

preface:
qmail 1.03 with big-concurrency
multilog

need:
link to information (or information) on producing more verbose,
or detailed information in qmail logs for error messages like #4.4.1 or
#5.1.1

would like to see the email address the error is talking about in the
logfile
and would like to be able to customize my logs more

appreciate all helpful responses

---
Michael Geier
CDM Sports, Inc. - Systems Administrator
email: [EMAIL PROTECTED]
phone: 314.991.1511 x 6505
pager: 314.318.9414




Re: RFC complience

2001-07-03 Thread Vincent Schonau

On Tue, Jul 03, 2001 at 12:47:30PM +0200, [EMAIL PROTECTED] wrote:

[...]

>  i myself has tested this tool(mail client for tv for broadband network)
> with other ISP's , other mail servers on internet but its working with all
> those accept out mail server ,

>  so please suggest how to debug/resolve this problem , 

Look in your logs. If your logs do not have any information pertaining
to this problem, use recordio to see what's going over the wire.


Vince.





Re: RFC complience

2001-07-03 Thread Magnus Bodin

On Tue, Jul 03, 2001 at 12:47:52PM +0200, [EMAIL PROTECTED] wrote:
> 
> Hello friends
> 
> i have been using qmail-1.03 from almost a year now , and before 2 days
> 
> i have received a complain from one of my customer that he is not able to
> send (relay or mail destined to localdomain) from my qmail-smtpd , he is
> getting an error "connection timeout/reset" etc errors while sending the
> mail , further if the mail contains more then one line then this is
> happening ,but if the message is lesser then one line (message body is
> lesser then one line) then qmail-smtpd is accepting his mails and mails are

My principal guess would be that the client suffers from "bare lf".

See http://cr.yp.to/docs/smtplf.html

/magnus



Re: Extremely slow after move/IP change

2001-07-03 Thread Charles Cazabon

Petter Sundlöf <[EMAIL PROTECTED]> wrote:
> > It's DNS problems. The resolver listed in /etc/resolv.conf is probably
> > unable to resolve the reverse for your 192.168. IPs.
> 
> But shouldn't I be able to use it within the local network? If not,
> that's just insane.

Sure, it works fine within the local network -- it's just a little slower iff
you've configured it to do reverse DNS lookups on remote (and local) hosts and
your resolver can't resolve those addresses.

> How do I go around qmail trying to resolve 192.168's? I do have
> 192.168.1.15 in /etc/hosts, with a name...

qmail never, ever, ever, ever looks at /etc/hosts.  This is in the various
FAQs, documentation, mailing list archives, etc.

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



Re: (No subject)

2001-07-03 Thread Charles Cazabon

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 
> i have been using qmail-1.03 from almost a year now , and before 2 days
> i have received a complain from one of my customer that he is not able to
> send (relay or mail destined to localdomain) from my qmail-smtpd , he is
> getting an error "connection timeout/reset" etc errors while sending the
> mail , further if the mail contains more then one line then this is
> happening ,but if the message is lesser then one line (message body is
> lesser then one line) then qmail-smtpd is accepting his mails and mails are
> also getting delivered sucessfully  but without any spaces (even if the
> line contains space char) , 

His SMTP client is broken.  qmail-smtpd doesn't fiddle with the contents of
the message at all.  And the one-line/several-lines thing sounds like the CRLF
issue in part.  Use recordio to capture his sessions if you want to be sure.

>  also if someone can tell me with which RFC's qmail complies with , 
> pop-3 is also not working with this mail tool, so please suggest me the
> RFC's for SMTP and POP with which qmail complies with.

qmail aims to be compliant with most of RFC821 and RFC822, which have recently
been replaced with RFC2821 and RFC2822.  POP3 is governed by RFC1939.

Again, I repeat:  his client is broken.

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



Re: dot-qmail problem

2001-07-03 Thread Charles Cazabon

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

You're using vpopmail, which seems to have its own interpretation of .qmail
files.  Switch to vmailmgr (where you can override the default behaviour using
.qmail files without running into this) or figure out how to configure both
forwarding and local storing of mail from within vpopmail.

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



Autoresponder problem.

2001-07-03 Thread Zak Thompson

Guys/Gals,


I'm having a small problem with qmail.  When ever someone uses a form to
submit an email to a email address it works fine.  but if they submit it to
a auto-responder it doesn't work.  It doesn't put the correct field in the
FROM address so the responder doesn't know who to respond to.  I've tried
FrontPage to get it to work and formmailer.pl both didn't do it.  If any one
has any ideas on how to get this to work please let me know.

Thanks!
Zak T.




Re: Autoresponder problem.

2001-07-03 Thread Charles Cazabon

Zak Thompson <[EMAIL PROTECTED]> wrote:
> 
> When ever someone uses a form to submit an email to a email address it works
> fine.  but if they submit it to a auto-responder it doesn't work.  It
> doesn't put the correct field in the FROM address so the responder doesn't
> know who to respond to.

Auto-responders and other systems reply to the envelope sender address, not
the contents of any "From:" header field.  To set the envelope sender address,
specify the "-f" option to either qmail-inject or the sendmail wrapper.

> I've tried FrontPage to get it to work and formmailer.pl both didn't do it.

How on earth is FrontPage relevant?  Why is a pseudo-HTML-editor trying to
send mail?  And unless I'm mistaken, FrontPage doesn't run on Unix, so it can
hardly be calling qmail-inject.

As for formmailer.pl, it's probably making sendmail-ish assumptions which you
should fix.  Many "standard" CGI-to-mail gateway scripts contain security
holes anyway, and could use a good audit.

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



Home directory is sticky ??

2001-07-03 Thread Arno Slatius

Hello,

I'm trying to get an email server up using qmail (using ./Maildir/) and it
seems to work quite well so far but now what is going wrong:

Whenever I send an email to an unknown user the log states: defferal:
Home_directory_is_sticky:_user_is_editing_his_.qmail_file.

This is quite strange to me, the user does not excist so he/she is certainly
not editing his/her .qmail file. I would expect the message to be sent to
the postmaster (alias) or the default (alias).

Can anybody suggest what is going wrong?

Thanks,
Arno






Re: Home directory is sticky ??

2001-07-03 Thread Peter van Dijk

On Tue, Jul 03, 2001 at 04:44:36PM +0200, Arno Slatius wrote:
[snip]
> Whenever I send an email to an unknown user the log states: defferal:
> Home_directory_is_sticky:_user_is_editing_his_.qmail_file.

I think it spells 'deferral'. Next time, be sure to copy verbatim.
Sometimes these small differences can be the line between
understanding and not understanding your problem.

> This is quite strange to me, the user does not excist so he/she is certainly
> not editing his/her .qmail file. I would expect the message to be sent to
> the postmaster (alias) or the default (alias).
> 
> Can anybody suggest what is going wrong?

Perhaps ~alias is sticky?

Greetz, Peter
-- 
Against Free Sex!   http://www.dataloss.nl/Megahard_en.html



Re: Home directory is sticky ??

2001-07-03 Thread Chris Johnson

On Tue, Jul 03, 2001 at 04:44:36PM +0200, Arno Slatius wrote:
> I'm trying to get an email server up using qmail (using ./Maildir/) and it
> seems to work quite well so far but now what is going wrong:
> 
> Whenever I send an email to an unknown user the log states: defferal:
> Home_directory_is_sticky:_user_is_editing_his_.qmail_file.
> 
> This is quite strange to me, the user does not excist so he/she is certainly
> not editing his/her .qmail file. I would expect the message to be sent to
> the postmaster (alias) or the default (alias).
> 
> Can anybody suggest what is going wrong?

Is ~alias sticky?

Chris

 PGP signature


Re: Autoresponder problem.

2001-07-03 Thread Henning Brauer

On Tue, Jul 03, 2001 at 08:39:15AM -0600, Charles Cazabon wrote:
> How on earth is FrontPage relevant?  Why is a pseudo-HTML-editor trying to
> send mail?  And unless I'm mistaken, FrontPage doesn't run on Unix, so it can
> hardly be calling qmail-inject.

I totally second your frontpage opinion, but the frontpage server extensions
do run on Unix. And they have in fact a possibility to send mail, this needs 
to be configured somewhere (frontpage.cnf? don't remember it).

-- 
* 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: Home directory is sticky ??

2001-07-03 Thread Henning Brauer

On Tue, Jul 03, 2001 at 04:44:36PM +0200, Arno Slatius wrote:
> Hello,
> 
> I'm trying to get an email server up using qmail (using ./Maildir/) and it
> seems to work quite well so far but now what is going wrong:
> 
> Whenever I send an email to an unknown user the log states: defferal:
> Home_directory_is_sticky:_user_is_editing_his_.qmail_file.

chmod -t $dir_in_question

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



majordomo

2001-07-03 Thread balaji adhimoolam

hi all,
i have a problem with majordomo..i have
succesfuly installed majordomo and iam able to send 
mails to it frm qmail..the problem is that when i
create lists..i have to have corresponding .qmail
files in the aliases..here for list test
.qmail-test i have
|/usr/local/majordomo/wrapper resend -l test test-list
 so in .qmail-test-list file i have to include the
path of the test list file which is
/usr/local/majordomo/lists/test

how to write the .qmail-test-list file..just want to
know how to include the path..as we use | for
execution i want to know how to include the path..
please help me
balaji

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/



Re: dot-qmail problem

2001-07-03 Thread Lou Hevly

At 12:00 03/07/01, [EMAIL PROTECTED] wrote:
>Hello,
>
>I am using the .qmail-file to forward messages to another 
>email-address.
>But I want to keep the mails in original Maildir also.

Which "original Maildir"?  You have to specify a username.


>My .qmail-file:
>
>[EMAIL PROTECTED]
>./Maildir/

Assuming your .qmail-file is in ~/vpopmail/domains/mydomain.com, this 
should be (assuming you want user "postmaster" to receive the message):

[EMAIL PROTECTED]
./postmaster/Maildir/

BTW, you might want to subscribe to the vpopmail list; try:
[EMAIL PROTECTED]

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com




LWQ question..cjk

2001-07-03 Thread Constantine Koulis

Hi all.
i am instaling for the 20th time the LINUX 7.0 +qmail+courier-imap+vmailmgr 
but dont want to make mistakes again so i followed the maildirmake HOWTO 
that is in the /doc/ directory but i have a question.
In the LWQ is says the following :


Note: qmail-local can deliver mail to maildir mailboxes, but it can't create 
them. Maildir mailboxes should be created with the maildirmake program that 
comes with qmail. E.g., "maildirmake ~/Maildir". Be sure to run maildirmake 
as the owner of the maildir, not as root. Your useradd or adduser command 
might support a "skeleton" directory, e.g. /etc/skel, where you can create a 
maildir that will be copied for all new users.

THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE
and what is SKELETON?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: majordomo

2001-07-03 Thread Karsten W. Rohrbach

switch to ezmlm ;-)
installation on qmail systems is quite straightforward
http://www.ezmlm.org/

/k

balaji adhimoolam([EMAIL PROTECTED])@2001.07.03 08:10:21 +:
> hi all,
> i have a problem with majordomo..i have
> succesfuly installed majordomo and iam able to send 
> mails to it frm qmail..the problem is that when i
> create lists..i have to have corresponding .qmail
> files in the aliases..here for list test
> .qmail-test i have
> |/usr/local/majordomo/wrapper resend -l test test-list
>  so in .qmail-test-list file i have to include the
> path of the test list file which is
> /usr/local/majordomo/lists/test
> 
> how to write the .qmail-test-list file..just want to
> know how to include the path..as we use | for
> execution i want to know how to include the path..
> please help me
> balaji
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/

-- 
> Open Minds. Open Sources. Open Future.
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/
karsten&rohrbach.de -- alpha&ngenn.net -- alpha&scene.org -- [EMAIL PROTECTED]
GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE  DF22 3340 4F4E 2964 BF46
Please do not remove my address from To: and Cc: fields in mailing lists. 10x

 PGP signature


Re: RFC complience

2001-07-03 Thread Lukas Beeler

i think it's the mail tool on the "tv box" which breaks the RFC's and not qmail
get a computer and everything is fine

At 12:47 03.07.2001 +0530, [EMAIL PROTECTED] wrote:

>Hello friends
>
> i have been using qmail-1.03 from almost a year now , and before 2 days
>
>i have received a complain from one of my customer that he is not able to
>send (relay or mail destined to localdomain) from my qmail-smtpd , he is
>getting an error "connection timeout/reset" etc errors while sending the
>mail , further if the mail contains more then one line then this is
>happening ,but if the message is lesser then one line (message body is
>lesser then one line) then qmail-smtpd is accepting his mails and mails are
>
>also getting delivered sucessfully  but without any spaces (even if the
>line contains space char) ,
>
>  now the intresting thing is that the mail client from which this customer
>is trying to send/receive mails works on TV , and its specifically designed
>
>for broadband users ,
>
>  i myself has tested this tool(mail client for tv for broadband network)
>with other ISP's , other mail servers on internet but its working with all
>those accept out mail server ,
>
>  so please suggest how to debug/resolve this problem ,
>
>  also if someone can tell me with which RFC's qmail complies with ,
>pop-3 is also not working with this mail tool, so please suggest me the
>RFC's for SMTP and POP with which qmail complies with.
>
>
>Thanks & Regards
>Prashant Desai
>
>
>_
>Wanna have a date?  Log on to http://dating.zeenext.com
>
>_
>Wanna have a date?  Log on to http://dating.zeenext.com

--
--
Lukas Beeler   <[EMAIL PROTECTED]>
Homepage:  http://www.projectdream.org
--




Re: LWQ question..cjk

2001-07-03 Thread Charles Cazabon

Constantine Koulis <[EMAIL PROTECTED]> wrote:
> In the LWQ is says the following :
> 
>   Note: qmail-local can deliver mail to maildir mailboxes, but it can't
>   create them. Maildir mailboxes should be created with the maildirmake
>   program that comes with qmail. E.g., "maildirmake ~/Maildir". Be sure to
>   run maildirmake as the owner of the maildir, not as root. Your useradd or
>   adduser command might support a "skeleton" directory, e.g. /etc/skel,
>   where you can create a maildir that will be copied for all new users.
> 
> THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE

Stop shouting.  And the answer to that depends on how you're using virtual
users -- if you're using a virtual domain manager of some sort (i.e.
vmailmgr), this may not be a necessary step.  Consult the documentation for
your virtual domain manager package for details.

> and what is SKELETON?

/etc/skel, which is copied for each new system account you create.  It's a
template for an "empty" home directory for a system user.  Note /etc/skel does
not apply for virtual mail users, as they are not system users.

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



Re: LWQ question..cjk

2001-07-03 Thread John Groseclose

At 6:24 PM +0300 7/3/01, Constantine Koulis wrote:

>THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE
>and what is SKELETON?

Not at all. It means you have to create a Maildir in /etc/skel, which 
is the "reference" directory for useradd to create new user 
directories. Then, every time you run a useradd, it'll use a copy of 
/etc/skel to create their new user directory, with the files set to 
be owned by the new user.

Files and directories like Maildir and public_html (assuming you want 
your users to have web pages) can be put in /etc/skel to reduce your 
workload when creating users. Are you the primary administator for 
that machine?

man useradd explains this fairly well.
-- 
John Groseclose
[EMAIL PROTECTED]



Re: LWQ question..cjk

2001-07-03 Thread Vincent Schonau

On Tue, Jul 03, 2001 at 06:24:42PM +0300, Constantine Koulis wrote:

[...]

> Note: qmail-local can deliver mail to maildir mailboxes, but it can't create 
> them. Maildir mailboxes should be created with the maildirmake program that 
> comes with qmail. E.g., "maildirmake ~/Maildir". Be sure to run maildirmake 
> as the owner of the maildir, not as root. Your useradd or adduser command 
> might support a "skeleton" directory, e.g. /etc/skel, where you can create a 
> maildir that will be copied for all new users.
 
> THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE

Please don't yell. For every (virtual or otherwise) user you have to
specifiy a delivery method. If you want to deliver the mail to your virtual
users locally, yes, you have to do maildirmake for each of them. This can of
course easily be automated if you have a database of your virtual users
somewhere.

If you don't deliver the mail locally, you do have to specify some delivery
method, e.g. through .qmail files.

> and what is SKELETON?

On some systems, when you do a 'useradd' that creates a home directory, the
useradd program will copy the files in /etc/skel to the newly created home
directory. You don't need this for virtual users.


Vince.

 




Re: LWQ question..cjk

2001-07-03 Thread Ruprecht Helms


>Hi Constantine,


>... Maildir mailboxes should be created with the maildirmake program that 
>comes with qmail. E.g., "maildirmake ~/Maildir".

>...
>
>THAT MEANS THAT FOR EVERY VIRTUAL USER I HAVE TO DO MAILDIRMAKE
>and what is SKELETON?

no why. I have installed qmail with real life users using the grabtool that 
takes the users from the /etc/passwd. Before building the database I have 
edited the generated file and have through out all users, that mustn't have 
a mailbox.

I have given the right 701 for the maildirectories to grant a good security 
for it.

Regards,
Ruprecht




RE: Autoresponder problem.

2001-07-03 Thread Brad Dameron


Actually you can run frontpage on Unix with Apache. I know, we do it now.
Works better than the Windows Frontpage servers.
Also there seems to be a lot of autoresponders out there. I took one of the
original ones and revised it with a few fixes and some additions. I have
attached it.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 7:39 AM
To: [EMAIL PROTECTED]
Subject: Re: Autoresponder problem.


Zak Thompson <[EMAIL PROTECTED]> wrote:
>
> When ever someone uses a form to submit an email to a email address it
works
> fine.  but if they submit it to a auto-responder it doesn't work.  It
> doesn't put the correct field in the FROM address so the responder doesn't
> know who to respond to.

Auto-responders and other systems reply to the envelope sender address, not
the contents of any "From:" header field.  To set the envelope sender
address,
specify the "-f" option to either qmail-inject or the sendmail wrapper.

> I've tried FrontPage to get it to work and formmailer.pl both didn't do
it.

How on earth is FrontPage relevant?  Why is a pseudo-HTML-editor trying to
send mail?  And unless I'm mistaken, FrontPage doesn't run on Unix, so it
can
hardly be calling qmail-inject.

As for formmailer.pl, it's probably making sendmail-ish assumptions which
you
should fix.  Many "standard" CGI-to-mail gateway scripts contain security
holes anyway, and could use a good audit.

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

 autorespond-2.0.0.tar.gz


qmail install

2001-07-03 Thread Jared Hoskinson


I have installed qmail from source on a RH 7 box. I followed lwq which was
very helpful. Here is my problem, qmail starts ok add allows connections
on port 25 and accepts mail, however the mail just sits in the queue and
is never delivered, the defaultdelivery is ./Maildir/ and I have the
.qmail files in the $HOME dir and the Maildir is owned by the user. 

1. /var/qmail/queue perm
drwxrw-r--   11 qmailq   qmail4096 Jul  1 04:05 .
drwxr-xr-x   11 root qmail4096 Jul  3 03:52 ..
drwx--2 qmails   qmail4096 Jul  1 04:05 bounce
drwx--   25 qmails   qmail4096 Jul  1 04:05 info
drwx--2 qmailq   qmail4096 Jul  3 04:02 intd
drwx--   25 qmails   qmail4096 Jul  1 04:05 local
drwxr-x---2 qmailq   qmail4096 Jul  1 04:05 lock
drwxr-x---   25 qmailq   qmail4096 Jul  1 04:05 mess
drwx--2 qmailq   qmail4096 Jul  3 04:02 pid
drwx--   25 qmails   qmail4096 Jul  1 04:05 remote
drwxr-x---2 qmailq   qmail4096 Jul  3 04:02 todo

2. qmail-lspawn, qmail-local, qmail-remote and splogger don't every start

3. qmailctl stat

/service/qmail-send: up (pid 27094) 0 seconds
/service/qmail-send/log: up (pid 5827) 9355 seconds
/service/qmail-smtpd: up (pid 27086) 1 seconds
/service/qmail-smtpd/log: up (pid 5830) 9354 seconds
messages in queue: 10
messages in queue but not yet preprocessed: 10

4. Here is the only error I have been able to generate 

> qmail-start ./Maildir/
alert: cannot start: unable to switch to queue directory

I did a search on this error and found a number of times on a few mailing
lists, however haven't seen a fix for it so this is what I tried

> chmod 755 queue
> qmial-start ./Maildir/

new error

>alert: cannot start: unable to open mutex

I'm continuing my search for the fix and I have read the docs but I may
have missed something, just point me in the right direction. If it is RH7
issue what do I have to do resolve it, does RH7 have buggy packages :)


Thanks for you help

jh




Re: majordomo

2001-07-03 Thread John Hogan


>switch to ezmlm ;-)

ditto...

>installation on qmail systems is quite straightforward
>http://www.ezmlm.org/

the mysql support is awesome - very powerful :-)

- hogan


>/k
>
>balaji adhimoolam([EMAIL PROTECTED])@2001.07.03 08:10:21 +:
> > hi all,
> > i have a problem with majordomo..






Re: qmail install

2001-07-03 Thread Henning Brauer

On Tue, Jul 03, 2001 at 01:34:18PM -0500, Jared Hoskinson wrote:
> /service/qmail-send: up (pid 27094) 0 seconds

That's the problem, qmail-send isn't even running.

> > qmial-start ./Maildir/
> >alert: cannot start: unable to open mutex

Go back to your source dir and type "make setup check" again, this dhould
fix it. sounds like you messed up some permissions or so.

> does RH7 have buggy packages :)

About 2500, yes.

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



a wee rant (was: 'RE: Autoresponder problem.')

2001-07-03 Thread John Hogan


> Actually you can run frontpage on Unix with Apache. I know, we do 
> it now.
>Works better than the Windows Frontpage servers.

not to be rude, but don't even go there... for our customers who want 
frontpage as their primary web-authoring interface (especially in an 
enterprise environment with document publishing, m$sql access, etc...) i 
always recommend win nt/2000... they're all made for each other and work 
best together...

we have noticed measurable server performance and maintenance issues in a 
linux/apache enviroment - directory creation, backups and permissions are 
the main problems from a systems p o v... cryptic htpasswd/htaccess files 
are another

also, there are still security issues with child webs in linux/apache 
environments - all such security issues can be resolved in an m$ iis 
environment (with application of the current corrections, patches, fixes 
and updates



sorry, vent closed back to work

- hogan




Re: a wee rant

2001-07-03 Thread Robin S. Socha

* John Hogan <[EMAIL PROTECTED]> [010703 13:51]:
> also, there are still security issues with child webs in linux/apache
> environments - all such security issues can be resolved in an m$ iis
> environment (with application of the current corrections, patches,
> fixes and updates

Ahhh... you're talking about the same NT/W2k and MIIS that I know? The
*glorious* piece of software made by the sheepshaggers in Redmond?
That's good. If you know a reliable source for "current corrections,
patches, fixes and updates" that will keep this security nightmare even
remotely secure for more than 15s, I know many, many people who will
love you. Loads.

In the meantime: This is, like, not the right place to discuss this. But
you might try the BIND ML (people there know a lot about security and
patches, too) or simply the latest Toys'R'Us.



Re: a wee rant (was: 'RE: Autoresponder problem.')

2001-07-03 Thread Henning Brauer

On Tue, Jul 03, 2001 at 01:41:47PM -0500, John Hogan wrote:
> 
> > Actually you can run frontpage on Unix with Apache. I know, we do 
> > it now.
> >Works better than the Windows Frontpage servers. 
> also, there are still security issues with child webs in linux/apache 
> environments - all such security issues can be resolved in an m$ iis 
> environment (with application of the current corrections, patches, fixes 
> and updates

This is faar OT now.
There is another patch for Apache out that is much better than the M$ one,
so only their binary is used (in BSDi emulation on OpenBSD in our case), but
not their buggy apache modifications.
After all, this setup _is_ secure. In contrast to NT4/w2k.

I suggest we move this discussion off-list now...

-- 
* 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: qmail install

2001-07-03 Thread Charles Cazabon

Jared Hoskinson <[EMAIL PROTECTED]> wrote:
> 
> I have installed qmail from source on a RH 7 box. I followed lwq which was
> very helpful.

Unfortunately, you appear to not have followed it very well.

> Here is my problem, qmail starts ok add allows connections on port 25 and
> accepts mail, however the mail just sits in the queue and is never
> delivered,
[...]

A classic symptom of qmail-send not running.

> 3. qmailctl stat
> 
> /service/qmail-send: up (pid 27094) 0 seconds

So qmail-send isn't running properly (keeps being re-started).

> /service/qmail-smtpd: up (pid 27086) 1 seconds

And qmail-smtpd appears to not be running correctly either.

> 4. Here is the only error I have been able to generate 
> 
> > qmail-start ./Maildir/
> alert: cannot start: unable to switch to queue directory

Permissions or ownership of /, /var, /var/qmail, or /var/qmail/queue appear to
be incorrect.

> I did a search on this error and found a number of times on a few mailing
> lists, however haven't seen a fix for it so this is what I tried
> 
> > chmod 755 queue

Why did you try this?  The queue should be mode 750, not 755.

To try to fix some of this:

  1)  Stop all qmail services.
  2)  Do "make setup check" from your qmail source directory again.
  3)  Go through all your startup scripts, comparing them again to the ones in
  "Life with qmail", letter by letter.

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



qfilter to add disclaimer (examples?)

2001-07-03 Thread Jeff Newton


The list archive indicates many people are using qfilter to add
an email disclaimer.  Does anyone have sample scripts they are
willing to share with me?

Cheers,

-- 
Jeff Newton



Re: qfilter to add disclaimer (examples?)

2001-07-03 Thread peter green

* Jeff Newton <[EMAIL PROTECTED]> [010703 15:46]:
> The list archive indicates many people are using qfilter to add
> an email disclaimer.

I don't think so. The archive indicates many people ask the list how to add
an email disclaimer to outgoing mail. They are generally, as is proper,
shunned or told the reason why this is a Bad Idea(TM). Follow some of those
threads, see what I mean.

> Does anyone have sample scripts they are
> willing to share with me?

Please don't. In the vein of not sharing code that could potentially mangle
email and *definitely* annoy the hell out of a bunch of people, please
don't.

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
panic("esp: penguin didn't enter cmd phase.");
(Panic message in the kernel.)




Re: qfilter to add disclaimer (examples?)

2001-07-03 Thread Charles Cazabon

Jeff Newton <[EMAIL PROTECTED]> wrote:
> 
> The list archive indicates many people are using qfilter to add an email
> disclaimer.

As Peter noted, this is not necessarily the case -- instead, people are always
asking how to accomplish various things like this, such as adding standard
headers or footers to messages.

Note that in this day of MIME and multipart messages, attachments, digitally
signed email, encrypted email, and everything else, it is generally a very bad
idea to try to append an arbitrary block of text to any message -- even an
innocuous footer.  For this reason, we ask that you consider _very_carefully_
whether such an action is needed before mangling the mail of your users.

Note that there can (infrequently) be good technical reasons for doing so.
Adding several kilobytes of incomprehensible legalese is _never_ one of these
reasons.

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



Re: qfilter to add disclaimer (examples?)

2001-07-03 Thread MarkD

> Note that in this day of MIME and multipart messages, attachments, digitally
> signed email, encrypted email, and everything else, it is generally a very bad
> idea to try to append an arbitrary block of text to any message -- even an
> innocuous footer.  For this reason, we ask that you consider _very_carefully_
> whether such an action is needed before mangling the mail of your users.

Having said all that, it's not that hard to detect a MIME message and
append another component. If it's not MIME then a textual appendage
usually does the trick. Unmarked HTML email can be a bit tricky, but
even this is tractable. So in all there is just three relatively
straightforward cases that cover the vast majority of email.

Furthermore, most encryption and signage software uses textual markers
to tell it where the signed/encrypted section ends so an appendage
after that is unlikely to do damage. Even then, if any damage is done
it only tends to reduces the security risk by not decrypting, or not
recognizing the signature.

Finally, all of this is usually done at a single point - the outbound
MTA - so it's not too difficult to catch unhandled cases and deal with
them on a per-user basis.

> Note that there can (infrequently) be good technical reasons for doing so.
> Adding several kilobytes of incomprehensible legalese is _never_ one of these
> reasons.

Well, I think it's always presumptious to define what is appropriate
email content when sent from one consenting MTA to another.


Regards.



TRANSLATE TO ENGLISH

2001-07-03 Thread ABDULKAREEM KASEREKA

ABDULKAREEM KASEREKA
TÉLÉPHONE: 873 762 357 297 (TÉLÉPHONE DE SATELITE)
EFAX: 775 796 0118
 
CHER MONSIEUR,
 Je dois d'abord de tout implorer votre indulgence que cette 
proposition
est sérieusement considérée comme pressante et strictement 
confidentiel.

Je suis M. Abdulkareem Kasereka, un frère plus âgé à défunt Rashidi 
Kasereka
(DÉCHIRURE) qui a été massacré dans les circonstances controversées 
entourant
le massacre du défunt désir Kabila de Laurent, ancien président de la
République démocratique du Congo.
 
Avant l'incident malheureux, mon frère avait un ans les quelques 
soldats
vers lesquels le défunt président a fait confiance et a eu à des 
inclinations
personnelles. Il a servi davantage comme un fils qu'un soldat et ainsi
était très près du président.
Ils ont été impliqués dans beaucoup de commerce international dans 
l'ivoire
et le diamant même avant que Kabila est allé bien au président. 
Actuellement,

je suis en possession d'une enveloppe contenant plusieurs documents,
que mon frère personnellement m'a remis en fonction avant sa mort. Dans
les documents il y a les détails d'information très confidentielle des
chambres fortes contenant les sommes énormes d'argent, toutes en les
dollars américains. Les quantités d'argent mille d'cUß29,990,000.00 
(vingt
neuf millions, neuf cents et quatre-vingt-dix dollars des Etats-Unis).
Toutes les chambres fortes sont logées à une société de 
finance/security
au Canada. 

Les membres de ma famille et moi se sont sauvés la République 
démocratique
du Congo sur entendre parler du massacre de mon frère. Nous prenons 
toujours
le refuge dans un autre pays et nous sommes dans le grand besoin des
fonds de sorte que nous puissions solder le compte ailleurs et aller
en fonction de pair avec nos vies.

Je, par cette correspondance, recherche votre aide immédiate en 
accédant
aux fonds et en prenant ultérieurement des agencements avec les fonds
pour virer les fonds sur votre compte indiqué. S'il vous plaît s' 
intéressé,

envoyez-moi par fax le suivant,
1)  votre information complète et privée de contact numéros de
fax personnels c.-à-d. vos de téléphone et.

2)  votre adresse complète d'envoi.
 Plus de détails concernant cette proposition vous seront passés vers
sur la confirmation de votre réception de ces correspondance et 
intention
d'association pour réclamer les fonds.
Sentez-vous libre pour me donner une invitation mon numéro de téléphone
satellite. 

J'attends votre réponse prompte à cette correspondance.

Nous vous prions d'agréer l'expression de nos salutations distinguées,





Abdulkareem Kasereka.

 NOTA: S'il vous plaît l'effort d'envoyer votre réponse en anglais, en
tant que ce message vous est envoyé en français d'assurer la 
confidentialité.





Re: TRANSLATE TO ENGLISH

2001-07-03 Thread Robin S. Socha

* ABDULKAREEM KASEREKA   <[EMAIL PROTECTED]> [010703 16:24]:
> CHER MONSIEUR,

Eh. Sexual harrassment. USD 6m waiting for me. C007!!!1 Anyway, darling,
your request for steamed frog avec Cous-Cous has been taken. You'll be
served a couple of PDF files shortly. You don't mind them coming in 1k
slices, do you?



Re: TRANSLATE TO ENGLISH

2001-07-03 Thread Stephen Bosch



On Tue, 3 Jul 2001, Robin S. Socha wrote:

> * ABDULKAREEM KASEREKA   <[EMAIL PROTECTED]> [010703 16:24]:
> > CHER MONSIEUR,
> 
> Eh. Sexual harrassment. USD 6m waiting for me. C007!!!1 Anyway, darling,
> your request for steamed frog avec Cous-Cous has been taken. You'll be
> served a couple of PDF files shortly. You don't mind them coming in 1k
> slices, do you?

I take it you didn't understand that e-mail, did you?

-Stephen-




Re: TRANSLATE TO ENGLISH

2001-07-03 Thread Jamyn

The email is basically a scam I've seen before, translated to French (for
'confidentiality reasons' they say.. *cough*Avoiding US Feds*cough*)

There is another similar email written in english, circulating around the
web as well.  Only the names, places, and dollar amounts are different in
that version; the rest of it is pretty much verbatim. Basically, they say
they have $30 Million that they'd like to wire into your account, because
they 'need your help to move the money from Canada to here due to some
unfortunate mishaps'.  If you're interested, just fax them :

1) your telephone/fax #
2) your address

If you take the time to respond, they'll ask you for a bank account number
to transfer the money into.  Finally, if they get that far with you, they'll
request co-ownership of your account ("if I can trust you enough to wire
$30M USD into your account, you can trust me enough to be co-owner of your
bank account.."

Obviously if they get that far with you, they can visit the nearest bank
branch, and since they've become co-owner of your account, they will proceed
to clean it out completely.  Short version:  This is a scam.

- J
- Original Message -
Sent: Tuesday, July 03, 2001 4:38 PM
Subject: Re: TRANSLATE TO ENGLISH


>
>
> On Tue, 3 Jul 2001, Robin S. Socha wrote:
>
> > * ABDULKAREEM KASEREKA   <[EMAIL PROTECTED]> [010703 16:24]:
> > > CHER MONSIEUR,
> >
> > Eh. Sexual harrassment. USD 6m waiting for me. C007!!!1 Anyway, darling,
> > your request for steamed frog avec Cous-Cous has been taken. You'll be
> > served a couple of PDF files shortly. You don't mind them coming in 1k
> > slices, do you?
>
> I take it you didn't understand that e-mail, did you?
>
> -Stephen-
>




Re: TRANSLATE TO ENGLISH

2001-07-03 Thread MarkD

On Tue, Jul 03, 2001 at 05:28:49PM -0500, Jamyn allegedly wrote:
> The email is basically a scam I've seen before, translated to French (for
> 'confidentiality reasons' they say.. *cough*Avoiding US Feds*cough*)
> 
> There is another similar email written in english, circulating around the
> web as well.  Only the names, places, and dollar amounts are different in

Heh. And similar to posted letters originating out of, mostly, Nigeria
a few years ago. I'm not trying to pick on Nigeria at all, that just
happens to be where the ones I saw (and personally received) came
from.

They also try to get you to send business letterhead with the account
details then use that as a means of trying to convince a bank that
they are you.

If someone is ever conned by such an absurdity it's hard to feel too
sorry for them...


Regards.



Re: Solaris vs. Linux vs. FreeBSD

2001-07-03 Thread Felix von Leitner

Thus spake Henning Brauer ([EMAIL PROTECTED]):
> > What's is the best OS for run Qmail (and/or Ezmlm)? What advantage and
> > disadvantage has each one? I'll need send two millions mails per day and
> > I don't know what hard can I buy? :)
> Kindly ignoring that this is dicussed a thousand times in the past and you
> can find this in the archives the answer is BSD. qmail relies on some BSD
> FFS semantics not 100% followed by linux' ext2fs for example.

Troll, troll, troll your boat, gently down the stream... ;)

The correct answer would have been: "If you need to ask which operating
system is best, you are too incompetent to run a server on the Internet".

Felix



Re: Substdio Functions

2001-07-03 Thread Felix von Leitner

Thus spake Bill Luckett ([EMAIL PROTECTED]):
> Can someone point me to some documentation on using the substdio functions?
> Is there any?

substdio is obsolete and has been replaced with buffer.

Felix



Re: TRANSLATE TO ENGLISH

2001-07-03 Thread Stephen Bosch

Jamyn wrote:
> 
> The email is basically a scam I've seen before, translated to French (for
> 'confidentiality reasons' they say.. *cough*Avoiding US Feds*cough*)
> 
> There is another similar email written in english, circulating around the
> web as well.  Only the names, places, and dollar amounts are different in
> that version; the rest of it is pretty much verbatim. Basically, they say
> they have $30 Million that they'd like to wire into your account, because
> they 'need your help to move the money from Canada to here due to some
> unfortunate mishaps'.  If you're interested, just fax them :
> 
> 1) your telephone/fax #
> 2) your address
> 
> If you take the time to respond, they'll ask you for a bank account number
> to transfer the money into.  Finally, if they get that far with you, they'll
> request co-ownership of your account ("if I can trust you enough to wire
> $30M USD into your account, you can trust me enough to be co-owner of your
> bank account.."
> 
> Obviously if they get that far with you, they can visit the nearest bank
> branch, and since they've become co-owner of your account, they will proceed
> to clean it out completely.  Short version:  This is a scam.

I hope nobody thinks I was taken in by it -- Robin's commentary would
have been funnier if it had any contextual reference to the scam e-mail,
though.

It is sad that there are people who would fall for this, though.

Aesop said it best -- "A fool and his money are soon parted."

-Stephen-



HELP: 4.4.2 error

2001-07-03 Thread Eduardo Gargiulo

Hi all.

I'm running qmail and ezmlm-idx.
Yesterday, the log start to say

deferral: Connected_to_200.0.218.99_but_connection_died._(#4.4.2)/

for each address with doamin siderar.com. The problem is that 74% of
the subscribers have this kind of addresses. How can I solve this
problem ???

thanks

--xgnu/yapedu
GnuPG Public Key: 0x9F09DB9C   http://certserver.pgp.com

 PGP signature


mail sorting

2001-07-03 Thread Kman

I remember that I once read something about sorting bulk mail (different
mesg in each mail) by domain before sending them out is a bad idea.
Can't find it in the archive.  Anyone can tell me why?  Are we going to
saturate the qmail-remote (concurrencyremote) when the a particular
remote is busy or not?

And is this behavior different between qmail and sendmail?

Thanks
-Kittiwat





Re: Re: Solaris vs. Linux vs. FreeBSD

2001-07-03 Thread mgeier

Thank god we have you around Fenix to drag up a troll's thread that hasn't
been discussed in two days and is completely OT.

Whatever would this list do without you to jab at the ignorant to make
yourself feel so much bigger.

Now get the f*ck back on topic.

[EMAIL PROTECTED] wrote:
> Thus spake Henning Brauer ([EMAIL PROTECTED]):
> > > What's is the best OS for run Qmail (and/or Ezmlm)? What advantage
and
> > > disadvantage has each one? I'll need send two millions mails per day
and
> > > I don't know what hard can I buy? :)
> > Kindly ignoring that this is dicussed a thousand times in the past and
you
> > can find this in the archives the answer is BSD. qmail relies on some
BSD
> > FFS semantics not 100% followed by linux' ext2fs for example.
> 
> Troll, troll, troll your boat, gently down the stream... ;)
> 
> The correct answer would have been: "If you need to ask which operating
> system is best, you are too incompetent to run a server on the
Internet".
> 
> Felix
> 
>  





qmail pop3d startup

2001-07-03 Thread David Dahl


-- 
Hello all:

I followed LWQ's directions for setting up qmail-pop3d:

it wont start up and i get this in my messages log:


Jul  3 10:37:44 mckenna qmail: Starting qmail: done
Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not running
Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command not found
Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
Ju


==end of log==


here are the directions for adding to the qmail startup script:

(btw: i have zero shell-scripting experience)

7. Add the following to qmailctl's "start" section:
if svok /service/qmail*pop3d ; then
svc *u /service/qmail*pop3d
else
echo qmail*pop3d service not running
fi

i am stumped... did i spell something wrong?


TIA,

david



Re: HELP: 4.4.2 error

2001-07-03 Thread Greg White

On Tue, Jul 03, 2001 at 11:45:32PM -0300, Eduardo Gargiulo wrote:
> Hi all.
> 
> I'm running qmail and ezmlm-idx.
> Yesterday, the log start to say
> 
> deferral: Connected_to_200.0.218.99_but_connection_died._(#4.4.2)/
> 
> for each address with doamin siderar.com. The problem is that 74% of
> the subscribers have this kind of addresses. How can I solve this
> problem ???
> 

Looks to me from some quick testing that this particular host is broken.
Thanks for not munging the address or the domain name -- it allows me to
give you some advice that should work.

Drop this in smtproutes:

siderar.com:smtpsrv2.techint.net

Looks to me like their primary MX is broken, and in a way that breaks
delivery for qmail -- it accepts the TCP connection, and then drops it.
qmail will continue to try to deliver to this host. You may wish to
inform postmaster@ of the problem -- the host may just be down
temporarily.

-- 
Greg White



Re: qmail pop3d startup

2001-07-03 Thread David Dahl

i think my problem is that i did not install daemontools...

whoops...

so when i try to make daemontools:

[root@mckenna daemontools-0.70]# make
./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

should i nuke this install?

if so how do i?

david


>--
>Hello all:
>
>I followed LWQ's directions for setting up qmail-pop3d:
>
>it wont start up and i get this in my messages log:
>
>
>Jul  3 10:37:44 mckenna qmail: Starting qmail: done
>Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not running
>Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command not found
>Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
>Ju
>
>
>==end of log==
>
>
>here are the directions for adding to the qmail startup script:
>
>(btw: i have zero shell-scripting experience)
>
>7. Add the following to qmailctl's "start" section:
>if svok /service/qmail*pop3d ; then
>svc *u /service/qmail*pop3d
>else
>echo qmail*pop3d service not running
>fi
>
>i am stumped... did i spell something wrong?
>
>
>TIA,
>
>david


-- 



Re: qmail pop3d startup

2001-07-03 Thread Paul Farber

I got the same thing... it *probibly* a header problem (not sure...
looked
good to me).

just comment out the lines and recompile... its not a critical program.
Just edit the tai64nlocal.c and put a double hash '//' (no quotes) on the
lines listed and it will compile install.



-- 
Paul Farber
Farber Technology
[EMAIL PROTECTED]
Ph  570-628-5303
Fax 570-628-5545

On Wed, 4 Jul 2001, David Dahl wrote:

> i think my problem is that i did not install daemontools...
>
> whoops...
>
> so when i try to make daemontools:
>
> [root@mckenna daemontools-0.70]# make
> ./compile tai64nlocal.c
> tai64nlocal.c: In function `main':
> tai64nlocal.c:54: warning: assignment makes pointer from integer without a cast
> tai64nlocal.c:55: dereferencing pointer to incomplete type
> tai64nlocal.c:56: dereferencing pointer to incomplete type
> tai64nlocal.c:57: dereferencing pointer to incomplete type
> tai64nlocal.c:58: dereferencing pointer to incomplete type
> tai64nlocal.c:59: dereferencing pointer to incomplete type
> tai64nlocal.c:60: dereferencing pointer to incomplete type
> make: *** [tai64nlocal.o] Error 1
>
> should i nuke this install?
>
> if so how do i?
>
> david
>
>
> >--
> >Hello all:
> >
> >I followed LWQ's directions for setting up qmail-pop3d:
> >
> >it wont start up and i get this in my messages log:
> >
> >
> >Jul  3 10:37:44 mckenna qmail: Starting qmail: done
> >Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not running
> >Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command not found
> >Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
> >Ju
> >
> >
> >==end of log==
> >
> >
> >here are the directions for adding to the qmail startup script:
> >
> >(btw: i have zero shell-scripting experience)
> >
> >7. Add the following to qmailctl's "start" section:
> >if svok /service/qmail*pop3d ; then
> >svc *u /service/qmail*pop3d
> >else
> >echo qmail*pop3d service not running
> >fi
> >
> >i am stumped... did i spell something wrong?
> >
> >
> >TIA,
> >
> >david
>
>
>




Re: qmail pop3d startup

2001-07-03 Thread David Dahl
Title: Re: qmail pop3d startup


i am a moron!

i am talking to myself...


from the qmail list archives==



Mike Jackson wrote:

>Hi,
> Box is Mandrake 8.0 final, kernel 2.4.3-20mdk. I get the
following
>error when trying to compile daemontools. It also happened to me
on a
>Redhat 7.1 box. I think it's something gcc version 2.96
2731
>related. Somebody please help me patch this file so it will
compile.

Mr. Jackson - this apparently affects Linux 2.4.x kernels.  The
fix
(also applicable to a similar error when compiling the clockspeed
package) is to change  on line 2 of the problem file
to
.

Hope this helps. -d


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





i think my problem is that i did not
install daemontools...

whoops...

so when i try to make daemontools:

[root@mckenna daemontools-0.70]# make
./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:54: warning: assignment makes pointer from integer
without a cast
tai64nlocal.c:55: dereferencing pointer to incomplete type
tai64nlocal.c:56: dereferencing pointer to incomplete type
tai64nlocal.c:57: dereferencing pointer to incomplete type
tai64nlocal.c:58: dereferencing pointer to incomplete type
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:60: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1

should i nuke this install?

if so how do i?

david
--
Hello all:

I followed LWQ's directions for setting up qmail-pop3d:

it wont start up and i get this in my messages log:


Jul  3 10:37:44 mckenna qmail: Starting qmail: done
Jul  3 10:37:44 mckenna qmail: qmail-pop3d service not
running
Jul  3 10:37:44 mckenna qmail: /etc/rc3.d/S80qmail: svok: command
not found
Jul  3 10:37:44 mckenna rc: Starting qmail:  succeeded
Ju


==end of log==


here are the directions for adding to the qmail startup script:

(btw: i have zero shell-scripting experience)

7. Add the following to qmailctl's "start" section:
if svok /service/qmail*pop3d ; then
svc *u /service/qmail*pop3d
else
echo qmail*pop3d service not running
fi

i am stumped... did i spell something
wrong?


TIA,

david



--


-- 




Blank lines in .qmail files

2001-07-03 Thread John R. Levine

I've been reading through the source code of qmail-local to be sure
I'm telling the truth about what it does in the qmail book.

I see that if the first line of a .qmail file is blank, qmail-local
dies with a temporary failure code.  Other blank lines are ignored,
but there's a specific test and a failure message "Uh-oh: first line of
.qmail file is blank. (#4.2.1)"

Anyone know why?  It's documented in the man page, but even for DJB
code, it seems awfully arbitrary.



-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail



weird qmail-popup behaviour?

2001-07-03 Thread Arjen van Drie


Uhmm,

something I don't get. When I run as root by hand:

/usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
/var/qmail/bin/qmail-popup my.hostname.ext /bin/checkpassword \
/var/qmail/bin/qmail-pop3d Maildir 2>&1

I get:

[arjen@bami arjen]$ telnet my.hostname.ext 110
Trying 172.16.3.1...
Connected to my.hostname.ext.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user qwerty
+OK 
pass qwerqwer
+OK


But when i run exactly the same using supervise in my bootup script:

#!/bin/sh
#exec /usr/local/bin/softlimit -m 200 \
exec /usr/local/bin/tcpserver -x /etc/tcprules.d/tcp.pop3.cdb -v -R -H -l 0 0 110 \
 /var/qmail/bin/qmail-popup my.hostname.ext /bin/checkpassword \ 
 /var/qmail/bin/qmail-pop3d Maildir 2>&1

(softlimit also gives me an error, says it doesn't know the -m option)


 i get:

[arjen@bami arjen]$ telnet my.hostname.ext 110
Trying 172.16.3.1...
Connected to my.hostname.ext.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user qwerty
+OK 
pass qwerqwer
-ERR authorization failed
Connection closed by foreign host.


Any ideas?


-- 

Grtz, 

Arjen.




more startup fun

2001-07-03 Thread David Dahl


-- 
I cannot get qmail to startup properly:

shutdown and error:
=
[root@mckenna bin]# /etc/init.d/qmailctl stop
Stopping qmail...
  qmail-smtpd
svc: warning: unable to control /service/qmail-smtpd: file does not exist
  qmail-send
svc: warning: unable to control /service/qmail-send: file does not exist

listing of /service:
==

[root@mckenna /service]# ls -lia
total 16
   32618 drwxr-xr-t3 root qmail4096 Jul  3 12:57 ./
   32613 drwxr-xr-x5 root qmail4096 Jul  3 12:16 ../
   32619 drwxr-xr-x2 root qmail4096 Jul  3 10:20 log/
   32623 lrwxrwxrwx1 root root   32 Jul  3 12:57 
qmail-send -> /var/qmail/supervise/qmail-send//
   32624 lrwxrwxrwx1 root root   33 Jul  3 12:57 
qmail-smtpd -> /var/qmail/supervise/qmail-smtpd//
   32620 -rwxr-xr-x1 root qmail 212 Jul  3 10:16 run*
[root@mckenna /service]#





startup and error:
==

[root@mckenna bin]# /etc/init.d/qmailctl start
Starting qmail
qmail-send service not running
qmail-smtpd service not running


processes:
===
[root@mckenna bin]# ps -aux
USER   PID %CPU %MEM   VSZ  RSS TTY  STAT START   TIME COMMAND

root   586  0.0  0.1  2248  992 ?S13:06   0:00 xinetd 
-reuse -pidfile /var/run/xinetd.pid

qmails 879  0.0  0.0  1376  412 pts/0S13:17   0:00 qmail-send
root   880  0.0  0.0  1332  356 pts/0S13:17   0:00 
qmail-lspawn ./Mailbox
qmailr 881  0.0  0.0  1332  356 pts/0S13:17   0:00 qmail-rspawn
qmailq 882  0.0  0.0  1324  364 pts/0S13:17   0:00 qmail-clean
root   900  0.0  0.1  2768  856 pts/0R13:22   0:00 ps -aux
[root@mckenna bin]#

do i even need xinietd with tcpserver?  do i have permissions 
problems up in /service?


david



qmail-scanner

2001-07-03 Thread Brett Leeder

Reworded re-post after off-list discussions.

I guess this is really a netscape issue rather than qmail, but related
to the qmail server at least.  I'm running qmail-scanner and get into
problem areas when the scanner detects a virus in a message and sends
the bounce message to the originator and to postmaster.  The bounce
message has a copy of the original headers etc, which it obviously must
have to be informative.

Some virii, grab a random piece of another email message and use it as
subject and body filler to pad out the message before attaching the
virus executable to the message.  I have noticed that quite often these
random grabs of another message have formatting characters (^M, \223,
\233 etc) embedded in them.

I, as postmaster, get a LOT of these bounces and because of the
formatting characters in the subject line etc (this is my assumption
anyway), my mail client (Netscape), falls in a heap and is unable to
process the received mail, leaving a mess on the server and in my local
folders.  I am having a lot of customers suffering from the same issue.

Would it be appropriate to modify qmail-scanner to detect formatting in
the subject line and if present try to remove it, or discard the subject
line all together?  Has anyone else encountered this issue?

Brett