qmLogsort

1999-05-27 Thread Monte Mitzelfelt

I think this one is ready for primetime.  It groups mail log records by
message and delivery.  It eliminates all of that scrolling up and down in
the log file looking for outcomes.  Features include a grep option, a
"nogrep"  like grep -v, a follow mode and transparent decompression for
.gz, .Z and .bz2 compressed logs. 

Thanks,
Monte Mitzelfelt
Systems Design and Admininstration
New Mexico Technet, Inc.



Re: How to log supervised tcpserver?

1999-05-27 Thread Anand Buddhdev

On Wed, May 26, 1999 at 07:37:29PM +0100, Petr Novotny wrote:

 Hi,
 
 I am currently running my listener like
 supervise dir tcpserver ... 25 rblsmtpd qmail-smtpd 
 
 I would like to log failed RBL tests; I though I would just add
 21 | accustamp | setuser qmaill cyclog ...
 before the final '' but it seemed to log nothing.

If it's not a typo, the above has a mistake. The shell redirection for
stderr should be tcpserver  qmail-smtpd 21 | accustamp | setuser
qmaill cyclog .

You have instead 21, which is wrong.

-- 
System Administrator
See complete headers for address, homepage and phone numbers



Re: qmLogsort

1999-05-27 Thread Mads E Eilertsen

On 27 May 1999, Monte Mitzelfelt wrote:

 I think this one is ready for primetime.  It groups mail log records by
 message and delivery.  It eliminates all of that scrolling up and down in
 the log file looking for outcomes.

Hmm, doesn't qmailanalog do the same thing for you?

Mads



Partly solved: supervised tcpserver under supervise

1999-05-27 Thread Petr Novotny

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I have partly solved my problem (a typo) of logging tcpserver 
messages through cyclog.

What I do now:
For init scripts, I do
supervise dir /var/qmail/rc-smtp 
and in my rc-smtp I have (on one long line)
#!/bin/sh
exec env - PATH=... tcpserver -v ... rblsmtpd qmail-smtpd 21 
|setuser qmaill accustamp|setuser qmaill cyclog ...

All the logging works as expected. What now does not work is that
svc -dx ...
doesn't bring this tcpserver down.

In ps auxww I can see
sh /var/qmail/rc-smtp
running as a separate process and svstat says that the supervised 
pid is the pid of this shell process. Bringing it down (svc -dx) brings 
down this shell and not tcpserver.

I though the initial "exec" in the shell script should get rid of the 
shell process. I must be missing something obvious but if I only 
knew what... Please suggest.

Thanks

-BEGIN PGP SIGNATURE-
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: http://community.wow.net/grt/qdpgp.html

iQA/AwUBN00ZJlMwP8g7qbw/EQITLACbBf8Lw5asDG3K8lJwYKXpe7911tcAnRsN
GoY+47PAGbhAecMroAXypd79
=eMil
-END PGP SIGNATURE-
--
Petr Novotny, ANTEK CS
[EMAIL PROTECTED]
http://www.antek.cz
PGP key ID: 0x3BA9BC3F
-- Don't you know there ain't no devil there's just God when he's drunk.
 [Tom Waits]



Re: Load simmulator for testing qmail

1999-05-27 Thread Stefan Paletta

http://www.postfix.org/

Stefan

Amit Vadehra wrote/schrieb/scribsit:
 Where do i get that , can i download it from a site...
 Is it a a Lunix version so that i can test it on qmail over Linux.
 Thanks
 Amit
 
 Stefan Paletta wrote:
 
  Amit Vadehra wrote/schrieb/scribsit:
   We need something that will pump mails of different sizes and types so
   that we can test the total email infrastructure.
 
  Postfix includes such a thing, IIRC.



qmail Digest 27 May 1999 10:00:01 -0000 Issue 653

1999-05-27 Thread qmail-digest-help


qmail Digest 27 May 1999 10:00:01 - Issue 653

Topics (messages 26024 through 26060):

compiling problems
26024 by: Paul Bais [EMAIL PROTECTED]

Load simmulator for testing qmail
26025 by: Amit Vadehra [EMAIL PROTECTED]
26041 by: "Racer X" [EMAIL PROTECTED]
26044 by: Stefan Paletta [EMAIL PROTECTED]
26059 by: Amit Vadehra [EMAIL PROTECTED]
26060 by: Stefan Paletta [EMAIL PROTECTED]

Antw: Re: qmail and lotus notes
26026 by: "Ralf Guenthner" [EMAIL PROTECTED]

qmail/pop3 SQL patch
26027 by: [EMAIL PROTECTED]

mail relay for any IP,but only for valid logins - how??
26028 by: olli [EMAIL PROTECTED]
26029 by: Jason Brooke [EMAIL PROTECTED]

dialup w/ qmail
26030 by: [EMAIL PROTECTED]
26035 by: [EMAIL PROTECTED]
26036 by: [EMAIL PROTECTED]
26037 by: Dave Sill [EMAIL PROTECTED]

mail time ?
26031 by: "Claudiu Balciza" [EMAIL PROTECTED]
26032 by: "Soffen, Matthew" [EMAIL PROTECTED]
26033 by: Harald Hanche-Olsen [EMAIL PROTECTED]
26040 by: "Claudiu Balciza" [EMAIL PROTECTED]

Limit max msg size per virtual dom - SOLVED (i think)
26034 by: Eric Dahnke [EMAIL PROTECTED]

How to log supervised tcpserver?
26038 by: "Petr Novotny" [EMAIL PROTECTED]
26056 by: Anand Buddhdev [EMAIL PROTECTED]

queued (delayed) mail
26039 by: Markus Stumpf [EMAIL PROTECTED]

Qmail quotas with mailquotacheck.sh
26042 by: Brad Shelton [EMAIL PROTECTED]
26046 by: "Aaron L. Meehan" [EMAIL PROTECTED]

.. a few hours with qmail-pop3d
26043 by: Robbie Walker [EMAIL PROTECTED]

ezmlm doesn't start
26045 by: Per Birkeby [EMAIL PROTECTED]

PLEASE HELP !! ...couldn't find host named
26047 by: Wilson Fletcher [EMAIL PROTECTED]
26049 by: Markus Stumpf [EMAIL PROTECTED]
26050 by: Wilson Fletcher [EMAIL PROTECTED]
26051 by: Markus Stumpf [EMAIL PROTECTED]

Thank you for Q-mail !
26048 by: Per Birkeby [EMAIL PROTECTED]

Ah ha, thankyou Markus
26052 by: Wilson Fletcher [EMAIL PROTECTED]

Qmail, IMAP, and the god-forsaken Outlook Express
26053 by: "Jim Gilliver" [EMAIL PROTECTED]

Fatal Error ...?
26054 by: "zulfahmi andri" [EMAIL PROTECTED]

qmLogsort
26055 by: "Monte Mitzelfelt" [EMAIL PROTECTED]
26057 by: Mads E Eilertsen [EMAIL PROTECTED]

Partly solved: supervised tcpserver under supervise
26058 by: "Petr Novotny" [EMAIL PROTECTED]

Administrivia:

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

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

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

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


--



hi

I've tried to compile qmail 1.03 on an Indy running IRIX 6.5,.
I'm using egcs 1.1.2 and gnu make 3.76.

This is what i get when running make seup check:

./compile auto-str.c
auto-str.c: In function `main':
auto-str.c:15: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a
ld32: ERROR 33: Unresolved text symbol "_exit" -- 1st referenced by
auto-str.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "errno" -- 1st referenced by
substdio.a(substdi.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "read" -- 1st referenced by
substdio.a(subfdin.o).
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33: Unresolved text symbol "write" -- 1st referenced by
auto-str.o.
Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: INFO 152: Output file removed because of error.
make: *** [auto-str] Error 2

Does anyone know a solution for this?
Or is a binary for the Indy available?

Greetz
Paul






HI,
I need to find a load simmulator that will pump mails to a
particular id or a set of ids that to check the the  load generated by
pumping that many mails at one point of time and how qmail handles it.
We need something that will pump mails of different sizes and types so
that we can test the total email infrastructure.
Qmail is on Linux ( redhat 5.4) . Can one write some kind of a script
that you do the same.
Please let me know at the earliest.
Thanks
Amit Vadehra






Microsoft has a tool called InetLoad that does some basic load testing.
While it only runs on Windows NT, it is free and it's worked pretty well
for us.  It has the capability to test various services besides just SMTP,
and includes some basic scripting commands.  You can find it at:

http://www.microsoft.com/msdownload/inetload/inetload.htm

shag


- Original Message -
From: Amit Vadehra [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wed 26 May 

Re: Load simmulator for testing qmail

1999-05-27 Thread Amit Vadehra

Where do i get that , can i download it from a site...
Is it a a Lunix version so that i can test it on qmail over Linux.
Thanks
Amit

Stefan Paletta wrote:

 Amit Vadehra wrote/schrieb/scribsit:
  We need something that will pump mails of different sizes and types so
  that we can test the total email infrastructure.

 Postfix includes such a thing, IIRC.

 Stefan



Re: Partly solved: supervised tcpserver under supervise

1999-05-27 Thread Harald Hanche-Olsen

+ "Petr Novotny" [EMAIL PROTECTED]:

| #!/bin/sh
| exec env - PATH=... tcpserver -v ... rblsmtpd qmail-smtpd 21 
| |setuser qmaill accustamp|setuser qmaill cyclog ...
| 
| 
| I though the initial "exec" in the shell script should get rid of the 
| shell process. I must be missing something obvious but if I only 
| knew what... Please suggest.

When sh runs a pipeline, every part of a pipeline runs in a subshell.
It is for reasons like this I wrote my pipe program:

  URL:http://www.math.ntnu.no/~hanche/prog/pipe/

- Harald



Re: Fatal Error ...?

1999-05-27 Thread Dave Sill

"zulfahmi andri" [EMAIL PROTECTED] wrote:

ezmlm-manage: fatal: I do not accept messages at this address (#5.1.1)

Somebody know how to solve this?

Probably lots of people...on the ezmlm list.

-Dave



Outlook - qmail - filter

1999-05-27 Thread Wade

I have a user who has a number of LARGE MS Outlook folders full of mail and
he wants move that mail to folders under qmail.  I guess we will setup elm
filters to re-separate the mail once we get it to the qmail server.  The
problem is how to get all of the mail from Outlook to qmail without
forwarding EVERY message one at a time.  Any suggestions?  If we select a
group of messages and tell Outlook to forward them, it stuffs them all into
a single e-mail as attachments which then have to be saved one at a time.

TIA!!
-wade



Re: qmLogsort

1999-05-27 Thread Monte Mitzelfelt


On Thu, 27 May 1999, Mads E Eilertsen wrote:

  I think this one is ready for primetime.  It groups mail log records by
  message and delivery.  It eliminates all of that scrolling up and down in
  the log file looking for outcomes.
 
 Hmm, doesn't qmailanalog do the same thing for you?

Unless I've missed part of qmailanalog, it just does summary statistics.
This sorts the detail.

Monte



Re: qmLogsort

1999-05-27 Thread Eric Dahnke

So where is it?


cheers - eric


Mads E Eilertsen escribió:
 
 On 27 May 1999, Monte Mitzelfelt wrote:
 
  I think this one is ready for primetime.  It groups mail log records by
  message and delivery.  It eliminates all of that scrolling up and down in
  the log file looking for outcomes.



Re: qmLogsort

1999-05-27 Thread Monte Mitzelfelt


On Thu, 27 May 1999, Eric Dahnke wrote:

 So where is it?

I'll happily mail it to anyone.  I don't have an appropriate public access
spot for it at the moment.

Thanks,
Monte



Re: qmLogsort

1999-05-27 Thread Russell Nelson

Eric Dahnke writes:
  So where is it?

http://www.qmail.org/qmLogsort

-- 
-russ nelson [EMAIL PROTECTED]  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Good parenting creates
521 Pleasant Valley Rd. | +1 315 268 1925 voice | an adult, not a perfect
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | child.



Random Qmail Questions

1999-05-27 Thread jasonf


DISCLAIMER: Please forgive me if these are totally pathetic question.
Believe it or not, I have read through the docs, and still haven't figured
things out.

First Question: I've set up qmail to run in Maildir mode. All of my users
now have their pretty little ~/Maildir/ set up. Right now I've got pine
aliased to pinq so that everything will work. I notice that when a user
starts pine, it automatically creates a Mailbox instead of using the
Maildir. Does maildir2mbox do this automatically, or do I have something
set up wrong?

Second Question: I can't seem to send mail to root. Every time I try, a
message ends up in the logs stating:
delivery x: deferral: Unable_to_chdir_to_maildir._(#4.2.1)
I think I have all my permissions set correctly. What could be the
problem? Also, I get the same error message when I send mail to a certain
user, but it waits a second and delivers the mail to that user anyway.
Weird..

Third Question: While looking through the FAQ, I've noticed a lot of mailer
bashing. Under the questions "How to I get x mailer to work with qmail?"
there always seems to be some mention of how that mailer is insecure,
unreliable, and basically worthless. Yet, I don't see any mention of what
one is supposed to use instead. What is the preferred MUA for DJ Bernstein
dittoheads? Is there a mailer with native Maildir support?

Fourth Question: Last question I promise. While looking through the docs,
I've seen lots of recommendations to switch over to various programs,
programs to replace things such as syslog and inet. I've noticed that all
of these replacement programs seem to be in the beta stage. How reliable
are they currently? I'm a bit wary of using beta software to replace
something as important as my syslog and inet! I just wanted to ask before
I try.

Thanks for putting up with all my lame questions.
Regards,
Jason



Re: Random Qmail Questions

1999-05-27 Thread John R. Levine

aliased to pinq so that everything will work. I notice that when a user
starts pine, it automatically creates a Mailbox instead of using the
Maildir. Does maildir2mbox do this automatically, or do I have something
set up wrong?

Pine only groks mailboxes, so maildir2mbox moves the messages from a maildir
to an mbox for Pine's benefit.  In the longer run, consider running an IMAP
server that handles maildirs.

Second Question: I can't seem to send mail to root. Every time I try, a
message ends up in the logs stating:

That's a feature, qmail doesn't want to run as root which it would have to
do.  Use ~alias/.qmail-root to send root's mail somewhere else.

Also, I get the same error message when I send mail to a certain
user, but it waits a second and delivers the mail to that user anyway.
Weird..

Hmmn.  Beats me.  Usual voodoo suggestions regarding protections of the
maildir and the user's home directory.

unreliable, and basically worthless. Yet, I don't see any mention of what
one is supposed to use instead. What is the preferred MUA for DJ Bernstein
dittoheads? Is there a mailer with native Maildir support?

People say nice things about mutt.  The rest of us make do with worthless
unreliable MUAs.

Fourth Question: Last question I promise. While looking through the docs,
I've seen lots of recommendations to switch over to various programs,
programs to replace things such as syslog and inet. I've noticed that all
of these replacement programs seem to be in the beta stage. How reliable
are they currently?

More reliable than the things they replace.  Dan's definition of beta
is along the lines of "not known to be bug-free" rather than the more
popular "runs well enough that maybe the users will debug it for us."
Like most bits of qmail, tcpserver is really nice once you believe that
it really is fast and nail down its typical three-mile long command line.


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



Re: Random Qmail Questions

1999-05-27 Thread jasonf


 Pine only groks mailboxes, so maildir2mbox moves the messages from a maildir
 to an mbox for Pine's benefit.  In the longer run, consider running an IMAP
 server that handles maildirs.

I realized that it didn't like Maildir, but I thought you could set what
file it used as it's mbox by setting the MAILTMP variable. I've got my
MAILTMP set as something else entirely, yet it insists on using Mailbox.
Why would I want to set up an IMAP server? I don't currently have one
running. The way I see it, the less open ports I've got, the better.

 That's a feature, qmail doesn't want to run as root which it would have to
 do.  Use ~alias/.qmail-root to send root's mail somewhere else.

Ah thank you. I knew I had forgotten to ask something. I aliases work
under qmail. I've got some aliases under people's home directories, so
they can accept mail from other addresses, but I haven't figured out how
the ~alias/.qmail-x works. Do I need to put the address to forward to in
the /.qmail-root file? Is it as simple as that?

 
 People say nice things about mutt.  The rest of us make do with worthless
 unreliable MUAs.

Glad you brought up mutt. I've been wanting to switch to it for some time
now. Unfortunately I haven't found an editor that works with it too well.
It was using vi, but vi seems to forget to wrap the text, so it sends
everything on this one long line. I tried using pico as well, but it sits
there and asks me what file I want to save it as etc., which is just a
pain. BTW, does mutt use Maildir, or will I have to set up a mutq filter
for it as well?

 More reliable than the things they replace.  Dan's definition of beta
 is along the lines of "not known to be bug-free" rather than the more
 popular "runs well enough that maybe the users will debug it for us."
 Like most bits of qmail, tcpserver is really nice once you believe that
 it really is fast and nail down its typical three-mile long command line.

Thanks, I'm into anything that'll save me some memory and a few CPU
cycles. I'll have to give them a try.

Regards,
Jason 




Re: Random Qmail Questions

1999-05-27 Thread John Gonzalez/netMDC admin

On Thu, 27 May 1999 [EMAIL PROTECTED] wrote:


 Pine only groks mailboxes, so maildir2mbox moves the messages from a maildir
 to an mbox for Pine's benefit.  In the longer run, consider running an IMAP
 server that handles maildirs.

I realized that it didn't like Maildir, but I thought you could set what
file it used as it's mbox by setting the MAILTMP variable. I've got my
MAILTMP set as something else entirely, yet it insists on using Mailbox.
Why would I want to set up an IMAP server? I don't currently have one
running. The way I see it, the less open ports I've got, the better.

You may actually want to examine the pinq script to see how it's coded.

As for running an IMAP daemon, i honestly dont see why you would want to
do that either. You can choose pop or imap, but running both only allows
you to service a market where people prefer IMAP over POP, which is rare.

The pop daemon that DJB wrote for maildir works beautifully, is simple,
fast, secure, and what more can you ask for?

OH, of course it's free too :) and you probably already have it if you
have qmail running.

 That's a feature, qmail doesn't want to run as root which it would have to
 do.  Use ~alias/.qmail-root to send root's mail somewhere else.

Ah thank you. I knew I had forgotten to ask something. I aliases work
under qmail. I've got some aliases under people's home directories, so
they can accept mail from other addresses, but I haven't figured out how
the ~alias/.qmail-x works. Do I need to put the address to forward to in
the /.qmail-root file? Is it as simple as that?


No, you need to read the documentation. This is really a much larger
question then can be answered here, but here are the relevant places to
look:

http://web.infoave.net/~dsill/lwq.html

and specifically:

http://web.infoave.net/~dsill/lwq.html#Aliases


 
 People say nice things about mutt.  The rest of us make do with worthless
 unreliable MUAs.

Glad you brought up mutt. I've been wanting to switch to it for some time
now. Unfortunately I haven't found an editor that works with it too well.
It was using vi, but vi seems to forget to wrap the text, so it sends
everything on this one long line. I tried using pico as well, but it sits
there and asks me what file I want to save it as etc., which is just a
pain. BTW, does mutt use Maildir, or will I have to set up a mutq filter
for it as well?

I believe that any recent version of mutt has maildir support natively.

 More reliable than the things they replace.  Dan's definition of beta
 is along the lines of "not known to be bug-free" rather than the more
 popular "runs well enough that maybe the users will debug it for us."
 Like most bits of qmail, tcpserver is really nice once you believe that
 it really is fast and nail down its typical three-mile long command line.

Thanks, I'm into anything that'll save me some memory and a few CPU
cycles. I'll have to give them a try.

Regards,
Jason 

You'll find this is pretty much normal. DJB's "beta" or even "alpha"
software is usually much higher quality then the normal "beta" package. I
have much faith in DJB's coding skill.

  ___   _  __   _  
__  /___ ___    /__  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[-[system info]---]
 10:15pm  up 112 days,  5:18,  4 users,  load average: 0.06, 0.14, 0.11



Re: Random Qmail Questions

1999-05-27 Thread Patrick Berry

 [EMAIL PROTECTED] had the thought that... 

  That's a feature, qmail doesn't want to run as root which it would have to
  do.  Use ~alias/.qmail-root to send root's mail somewhere else.
 
 Ah thank you. I knew I had forgotten to ask something. I aliases work
 under qmail. I've got some aliases under people's home directories, so
 they can accept mail from other addresses, but I haven't figured out how
 the ~alias/.qmail-x works. Do I need to put the address to forward to in
 the /.qmail-root file? Is it as simple as that?

Yup, just put a your-login-here in ~alias/.qmail-root and all will be
well.

  People say nice things about mutt.  The rest of us make do with worthless
  unreliable MUAs.
 
 Glad you brought up mutt. I've been wanting to switch to it for some time
 now. Unfortunately I haven't found an editor that works with it too well.
 It was using vi, but vi seems to forget to wrap the text, so it sends
 everything on this one long line. I tried using pico as well, but it sits
 there and asks me what file I want to save it as etc., which is just a
 pain. BTW, does mutt use Maildir, or will I have to set up a mutq filter
 for it as well?

All of the above problems can be fixed in the config files of vim and
mutt.  I know it's bad to assume that he is using vim instead of mutt,
but if he isn't he should be ;-)

.vimrc:
set tw=70   " always limit the width of text to n

.muttrc
set mbox_type="Maildir"
set mbox="$HOME/Maildir/"
set spoolfile="$HOME/Maildir/"

This setup works pretty well for me.


Pat
-- 
Patrick Berry    Code Creation    Freestyle Software    415.778.0610
http://www.freestylesoftware.com



Re: Random Qmail Questions

1999-05-27 Thread John R. Levine

As for running an IMAP daemon, i honestly dont see why you would want to
do that either. You can choose pop or imap, but running both only allows
you to service a market where people prefer IMAP over POP, which is rare.

Pine users are a notable IMAP market.  Pine believes deeply, devoutly,
in IMAP.  I'm planning to bring up an IMAP server here partly for
Pine, partly so I can check my mail from Eudora on my laptop and see
all of the mailboxes into which procmail has sorted my mail and stay
in sync with Pine when I get home.

The pop daemon that DJB wrote for maildir works beautifully, is simple,
fast, secure, and what more can you ask for?

IMAP does a lot more than POP.  I agree that the IMAP people at Washington
have a very bad attitude toward qmail and maildirs, though.

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