Portable RPM for qmail

2001-06-27 Thread John Newbigin

I am probably going to start a flame war with this but I have created a
patch for qmail 1.03 which removes the need for compiled in user and
group id's.

The patch works by replacing the auto_uida variables with #defines which
call functions to return the correct uid.  Once the user id has been
looked up it is remembered should the same instance try to look it up
again.

I have not measured the performance of this but for a low volume server
I would imagine that is would be negligible.

With this patch in place it is possible to build an RPM which can be
safely installed without the need to relink or binary edit and files.

I am happy to release the patch and the SRPM if is anyone is interested.

My second question is about the licence for qmail.  Despite all my
looking I can't find it.  Can someone point me to the licence or
summarise what I can do with a binary RPM.

Thanks.
John.

--
Information Technology Innovation Group
Swinburne University. Melbourne, Australia
http://uranus.it.swin.edu.au/~jn





RE: Portable RPM for qmail

2001-06-27 Thread Charles Warwick
Title: RE: Portable RPM for qmail





1. That HAS been done before, Bruce Guenter has created a similar patch


2. Q-Mail's license does NOT allow distribution of binary packages including Q-Mail.


P.S. Please forgive the signature and HTML that this e-mail has in it, unfortunately due to the network within which I work (Microsoft driven of course!) I can't get rid of the signature or the HTML - not my choice!

-Original Message-
From: John Newbigin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 June 2001 4:34 PM
To: [EMAIL PROTECTED]
Subject: Portable RPM for qmail



I am probably going to start a flame war with this but I have created a
patch for qmail 1.03 which removes the need for compiled in user and
group id's.


The patch works by replacing the auto_uida variables with #defines which
call functions to return the correct uid. Once the user id has been
looked up it is remembered should the same instance try to look it up
again.


I have not measured the performance of this but for a low volume server
I would imagine that is would be negligible.


With this patch in place it is possible to build an RPM which can be
safely installed without the need to relink or binary edit and files.


I am happy to release the patch and the SRPM if is anyone is interested.


My second question is about the licence for qmail. Despite all my
looking I can't find it. Can someone point me to the licence or
summarise what I can do with a binary RPM.


Thanks.
John.


--
Information Technology Innovation Group
Swinburne University. Melbourne, Australia
http://uranus.it.swin.edu.au/~jn




Please Note: 
The information contained in this email is confidential. If you are not the intended recipient, you may not disclose or use the information in this email in any way. If you have received this email in error, kindly notify the sender. The sender does not guarantee the integrity of this email or any attached files.




Re: Portable RPM for qmail

2001-06-27 Thread Vincent Schonau

On Wed, Jun 27, 2001 at 04:33:43PM +1000, John Newbigin wrote:

 My second question is about the licence for qmail.  Despite all my
 looking I can't find it.  Can someone point me to the licence or
 summarise what I can do with a binary RPM.

URL:http://cr.yp.to/distributors.html


Vince.



Re: Problem with conf-split config

2001-06-27 Thread Vincent Schonau

On Wed, Jun 27, 2001 at 10:42:26AM +0530, D Rajesh wrote:
 Hi there,

I have done the conf-split configuration and after make setup It created
directory /var/qmail. I have moved the original /var/qmail to /var/qmail2
before the make setup. After finishing the installation, I have started
/var/qmail/rc  in background. It got started successfully. Then if I try
to start  /var/qmail2/rc  then it gives error saying qmail-send already
running...

If you want two separate copies of qmail running, you have to put
/var/qmail2 into conf-qmail and recompile. If you don't change conf-qmail,
the /var/qmail path will still be compiled into your binaries.

Vince.



Re: Problem with conf-split config

2001-06-27 Thread D Rajesh

I have followed the below steps to run separate qmail's at /var/qmail and
/var/qmail2
My system is a Linux 6.2 kernel 2.2.14, ext2fs
  1.. # killall qmail-send   ( stopped qmail daemon. )
  2.. # mv /var/qmail  /var/qmail2.
  3.. # cd /usr/src/qmail-1.03
  4.. # vi conf-qmail  ( Changed /var/qmail in conf-qmail file to
/var/qmail2. )
  5.. # make setup check.
  6.. # vi conf-qmail  ( Changed conf-qmail file back to /var/qmail  )
  7.. # make setup check.
  8.. # /var/qmail/rc  ( this restarted qmail daemons )
  9.. # /var/qmail2/rc . ( When I start this it says qmail-send already
running )
Was I wrong anywhere ???

Thanks  Regards,
Rajesh,

- Original Message -
From: Vincent Schonau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 1:56 PM
Subject: Re: Problem with conf-split config


 On Wed, Jun 27, 2001 at 10:42:26AM +0530, D Rajesh wrote:
  Hi there,

 I have done the conf-split configuration and after make setup It created
 directory /var/qmail. I have moved the original /var/qmail to /var/qmail2
 before the make setup. After finishing the installation, I have started
 /var/qmail/rc  in background. It got started successfully. Then if I
try
 to start  /var/qmail2/rc  then it gives error saying qmail-send already
 running...

 If you want two separate copies of qmail running, you have to put
 /var/qmail2 into conf-qmail and recompile. If you don't change conf-qmail,
 the /var/qmail path will still be compiled into your binaries.

 Vince.





qmailAdmin

2001-06-27 Thread pat moffatt



Hi,
 I came across a web based 
administration tool for qmail called qmailadmin on www.inter7.com/qmailadmin . Has 
anyone any experience of this?? Is it any good??

P.


Re: Problem with VAR directory during install

2001-06-27 Thread Adrian Ho

On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve Reed wrote:
 So, I'm stumped.  Why is config (or config-fast) unhappy?

Because it's expecting dirs and stuff in /var/qmail that aren't there.

Run strings - install | grep / and look for a fully-qualified path
(ie. starting with a slash) that doesn't look system-related.  In your
case, since you didn't change conf-qmail, you should see /var/qmail.
If you see something else instead, that's where all your qmail stuff got
installed -- all you gotta do is figure out why it went there.  8-)

- Adrian



badmailfrom

2001-06-27 Thread brett

Hi,  I have the following in control/badmailfrom as shown by qmail-showctl:

badmailfrom: 
[EMAIL PROTECTED] not accepted in MAIL FROM.
Hahaha [EMAIL PROTECTED] not accepted in MAIL FROM.


Yet messages with the following headers still get through:

--- Below this line is the original bounce.

Return-Path: 
Received: (qmail 24147 invoked from network); 27 Jun 2001 09:32:49 -
Received: from 046.ro00.dial.iqnet.net.au (HELO default) (203.132.93.46)
  by mail-x1.iqnet.net.au with SMTP; 27 Jun 2001 09:32:49 -
From: Hahaha [EMAIL PROTECTED]
Subject: Snowhite and the Seven Dwarfs - The REAL story!
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=--VEOD2BWLUV


Is this due to the Return-Path: or is badmailfrom not behaving?

Cheers,

Brett



Re: badmailfrom

2001-06-27 Thread Vincent Schonau

On Wed, Jun 27, 2001 at 10:09:00AM -, [EMAIL PROTECTED] wrote:
 Hi,  I have the following in control/badmailfrom as shown by qmail-showctl:
 
 badmailfrom: 
 [EMAIL PROTECTED] not accepted in MAIL FROM.
 Hahaha [EMAIL PROTECTED] not accepted in MAIL FROM.
 
 
 Yet messages with the following headers still get through:
 
 --- Below this line is the original bounce.
 
 Return-Path: 
 Received: (qmail 24147 invoked from network); 27 Jun 2001 09:32:49 -
 Received: from 046.ro00.dial.iqnet.net.au (HELO default) (203.132.93.46)
   by mail-x1.iqnet.net.au with SMTP; 27 Jun 2001 09:32:49 -
 From: Hahaha [EMAIL PROTECTED]
 Subject: Snowhite and the Seven Dwarfs - The REAL story!
 MIME-Version: 1.0
 Content-Type: multipart/mixed; boundary=--VEOD2BWLUV
 
 Is this due to the Return-Path: or is badmailfrom not behaving?

It is due to the Return-Path; badmailfrom works on the envelope-sender, not
the From: header.


Vince.



RE: $HOME problem

2001-06-27 Thread GARGIULO Eduardo INGDESI

  2.- I've tried checkpassword but it did't work ;( I could't 
 auth users ...
 
 You didn't configure it properly, then.  But with an error 
 report like that,
 not even Russell can help you :).
 

you are right ..

qmail-1.03
checkpassword-0.90

I tried the auth examples of the checkpassword docs.
compile checkpassword.
maildirmake $HOME/Maildir
echo ./Maildir/  $HOME/.qmail
change /var/qmail/rc to use Maildirs
restart qmail

but when I run

/var/qmail/bin/qmail-popup adm /bin/checkpassword pwd

I could't authenticate any user.

--yapedu



RE: setting quotas. . .

2001-06-27 Thread Norvell Spearman

 I think you're confused.  From the man page for quotacheck:

Quotacheck should be run each time the  system  boots  and mounts
non-valid  file  systems.   This is most likely to happen
 after a system
crash.

 qmail won't be running that early in the boot, so it's not an issue.

 Charles

I'm probably confused; I've never set quotas on a Linux server before.  The
parts of the man page for quotacheck to which I was referring:

quotacheck expects each filesystem to be checked to have quota
files named aquota.user and aquota.group located at the root
of the associated file system.  If a file is not present, quotacheck
will create it.
...
It is strongly recommended to only run quotacheck with quotas turned
off and the filesystem unmounted or in read-only mode, or quota
corruption can occur. . .

I've never set quotas on this server before so I thought that I must first
run quotacheck to create the aquota.* files.  Since qmail will probably dump
at least one e-mail into somebody's Maildir while quotacheck is running I'm
at a loss as to how to keep qmail from delivering locally while still
accepting mail.

Thanks much.

---Norvell Spearman




Re: Peter from the Dike and Security

2001-06-27 Thread Alan Clegg

Unless the network is lying to me again, peter green said: 
 * Brett Randall [EMAIL PROTECTED] [010626 21:49]:
   Chris == Chris Bolt [EMAIL PROTECTED] writes:
  
   perl -e 'while(){$_=~tr/A-Za-z/N-ZA-Mn-za-m/;print}'
   Then paste the email :-)
  
  Or, a bit shorter,
  
  $ tr 'a-zA-Z' 'n-za-mN-ZA-M'  email
 
 Or a bit kludgier,
 
   perl -ni -e 'foreach (split //){unless(/\w/){print; next;}print
   chr(((ord(lc)-96+13)%26)+96)}'

Why not rot13  email

AlanC



Re: Peter from the Dike and Security

2001-06-27 Thread peter green

* Alan Clegg [EMAIL PROTECTED] [010627 09:22]:
 Unless the network is lying to me again, peter green said: 
  * Brett Randall [EMAIL PROTECTED] [010626 21:49]:
Chris == Chris Bolt [EMAIL PROTECTED] writes:
   
perl -e 'while(){$_=~tr/A-Za-z/N-ZA-Mn-za-m/;print}'
Then paste the email :-)
   
   Or, a bit shorter,
   
   $ tr 'a-zA-Z' 'n-za-mN-ZA-M'  email
  
  Or a bit kludgier,
  
perl -ni -e 'foreach (split //){unless(/\w/){print; next;}print
chr(((ord(lc)-96+13)%26)+96)}'
 
 Why not rot13  email

(pcg@pcg2) ~ rot13
bash: rot13: command not found

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




Re: Peter from the Dike and Security

2001-06-27 Thread Robin S. Socha

* peter green [EMAIL PROTECTED] [010627 08:32]:
 (pcg@pcg2) ~ rot13
 bash: rot13: command not found

(robin@mail1):(~)$ man caesar | head -n4
CAESAR(6)  OpenBSD Reference Manual CAESAR(6)

NAME
 caesar - decrypt caesar cyphers




RE: Qmail SMTP timing out.

2001-06-27 Thread Mike Peppard

I had a similar problem.  Without going into the details, mine was caused by
the proxy dropping the connection.  Have you tried snoop to watch the
packets  spray to test for errors with netstat?

Just a thought...
-Mike

 -Original Message-
 From: Grant [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 1:13 AM
 To: [EMAIL PROTECTED]
 Subject: Qmail SMTP timing out.




Re: Peter from the Dike and Security

2001-06-27 Thread peter green

* Robin S. Socha [EMAIL PROTECTED] [010627 09:42]:
 * peter green [EMAIL PROTECTED] [010627 08:32]:
  (pcg@pcg2) ~ rot13
  bash: rot13: command not found
 
 (robin@mail1):(~)$ man caesar | head -n4

(pcg@pcg2) ~ caesar
bash: caesar: command not found

Next? :-)

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
Ooohh.. FreeBSD is faster over loopback, when compared to
Linux over the wire. Film at 11.
(Linus Torvalds)




Re: Alter bounce messages?

2001-06-27 Thread Charles Cazabon

Amanda [EMAIL PROTECTED] wrote:
 
 In particular I'd like to terminate with extreme prejudice the message that
 says something to the effect of, Hi. This is the
[...]

Please don't.  That message has a very specific format, to allow it to be
recognized and parsed automatically.  The format is documented at:
http://cr.yp.to/proto/qsbmf.txt

As Russell says, What problem are you trying to solve?

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



Re: Anyone interested in IPv6 support for qmail?

2001-06-27 Thread mick

On Wed, 27 Jun 2001, Felix von Leitner wrote:

 I'm asking because I consider porting qmail to IPv6.
 
 Before someone tells me: I know KAME did a patch.  I am not satisfied
 with their work.
 
 Felix


I dread thinking about all the work IPv6 is going to cause. But we can't
slow progress. Yes, I would be interested. 

*
Mick Dobra
Systems Administrator
MTCO Communications
1-800-859-6826
*




Re: qmail-pop3 and vmailmgr

2001-06-27 Thread Charles Cazabon

pop corn [EMAIL PROTECTED] wrote:
 
 FQDN is very clear if the Unix host is serving a single domain. However, 
 what is recommended if the host is serving multiple virtual domains?

The POP3 server should identify itself by it's real/canonical name, not by one
of its virtualdomains -- although this is personal preference.  It doesn't
have any particular effect on mail service anyways.

 understand that this setup script is going to monitor port 110, but how will 
 it know how to distribute from port 110 to the various virtual domains?

It doesn't know anything about domains -- that's your virtual domain manager's
job (in this case, through the vcheckpw checkpassword replacement).

 Am I correct in thinking that the same user is going to be able to 
 dynamically choose whether to download the email or leave the email on the 
 server, depending on whether they use an MUA that downloads (for example, 
 Microsoft Outlook) or whether they use a webmail MUA (for example, 
 squirrelmail); and they can simply choose to use one MUA one day and the 
 other MUA a few minutes later in mix and match style?

If you run vmailmgr-assisted qmail-pop3d, Courier-IMAP, and (say) oMail, then
yes, users will be able to use any method they like.  By the way, all POP3
clients can be configured to leave mail on the server.

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



Re: SMTP Proxy

2001-06-27 Thread Charles Cazabon

Awie [EMAIL PROTECTED] wrote:
 
 I plan to have a SMTP proxy that using qmail. Our main mail server is MS
 Exchange that not secure enough for SMTP gateway.
 
 Would you give me suggestion what should I install ? and what configuration
 should I do?

See Life with qmail, lifewithqmail.org.  It's covered there.

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



[OT]: ROT13 [was: Re: Peter from the Dike and Security]

2001-06-27 Thread Peter van Dijk

On Wed, Jun 27, 2001 at 09:47:26AM -0400, peter green wrote:
 * Robin S. Socha [EMAIL PROTECTED] [010627 09:42]:
  * peter green [EMAIL PROTECTED] [010627 08:32]:
   (pcg@pcg2) ~ rot13
   bash: rot13: command not found
  
  (robin@mail1):(~)$ man caesar | head -n4
 
 (pcg@pcg2) ~ caesar
 bash: caesar: command not found
 
 Next? :-)

Please stop this useless thread. Get a search engine and find out how
to decode rot13.

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



Re: Sending mail using qmail smtp

2001-06-27 Thread Charles Cazabon

eddy [EMAIL PROTECTED] wrote:
 So, when I used my qmail smtp for send an email it show error
 The connection to the server has failed. Account: '[EMAIL PROTECTED]',
 Server: 'tiger.test.com', Protocol: SMTP, Port: 25, Secure(SSL): No, Socket
 Error: 10060, Error Number: 0x800CCC0E

I take it this is the error message given to you by Outlook?  We're not
familiar with Microsoft's error codes and numbers.  Call them, pay them their
$150 per incident (or whatever), and ask them to tell you what that error
means.

Or use recordio on your qmail server to record the offending SMTP
transactions, and post the resulting log here.  Then we can help you for free.

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



Re: Peter from the Dike and Security

2001-06-27 Thread Johan Almqvist

* Chris Bolt [EMAIL PROTECTED] [010627 02:01]:
 perl -e 'while(){$_=~tr/A-Za-z/N-ZA-Mn-za-m/;print}'

perl -pe'y/a-zA-Z/n-za-mN-ZA-M/'

-Johan
-- 
Johan Almqvist
http://www.almqvist.net/johan/qmail/

 PGP signature


Re: Alter bounce messages?

2001-06-27 Thread peter green

* Charles Cazabon [EMAIL PROTECTED] [010627 09:56]:
 Amanda [EMAIL PROTECTED] wrote:
  
  In particular I'd like to terminate with extreme prejudice the message that
  says something to the effect of, Hi. This is the
 [...]
 
 Please don't.  That message has a very specific format, to allow it to be
 recognized and parsed automatically.  The format is documented at:
 http://cr.yp.to/proto/qsbmf.txt

What is actually parsing that format these days? I can appreciate
forward-looking policies like qsbmf, but that doesn't exactly fly with
customers all of the time. What can I point to as a definite reason (*now*)
to keep qsbmf?

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
By the way, I can hardly feel sorry for you... All last night I had to listen 
to her tears, so great they were redirected to a stream.  What? Of _course_ 
you didn't know.  You and your little group no longer have any permissions 
around here.  She changed her .lock files, too.
(Kevin M. Bealer, commenting on the private life of a Linux nerd.)




RE: Peter from the Dike and Security

2001-06-27 Thread Mike Peppard

http://www.samag.com/articles/1997/9706/9706d/9706d.htm

I'm glad this is a slow week.
(Yahoo search keywords - caesar, encryption, unix)

-Mike
 -Original Message-
 From: peter green [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 9:47 AM
 To: Qmail List
 Subject: Re: Peter from the Dike and Security
 
 
 * Robin S. Socha [EMAIL PROTECTED] [010627 09:42]:
  * peter green [EMAIL PROTECTED] [010627 08:32]:
   (pcg@pcg2) ~ rot13
   bash: rot13: command not found
  
  (robin@mail1):(~)$ man caesar | head -n4
 
 (pcg@pcg2) ~ caesar
 bash: caesar: command not found
 
 Next? :-)
 
 /pg
 -- 
 Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
 ---
 Ooohh.. FreeBSD is faster over loopback, when compared to
 Linux over the wire. Film at 11.
 (Linus Torvalds)
 
 



Re: Portable RPM for qmail

2001-06-27 Thread Charles Cazabon

John Newbigin [EMAIL PROTECTED] wrote:
 I am probably going to start a flame war with this but I have created a
 patch for qmail 1.03 which removes the need for compiled in user and
 group id's.
 
 The patch works by replacing the auto_uida variables with #defines which
 call functions to return the correct uid.  Once the user id has been
 looked up it is remembered should the same instance try to look it up
 again.

Bruce Guenter has been distributing a patch like this for years; it takes its
UIDs and GIDs from the ownership of a set of files in /var/qmail/owners --
nice, because if you want to do a global renumbering of UIDs, qmail gets fixed
automatically by the same process you use to change ownership of the rest of
the filesystem.

 With this patch in place it is possible to build an RPM which can be
 safely installed without the need to relink or binary edit and files.

Except the resulting binary RPM will not be distributable.

 My second question is about the licence for qmail.  Despite all my
 looking I can't find it.  Can someone point me to the licence or
 summarise what I can do with a binary RPM.

See Dan's Information for qmail distributors (or such).  Basically:  you
can't distribute modified source, if you want to distribute any binaries they
have to meet his var-qmail (?) definition.

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



Re: Peter from the Dike and Security

2001-06-27 Thread Brian S. Craigie


Just open the email in Netscape Messenger, right-mouse on the body and click
unscramble [ROT-13].

Brain.


peter green wrote:

 * Robin S. Socha [EMAIL PROTECTED] [010627 09:42]:
  * peter green [EMAIL PROTECTED] [010627 08:32]:
   (pcg@pcg2) ~ rot13
   bash: rot13: command not found
 
  (robin@mail1):(~)$ man caesar | head -n4

 (pcg@pcg2) ~ caesar
 bash: caesar: command not found

 Next? :-)

 /pg
 --
 Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
 ---
 Ooohh.. FreeBSD is faster over loopback, when compared to
 Linux over the wire. Film at 11.
 (Linus Torvalds)




Re: Alter bounce messages?

2001-06-27 Thread Peter van Dijk

On Wed, Jun 27, 2001 at 10:01:44AM -0400, peter green wrote:
[snip]
 What is actually parsing that format these days? I can appreciate
 forward-looking policies like qsbmf, but that doesn't exactly fly with
 customers all of the time. What can I point to as a definite reason (*now*)
 to keep qsbmf?

ezmlm parses qsmbf.

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



RE: Alter bounce messages?

2001-06-27 Thread Mark Douglas
Title: RE: Alter bounce messages?





I'm looking for this same information, and although it has been answered earlier (edit the qmail-send.c file), I'll state what problem I'm trying to solve.

I have a lot of users who are not English speaking, and I get a lot of replies to my bounce messages from them to MAILER-DAEMON asking what the hell the message says. I'd like to include a translated version of the message in the bounce message, as well as a note saying that it's not required for them to reply to the message (I get a lot of thanks for telling me replies, as well).

If I leave the original bounce message in place, and just translate it and add my comments at the bottom, would that still be acceptable for QSBMF?

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



-Original Message-
From: Charles Cazabon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 9:49
To: [EMAIL PROTECTED]
Subject: Re: Alter bounce messages?



Amanda [EMAIL PROTECTED] wrote:
 
 In particular I'd like to terminate with extreme prejudice the message that
 says something to the effect of, Hi. This is the
[...]


Please don't. That message has a very specific format, to allow it to be
recognized and parsed automatically. The format is documented at:
http://cr.yp.to/proto/qsbmf.txt


As Russell says, What problem are you trying to solve?


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





Re: Databyes

2001-06-27 Thread Peter van Dijk

On Wed, Jun 27, 2001 at 04:06:16PM +0200, Sebastiaan van Erk wrote:
 Hi there,
 
 Is it possible to override the databytes value in the control/databytes
 file based on the _destination_ of the email. I know how to change the
 DATABYTES environment variable using tcpwrappers or tcpserver based on
 the origin of the connecting SMTP server, but I wish to allow large
 mails to some (virtual) domains and not to others.
 
 Or is this the wrong place to try and achieve this goal?

What you want would require patching qmail-smtpd.

You could try doing a fixup trick (as specified in the FAQ) and then
checking the size from a .qmail file. A program to do so was posted to
this list a couple of weeks ago, check the archives for 'sizechecker'.

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



Re: qmailAdmin

2001-06-27 Thread Erich Zigler

On Wed, Jun 27, 2001 at 10:42:40AM +0100, pat moffatt wrote:

 I came across a web based administration tool for qmail called qmailadmin on 
www.inter7.com/qmailadmin . Has anyone any experience of this?? Is it any good??

It is very good. We give all of our webhosting clients access to it, and we
have never received one complaint.

-- 
Erich Zigler

An angel Cornfed, one phone call and I was swept away. She is everything 
I ever hoped for in a woman. -- Duckman
Low standards? -- Cornfed
I'm keeping my fingers crossed. -- Duckman



Re: Peter from the Dike and Security

2001-06-27 Thread Karsten W. Rohrbach

peter green([EMAIL PROTECTED])@2001.06.27 09:47:26 +:
 * Robin S. Socha [EMAIL PROTECTED] [010627 09:42]:
  * peter green [EMAIL PROTECTED] [010627 08:32]:
   (pcg@pcg2) ~ rot13
   bash: rot13: command not found
  
  (robin@mail1):(~)$ man caesar | head -n4
 
 (pcg@pcg2) ~ caesar
 bash: caesar: command not found
 
 Next? :-)

PATH=/usr/games:${PATH}  export PATH

 
 /pg
 -- 
 Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
 ---
 Ooohh.. FreeBSD is faster over loopback, when compared to
 Linux over the wire. Film at 11.
 (Linus Torvalds)

-- 
 ASCII Ribbon Campaign - NO HTML/RTF in e-mail - NO Word docs in e-mail
KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie
http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.net/
karstenrohrbach.de -- alphangenn.net -- alphascene.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: Peter from the Dike and Security

2001-06-27 Thread Bill Andersen

You guys are making this way too hard...

Copy the text, go to http://world.altavista.com/tr
and paste it in the translate to... box.

Then choose Garbage to English and click on Translate

Poof!  You get it back translated into English garbage :)


-Original Message-
From: Mike Peppard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 9:03 AM
To: Qmail List
Subject: RE: Peter from the Dike and Security


http://www.samag.com/articles/1997/9706/9706d/9706d.htm

I'm glad this is a slow week.
(Yahoo search keywords - caesar, encryption, unix)



Re: setting quotas. . .

2001-06-27 Thread Adrian Ho

On Wed, Jun 27, 2001 at 08:07:35AM -0500, Norvell Spearman wrote:
 I'm probably confused; I've never set quotas on a Linux server before.

Did you check out the other man pages listed in the SEE ALSO section of
the quotacheck man page?  If you didn't, you should have -- you would then
have discovered exactly what creates the quota.{user,group} files.  (Hint:
They're created when you turn quotas on.)

And if I read your requirements correctly, qmail already does what you
want, with no special configuration needed.  Read PIC.* and the relevant
qmail-* man pages (in this case, qmail-queue and qmail-send) to see why.

- Adrian



RE: sender_was_rejected./Remote_host_said:____/

2001-06-27 Thread Alfonso Armenta

That didn't seem to do, apparently, I checked the correct functionality of our DNS and 
so on.

Although in my log quote I used fake addresses those were just slightly changed. The 
usual protect the innocent (not from the
regulars from this list, of course).

Actually I do remember obtaining one of those messages and log entries when I tried to 
subscribe to this list. Which would mean that
q-mail smtp daemons do give this Remote_host_said: response.

Anyone has any pointers?

The weirdest thing is that we have another qmail installation in here that does not 
receive any of those messages at all. Although I
could re-route all outgoing e-mail to it, I rather not as it is a customer system.

I am trying to figure out what is the reason for _our_ server to fail, rather than 
just patch it using another one that works...

Yet again, thanks for your time.

-Original Message-
From: Ahmad Ridha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 3:46 PM
To: [EMAIL PROTECTED]
Subject: Re: sender_was_rejected./Remote_host_said:/


Alfonso Armenta writes:

 new msg 2703468
 info msg 2703468: bytes 4430 from [EMAIL PROTECTED] qp 28506 uid 502
 starting delivery 106109: msg 2703468 to remote [EMAIL PROTECTED]
 status: local 0/100 remote 1/100
 delivery 106109: failure: 
Connected_to_195.98.97.5_but_sender_was_rejected./Remote_host_said:/
 status: local 0/100 remote 0/100
 bounce msg 2703468 qp 28512
 end msg 2703468

 Apparently this is 'random' error.

 The user then gets a bounce like this:

 Connected to 195.98.97.5 but sender was rejected.
 Remote host said: 

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

 Any clues/hints?


Is your fqdn valid (known to the Internet)? I experienced the error when
experimenting with my first qmail installation using unknown fqdn and the
destination host did domain checking. I noticed usa.net and stupid.com were
some of such ones.

Regards,

Ahmad Ridha




Re: Alter bounce messages?

2001-06-27 Thread Charles Cazabon

peter green [EMAIL PROTECTED] wrote:
  
  Please don't.  That message has a very specific format, to allow it to be
  recognized and parsed automatically.  The format is documented at:
  http://cr.yp.to/proto/qsbmf.txt
 
 What is actually parsing that format these days? I can appreciate
 forward-looking policies like qsbmf, but that doesn't exactly fly with
 customers all of the time. What can I point to as a definite reason (*now*)
 to keep qsbmf?

Peter van Dijk mentioned that ezmlm parses QSBMF.  However, the bigger
question is What is the the definite reason (*now*) for _not_ keeping QSBMF?
I have seen lots of people who say they want to change the content of qmail's
bounce messages, but no one has ever been able to give a good reason why.

The current message is informative, clear, and concise.  What else could you
want?

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



RE: setting quotas. . .

2001-06-27 Thread Norvell Spearman

 If the filesystem isn't mounted, then qmail isn't going to be
 delivering mail to it, is it?

So if I umount /home while qmail is up, will qmail barf or simply wait for
/home to be remounted?

 To run quotacheck, you should probably go to
 single user mode,
 unmount all unnecessary filesystems, etc.  When you do this, you
 aren't going
 to be running any unnecessary daemons (like qmail).

 Charles

I know single user mode would be best; I could do the quota stuff late at
night.  But what would happen if mail comes to the server and qmail isn't
running?  Does it simply bounce back to the sender, does the originating
smtp server keep trying for a while, or does all that depend on how the
destination mail server is configured?  I'm trying to avoid having my users
yell at me if they don't get an e-mail they're expecting, or if they can't
send e-mail out.  That's why I originally asked about whether qmail can
accept mail for delivery (local and remote) while not delivering mail
locally.

Thanks much for any help.

---Norvell Spearman




Re: Alter bounce messages?

2001-06-27 Thread Adrian Ho

On Wed, Jun 27, 2001 at 10:43:07AM -0400, Mark Douglas wrote:
 If I leave the original bounce message in place, and just translate it and
 add my comments at the bottom, would that still be acceptable for QSBMF?

Only if you append it to the intro paragraph (ie. no blank lines in
between).  As Charles pointed out,

 http://cr.yp.to/proto/qsbmf.txt

has all the details.

- Adrian



Re: Alter bounce messages?

2001-06-27 Thread Charles Cazabon

Mark Douglas [EMAIL PROTECTED] wrote:
 
 I have a lot of users who are not English speaking, and I get a lot of
 replies to my bounce messages from them to MAILER-DAEMON asking what the
 hell the message says. I'd like to include a translated version of the
 message in the bounce message, as well as a note saying that it's not
 required for them to reply to the message (I get a lot of thanks for
 telling me replies, as well).
 
 If I leave the original bounce message in place, and just translate it and
 add my comments at the bottom, would that still be acceptable for QSBMF?

Yes, that's fine, providing it still fulfills the format requirements of
QSBMF.  Primarily, that means a single introductory paragraph -- this means no
blank lines between the English and the translated version -- you can put an
almost-blank line in my starting with something other than -

Hi. This is the qmail-send program at silverton.berkeley.edu.
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.
=
Bonjour.  [message in French or other language]


That would probably do what you want, and wouldn't break QSBMF parsers.

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



custom bounce text

2001-06-27 Thread Mike Jackson

Hi,
 The qmail-ldap patch contains support for a control/custombouncetext. 

$ cat custombouncetext 
This is a test, your message bounced.
SSH Communications Security

This will produce bounces like so:

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

This is a test, your message bounced.
SSH Communications Security


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

The patched file is qmail-send.c. I suppose you could pull the code from
there, even if you don't use the rest of the ldap stuff.

Regards,
Mike



Re: sender_was_rejected./Remote_host_said:____/

2001-06-27 Thread Charles Cazabon

Alfonso Armenta [EMAIL PROTECTED] wrote:
 
 Although in my log quote I used fake addresses those were just slightly
 changed. The usual protect the innocent (not from the regulars from this
 list, of course).
 
 Actually I do remember obtaining one of those messages and log entries when
 I tried to subscribe to this list. Which would mean that q-mail smtp daemons
 do give this Remote_host_said: response.

sender was rejected usually means that the remote SMTP server issued a 5xx
or 4xx code after the MAIL FROM: command.  This can be due to DNS problems
when remote sites use bogus anti-spam measures.

You'll also see this with some sites that reject empty envelope senders (i.e.,
you can't send a bounce to them).

In general, sites that use either of these strategies aren't worth sending
mail to.

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



RE: Alter bounce messages?

2001-06-27 Thread Mark Douglas
Title: RE: Alter bounce messages?





peter green [EMAIL PROTECTED] wrote:
  
  Please don't. That message has a very specific format, to allow it to be
  recognized and parsed automatically. The format is documented at:
  http://cr.yp.to/proto/qsbmf.txt
 
 What is actually parsing that format these days? I can appreciate
 forward-looking policies like qsbmf, but that doesn't exactly fly with
 customers all of the time. What can I point to as a definite reason (*now*)
 to keep qsbmf?


Peter van Dijk mentioned that ezmlm parses QSBMF. However, the bigger
question is What is the the definite reason (*now*) for _not_ keeping QSBMF?
I have seen lots of people who say they want to change the content of qmail's
bounce messages, but no one has ever been able to give a good reason why.


The current message is informative, clear, and concise. What else could you
want?


Charles
-- 



See my earlier reply to this thread as to why I would like to change the message. In order to provide my customers with the best service possible, I consider those very good reasons to change the message.

Mark





Re: setting quotas. . .

2001-06-27 Thread Charles Cazabon

Norvell Spearman [EMAIL PROTECTED] wrote:
  If the filesystem isn't mounted, then qmail isn't going to be
  delivering mail to it, is it?
 
 So if I umount /home while qmail is up, will qmail barf or simply wait for
 /home to be remounted?

You still don't get it.  Running quotacheck is something you do after a major
system failure, etc.  You do this from single user mode, before mounting other
filesystems, before starting networking at all, let alone network daemons.

On SysV-style systems, single user mode, where you do major system repairs and
whatnot, is runlevel 1.  Networking isn't enabled until you hit runlevel 3.
And things like qmail-send shouldn't be started until at _least_ runlevel 2,
preferably runlevel 3.

This has nothing whatsoever to do with qmail.  Take further questions about
quotacheck to the supportl list for your OS.

 I know single user mode would be best; I could do the quota stuff late at
 night.  But what would happen if mail comes to the server and qmail isn't
 running?

It's deferred.  The sender will try again later if they can't establish a
connection.  If you don't like that, pay someone to be a backup MX for you.

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



Re: setting quotas. . .

2001-06-27 Thread Greg White

On Wed, Jun 27, 2001 at 10:38:28AM -0500, Norvell Spearman wrote:
 I know single user mode would be best; I could do the quota stuff late at
 night.  But what would happen if mail comes to the server and qmail isn't
 running?  Does it simply bounce back to the sender, does the originating
 smtp server keep trying for a while, or does all that depend on how the
 destination mail server is configured?


Unless the sending mail server is completely broken, it will queue and
retry.


 I'm trying to avoid having my users
 yell at me if they don't get an e-mail they're expecting, or if they can't
 send e-mail out.  That's why I originally asked about whether qmail can
 accept mail for delivery (local and remote) while not delivering mail
 locally.
 

svc -d /service/qmail-send will allow qmail to accept mail via SMTP and
queue it, but not deliver it.

Making all possible delivery directories sticky will postpone all
deliveries.

IMHO, single-user mode, unmount filesystem, set up quotas, back to
multiuser mode is probably your best bet. Your odds of losing any mail
during this transaction are extremely low, unless the sending mail
servers are totally useless...

-- 
Greg White



RE: SMTP Proxy

2001-06-27 Thread Lukas Beeler


-Original Message-
From: Awie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 3:29 AM
To: [EMAIL PROTECTED]
Subject: SMTP Proxy

Hi all,
hi

I plan to have a SMTP proxy that using qmail.
good idea
Our main mail server is MS Exchange that not secure enough for SMTP
gateway.
yes of course.. why just put msx in the thrash and use qmail for all
[dont look at my mime header, iam using outlook XP as mail client ]

Would you give me suggestion what should I install ? and what
configuration should I do?
install a normal qmail installation as described in life with qmail
www.lifewithqmail.org i think, and then setup a smart host or something
similar in the
ms exchange config. Then add an smtproute in your qmail config to the
exchange server
e voila :)


Many thanks for your help.


Thx  rgds,

Awie





RE: setting quotas. . .

2001-06-27 Thread Norvell Spearman

 Did you check out the other man pages listed in the SEE ALSO section of
 the quotacheck man page?  If you didn't, you should have -- you would then
 have discovered exactly what creates the quota.{user,group} files.  (Hint:
 They're created when you turn quotas on.)

 - Adrian

I must be reading different man pages than yours.  The quotaon man page is
referred to in quotacheck's man page.  This is what I read from
`man quotaon`:

  NAME
  quotaon - turn file system quotas on and off
  . . .
  quotaon expects quota files to be present in the root directory
  of the specified file system and be named aquota.user
  for user quota or aquota.group for group quota. These files can
  be created either by converting old quota files with
  convertquota(8) or by quotacheck(8)
  which creates completely new files.
  ^^*

Then quotacheck's man page:

  quotacheck expects each filesystem to be checked to have quota
  files named aquota.user and aquota.group located at the root
  of the associated filesystem.  If a file is not present,
  quotacheck will create it.
  ^*
  . . .
  It is strongly recommended to only run quotacheck with quotas
  turned off and the filesystem unmounted or in read-only mode, or
  quota corruption can occur.

So what creates the quota files besides quotacheck?  Thanks for your help
and all apologies for straying off this list's theme. . .

---Norvell
__
*Annoying ASCII emphasis added by message's author




Bruce Guenter's relay-ctrl

2001-06-27 Thread Todd Grimes

when i run relay-ctrl-age from cron or command line, i get # 
/usr/local/bin: Permission denied

I've checked the permissions, from cron its run as root.  The only files it 
should be using in /usr/local/bin is tcprules

is this behavior normal? or have I got a few things screwed up?

Thanks in advance


=
Todd Grimes [EMAIL PROTECTED]
Internet Systems Specialist   [EMAIL PROTECTED]
Bass Pro Outdoors Online, L.L.C.(417)873-4354





Re: sender_was_rejected./Remote_host_said:____/

2001-06-27 Thread Peter van Dijk

On Wed, Jun 27, 2001 at 10:33:32AM -0600, Charles Cazabon wrote:
 Alfonso Armenta [EMAIL PROTECTED] wrote:
  
  Although in my log quote I used fake addresses those were just slightly
  changed. The usual protect the innocent (not from the regulars from this
  list, of course).
  
  Actually I do remember obtaining one of those messages and log entries when
  I tried to subscribe to this list. Which would mean that q-mail smtp daemons
  do give this Remote_host_said: response.
 
 sender was rejected usually means that the remote SMTP server issued a 5xx
 or 4xx code after the MAIL FROM: command.  This can be due to DNS problems
 when remote sites use bogus anti-spam measures.

(or) badmailfrom. (you could consider that bogus too :)

 You'll also see this with some sites that reject empty envelope senders (i.e.,
 you can't send a bounce to them).

http://www.rfc-ignorant.org/

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



Re: qmail-getpw

2001-06-27 Thread Andrew J Herbert

No unfortunately I do not, it would make life a lot easier if that was all
that was wrong. The way the system is set up the admins have logins in a
real /etc/passwd on the machine, then there is an ldap server that
provides information on the 'users'.

The admins in the /etc/passwd file can receive mail, but the users on the
LDAP server can't.

However if I run qmail-getpw from the command line it retrieves the users
information no problem, same as with the admins. The permissions on the
Maildirs and homedirs are all fine, as are ownerships. So I can't
understand why qmail still refuses to deliver.

The fact the qmail-getpw seems to work is what confuses me.

herbie

__
This is an email, an electronic Post-It note. 
Keep your Inbox tidy and dispose of it in a timely fashion.

On Tue, 26 Jun 2001, Charles Cazabon wrote:

 Andrew J Herbert [EMAIL PROTECTED] wrote:
  Does qmail use any other delivery mechainism's by default?
  
  I have found that using nss_ldap, people in the local passwd file will get
  email, people in the LDAP database will not. Yet I can run qmail-getpw on
  a user in LDAP and it returns the right response, yet still will not
  deliver the mail. What am I missing?
 
 qmail-getpw will not be used if the qmail-users mechanism is in place.  Do you
 have a /var/qmail/users/cdb file?
 
 Charles
 -- 
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---
 




Can't send mail using SMTP on qmail 1.03 - Follow-up

2001-06-27 Thread Perry Macdonald

I had posted a question earlier regarding a problem sending mail to
SMTP.  I have a snippet below from recordio when I send a message body
containgn 123 .   The last few lines of the SMTP transaction produced
by Outlook ..


Jun 26 07:42:33 fs1 smtpd: 993566553.076015 13548  X-MimeOLE: Produced
By Microsoft MimeOLE V5.50.4133.2400?
Jun 26 07:42:33 fs1 smtpd: 993566553.111918 13548  Importance: Normal?
Jun 26 07:42:33 fs1 smtpd: 993566553.155504 13548  ?
Jun 26 07:42:33 fs1 smtpd: 993566553.189866 13548  123+

... and a similar snippet produced by Netscape, (which was successful
when I hit Cancel) 


Jun 26 07:46:18 fs1 smtpd: 993566778.482630 13581  Subject: testing?
Jun 26 07:46:18 fs1 smtpd: 993566778.506109 13581  Con+
Jun 26 07:46:18 fs1 smtpd: 993566778.530051 13581  tent-Type:
text/plain;charset=us-ascii?
Jun 26 07:46:18 fs1 smtpd: 993566778.553979 13581
Content-Transfer-Encoding: 7bit?
Jun 26 07:46:18 fs1 smtpd: 993566778.577895 13581  ?
Jun 26 07:46:18 fs1 smtpd: 993566778.601820 13581  123?
Jun 26 07:46:31 fs1 smtpd: 993566791.539676 13581  ?
Jun 26 07:46:31 fs1 smtpd: 993566791.539755 13581  .?
Jun 26 07:46:31 fs1 smtpd: 993566791.539774 13581  QUIT?
Jun 26 07:46:31 fs1 smtpd: 993566791.539792 13581  [EOF]


Can anyone tell me the significance of the + symbol following the 123
message from Outlook?  Netscape produced a ?  I seem to remember
somthing in the documentation discussing this but can't find it now.

TIA




RE: Bruce Guenter's relay-ctrl

2001-06-27 Thread Lukas Beeler



 -Original Message-
 From: Todd Grimes [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 7:05 PM
 To: [EMAIL PROTECTED]
 Subject: Bruce Guenter's relay-ctrl


 when i run relay-ctrl-age from cron or command line, i get #
 /usr/local/bin: Permission denied
probably trying to exec a directory ?


 I've checked the permissions, from cron its run as root.  The
 only files it
 should be using in /usr/local/bin is tcprules

 is this behavior normal? or have I got a few things screwed up?

 Thanks in advance


 =
 Todd Grimes [EMAIL PROTECTED]
 Internet Systems Specialist   [EMAIL PROTECTED]
 Bass Pro Outdoors Online, L.L.C.(417)873-4354








RE: setting quotas. . .

2001-06-27 Thread Norvell Spearman

 IMHO, single-user mode, unmount filesystem, set up quotas, back to
 multiuser mode is probably your best bet. Your odds of losing any mail
 during this transaction are extremely low, unless the sending mail
 servers are totally useless...

 Greg White

Thanks very much.

I would like to apologize to the entire list---as I have to Charles
Cazabon---for any irrelevant postings and for taking up the list's time and
resources.  My original question had to do with setting quotas on /home and
how qmail would react if /home suddenly wasn't available.  But I must have
worded my questions terribly.  Thanks to Adrian Ho for pointing me to the
PIC.* files.  I will definitely RTFM more closely next time and hopefully
not be a bother.

---Norvell Spearman




[OT] rackmount chassis?

2001-06-27 Thread Mike Cathey

I realize this is slightly off topic (relates to qmail indirectly), but 
I though some of the people on this list might be able help me a bit.

I'm attempting to setup a failover nfs server with 2 machines.  They 
will have a shared scsi bus between them with 2 raid controllers for 
redundancy.  I'm just not sure where to look for a good rackmount 
chassis to put the raid controllers and disks in.  I've seen a lot of 4U 
8-bay drive chassis (with redundant power supplies) at fairly reasonable 
prices, but I'd like to hear from people who are using and happy with a 
specific vendor.

I apologize for spamming the list with something somewhat off topic, but 
this is for a pop toaster--so it's not completely off topic.

Thanks,

Mike




Re: custom bounce text

2001-06-27 Thread Dave Sill

[EMAIL PROTECTED] wrote:

 The qmail-ldap patch contains support for a control/custombouncetext. 

$ cat custombouncetext 
This is a test, your message bounced.
SSH Communications Security

This will produce bounces like so:

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

This is a test, your message bounced.
SSH Communications Security


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

Note that that bounce message is not QSMBF-compliant.

-Dave



Re: Bruce Guenter's relay-ctrl

2001-06-27 Thread Charles Cazabon

Todd Grimes [EMAIL PROTECTED] wrote:
 when i run relay-ctrl-age from cron or command line, i get # 
 /usr/local/bin: Permission denied

Do you have a space between /usr/local/bin and relay-ctrl-age or some other
program in your cron script?

Please post your script here (copy  paste, NOT retyped).

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



Re: qmail-getpw

2001-06-27 Thread Charles Cazabon

Andrew J Herbert [EMAIL PROTECTED] wrote:
 
 The admins in the /etc/passwd file can receive mail, but the users on the
 LDAP server can't.
 
 However if I run qmail-getpw from the command line it retrieves the users
 information no problem, same as with the admins. The permissions on the
 Maildirs and homedirs are all fine, as are ownerships. So I can't
 understand why qmail still refuses to deliver.

From the qmail-getpw man page (just for clarity's sake):

  qmail-getpw considers an account in /etc/passwd  to  be  a user  if  (1)
  the  account  has  a  nonzero  uid, (2) the account's home directory exists
  (and is visible to qmail- getpw),  and  (3)  the  account  owns  its home
  directory.  qmail-getpw ignores  account  names containing  uppercase
  letters.   qmail-getpw also assumes that all account names are shorter than
  32 characters.

Are all of these conditions true for your LDAP users?  What is the exact
output of the command:

  qmail-getpw ldap_user_name | tr '\0' '\n'

 The fact the qmail-getpw seems to work is what confuses me.

You said you're not using qmail-users.  Does qmail-LDAP still use qmail-getpw
then?  If not, that would explain this, if you're actually using qmail-LDAP (I
can't remember if you said you were).

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



Auth problems

2001-06-27 Thread Todd Grimes

I was running qmail-pop3d from inetd on FreeBSD 4.3 with no problems 
getting my mail.  I took a suggestion and moved to running it under 
tcpserver.  Now using the same username and password I get a -ERR 
authorization failed.

qmail-pop3d start script:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -l 0 0 110 /var/qmail/bin/qmail-popup \
 mail.oims.net /bin/checkpoppasswd relay-ctrl-allow 
/var/qmail/bin/qmail-pop3d Maildir 21

the program /bin/checkpoppasswd worked just fine under inetd.

Now, even when I try /var/qmail/bin/qmail-popup mail.oims.net 
/bin/checkpoppasswd and enter USER myusername and PASS mypassword

I get the same error.  the checkpoppasswd came form Paul Gregg's projects 
(http://www.pgregg.com/projects/)

Any suggestions?



=
Todd Grimes [EMAIL PROTECTED]
Internet Systems Specialist   [EMAIL PROTECTED]
Bass Pro Outdoors Online, L.L.C.(417)873-4354





Re: Can't send mail using SMTP on qmail 1.03 - Follow-up

2001-06-27 Thread Charles Cazabon

Perry Macdonald [EMAIL PROTECTED] wrote:
 I had posted a question earlier regarding a problem sending mail to
 SMTP.  I have a snippet below from recordio when I send a message body
 containgn 123 .   The last few lines of the SMTP transaction produced
 by Outlook ..
 
 Jun 26 07:42:33 fs1 smtpd: 993566553.076015 13548  X-MimeOLE: Produced
 By Microsoft MimeOLE V5.50.4133.2400?
 Jun 26 07:42:33 fs1 smtpd: 993566553.111918 13548  Importance: Normal?
 Jun 26 07:42:33 fs1 smtpd: 993566553.155504 13548  ?
 Jun 26 07:42:33 fs1 smtpd: 993566553.189866 13548  123+
[...]
 Can anyone tell me the significance of the + symbol following the 123
 message from Outlook?

From the recordio manpage:

 At the beginning of each line on  descriptor  2,  recordio inserts  the
 prog process ID, along with  for input or  for output. At the end of
 each line it inserts +, a space, or  [EOF];  a space indicates that there
 was a new line in the input or output, and [EOF] indicates the end of
 input or output.

The way I read that (*), Outlook sent a bare linefeed.  That's a no-no.
Netscape behaved properly in your other example.  You could try using fixcrio,
or get Microsoft to fix their broken software.

Charles

(*) Upside down, in a bad light.  -- Pratchett?
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Bruce Guenter's relay-ctrl

2001-06-27 Thread Todd Grimes

*   *   *   *   *   root/usr/sbin/relay-ctrl-age

At 01:43 PM 6/27/2001 -0600, you wrote:
Todd Grimes [EMAIL PROTECTED] wrote:
  when i run relay-ctrl-age from cron or command line, i get #
  /usr/local/bin: Permission denied

Do you have a space between /usr/local/bin and relay-ctrl-age or some other
program in your cron script?

Please post your script here (copy  paste, NOT retyped).

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




Re: qmail-getpw

2001-06-27 Thread Henning Brauer

On Wed, Jun 27, 2001 at 01:49:41PM -0600, Charles Cazabon wrote:
  The fact the qmail-getpw seems to work is what confuses me. 
 You said you're not using qmail-users.  Does qmail-LDAP still use qmail-getpw
 then?  If not, that would explain this, if you're actually using qmail-LDAP (I
 can't remember if you said you were).

On qmail-ldap, verify your user settings via qmail-ldaplookup. Otherwise ask
for help on its list, I'd be happy to provide help there if you send a
reasonable complete 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)



Re: Java and Qmail - building a large mailmerge server - plain text version

2001-06-27 Thread Greg Cope

Russell Nelson wrote:
 
 
 The problem, simply enough, is that you should try very, very hard not
 to have a separate copy of the email on the disk.  If you're running
 qmail-inject on each message, then yes, three machines aren't going to
 be enough.  On the other hand, three machines of the type you describe
 below will be sufficient to deliver one million emails in about eight
 hours, IF you're doing the mail merge function at delivery time.
 
 You can do that using the qmail-verh patch, you could call
 qmail-remote directly (in theory; I don't know that anyone is doing
 that), or you could purchase my qmail-merge system.  It lets you
 substitute multiple fields into each message.  So you could substitute
 in a first name, a last name, a database ID number, or whatever else
 you want.  Handles bounces, and runs everything through the database.
 Details upon request.
 

Russ,

I emailed you off list a few days ago about your qmail-merge system, but
as yet have had no reply did you get it ?  Can please contact me off
list.

appologis to rest of list for a gratuitous waste of bandwidth

Thanks

Greg

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





Re: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Well I think I may have located the source of the trouble but 
it's still puzzling. Both the Life With Qmail and the Running 
qmail book want the /var/qmail directory created while logged in 
as root. That gives ownership to the user root in the group 
root. Then, the qmail-specific groups and users are added. The 
problem is that when I run linuxconf and look at the created 
users, I receive a warning that the home directory of /var/qmail 
has an invalid owner and group. Could this be the cause of my 
problems? I'm not exactly a newbie to file and directory 
permissions, but in reading all the qmail documentation I can 
lay my hands on I see nothing that indicates I need to change 
the ownership and group of /var/qmail from root/root. 
Nevertheless, linuxconf is whining and my compile goes nowhere, 
and this all smells like a permissions issue. 

I'm running Mandrake 8. 

Thanks for your patient help. 

Steve. 



 On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve Reed wrote:
  So, I'm stumped.  Why is config (or config-fast) unhappy?
 
 Because it's expecting dirs and stuff in /var/qmail that 
aren't there.
 
 Run strings - install | grep / and look for a fully-
qualified path
 (ie. starting with a slash) that doesn't look system-related.  
In your
 case, since you didn't change conf-qmail, you should 
see /var/qmail.
 If you see something else instead, that's where all your qmail 
stuff got
 installed -- all you gotta do is figure out why it went 
there.  8-)
 
 - Adrian
 




Re: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Excuse me while I go bang my head against the wall.  OK, there 
now that that's over withhas anyone else had trouble 
installing qmail on Mandrake 8?  

I'm following the instructions to the letter and the darn thing 
won't install.  I'd much rather find the reason for it and fix 
it than install an older version of the operating system, which 
can present other issues.  

-Steve


 I am also new at this and the first thing I had to do
 was stop using linuxconf. Linuxconf seems to have a
 mind of its own and it will regularly change ownership
 based on its own set of rules. BTW, I don't know
 exactly why. The second thing I did was rebuild my
 machine with Mandrake 7.2 (from 8.0)
 
 I had all kinds of trouble with mandrake 8 in all
 different apps. 
 
 So far with mandrake 7.2 back online all my installs
 have been clean. 
 
 I use the command line mostly and webmin to look at
 users and groups...
 
 Tina
 
 
 --- Steve Reed [EMAIL PROTECTED] wrote:
  Well I think I may have located the source of the
  trouble but 
  it's still puzzling. Both the Life With Qmail and
  the Running 
  qmail book want the /var/qmail directory created
  while logged in 
  as root. That gives ownership to the user root in
  the group 
  root. Then, the qmail-specific groups and users are
  added. The 
  problem is that when I run linuxconf and look at the
  created 
  users, I receive a warning that the home directory
  of /var/qmail 
  has an invalid owner and group. Could this be the
  cause of my 
  problems? I'm not exactly a newbie to file and
  directory 
  permissions, but in reading all the qmail
  documentation I can 
  lay my hands on I see nothing that indicates I need
  to change 
  the ownership and group of /var/qmail from
  root/root. 
  Nevertheless, linuxconf is whining and my compile
  goes nowhere, 
  and this all smells like a permissions issue. 
  
  I'm running Mandrake 8. 
  
  Thanks for your patient help. 
  
  Steve. 
  
  
  
   On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
  Reed wrote:
So, I'm stumped.  Why is config (or config-fast)
  unhappy?
   
   Because it's expecting dirs and stuff in
  /var/qmail that 
  aren't there.
   
   Run strings - install | grep / and look for a
  fully-
  qualified path
   (ie. starting with a slash) that doesn't look
  system-related.  
  In your
   case, since you didn't change conf-qmail, you
  should 
  see /var/qmail.
   If you see something else instead, that's where
  all your qmail 
  stuff got
   installed -- all you gotta do is figure out why it
  went 
  there.  8-)
   
   - Adrian
   
  
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail
 http://personal.mail.yahoo.com/
 




Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Federico Edelman Anaya

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? :)


Thanks very much!




Re: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Hi,

I installed Mandrake using the 2 CDs, the latest distro 
(downloaded the ISOs and burned the CDs).  It seemed to install 
perfectly fine.

I want to use qmail because it seems to have the best 
reputation.  Mandrake comes with Postfix, which I chose to not 
install.  From what I've read online, Postfix isn't exactly a 
top choice.

Steve



 Did you use one CD for the mandrake 8 install or the two CD?  
Mandrake 8 really
 went out the door with issues.
 
 I would use RH7.1 or Mandrake 7.1 I have installed qmail fine 
on both.  Mandrake
 8 has some bad code in the CD -- also, Mandrake can be made 
secure as a server,
 but it installs a lot of client-side crap.
 
 sorry if that doesn't help,
 davidu
 
 
 -Original Message-
 From: Steve Reed [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 4:37 PM
 To: Yvette 'Tina' Martinez
 Cc: [EMAIL PROTECTED]
 Subject: Re: Problem with VAR directory during install
 
 
 Excuse me while I go bang my head against the wall.  OK, there
 now that that's over withhas anyone else had trouble
 installing qmail on Mandrake 8?
 
 I'm following the instructions to the letter and the darn thing
 won't install.  I'd much rather find the reason for it and fix
 it than install an older version of the operating system, which
 can present other issues.
 
 -Steve
 
 
  I am also new at this and the first thing I had to do
  was stop using linuxconf. Linuxconf seems to have a
  mind of its own and it will regularly change ownership
  based on its own set of rules. BTW, I don't know
  exactly why. The second thing I did was rebuild my
  machine with Mandrake 7.2 (from 8.0)
 
  I had all kinds of trouble with mandrake 8 in all
  different apps.
 
  So far with mandrake 7.2 back online all my installs
  have been clean.
 
  I use the command line mostly and webmin to look at
  users and groups...
 
  Tina
 
 
  --- Steve Reed [EMAIL PROTECTED] wrote:
   Well I think I may have located the source of the
   trouble but
   it's still puzzling. Both the Life With Qmail and
   the Running
   qmail book want the /var/qmail directory created
   while logged in
   as root. That gives ownership to the user root in
   the group
   root. Then, the qmail-specific groups and users are
   added. The
   problem is that when I run linuxconf and look at the
   created
   users, I receive a warning that the home directory
   of /var/qmail
   has an invalid owner and group. Could this be the
   cause of my
   problems? I'm not exactly a newbie to file and
   directory
   permissions, but in reading all the qmail
   documentation I can
   lay my hands on I see nothing that indicates I need
   to change
   the ownership and group of /var/qmail from
   root/root.
   Nevertheless, linuxconf is whining and my compile
   goes nowhere,
   and this all smells like a permissions issue.
  
   I'm running Mandrake 8.
  
   Thanks for your patient help.
  
   Steve.
  
  
  
On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
   Reed wrote:
 So, I'm stumped.  Why is config (or config-fast)
   unhappy?
   
Because it's expecting dirs and stuff in
   /var/qmail that
   aren't there.
   
Run strings - install | grep / and look for a
   fully-
   qualified path
(ie. starting with a slash) that doesn't look
   system-related.
   In your
case, since you didn't change conf-qmail, you
   should
   see /var/qmail.
If you see something else instead, that's where
   all your qmail
   stuff got
installed -- all you gotta do is figure out why it
   went
   there.  8-)
   
- Adrian
   
  
 
 
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail
  http://personal.mail.yahoo.com/
 
 
 
 




Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Adam McKenna

On Wed, Jun 27, 2001 at 09:22:02PM -0300, Federico Edelman Anaya wrote:
 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? :)

go away, troll.

--Adam



xinetd config file for qmail

2001-06-27 Thread Kenneth

I missed the original disucssion but I never saw a config file posted to 
the archive so here's one.

Critiques of the following setup are welcome. 
However please note **This is a small qmail site and I am very familiar 
with tcpwappers already**
So arguments about reliability at very high utilization rates don't sway 
me.  xinetd has served me reasonably well  so I don't choose to learn a 
new way of accomplishing these tasks.

kk


more /etc/xinetd.conf /etc/xinetd.d/qmail
::
/etc/xinetd.conf
::
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
   instances   = 60
   log_type= SYSLOG authpriv
   log_on_success  = HOST PID
   log_on_failure  = HOST RECORD
}

includedir /etc/xinetd.d
::
/etc/xinetd.d/qmail
::
# default: off
# description: The qmail service provide MTA
service smtp
{
   flags   = NAMEINARGS
   socket_type = stream
   wait= no
   user= qmaild
   server  = /usr/sbin/tcpd
   server_args = /var/qmail/bin/tcp-env 
/var/qmail/bin/qmail-smtpd
   disable = no
}





RE: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread David T. Ashley

Just be careful about Linux because it has a maximum 2G file size (size for
a single file).  This can get in the way of some search engines which build
large random-access files that exceed 2G.  But it should not pose any kind
of a problem for mail, especially if MAILDIR format is used.

I understand that Free BSD and Linux are the overwhelming choices of the
Internet pornography industry.  That is a good technical figure of merit,
because it means these servers are stable (for HTTP) when getting lots and
lots of hits.

If Free BSD breaks the 2G limit, I'd go with Free BSD.

Dave.

-Original Message-
From: root [mailto:root]On Behalf Of Federico Edelman Anaya
Sent: Wednesday, June 27, 2001 8:22 PM
To: [EMAIL PROTECTED]
Subject: Solaris vs. Linux vs. FreeBSD


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? :)


Thanks very much!





RE: RE: Problem with VAR directory during install

2001-06-27 Thread Tim Hunter

Just for the sake of argument I have a Mandrake 8 machine that runs qmail
fine with the directions from LWQ
I also have a Mandrake Cooker machine (pre8.1) that I installed qmail fine.

Nothing wierd, just word for word from LWQ.
Still I prefer debian but this was for a friend who likes the ease of
Mandrake, and true enough its pretty simple.

-Original Message-
From: Steve Reed [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 25, 2001 8:24 PM
To: David U.
Cc: [EMAIL PROTECTED]
Subject: Re: RE: Problem with VAR directory during install


Hi,

I installed Mandrake using the 2 CDs, the latest distro
(downloaded the ISOs and burned the CDs).  It seemed to install
perfectly fine.

I want to use qmail because it seems to have the best
reputation.  Mandrake comes with Postfix, which I chose to not
install.  From what I've read online, Postfix isn't exactly a
top choice.

Steve



 Did you use one CD for the mandrake 8 install or the two CD?
Mandrake 8 really
 went out the door with issues.

 I would use RH7.1 or Mandrake 7.1 I have installed qmail fine
on both.  Mandrake
 8 has some bad code in the CD -- also, Mandrake can be made
secure as a server,
 but it installs a lot of client-side crap.

 sorry if that doesn't help,
 davidu


 -Original Message-
 From: Steve Reed [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 27, 2001 4:37 PM
 To: Yvette 'Tina' Martinez
 Cc: [EMAIL PROTECTED]
 Subject: Re: Problem with VAR directory during install


 Excuse me while I go bang my head against the wall.  OK, there
 now that that's over withhas anyone else had trouble
 installing qmail on Mandrake 8?

 I'm following the instructions to the letter and the darn thing
 won't install.  I'd much rather find the reason for it and fix
 it than install an older version of the operating system, which
 can present other issues.

 -Steve


  I am also new at this and the first thing I had to do
  was stop using linuxconf. Linuxconf seems to have a
  mind of its own and it will regularly change ownership
  based on its own set of rules. BTW, I don't know
  exactly why. The second thing I did was rebuild my
  machine with Mandrake 7.2 (from 8.0)
 
  I had all kinds of trouble with mandrake 8 in all
  different apps.
 
  So far with mandrake 7.2 back online all my installs
  have been clean.
 
  I use the command line mostly and webmin to look at
  users and groups...
 
  Tina
 
 
  --- Steve Reed [EMAIL PROTECTED] wrote:
   Well I think I may have located the source of the
   trouble but
   it's still puzzling. Both the Life With Qmail and
   the Running
   qmail book want the /var/qmail directory created
   while logged in
   as root. That gives ownership to the user root in
   the group
   root. Then, the qmail-specific groups and users are
   added. The
   problem is that when I run linuxconf and look at the
   created
   users, I receive a warning that the home directory
   of /var/qmail
   has an invalid owner and group. Could this be the
   cause of my
   problems? I'm not exactly a newbie to file and
   directory
   permissions, but in reading all the qmail
   documentation I can
   lay my hands on I see nothing that indicates I need
   to change
   the ownership and group of /var/qmail from
   root/root.
   Nevertheless, linuxconf is whining and my compile
   goes nowhere,
   and this all smells like a permissions issue.
  
   I'm running Mandrake 8.
  
   Thanks for your patient help.
  
   Steve.
  
  
  
On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
   Reed wrote:
 So, I'm stumped.  Why is config (or config-fast)
   unhappy?
   
Because it's expecting dirs and stuff in
   /var/qmail that
   aren't there.
   
Run strings - install | grep / and look for a
   fully-
   qualified path
(ie. starting with a slash) that doesn't look
   system-related.
   In your
case, since you didn't change conf-qmail, you
   should
   see /var/qmail.
If you see something else instead, that's where
   all your qmail
   stuff got
installed -- all you gotta do is figure out why it
   went
   there.  8-)
   
- Adrian
   
  
 
 
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail
  http://personal.mail.yahoo.com/
 








Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Sean Chittenden

 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? :)

Solaris is slow to fork and qmail makes liberal use of that
call, so solaris is out of the question.  After that, it's close between
FreeBSD and Linux.  I'm pretty biased towards from FreeBSD because of
its development environment and the thoughtfulness of their engineering
team (Linux is pretty hackish).  FreeBSD with softupdates turned on will
give you the best performance and reliability though amongst the three
options.  Best of luck, but be careful, this smells like a troll.  -sc

-- 
Sean Chittenden

 PGP signature


Re: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Well I guess that kind of puts the nail in the coffin.  Mandrake 
is supposed to be a top-notch distro - too bad they barfed all 
over version 8.  I'll go snag the 7.2 ISOs and start all over 
again.  

Good thing, this mailing list!

-Steve


 I downloaded the ISO's and burned CDS for 7.2.  I
 purchased the cd for 8.0 and installed from it. 
 
 I chose qmail because of its reputation as well as the
 availability of add-ons. For example there is a good
 free webmail program I got from inter7 which supports
 virtual hosts and webmin has a module to support
 remote admin. 
 
 I couldn't install my firewall under 8 and ximian
 gnome upgrade install was also not supported
 
 I couldn't get daemontools to compile without errors
 either. 
 
 I gave up spending so much time trying to figure out
 what was wrong and went back to 7.2
 
 T.
 
 --- Steve Reed [EMAIL PROTECTED] wrote:
  Hi,
  
  I installed Mandrake using the 2 CDs, the latest
  distro 
  (downloaded the ISOs and burned the CDs).  It seemed
  to install 
  perfectly fine.
  
  I want to use qmail because it seems to have the
  best 
  reputation.  Mandrake comes with Postfix, which I
  chose to not 
  install.  From what I've read online, Postfix isn't
  exactly a 
  top choice.
  
  Steve
  
  
  
   Did you use one CD for the mandrake 8 install or
  the two CD?  
  Mandrake 8 really
   went out the door with issues.
   
   I would use RH7.1 or Mandrake 7.1 I have installed
  qmail fine 
  on both.  Mandrake
   8 has some bad code in the CD -- also, Mandrake
  can be made 
  secure as a server,
   but it installs a lot of client-side crap.
   
   sorry if that doesn't help,
   davidu
   
   
   -Original Message-
   From: Steve Reed
  [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, June 27, 2001 4:37 PM
   To: Yvette 'Tina' Martinez
   Cc: [EMAIL PROTECTED]
   Subject: Re: Problem with VAR directory during
  install
   
   
   Excuse me while I go bang my head against the
  wall.  OK, there
   now that that's over withhas anyone else had
  trouble
   installing qmail on Mandrake 8?
   
   I'm following the instructions to the letter and
  the darn thing
   won't install.  I'd much rather find the reason
  for it and fix
   it than install an older version of the operating
  system, which
   can present other issues.
   
   -Steve
   
   
I am also new at this and the first thing I had
  to do
was stop using linuxconf. Linuxconf seems to
  have a
mind of its own and it will regularly change
  ownership
based on its own set of rules. BTW, I don't know
exactly why. The second thing I did was rebuild
  my
machine with Mandrake 7.2 (from 8.0)
   
I had all kinds of trouble with mandrake 8 in
  all
different apps.
   
So far with mandrake 7.2 back online all my
  installs
have been clean.
   
I use the command line mostly and webmin to look
  at
users and groups...
   
Tina
   
   
--- Steve Reed [EMAIL PROTECTED]
  wrote:
 Well I think I may have located the source of
  the
 trouble but
 it's still puzzling. Both the Life With Qmail
  and
 the Running
 qmail book want the /var/qmail directory
  created
 while logged in
 as root. That gives ownership to the user root
  in
 the group
 root. Then, the qmail-specific groups and
  users are
 added. The
 problem is that when I run linuxconf and look
  at the
 created
 users, I receive a warning that the home
  directory
 of /var/qmail
 has an invalid owner and group. Could this be
  the
 cause of my
 problems? I'm not exactly a newbie to file and
 directory
 permissions, but in reading all the qmail
 documentation I can
 lay my hands on I see nothing that indicates I
  need
 to change
 the ownership and group of /var/qmail from
 root/root.
 Nevertheless, linuxconf is whining and my
  compile
 goes nowhere,
 and this all smells like a permissions issue.

 I'm running Mandrake 8.

 Thanks for your patient help.

 Steve.



  On Mon, Jun 25, 2001 at 02:43:15PM +1200,
  Steve
 Reed wrote:
   So, I'm stumped.  Why is config (or
  config-fast)
 unhappy?
 
  Because it's expecting dirs and stuff in
 /var/qmail that
 aren't there.
 
  Run strings - install | grep / and look
  for a
 fully-
 qualified path
  (ie. starting with a slash) that doesn't
  look
 system-related.
 In your
  case, since you didn't change conf-qmail,
  you
 should
 see /var/qmail.
  If you see something else instead, that's
  where
 all your qmail
 stuff got
  installed -- all you gotta do is figure out
  why it
 went
 there.  8-)
 
  - Adrian
 

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

Re: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Well I guess that kind of puts the nail in the coffin.  Mandrake 
is supposed to be a top-notch distro - too bad they barfed all 
over version 8.  I'll go snag the 7.2 ISOs and start all over 
again.  

Good thing, this mailing list!

-Steve


 I downloaded the ISO's and burned CDS for 7.2.  I
 purchased the cd for 8.0 and installed from it. 
 
 I chose qmail because of its reputation as well as the
 availability of add-ons. For example there is a good
 free webmail program I got from inter7 which supports
 virtual hosts and webmin has a module to support
 remote admin. 
 
 I couldn't install my firewall under 8 and ximian
 gnome upgrade install was also not supported
 
 I couldn't get daemontools to compile without errors
 either. 
 
 I gave up spending so much time trying to figure out
 what was wrong and went back to 7.2
 
 T.
 
 --- Steve Reed [EMAIL PROTECTED] wrote:
  Hi,
  
  I installed Mandrake using the 2 CDs, the latest
  distro 
  (downloaded the ISOs and burned the CDs).  It seemed
  to install 
  perfectly fine.
  
  I want to use qmail because it seems to have the
  best 
  reputation.  Mandrake comes with Postfix, which I
  chose to not 
  install.  From what I've read online, Postfix isn't
  exactly a 
  top choice.
  
  Steve
  
  
  
   Did you use one CD for the mandrake 8 install or
  the two CD?  
  Mandrake 8 really
   went out the door with issues.
   
   I would use RH7.1 or Mandrake 7.1 I have installed
  qmail fine 
  on both.  Mandrake
   8 has some bad code in the CD -- also, Mandrake
  can be made 
  secure as a server,
   but it installs a lot of client-side crap.
   
   sorry if that doesn't help,
   davidu
   
   
   -Original Message-
   From: Steve Reed
  [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, June 27, 2001 4:37 PM
   To: Yvette 'Tina' Martinez
   Cc: [EMAIL PROTECTED]
   Subject: Re: Problem with VAR directory during
  install
   
   
   Excuse me while I go bang my head against the
  wall.  OK, there
   now that that's over withhas anyone else had
  trouble
   installing qmail on Mandrake 8?
   
   I'm following the instructions to the letter and
  the darn thing
   won't install.  I'd much rather find the reason
  for it and fix
   it than install an older version of the operating
  system, which
   can present other issues.
   
   -Steve
   
   
I am also new at this and the first thing I had
  to do
was stop using linuxconf. Linuxconf seems to
  have a
mind of its own and it will regularly change
  ownership
based on its own set of rules. BTW, I don't know
exactly why. The second thing I did was rebuild
  my
machine with Mandrake 7.2 (from 8.0)
   
I had all kinds of trouble with mandrake 8 in
  all
different apps.
   
So far with mandrake 7.2 back online all my
  installs
have been clean.
   
I use the command line mostly and webmin to look
  at
users and groups...
   
Tina
   
   
--- Steve Reed [EMAIL PROTECTED]
  wrote:
 Well I think I may have located the source of
  the
 trouble but
 it's still puzzling. Both the Life With Qmail
  and
 the Running
 qmail book want the /var/qmail directory
  created
 while logged in
 as root. That gives ownership to the user root
  in
 the group
 root. Then, the qmail-specific groups and
  users are
 added. The
 problem is that when I run linuxconf and look
  at the
 created
 users, I receive a warning that the home
  directory
 of /var/qmail
 has an invalid owner and group. Could this be
  the
 cause of my
 problems? I'm not exactly a newbie to file and
 directory
 permissions, but in reading all the qmail
 documentation I can
 lay my hands on I see nothing that indicates I
  need
 to change
 the ownership and group of /var/qmail from
 root/root.
 Nevertheless, linuxconf is whining and my
  compile
 goes nowhere,
 and this all smells like a permissions issue.

 I'm running Mandrake 8.

 Thanks for your patient help.

 Steve.



  On Mon, Jun 25, 2001 at 02:43:15PM +1200,
  Steve
 Reed wrote:
   So, I'm stumped.  Why is config (or
  config-fast)
 unhappy?
 
  Because it's expecting dirs and stuff in
 /var/qmail that
 aren't there.
 
  Run strings - install | grep / and look
  for a
 fully-
 qualified path
  (ie. starting with a slash) that doesn't
  look
 system-related.
 In your
  case, since you didn't change conf-qmail,
  you
 should
 see /var/qmail.
  If you see something else instead, that's
  where
 all your qmail
 stuff got
  installed -- all you gotta do is figure out
  why it
 went
 there.  8-)
 
  - Adrian
 

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

Re: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Well I guess that kind of puts the nail in the coffin.  Mandrake 
is supposed to be a top-notch distro - too bad they barfed all 
over version 8.  I'll go snag the 7.2 ISOs and start all over 
again.  

Good thing, this mailing list!

-Steve


 I downloaded the ISO's and burned CDS for 7.2.  I
 purchased the cd for 8.0 and installed from it. 
 
 I chose qmail because of its reputation as well as the
 availability of add-ons. For example there is a good
 free webmail program I got from inter7 which supports
 virtual hosts and webmin has a module to support
 remote admin. 
 
 I couldn't install my firewall under 8 and ximian
 gnome upgrade install was also not supported
 
 I couldn't get daemontools to compile without errors
 either. 
 
 I gave up spending so much time trying to figure out
 what was wrong and went back to 7.2
 
 T.
 
 --- Steve Reed [EMAIL PROTECTED] wrote:
  Hi,
  
  I installed Mandrake using the 2 CDs, the latest
  distro 
  (downloaded the ISOs and burned the CDs).  It seemed
  to install 
  perfectly fine.
  
  I want to use qmail because it seems to have the
  best 
  reputation.  Mandrake comes with Postfix, which I
  chose to not 
  install.  From what I've read online, Postfix isn't
  exactly a 
  top choice.
  
  Steve
  
  
  
   Did you use one CD for the mandrake 8 install or
  the two CD?  
  Mandrake 8 really
   went out the door with issues.
   
   I would use RH7.1 or Mandrake 7.1 I have installed
  qmail fine 
  on both.  Mandrake
   8 has some bad code in the CD -- also, Mandrake
  can be made 
  secure as a server,
   but it installs a lot of client-side crap.
   
   sorry if that doesn't help,
   davidu
   
   
   -Original Message-
   From: Steve Reed
  [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, June 27, 2001 4:37 PM
   To: Yvette 'Tina' Martinez
   Cc: [EMAIL PROTECTED]
   Subject: Re: Problem with VAR directory during
  install
   
   
   Excuse me while I go bang my head against the
  wall.  OK, there
   now that that's over withhas anyone else had
  trouble
   installing qmail on Mandrake 8?
   
   I'm following the instructions to the letter and
  the darn thing
   won't install.  I'd much rather find the reason
  for it and fix
   it than install an older version of the operating
  system, which
   can present other issues.
   
   -Steve
   
   
I am also new at this and the first thing I had
  to do
was stop using linuxconf. Linuxconf seems to
  have a
mind of its own and it will regularly change
  ownership
based on its own set of rules. BTW, I don't know
exactly why. The second thing I did was rebuild
  my
machine with Mandrake 7.2 (from 8.0)
   
I had all kinds of trouble with mandrake 8 in
  all
different apps.
   
So far with mandrake 7.2 back online all my
  installs
have been clean.
   
I use the command line mostly and webmin to look
  at
users and groups...
   
Tina
   
   
--- Steve Reed [EMAIL PROTECTED]
  wrote:
 Well I think I may have located the source of
  the
 trouble but
 it's still puzzling. Both the Life With Qmail
  and
 the Running
 qmail book want the /var/qmail directory
  created
 while logged in
 as root. That gives ownership to the user root
  in
 the group
 root. Then, the qmail-specific groups and
  users are
 added. The
 problem is that when I run linuxconf and look
  at the
 created
 users, I receive a warning that the home
  directory
 of /var/qmail
 has an invalid owner and group. Could this be
  the
 cause of my
 problems? I'm not exactly a newbie to file and
 directory
 permissions, but in reading all the qmail
 documentation I can
 lay my hands on I see nothing that indicates I
  need
 to change
 the ownership and group of /var/qmail from
 root/root.
 Nevertheless, linuxconf is whining and my
  compile
 goes nowhere,
 and this all smells like a permissions issue.

 I'm running Mandrake 8.

 Thanks for your patient help.

 Steve.



  On Mon, Jun 25, 2001 at 02:43:15PM +1200,
  Steve
 Reed wrote:
   So, I'm stumped.  Why is config (or
  config-fast)
 unhappy?
 
  Because it's expecting dirs and stuff in
 /var/qmail that
 aren't there.
 
  Run strings - install | grep / and look
  for a
 fully-
 qualified path
  (ie. starting with a slash) that doesn't
  look
 system-related.
 In your
  case, since you didn't change conf-qmail,
  you
 should
 see /var/qmail.
  If you see something else instead, that's
  where
 all your qmail
 stuff got
  installed -- all you gotta do is figure out
  why it
 went
 there.  8-)
 
  - Adrian
 

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

Re: SMTP Proxy

2001-06-27 Thread Awie

Thanks Lucas  Charles !

I will try.

Thx  rgds,

Awie


- Original Message -
From: Charles Cazabon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 9:54 PM
Subject: Re: SMTP Proxy


 Awie [EMAIL PROTECTED] wrote:
 
  I plan to have a SMTP proxy that using qmail. Our main mail server is MS
  Exchange that not secure enough for SMTP gateway.
 
  Would you give me suggestion what should I install ? and what
configuration
  should I do?

 See Life with qmail, lifewithqmail.org.  It's covered there.

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





Large messages terminated with error?

2001-06-27 Thread Matt Simonsen

Hello all-

Some background. I have a Qmail server running RedHat 7.0 version 1.03,
along with courier-imap 1.2.3 (just the IMAP part) + vpopmail 4.9.8. It is
off-site from our office, and for 130 days the whole email system has been
flawless, even through the 3 times our office has changed IPs. Then we
recently got a new data line in our office (sDSL to a local router that is
connected to a T1) and problems began. Not necessairly the email server's
fault, perhaps, but definately related.

The only change is that I have changed is that I added our new domain to the
tcp.smtp file and then ran tcprules /home/vpopmail/etc/tcp.smtp.cdb
/home/vpopmail/etc/tcp.smtp.tmp  /home/vpopmail/etc/tcp.smtp. Even without
this, though, it sent mail fine since vpopmail does pop authentication.

The tcp.smtp file looks like:
127.:allow,RELAYCLIENT=
64.156.209.:allow,RELAYCLIENT=

Now for the problem:

I cannot send a large (10 mb) message, the kicker is that when I do it also
takes our office internet connection down for 30-90 seconds! The only
symptoms I have been able to track down is that it appears to transfer at
least most of message to the queue on the qmail server (as du -h shows me).
Also, outlook 2000 gives an error message saying, TCP/IP connection was
unexpectedly terminated by the server. Server responded: '354 go ahead'
Account: zMatt @ Careercast.com', SMTP server 'email.careercast.com' Number
0x800ccc0f. Netscape  The same time the error appears our data connection
dies. We can't even ping the first router. Then it comes up after a short
while...

I have no idea what is happening here, I don't think our ISP does either.
Any help would be greatly appreciated, please let me know if I can provide
any more information.

Thanks
Matt




Re: qmail-pop3 and vmailmgr

2001-06-27 Thread pop corn

1) Sounds good, I'll use the real, canonical name

2) I didn't realize the password replacement could do all that work by 
itself. It apparently doesn't need the vmailmgrd daemon to run?

3) I agree that the pop3 clients can be configured to leave things on the 
server. It's reassuring to know that my users are in fact able to switch 
between webmail/pop clients.

I've looked at the vmailmgr archives for all of June (I didn't seem to find 
an archive for prior to June). They have very few posts compared to this 
list and not many replies to the posts. I appreciate the help I am receiving 
here about qmail-pop3 and vmailmgr.



From: Charles Cazabon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: qmail-pop3 and vmailmgr
Date: Wed, 27 Jun 2001 07:53:30 -0600

pop corn [EMAIL PROTECTED] wrote:
 
  FQDN is very clear if the Unix host is serving a single domain. However,
  what is recommended if the host is serving multiple virtual domains?

The POP3 server should identify itself by it's real/canonical name, not by 
one
of its virtualdomains -- although this is personal preference.  It doesn't
have any particular effect on mail service anyways.

  understand that this setup script is going to monitor port 110, but how 
will
  it know how to distribute from port 110 to the various virtual domains?

It doesn't know anything about domains -- that's your virtual domain 
manager's
job (in this case, through the vcheckpw checkpassword replacement).

  Am I correct in thinking that the same user is going to be able to
  dynamically choose whether to download the email or leave the email on 
the
  server, depending on whether they use an MUA that downloads (for 
example,
  Microsoft Outlook) or whether they use a webmail MUA (for example,
  squirrelmail); and they can simply choose to use one MUA one day and the
  other MUA a few minutes later in mix and match style?

If you run vmailmgr-assisted qmail-pop3d, Courier-IMAP, and (say) oMail, 
then
yes, users will be able to use any method they like.  By the way, all POP3
clients can be configured to leave mail on the server.

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

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: qmail-pop3 and vmailmgr

2001-06-27 Thread pop corn

1) Sounds good, I'll use the real, canonical name

2) I didn't realize the password replacement could do all that work by 
itself. It apparently doesn't need the vmailmgrd daemon to run?

3) I agree that the pop3 clients can be configured to leave things on the 
server. It's reassuring to know that my users are in fact able to switch 
between webmail/pop clients.

I've looked at the vmailmgr archives for all of June (I didn't seem to find 
an archive for prior to June). They have very few posts compared to this 
list and not many replies to the posts. I appreciate the help I am receiving 
here about qmail-pop3 and vmailmgr.



From: Charles Cazabon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: qmail-pop3 and vmailmgr
Date: Wed, 27 Jun 2001 07:53:30 -0600

pop corn [EMAIL PROTECTED] wrote:
 
  FQDN is very clear if the Unix host is serving a single domain. However,
  what is recommended if the host is serving multiple virtual domains?

The POP3 server should identify itself by it's real/canonical name, not by 
one
of its virtualdomains -- although this is personal preference.  It doesn't
have any particular effect on mail service anyways.

  understand that this setup script is going to monitor port 110, but how 
will
  it know how to distribute from port 110 to the various virtual domains?

It doesn't know anything about domains -- that's your virtual domain 
manager's
job (in this case, through the vcheckpw checkpassword replacement).

  Am I correct in thinking that the same user is going to be able to
  dynamically choose whether to download the email or leave the email on 
the
  server, depending on whether they use an MUA that downloads (for 
example,
  Microsoft Outlook) or whether they use a webmail MUA (for example,
  squirrelmail); and they can simply choose to use one MUA one day and the
  other MUA a few minutes later in mix and match style?

If you run vmailmgr-assisted qmail-pop3d, Courier-IMAP, and (say) oMail, 
then
yes, users will be able to use any method they like.  By the way, all POP3
clients can be configured to leave mail on the server.

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

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: RE: Problem with VAR directory during install

2001-06-27 Thread Adam McKenna

On Tue, Jun 26, 2001 at 01:03:37PM +1200, Steve Reed wrote:
 Well I guess that kind of puts the nail in the coffin.  Mandrake 
 is supposed to be a top-notch distro

Er, since when?

--Adam



Re: RE: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Hmmm...I wonder why my Mandrake 8 install won't cooperate.  I've 
reloaded the OS a half dozen times, each time more careful than 
the previous, and to make a long story short when you do the 
make absolutely nothing goes into the /var/qmail directory.  The 
install basically goes nowhere.  I also noticed that this 
directory has owner as root and group as root, which is the way 
it should be if you follow the instructions to the letter, but 
linuxconf whines that the qmail special users don't have access 
to the /var/qmail directory because they are in different groups.

One thing:  the /var directory is actually two 17GB SCSI drives 
running in Linux Raid 1 (mirroring).  Do you think it's possible 
the mirroring is screwing things up?

-Steve

 Just for the sake of argument I have a Mandrake 8 machine that 
runs qmail
 fine with the directions from LWQ
 I also have a Mandrake Cooker machine (pre8.1) that I 
installed qmail fine.
 
 Nothing wierd, just word for word from LWQ.
 Still I prefer debian but this was for a friend who likes 
the ease of
 Mandrake, and true enough its pretty simple.
 
 -Original Message-
 From: Steve Reed [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 8:24 PM
 To: David U.
 Cc: [EMAIL PROTECTED]
 Subject: Re: RE: Problem with VAR directory during install
 
 
 Hi,
 
 I installed Mandrake using the 2 CDs, the latest distro
 (downloaded the ISOs and burned the CDs).  It seemed to install
 perfectly fine.
 
 I want to use qmail because it seems to have the best
 reputation.  Mandrake comes with Postfix, which I chose to not
 install.  From what I've read online, Postfix isn't exactly a
 top choice.
 
 Steve
 
 
 
  Did you use one CD for the mandrake 8 install or the two CD?
 Mandrake 8 really
  went out the door with issues.
 
  I would use RH7.1 or Mandrake 7.1 I have installed qmail fine
 on both.  Mandrake
  8 has some bad code in the CD -- also, Mandrake can be made
 secure as a server,
  but it installs a lot of client-side crap.
 
  sorry if that doesn't help,
  davidu
 
 
  -Original Message-
  From: Steve Reed [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 27, 2001 4:37 PM
  To: Yvette 'Tina' Martinez
  Cc: [EMAIL PROTECTED]
  Subject: Re: Problem with VAR directory during install
 
 
  Excuse me while I go bang my head against the wall.  OK, 
there
  now that that's over withhas anyone else had trouble
  installing qmail on Mandrake 8?
 
  I'm following the instructions to the letter and the darn 
thing
  won't install.  I'd much rather find the reason for it and 
fix
  it than install an older version of the operating system, 
which
  can present other issues.
 
  -Steve
 
 
   I am also new at this and the first thing I had to do
   was stop using linuxconf. Linuxconf seems to have a
   mind of its own and it will regularly change ownership
   based on its own set of rules. BTW, I don't know
   exactly why. The second thing I did was rebuild my
   machine with Mandrake 7.2 (from 8.0)
  
   I had all kinds of trouble with mandrake 8 in all
   different apps.
  
   So far with mandrake 7.2 back online all my installs
   have been clean.
  
   I use the command line mostly and webmin to look at
   users and groups...
  
   Tina
  
  
   --- Steve Reed [EMAIL PROTECTED] wrote:
Well I think I may have located the source of the
trouble but
it's still puzzling. Both the Life With Qmail and
the Running
qmail book want the /var/qmail directory created
while logged in
as root. That gives ownership to the user root in
the group
root. Then, the qmail-specific groups and users are
added. The
problem is that when I run linuxconf and look at the
created
users, I receive a warning that the home directory
of /var/qmail
has an invalid owner and group. Could this be the
cause of my
problems? I'm not exactly a newbie to file and
directory
permissions, but in reading all the qmail
documentation I can
lay my hands on I see nothing that indicates I need
to change
the ownership and group of /var/qmail from
root/root.
Nevertheless, linuxconf is whining and my compile
goes nowhere,
and this all smells like a permissions issue.
   
I'm running Mandrake 8.
   
Thanks for your patient help.
   
Steve.
   
   
   
 On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
Reed wrote:
  So, I'm stumped.  Why is config (or config-fast)
unhappy?

 Because it's expecting dirs and stuff in
/var/qmail that
aren't there.

 Run strings - install | grep / and look for a
fully-
qualified path
 (ie. starting with a slash) that doesn't look
system-related.
In your
 case, since you didn't change conf-qmail, you
should
see /var/qmail.
 If you see something else instead, that's where
all your qmail
stuff got
 installed -- all you gotta do is figure out why it
went
there.  8-)

Re: RE: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Hmmm...I wonder why my Mandrake 8 install won't cooperate.  I've 
reloaded the OS a half dozen times, each time more careful than 
the previous, and to make a long story short when you do the 
make absolutely nothing goes into the /var/qmail directory.  The 
install basically goes nowhere.  I also noticed that this 
directory has owner as root and group as root, which is the way 
it should be if you follow the instructions to the letter, but 
linuxconf whines that the qmail special users don't have access 
to the /var/qmail directory because they are in different groups.

One thing:  the /var directory is actually two 17GB SCSI drives 
running in Linux Raid 1 (mirroring).  Do you think it's possible 
the mirroring is screwing things up?

-Steve

 Just for the sake of argument I have a Mandrake 8 machine that 
runs qmail
 fine with the directions from LWQ
 I also have a Mandrake Cooker machine (pre8.1) that I 
installed qmail fine.
 
 Nothing wierd, just word for word from LWQ.
 Still I prefer debian but this was for a friend who likes 
the ease of
 Mandrake, and true enough its pretty simple.
 
 -Original Message-
 From: Steve Reed [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 8:24 PM
 To: David U.
 Cc: [EMAIL PROTECTED]
 Subject: Re: RE: Problem with VAR directory during install
 
 
 Hi,
 
 I installed Mandrake using the 2 CDs, the latest distro
 (downloaded the ISOs and burned the CDs).  It seemed to install
 perfectly fine.
 
 I want to use qmail because it seems to have the best
 reputation.  Mandrake comes with Postfix, which I chose to not
 install.  From what I've read online, Postfix isn't exactly a
 top choice.
 
 Steve
 
 
 
  Did you use one CD for the mandrake 8 install or the two CD?
 Mandrake 8 really
  went out the door with issues.
 
  I would use RH7.1 or Mandrake 7.1 I have installed qmail fine
 on both.  Mandrake
  8 has some bad code in the CD -- also, Mandrake can be made
 secure as a server,
  but it installs a lot of client-side crap.
 
  sorry if that doesn't help,
  davidu
 
 
  -Original Message-
  From: Steve Reed [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 27, 2001 4:37 PM
  To: Yvette 'Tina' Martinez
  Cc: [EMAIL PROTECTED]
  Subject: Re: Problem with VAR directory during install
 
 
  Excuse me while I go bang my head against the wall.  OK, 
there
  now that that's over withhas anyone else had trouble
  installing qmail on Mandrake 8?
 
  I'm following the instructions to the letter and the darn 
thing
  won't install.  I'd much rather find the reason for it and 
fix
  it than install an older version of the operating system, 
which
  can present other issues.
 
  -Steve
 
 
   I am also new at this and the first thing I had to do
   was stop using linuxconf. Linuxconf seems to have a
   mind of its own and it will regularly change ownership
   based on its own set of rules. BTW, I don't know
   exactly why. The second thing I did was rebuild my
   machine with Mandrake 7.2 (from 8.0)
  
   I had all kinds of trouble with mandrake 8 in all
   different apps.
  
   So far with mandrake 7.2 back online all my installs
   have been clean.
  
   I use the command line mostly and webmin to look at
   users and groups...
  
   Tina
  
  
   --- Steve Reed [EMAIL PROTECTED] wrote:
Well I think I may have located the source of the
trouble but
it's still puzzling. Both the Life With Qmail and
the Running
qmail book want the /var/qmail directory created
while logged in
as root. That gives ownership to the user root in
the group
root. Then, the qmail-specific groups and users are
added. The
problem is that when I run linuxconf and look at the
created
users, I receive a warning that the home directory
of /var/qmail
has an invalid owner and group. Could this be the
cause of my
problems? I'm not exactly a newbie to file and
directory
permissions, but in reading all the qmail
documentation I can
lay my hands on I see nothing that indicates I need
to change
the ownership and group of /var/qmail from
root/root.
Nevertheless, linuxconf is whining and my compile
goes nowhere,
and this all smells like a permissions issue.
   
I'm running Mandrake 8.
   
Thanks for your patient help.
   
Steve.
   
   
   
 On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
Reed wrote:
  So, I'm stumped.  Why is config (or config-fast)
unhappy?

 Because it's expecting dirs and stuff in
/var/qmail that
aren't there.

 Run strings - install | grep / and look for a
fully-
qualified path
 (ie. starting with a slash) that doesn't look
system-related.
In your
 case, since you didn't change conf-qmail, you
should
see /var/qmail.
 If you see something else instead, that's where
all your qmail
stuff got
 installed -- all you gotta do is figure out why it
went
there.  8-)

Re: RE: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Hmmm...I wonder why my Mandrake 8 install won't cooperate.  I've 
reloaded the OS a half dozen times, each time more careful than 
the previous, and to make a long story short when you do the 
make absolutely nothing goes into the /var/qmail directory.  The 
install basically goes nowhere.  I also noticed that this 
directory has owner as root and group as root, which is the way 
it should be if you follow the instructions to the letter, but 
linuxconf whines that the qmail special users don't have access 
to the /var/qmail directory because they are in different groups.

One thing:  the /var directory is actually two 17GB SCSI drives 
running in Linux Raid 1 (mirroring).  Do you think it's possible 
the mirroring is screwing things up?

-Steve

 Just for the sake of argument I have a Mandrake 8 machine that 
runs qmail
 fine with the directions from LWQ
 I also have a Mandrake Cooker machine (pre8.1) that I 
installed qmail fine.
 
 Nothing wierd, just word for word from LWQ.
 Still I prefer debian but this was for a friend who likes 
the ease of
 Mandrake, and true enough its pretty simple.
 
 -Original Message-
 From: Steve Reed [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 8:24 PM
 To: David U.
 Cc: [EMAIL PROTECTED]
 Subject: Re: RE: Problem with VAR directory during install
 
 
 Hi,
 
 I installed Mandrake using the 2 CDs, the latest distro
 (downloaded the ISOs and burned the CDs).  It seemed to install
 perfectly fine.
 
 I want to use qmail because it seems to have the best
 reputation.  Mandrake comes with Postfix, which I chose to not
 install.  From what I've read online, Postfix isn't exactly a
 top choice.
 
 Steve
 
 
 
  Did you use one CD for the mandrake 8 install or the two CD?
 Mandrake 8 really
  went out the door with issues.
 
  I would use RH7.1 or Mandrake 7.1 I have installed qmail fine
 on both.  Mandrake
  8 has some bad code in the CD -- also, Mandrake can be made
 secure as a server,
  but it installs a lot of client-side crap.
 
  sorry if that doesn't help,
  davidu
 
 
  -Original Message-
  From: Steve Reed [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 27, 2001 4:37 PM
  To: Yvette 'Tina' Martinez
  Cc: [EMAIL PROTECTED]
  Subject: Re: Problem with VAR directory during install
 
 
  Excuse me while I go bang my head against the wall.  OK, 
there
  now that that's over withhas anyone else had trouble
  installing qmail on Mandrake 8?
 
  I'm following the instructions to the letter and the darn 
thing
  won't install.  I'd much rather find the reason for it and 
fix
  it than install an older version of the operating system, 
which
  can present other issues.
 
  -Steve
 
 
   I am also new at this and the first thing I had to do
   was stop using linuxconf. Linuxconf seems to have a
   mind of its own and it will regularly change ownership
   based on its own set of rules. BTW, I don't know
   exactly why. The second thing I did was rebuild my
   machine with Mandrake 7.2 (from 8.0)
  
   I had all kinds of trouble with mandrake 8 in all
   different apps.
  
   So far with mandrake 7.2 back online all my installs
   have been clean.
  
   I use the command line mostly and webmin to look at
   users and groups...
  
   Tina
  
  
   --- Steve Reed [EMAIL PROTECTED] wrote:
Well I think I may have located the source of the
trouble but
it's still puzzling. Both the Life With Qmail and
the Running
qmail book want the /var/qmail directory created
while logged in
as root. That gives ownership to the user root in
the group
root. Then, the qmail-specific groups and users are
added. The
problem is that when I run linuxconf and look at the
created
users, I receive a warning that the home directory
of /var/qmail
has an invalid owner and group. Could this be the
cause of my
problems? I'm not exactly a newbie to file and
directory
permissions, but in reading all the qmail
documentation I can
lay my hands on I see nothing that indicates I need
to change
the ownership and group of /var/qmail from
root/root.
Nevertheless, linuxconf is whining and my compile
goes nowhere,
and this all smells like a permissions issue.
   
I'm running Mandrake 8.
   
Thanks for your patient help.
   
Steve.
   
   
   
 On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
Reed wrote:
  So, I'm stumped.  Why is config (or config-fast)
unhappy?

 Because it's expecting dirs and stuff in
/var/qmail that
aren't there.

 Run strings - install | grep / and look for a
fully-
qualified path
 (ie. starting with a slash) that doesn't look
system-related.
In your
 case, since you didn't change conf-qmail, you
should
see /var/qmail.
 If you see something else instead, that's where
all your qmail
stuff got
 installed -- all you gotta do is figure out why it
went
there.  8-)

Re: RE: RE: Problem with VAR directory during install

2001-06-27 Thread Steve Reed

Hmmm...I wonder why my Mandrake 8 install won't cooperate.  I've 
reloaded the OS a half dozen times, each time more careful than 
the previous, and to make a long story short when you do the 
make absolutely nothing goes into the /var/qmail directory.  The 
install basically goes nowhere.  I also noticed that this 
directory has owner as root and group as root, which is the way 
it should be if you follow the instructions to the letter, but 
linuxconf whines that the qmail special users don't have access 
to the /var/qmail directory because they are in different groups.

One thing:  the /var directory is actually two 17GB SCSI drives 
running in Linux Raid 1 (mirroring).  Do you think it's possible 
the mirroring is screwing things up?

-Steve

 Just for the sake of argument I have a Mandrake 8 machine that 
runs qmail
 fine with the directions from LWQ
 I also have a Mandrake Cooker machine (pre8.1) that I 
installed qmail fine.
 
 Nothing wierd, just word for word from LWQ.
 Still I prefer debian but this was for a friend who likes 
the ease of
 Mandrake, and true enough its pretty simple.
 
 -Original Message-
 From: Steve Reed [mailto:[EMAIL PROTECTED]]
 Sent: Monday, June 25, 2001 8:24 PM
 To: David U.
 Cc: [EMAIL PROTECTED]
 Subject: Re: RE: Problem with VAR directory during install
 
 
 Hi,
 
 I installed Mandrake using the 2 CDs, the latest distro
 (downloaded the ISOs and burned the CDs).  It seemed to install
 perfectly fine.
 
 I want to use qmail because it seems to have the best
 reputation.  Mandrake comes with Postfix, which I chose to not
 install.  From what I've read online, Postfix isn't exactly a
 top choice.
 
 Steve
 
 
 
  Did you use one CD for the mandrake 8 install or the two CD?
 Mandrake 8 really
  went out the door with issues.
 
  I would use RH7.1 or Mandrake 7.1 I have installed qmail fine
 on both.  Mandrake
  8 has some bad code in the CD -- also, Mandrake can be made
 secure as a server,
  but it installs a lot of client-side crap.
 
  sorry if that doesn't help,
  davidu
 
 
  -Original Message-
  From: Steve Reed [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, June 27, 2001 4:37 PM
  To: Yvette 'Tina' Martinez
  Cc: [EMAIL PROTECTED]
  Subject: Re: Problem with VAR directory during install
 
 
  Excuse me while I go bang my head against the wall.  OK, 
there
  now that that's over withhas anyone else had trouble
  installing qmail on Mandrake 8?
 
  I'm following the instructions to the letter and the darn 
thing
  won't install.  I'd much rather find the reason for it and 
fix
  it than install an older version of the operating system, 
which
  can present other issues.
 
  -Steve
 
 
   I am also new at this and the first thing I had to do
   was stop using linuxconf. Linuxconf seems to have a
   mind of its own and it will regularly change ownership
   based on its own set of rules. BTW, I don't know
   exactly why. The second thing I did was rebuild my
   machine with Mandrake 7.2 (from 8.0)
  
   I had all kinds of trouble with mandrake 8 in all
   different apps.
  
   So far with mandrake 7.2 back online all my installs
   have been clean.
  
   I use the command line mostly and webmin to look at
   users and groups...
  
   Tina
  
  
   --- Steve Reed [EMAIL PROTECTED] wrote:
Well I think I may have located the source of the
trouble but
it's still puzzling. Both the Life With Qmail and
the Running
qmail book want the /var/qmail directory created
while logged in
as root. That gives ownership to the user root in
the group
root. Then, the qmail-specific groups and users are
added. The
problem is that when I run linuxconf and look at the
created
users, I receive a warning that the home directory
of /var/qmail
has an invalid owner and group. Could this be the
cause of my
problems? I'm not exactly a newbie to file and
directory
permissions, but in reading all the qmail
documentation I can
lay my hands on I see nothing that indicates I need
to change
the ownership and group of /var/qmail from
root/root.
Nevertheless, linuxconf is whining and my compile
goes nowhere,
and this all smells like a permissions issue.
   
I'm running Mandrake 8.
   
Thanks for your patient help.
   
Steve.
   
   
   
 On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
Reed wrote:
  So, I'm stumped.  Why is config (or config-fast)
unhappy?

 Because it's expecting dirs and stuff in
/var/qmail that
aren't there.

 Run strings - install | grep / and look for a
fully-
qualified path
 (ie. starting with a slash) that doesn't look
system-related.
In your
 case, since you didn't change conf-qmail, you
should
see /var/qmail.
 If you see something else instead, that's where
all your qmail
stuff got
 installed -- all you gotta do is figure out why it
went
there.  8-)

Re: Portable RPM for qmail

2001-06-27 Thread John Newbigin

You may distribute a precompiled package if

 installing your package produces exactly the same files, in exactly
the same locations, that a user would obtain
 by installing one of my packages listed above;
My RPM produces exactly the same file and directory structure with the
exception that I have removed the cat pages.  If that is a problem then
they could be added back in.  The RPM spec was generated by the hier.c
code and I have verified the installed package with instcheck.

I have applied my own patch which removes the uid/gid problems and I
have added a redhat 6.2 style rc script.   The source rpm contains the
original qmail-1.03.tar.gz and my 2 patch files.

 your package behaves correctly, i.e., the same way as normal
installations of my package on all other systems;
 and
What exactly is meant by that?  There is no standard installation
procedure and there is no reference package so what constitutes correct
behaviour?

 your package's creator warrants that he has made a good-faith
attempt to ensure that your package behaves
 correctly.
I have built the package to be used by myself so I warrant that I have
made a good-faith attempt to ensure that the package behaves correctly,
but thay may change depending on what is meant by 'correct behavious' in
point 2.

All installations must work the same way; any variation is a bug. If
there's something about a system (compiler,
libraries, kernel, hardware, whatever) that changes the behavior of
my package, then that platform is not supported,
and you are not permitted to distribute binaries for it.
All installations must work the same way as what?  My RPM is built for
RedHat 6.2 only.


I have built the RPM's for my own use but I would like to do what I see
a a service to the community and make them available to help rid the
world of sendmail.  I hope that the barrier to doing this is not too
great.

John.

Vincent Schonau wrote:

 On Wed, Jun 27, 2001 at 04:33:43PM +1000, John Newbigin wrote:

  My second question is about the licence for qmail.  Despite all my
  looking I can't find it.  Can someone point me to the licence or
  summarise what I can do with a binary RPM.

 URL:http://cr.yp.to/distributors.html

 Vince.

--
Information Technology Innovation Group
Swinburne University. Melbourne, Australia
http://uranus.it.swin.edu.au/~jn





Help with qmail-smtpd logging

2001-06-27 Thread Dave Fallon

I have qmail, qmail-smtpd, and qmail-pop3d running on my system, all in default 
configurations (in /var/qmail/*, using daemontools/tcpserver, etc.). Qmail-pop3d is 
nicely running and logging things, but qmail-smtpd is dumping all messages to the 
console (tty1) - can anyone help me fix this? It's driving me nuts, as I obviously now 
have no log of what's going on with my smtp server. Here's the 
/service/qmail-smtpd/run script:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 21

and the /service/qmail-smtpd/log/run script:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd

and for comparison (the working config, I can read logfiles/whatnot) the 
qmail-pop3d/run and log/run files:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 pop3 /var/qmail/bin/qmail-popup \
iron.tetsubo.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 21


#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
/var/log/qmail/pop3d


Please note I'm not subscribed to the mailing list. Thanks for any help!

dave



Re: Help with qmail-smtpd logging

2001-06-27 Thread pop corn

I'm no expert, but since I've just been setting up my own qmail, some of 
this is still freshly confusing for me! Did you remember to do all of the 
following?

chmod +t /var/qmail/supervise/qmail-smtpd
chown qmaill:nofiles /var/log/qmail/smtpd
chmod 2700 /var/log/qmail/smtpd
chmod 755 (both of your run files)

From: Dave Fallon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Help with qmail-smtpd logging
Date: Wed, 27 Jun 2001 20:18:36 -0700

I have qmail, qmail-smtpd, and qmail-pop3d running on my system, all in 
default configurations (in /var/qmail/*, using daemontools/tcpserver, 
etc.). Qmail-pop3d is nicely running and logging things, but qmail-smtpd is 
dumping all messages to the console (tty1) - can anyone help me fix this? 
It's driving me nuts, as I obviously now have no log of what's going on 
with my smtp server. Here's the /service/qmail-smtpd/run script:

#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 200 \
 /usr/local/bin/tcpserver -v -R -H -l 0 -c $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 
21

and the /service/qmail-smtpd/log/run script:

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t 
/var/log/qmail/smtpd

and for comparison (the working config, I can read logfiles/whatnot) the 
qmail-pop3d/run and log/run files:

#!/bin/sh
exec /usr/local/bin/softlimit -m 200 \
   /usr/local/bin/tcpserver -v -R -H -l 0 0 pop3 /var/qmail/bin/qmail-popup \
   iron.tetsubo.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 
21


#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t \
   /var/log/qmail/pop3d


Please note I'm not subscribed to the mailing list. Thanks for any help!

dave

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Integrating the logs

2001-06-27 Thread pop corn

I have my different daemons logging into the various log subdirectories via 
multilog.

My problem now is integrating them so that I have a continuous line of 
activity from the beginning to end for a given email.

For example, I can do a tail -f current log for qmail-pop3 while running 
tests. However, I would like to know what related activities are occurring 
in other logs for this same email test.

I have pulled the following info about qmail-analog from the following 
length thread in the archives. It includes an example script. I cut/paste 
quickly, so not everyone gets the credit they deserve for their posts in 
this thread. I have at minimum two questions after reading all of the info 
below:

1) what are all the z... files in the example script?
for ana in zoverall zddist zdeferrals zfailures zrhosts zsuids zrxdelay;

2) where is a real working example of qmail-mrtg?

==

I want to know how many messages were sent/failed etc. for a given period of 
time (say the last three days).
I have done the following in both /var/log/qmail/qmail-send and
/var/log/qmail/qmail-smtpd (I'll admit my ignorance and say that I don't
know the difference between the two.  Is qmail-send local deliveries and
qmail-smtpd remote deliveries?):
1)  Ran matchup on /var/log/qmail/qmail-send(smtpd)/current
2)  Converted the matchedup version of current into human readable
format using tai64nlocal
3)  Pulled out dates for which I want to see log results from the file
created above
4)  Convert the data above to tai64 format using tai64n
5)  Ran this data through zoverall to see qmailanalog results
Regardless of whether I run it against /var/log/qmail/qmail-send or
/var/log/qmail/qmail-smtpd I get the following:

Completed messages: 0
Total delivery attempts: 0

Am I anywhere near doing this right?

Here are my actual commands
1)  cat /var/log/qmail/qmail-smtpd/current |
/usr/local/qmailanalog/bin/matchup  /var/log/qmail/qmail-smtpd/matchedup
2)  cat /var/log/qmail/qmail-smtpd/matchedup | /usr/local/bin/tai64nlocal 
human_readable_current
3)  vi human_readable_current (remove all unneeded data)
4)  cat /var/log/qmail/qmail-send/human_readable_current |
/usr/local/bin/tai64n  tai64_current
5)  cat ./tai64_current | /usr/local/qmailanalog/bin/zoverall  overall_log
No.  qmail-smtpd is incoming mail via SMTP.  qmail-send is all deliveries, 
local and remote.
No.  Instead of converting the tai64n timestamps to human-readable, you need 
to convert them to the fractional seconds (tai) that qmail-analog expects. 
You can do this with tai64n2tai, included in Bruce Guenter's qlogtools 
package if I remember correctly.  His software is at untroubled.org. Thanks 
for the info Charles, but I'm confused.  How do most of you folks pull out 
information from your logs?  Log files generated by qmail are 
unreadable/unusable in the current (multilog) format.  In order for them to 
make sense to me, and in order to sift them for specific dates I have to 
convert them to human readable format.  I can do this with tai64nlocal. Once 
I have removed data that is not pertinent I then have to change them back 
into multilog format using tai64n, and then convert them into the older 
TAI64 format that qmailanalog understands, then run them through the 
qmailanalog scripts.
Wow, that's a convoluted process using tools that until now had worked
together to provide a graceful solution to my email needs.
Thanks for the info Charles, but I'm confused.  How do most of you folks 
pull out information from your logs?
With qmail-analog, tai64nlocal, and less, in my case.  Most people here 
probably use something similar.
Log files generated by qmail are unreadable/unusable in the current 
(multilog) format.
tai64n timestamps aren't supposed to be human readable.  They're supposed to 
be easily parsable by programs.  That's the whole point of tai64nlocal -- 
you log with tai64n timestamps, and if you want to read the log with 
human-readable timestamps, you do:
tai64nlocal  log | pager_of_choice
Don't run the logs through tai64nlocal before they hit the disk.
In order for them to make sense to me, and in order to sift them for
specific dates I have to convert them to human readable format.
No, it's much simpler than that.  A program to filter a log with tai64nlocal 
timestamps for particular dates is trivial; Bruce's qlogtools probably 
includes one (though I haven't checked).  After you've filtered them, you 
run it through tai64nlocal before reading it.
Once I have removed data that is not pertinent I then have to change them
back into multilog format using tai64n, and then convert them into the 
older
TAI64 format that qmailanalog understands, then run them through the
qmailanalog scripts.
Don't remove any data.  What isn't pertinent?  qmail-analog needs all of the 
various data that qmail-send logs to be able to accurately summarize it. I 
have a script that runs every night to give me a summary of the day's 

Re: Integrating the logs

2001-06-27 Thread hari_bhr

look for ISOQLOG nice

- Original Message -
From: pop corn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 28, 2001 10:00 AM
Subject: Integrating the logs


 I have my different daemons logging into the various log subdirectories
via
 multilog.

 My problem now is integrating them so that I have a continuous line of
 activity from the beginning to end for a given email.

 For example, I can do a tail -f current log for qmail-pop3 while running
 tests. However, I would like to know what related activities are occurring
 in other logs for this same email test.

 I have pulled the following info about qmail-analog from the following
 length thread in the archives. It includes an example script. I cut/paste
 quickly, so not everyone gets the credit they deserve for their posts in
 this thread. I have at minimum two questions after reading all of the info
 below:

 1) what are all the z... files in the example script?
 for ana in zoverall zddist zdeferrals zfailures zrhosts zsuids zrxdelay;

 2) where is a real working example of qmail-mrtg?

 ==

 I want to know how many messages were sent/failed etc. for a given period
of
 time (say the last three days).
 I have done the following in both /var/log/qmail/qmail-send and
 /var/log/qmail/qmail-smtpd (I'll admit my ignorance and say that I don't
 know the difference between the two.  Is qmail-send local deliveries and
 qmail-smtpd remote deliveries?):
 1)  Ran matchup on /var/log/qmail/qmail-send(smtpd)/current
 2)  Converted the matchedup version of current into human readable
 format using tai64nlocal
 3)  Pulled out dates for which I want to see log results from the file
 created above
 4)  Convert the data above to tai64 format using tai64n
 5)  Ran this data through zoverall to see qmailanalog results
 Regardless of whether I run it against /var/log/qmail/qmail-send or
 /var/log/qmail/qmail-smtpd I get the following:
 
 Completed messages: 0
 Total delivery attempts: 0
 
 Am I anywhere near doing this right?
 
 Here are my actual commands
 1)  cat /var/log/qmail/qmail-smtpd/current |
 /usr/local/qmailanalog/bin/matchup  /var/log/qmail/qmail-smtpd/matchedup
 2)  cat /var/log/qmail/qmail-smtpd/matchedup | /usr/local/bin/tai64nlocal

 human_readable_current
 3)  vi human_readable_current (remove all unneeded data)
 4)  cat /var/log/qmail/qmail-send/human_readable_current |
 /usr/local/bin/tai64n  tai64_current
 5)  cat ./tai64_current | /usr/local/qmailanalog/bin/zoverall 
overall_log
 No.  qmail-smtpd is incoming mail via SMTP.  qmail-send is all deliveries,
 local and remote.
 No.  Instead of converting the tai64n timestamps to human-readable, you
need
 to convert them to the fractional seconds (tai) that qmail-analog expects.
 You can do this with tai64n2tai, included in Bruce Guenter's qlogtools
 package if I remember correctly.  His software is at untroubled.org.
Thanks
 for the info Charles, but I'm confused.  How do most of you folks pull out
 information from your logs?  Log files generated by qmail are
 unreadable/unusable in the current (multilog) format.  In order for them
to
 make sense to me, and in order to sift them for specific dates I have to
 convert them to human readable format.  I can do this with tai64nlocal.
Once
 I have removed data that is not pertinent I then have to change them back
 into multilog format using tai64n, and then convert them into the older
 TAI64 format that qmailanalog understands, then run them through the
 qmailanalog scripts.
 Wow, that's a convoluted process using tools that until now had worked
 together to provide a graceful solution to my email needs.
 Thanks for the info Charles, but I'm confused.  How do most of you folks
 pull out information from your logs?
 With qmail-analog, tai64nlocal, and less, in my case.  Most people here
 probably use something similar.
 Log files generated by qmail are unreadable/unusable in the current
 (multilog) format.
 tai64n timestamps aren't supposed to be human readable.  They're supposed
to
 be easily parsable by programs.  That's the whole point of tai64nlocal --
 you log with tai64n timestamps, and if you want to read the log with
 human-readable timestamps, you do:
 tai64nlocal  log | pager_of_choice
 Don't run the logs through tai64nlocal before they hit the disk.
 In order for them to make sense to me, and in order to sift them for
 specific dates I have to convert them to human readable format.
 No, it's much simpler than that.  A program to filter a log with
tai64nlocal
 timestamps for particular dates is trivial; Bruce's qlogtools probably
 includes one (though I haven't checked).  After you've filtered them, you
 run it through tai64nlocal before reading it.
 Once I have removed data that is not pertinent I then have to change them
 back into multilog format using tai64n, and then convert them into the
 older
 TAI64 format that qmailanalog understands, then run them through the
 qmailanalog 

Problem with qmail-remote during Delivery

2001-06-27 Thread D Rajesh



Hi there,

Firstly, sorry for a long mail. 
I have sent 30,000 mails to different domains like yahoo, hotmail, rediff 
etc...
Before mentioning the problem the configuration that I have used in 
qmailis as follows:-

qmail config
--
1.) Two qmails running at /var/qmail and /var/qmail1 with silent 
concurrency limit to 200 for both

 The parameters below are the 
same in qmail-control of /var/qmail and /var/qmail1
2.) concurrencyremote = 150
3.) queuelifetime = 78400
4.) timeoutremote = 180
5.) timeoutsmtpd = 180

and all the others are default parameters.

I have sent 30,000 mails, using qmail-inject of both qmail directories on 
rotation. All the 30,000 mails were put in queue with in 7 minutes and 
qmail-remote was also running parallelly to send mails.

Now,as in the parameter concurrencyremote totally 300 ( 150from 
/var/qmail and 150 from /var/qmail1 ) qmail-remote processes have started 
sending mails. But, here cropped up the problem.

Whenever a qmail-remote tries to send a mail to hotmail.com. it hangs 
for sometime. As I had 8000 out of 30,000 mails as hotmail ID's the number of 
occurrence's of hotmail were more. So, the 300 qmail-remote processes were just 
hanging, trying to send those mails. So, whenever one process time-out , it 
gives way for other mail's to be sent.

SO, Due to this it took nearly 24HOURS to SEND all the mails.
I feelsending 30,000 mailswould have finishedin less that 
20 minutes if this situation is avoided 

Was I wrong at any config ?
how can we avoid these situations ???
Is there any waythat qmail-remote can implicitly drop sending these 
for some time ??
BTW what is this silent concurrency limit different to concurrency remote 
???

Thanks  Regards,Rajesh,tech solutions,[EMAIL PROTECTED],Intercept 
Consulting - INDIA.


Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Niles Rowland



[EMAIL PROTECTED] wrote:

 I understand that Free BSD and Linux are the overwhelming choices of
the
 Internet pornography industry.  That is a good technical figure of
merit,
 because it means these servers are stable (for HTTP) when getting
lots and
 lots of hits.


Actually, Linux and FreeBSD are the systems of choice in startup porn
companies because of their low cost.  Once a company begins to move
major traffic they find that low cost systems have too many
limitations to handle what the leaders of the company want to do.
This is when they use their new found wealth to buy Solaris.





Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread Sean Chittenden

  I understand that Free BSD and Linux are the overwhelming choices of the
  Internet pornography industry.  That is a good technical figure of merit,
  because it means these servers are stable (for HTTP) when getting lots and
  lots of hits.
 
 Actually, Linux and FreeBSD are the systems of choice in startup porn
 companies because of their low cost.  Once a company begins to move
 major traffic they find that low cost systems have too many
 limitations to handle what the leaders of the company want to do.
 This is when they use their new found wealth to buy Solaris.

This is now officially a troll.  So next time you see an
installation for a porn site pushing over 300Mbps that's running
Solaris, show me/tell me: I'll be amazed.  Linux is what most startup
porn joints use because they're new to the business and Linux has hype
and media attention.  Once the traffic gets up there, the traffic starts
to exceed 60-120Mbps, then you'll see a switch from Linux to FreeBSD.  
In there somewhere you'll see them experiment with Solaris and watch it
crumble and fail miserably in the Mbps / $ calculation.  Solaris is
good for running on redundant hardware where you can hot-swap anything
out at any time to maintain real 24/7.  Go back to your hobbit hole or
email me and I'll setup a different list to talk about the merits of
various operating systems that I've used in my day and the various
installations/companies I've done work for.

This thread is now officially dead unless resurrected on a
different mailing list.  -sc

-- 
Sean Chittenden

 PGP signature


Re: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread List Monkey

 [EMAIL PROTECTED] wrote:
 
  I understand that Free BSD and Linux are the overwhelming choices of
 the
  Internet pornography industry.  That is a good technical figure of
 merit,
  because it means these servers are stable (for HTTP) when getting
 lots and
  lots of hits.
 
 
 Actually, Linux and FreeBSD are the systems of choice in startup porn
 companies because of their low cost.  Once a company begins to move
 major traffic they find that low cost systems have too many
 limitations to handle what the leaders of the company want to do.
 This is when they use their new found wealth to buy Solaris.

Oh, give me a BREAK. What, do you work for Sun?

If you want to troll, may I suggest Lake Ontario, with 4 shiners, for
good salmon fishing.




svscan help

2001-06-27 Thread Kevin Roberts



Does any know how to fix this error starting 
svscan?

env: invalid option - - P
Try `env --help' for more information;


#!/bin/sh

PATH=$PATH:/usr/local/bin:/var/qmail/bincase 
"$1" in 
start) echo -n "Starting djb 
services: svscan" cd 
/service env - PATH="$PATH" svscan 
 echo $!  
/var/run/svscan.pid echo 
"." ;; 
stop) echo -n "Stopping djb 
services: svscan" kill `cat 
/var/run/svscan.pid` echo -n 
"services " svc -dx 
/service/* echo -n " 
logging" svc -dx 
/service/*/log echo 
"." ;; 
restart) $0 
stop $0 
start ;; 
*) echo 'Usage: svscan 
{start|stop|restart}' exit 
1esacexit 0


Re: svscan help

2001-06-27 Thread List Monkey

What does
echo $PATH
say?

On Wed, 27 Jun 2001, Kevin Roberts wrote:

 Does any know how to fix this error starting svscan?
 
 env: invalid option - - P
 Try `env --help' for more information;
 
 
 #!/bin/sh
 
 PATH=$PATH:/usr/local/bin:/var/qmail/bin
 case $1 in
 start)
 echo -n Starting djb services: svscan
 cd /service
 env - PATH=$PATH svscan 
 echo $!  /var/run/svscan.pid
 echo .
 ;;
 stop)
 echo -n Stopping djb services: svscan
 kill `cat /var/run/svscan.pid`
 echo -n services 
 svc -dx /service/*
 echo -n  logging
 svc -dx /service/*/log
 echo .
 ;;
 restart)
 $0 stop
 $0 start
 ;;
 *)
 echo 'Usage: svscan {start|stop|restart}'
 exit 1
 esac
 exit 0
 
 




RE: Solaris vs. Linux vs. FreeBSD

2001-06-27 Thread John Doe

Umm..wasn't the 2G file limit fixed in the 2.0 kernels?


--- David T. Ashley [EMAIL PROTECTED] wrote:
 Just be careful about Linux because it has a maximum 2G file size (size for
 a single file).  This can get in the way of some search engines which build
 large random-access files that exceed 2G.  But it should not pose any kind
 of a problem for mail, especially if MAILDIR format is used.
 
 I understand that Free BSD and Linux are the overwhelming choices of the
 Internet pornography industry.  That is a good technical figure of merit,
 because it means these servers are stable (for HTTP) when getting lots and
 lots of hits.
 
 If Free BSD breaks the 2G limit, I'd go with Free BSD.
 
 Dave.
 
 -Original Message-
 From: root [mailto:root]On Behalf Of Federico Edelman Anaya
 Sent: Wednesday, June 27, 2001 8:22 PM
 To: [EMAIL PROTECTED]
 Subject: Solaris vs. Linux vs. FreeBSD
 
 
 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? :)
 
 
 Thanks very much!
 
 


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