qmail Digest 18 Feb 2001 11:00:01 -0000 Issue 1279

Topics (messages 57455 through 57503):

switching a large sedmail installation to qmail right now .. need help !
        57455 by: Jankok, Lucio

Re: vacation of qmail
        57456 by: Pawel Garbowski

Re: switching a large sedmail installation to qmail right now ..
        57457 by: Stefaan A Eeckels
        57458 by: Jankok, Lucio
        57459 by: Jankok, Lucio

Timestamp in logs
        57460 by: John P
        57463 by: Charles Cazabon
        57464 by: Kyle

Re: qmail-inject refuses to work if it's parent process is qmail-local?
        57461 by: Charles Cazabon

Re: outgoing message(with multi recipient address)  was sent multi-times
        57462 by: Charles Cazabon

Re: tcpserver use of -B
        57465 by: Andrew Richards

software search
        57466 by: sberg.white.pangaealink.com

Re: Time zones in Qmail.
        57467 by: Harald Hanche-Olsen
        57492 by: Sam Trenholme
        57499 by: Peter van Dijk
        57502 by: cfm.maine.com

Re: How to un-break sendmail, well one part of it? :-)
        57468 by: Peter van Dijk

Per-Domain Concurrency Patch
        57469 by: Geoffrey Gussis
        57484 by: Charles Cazabon
        57486 by: richard.illuin.org
        57496 by: Charles Cazabon

./vadddomain
        57470 by: ktt
        57471 by: Peter van Dijk

ATRN (RFC2645) and qmail
        57472 by: David Krix

Re: bug in qmail-pop3d
        57473 by: Peter van Dijk

pop3 dying
        57474 by: mick
        57475 by: Peter van Dijk
        57476 by: mick
        57477 by: Peter van Dijk
        57478 by: Peter van Dijk
        57479 by: mick
        57480 by: mick
        57481 by: Peter van Dijk
        57482 by: mick
        57483 by: Charles Cazabon
        57485 by: mick
        57489 by: mick

X-Sender
        57487 by: davidge.jazzfree.com
        57491 by: Olivier M.
        57494 by: Sashka
        57495 by: Lukasz Felsztukier
        57497 by: Charles Cazabon
        57498 by: Sashka
        57500 by: Lukasz Felsztukier
        57501 by: Lukasz Felsztukier

Re: make mailing list private
        57488 by: Robin S. Socha
        57493 by: Sashka

supervise: fatal:
        57490 by: ktt

vpopmail
        57503 by: Mate Wierdl

Administrivia:

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

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

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

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


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


We are right  now in the process of migrating a large sendmail installation.
I ran into a problem.
the sendmail installation we want to replace has a mailertable of +/- 24 entries
which tells the mta where to relay mails for a specific domain.
the syntax goes like this;
domain.org      mta1.otherdomain.org
sub.domain.org  mta2.differentdomain.org
etc

I don't know how to implement this in qmail.

your help is much appreciated.

regards.

Luc




Hello,

* Beaver-Jirawat Chetbundit <[EMAIL PROTECTED]> [010216 11:58] wrote:
> 
> Could you please show me how to setup vacation for qmail that use
> vmailmgr or vpopmail?

If qmail is running from procmail:

# (D.White recipe)

:0:
* ^To:.*igor
{
   :0 c :
   | /usr/ucb/vacation igor

   :0:
   Personal
}
:0:
vacationFile

p.

-- 
pawel garbowski
[EMAIL PROTECTED]
 







On 17-Feb-2001 Jankok, Lucio wrote:
>  the sendmail installation we want to replace has a mailertable of +/- 24 entries
>  which tells the mta where to relay mails for a specific domain.
>  the syntax goes like this;
>  domain.org      mta1.otherdomain.org
>  sub.domain.org  mta2.differentdomain.org

control/smtproutes

quoting from qmail-control.0:

       smtproutes
            Artificial SMTP routes.   Each  route  has  the  form
            domain:relay,  without  any  extra spaces.  If domain
            matches host, qmail-remote will connect to relay,  as
            if  host  had  relay  as  its only MX.  (It will also
            avoid doing any CNAME lookups on  recip.)   host  may
            include  a  colon and a port number to use instead of
            the normal SMTP port, 25:

               inside.af.mil:firewall.af.mil:26

            relay may be empty; this tells qmail-remote  to  look
            up MX records as usual.  smtproutes may include wild­
            cards:

               .af.mil:
               :heaven.af.mil

            Here any address ending with .af.mil (but not  af.mil
            itself)  is  routed  by  its  MX  records;  any other
            address is artificially routed to heaven.af.mil.

            The qmail system does not protect you if  you  create
            an  artificial  mail loop between machines.  However,
            you are always safe using smtproutes if  you  do  not
            accept mail from the network.

Take care,

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)




Thanks ! :)

-----Original Message-----
From: Stefaan A Eeckels [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 17, 2001 1:10 PM
To: Jankok, Lucio
Cc: [EMAIL PROTECTED]
Subject: RE: switching a large sedmail installation to qmail right now
..



On 17-Feb-2001 Jankok, Lucio wrote:
>  the sendmail installation we want to replace has a mailertable of +/- 24 entries
>  which tells the mta where to relay mails for a specific domain.
>  the syntax goes like this;
>  domain.org      mta1.otherdomain.org
>  sub.domain.org  mta2.differentdomain.org

control/smtproutes

quoting from qmail-control.0:

       smtproutes
            Artificial SMTP routes.   Each  route  has  the  form
            domain:relay,  without  any  extra spaces.  If domain
            matches host, qmail-remote will connect to relay,  as
            if  host  had  relay  as  its only MX.  (It will also
            avoid doing any CNAME lookups on  recip.)   host  may
            include  a  colon and a port number to use instead of
            the normal SMTP port, 25:

               inside.af.mil:firewall.af.mil:26

            relay may be empty; this tells qmail-remote  to  look
            up MX records as usual.  smtproutes may include wild­
            cards:

               .af.mil:
               :heaven.af.mil

            Here any address ending with .af.mil (but not  af.mil
            itself)  is  routed  by  its  MX  records;  any other
            address is artificially routed to heaven.af.mil.

            The qmail system does not protect you if  you  create
            an  artificial  mail loop between machines.  However,
            you are always safe using smtproutes if  you  do  not
            accept mail from the network.

Take care,

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)




hi,

it is not a MX problem.
and indeed my question is slightly OT.
but the answer is "control/smtproutes"
  qmail-control.0

regards,

Lucio Jankok



-----Original Message-----
From: Stefaan A Eeckels [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 17, 2001 1:10 PM
To: Jankok, Lucio
Cc: [EMAIL PROTECTED]
Subject: RE: switching a large sedmail installation to qmail right now
..



On 17-Feb-2001 Jankok, Lucio wrote:
>  the sendmail installation we want to replace has a mailertable of +/- 24 entries
>  which tells the mta where to relay mails for a specific domain.
>  the syntax goes like this;
>  domain.org      mta1.otherdomain.org
>  sub.domain.org  mta2.differentdomain.org

control/smtproutes

quoting from qmail-control.0:

       smtproutes
            Artificial SMTP routes.   Each  route  has  the  form
            domain:relay,  without  any  extra spaces.  If domain
            matches host, qmail-remote will connect to relay,  as
            if  host  had  relay  as  its only MX.  (It will also
            avoid doing any CNAME lookups on  recip.)   host  may
            include  a  colon and a port number to use instead of
            the normal SMTP port, 25:

               inside.af.mil:firewall.af.mil:26

            relay may be empty; this tells qmail-remote  to  look
            up MX records as usual.  smtproutes may include wild­
            cards:

               .af.mil:
               :heaven.af.mil

            Here any address ending with .af.mil (but not  af.mil
            itself)  is  routed  by  its  MX  records;  any other
            address is artificially routed to heaven.af.mil.

            The qmail system does not protect you if  you  create
            an  artificial  mail loop between machines.  However,
            you are always safe using smtproutes if  you  do  not
            accept mail from the network.

Take care,

Stefaan
-- 
How's it supposed to get the respect of management if you've got just
one guy working on the project?  It's much more impressive to have a
battery of programmers slaving away. -- Jeffrey Hobbs (comp.lang.tcl)




Just wondering, is there an easy way of finding out the time of an event in
the /var/log/qmail/current file?

That's all!

Thanks
John





John P <[EMAIL PROTECTED]> wrote:
> Just wondering, is there an easy way of finding out the time of an event in
> the /var/log/qmail/current file?

The first field is the timestamp (providing you used a 't' argument to 
multilog).  To convert it to readable local time, pipe the log through
tai64nlocal.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




You can redirect the logfile to tai64nlocal (installed with daemontools)
like 'tai64nlocal < /var/log/qmail/current'.  That will print it to stdout.
I'm not sure how to go about actually converting it as it logs, if that's
possible.

--
Kyle Knack
Server Engineer - SkyNetWEB/Affinity Internet
System Administrator - Only-Linux.Com
[EMAIL PROTECTED]
http://www.skynetweb.com

----- Original Message -----
From: John P <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 17, 2001 9:36 AM
Subject: Timestamp in logs


> Just wondering, is there an easy way of finding out the time of an event
in
> the /var/log/qmail/current file?
>
> That's all!
>
> Thanks
> John
>
>





David Cunningham <[EMAIL PROTECTED]> wrote:
> Thank you Charles.  I'll be sure to look at that.  The goal here is not so
> much to get a functional autoresponder as it is to satisfy my curiosity
> about the behavior of qmail in terms of script processing.

Ah, well that's a totally different story then.  The man pages for
dot-qmail and qmail-command will be of particular interest.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Qiao Aijun <[EMAIL PROTECTED]> wrote:
> I have routed outgoing message to my ISP's SMTP server. I hope our email with
> multi recipient address are forwarded to my ISP's SMTP once. How can I do
> that?

qmail itself doesn't do this; you can use Dan's serialmail to do it, perhaps.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Hi Timothy,

Looks like no-one answered this... orphan message. Here
goes,

Hmm, I don't get this problem. Perhaps you're putting the -B
option too late (the arguments are - from the man page)
   tcpserver [ opts] host port prog

Just to test this I tried
   tcpserver -B 'pwd is ' ip_address 999 pwd
then telnetted to port 999 on the ip_address which gave the
expected result (you may also need -R, -H and -l options to
avoid certain lookups, or the associated delays where these
will fail).

cheers,

Andrew.

----------
From:   Timothy Lorenc[SMTP:[EMAIL PROTECTED]]
Sent:   15 February 2001 08:22
To:     qmail
Subject:        Q: tcpserver use of -B


Hello,

I have read through the qmail list and check all the documentation
that I could find... but I still do not know how to use the -B option
of tcpserver. I have tried -B/<path to filename> which just prints
the /<path to filename on the line preceeding the 220 FCN-hostname
line. I have tried -B"Welcome to my mail system ", but I get error
messages in /var/adm/messages concerning unable to print banner.
So... what have others used... I am using this because:

-B banner: Write banner to the network immediately after each connection is
made. tcpserver writes banner before looking up $TCPREMOTEHOST, before
looking up $TCPREMOTEINFO, and before checking cdb. This feature can be used
to reduce latency in protocols where the client waits for a greeting from
the server.

I believe that I am having some latency between another system that
is using my qmail server as a smart relay... and I think the other
systems (Win2K, yuck...) is causing deferrals in its own mail. Maybe
I am off track and someone with experience with relaying for Win2K
SMTP service can let me know their experiences. Thank you.

-- GET LOADed!

Timothy Lorenc        USmail:  LOAD, Ltd.
VP Technology                  1700 W. Horizon Ridge Pkwy
                               Suite 102
Email: [EMAIL PROTECTED]            Henderson, NV 89012
http://www.load.com

***DISCLAIMER***

If this communication concerns the negotiation of a contract or agreement,
the Uniform Electronic Transaction Act does not apply to this communication:
contract and/or agreement formation in this matter shall only occur with
manually-affixed signatures on original documents.








Does qmail have any tools or add-ons that allow for web mail without
creating a bunch of user accounts on the mail server itself?  I've got
MySQL running so I'm hoping that I can find something to allow webmail
from qmail and MySQL without creating a shell account for each webmail
user. I've done some hunting around but it seems like all the tools need
to have an actual account on the system for each webmail user.

I'm real new to MySQL but I do have it running and can probably figure out
what I need to do to it if I can find such a tool.

My goal is to have the webmail and alongside it a database for a locator
type purpose.  i.e. People can create a webmail account and store
information about themselves for other users to come and view later on.
Each user would need to have the ability to come back later on and update
their information.  And the system would need to keep each users
information safe from being changed by other users.

I'm not even sure if this stuff is possible but I was hoping that someone
on the list might be able to point me in the direction of some software
packages to get me a running start.





+ Cameron Lowe <[EMAIL PROTECTED]>:

| How do I change the timezone information that qmail puts in the
| received header?

You don't, at least not without patching qmail.

| I would like qmail to put in the timezone GMT+11 or
| Australia/Victoria.

Maybe you would like it, but you shouldn't.  8-)

No, I'm serious.  So much email crosses time zones, it's easier to
follow the progress of a messages if all Received: time stamps are the
same time zone.

Most end users won't bother with Received: headers anyway.  As long as
the Date: header is in the local time zone of the sender, they're
happy.

- Harald





> How do I change the timezone information that qmail puts in the
> received
> header?
> Qmail is running on openbsd 2.8.

There is a patch for the Qmail source that addresses this issue over at
http://www.qmail.org/

I had someone in sales ask for this patch [1], and I was able to apply
this patch without any problems.

- Sam

[1] Sales people are nortorious for wanting to have a time stamp for
    the exact time they sent or received an email.  In their time zone.






On Sat, Feb 17, 2001 at 04:50:35PM -0800, Sam Trenholme wrote:
> 
> > How do I change the timezone information that qmail puts in the
> > received
> > header?
> > Qmail is running on openbsd 2.8.
> 
> There is a patch for the Qmail source that addresses this issue over at
> http://www.qmail.org/
> 
> I had someone in sales ask for this patch [1], and I was able to apply
> this patch without any problems.
> 
> - Sam
> 
> [1] Sales people are nortorious for wanting to have a time stamp for
>     the exact time they sent or received an email.  In their time zone.

That's why sales people don't admin servers or write software.

There's a very good reason these headers are in UTC. If you send a
mail to the other side of the world, the next Received: line will also
be UTC. This means you don't have to do timezone calculations to see
how long a mail really took.

UTC is good. People requesting otherwise in their Received: header are
confused.

People complaining about Date: headers being in the wrong timezone
should get a new MUA. Making Date: headers user-readable is the MUA's
task. (unless some stupid misconfigured Eudora puts in Date headers in
other *languages*. I've seen that happen. I subsequently got blamed
for 'my qmail servers losing mail'. Turned out other Eudora's, when
receiving these broken Date: headers, considered the mail to be
infinitely old. Guess what these people were sorting on. Scrolling
down solved their problem :)

Greetz, Peter.




On Sun, Feb 18, 2001 at 04:23:29AM +0100, Peter van Dijk wrote:
> On Sat, Feb 17, 2001 at 04:50:35PM -0800, Sam Trenholme wrote:
> > 
> > > How do I change the timezone information that qmail puts in the
> > > received
> > > header?
> > > Qmail is running on openbsd 2.8.
...
> > [1] Sales people are nortorious for wanting to have a time stamp for
> >     the exact time they sent or received an email.  In their time zone.
...

> There's a very good reason these headers are in UTC. If you send a
> mail to the other side of the world, the next Received: line will also
> be UTC. This means you don't have to do timezone calculations to see
> how long a mail really took.

Calculations a provincial, fat, balding, ugly american sysdmin
like me will almost always get wrong because of EST, DST and God's time
are sometimes different sometimes not.  Tell your salespeople that
the net is run geeks like me.  :-)  Don't even get into clock skew
and why ntp died on that machine.


> UTC is good. People requesting otherwise in their Received: header are
> confused.

!meaningful cookie

cfm

-- 

Christopher F. Miller, Publisher                             [EMAIL PROTECTED]
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux




On Fri, Feb 16, 2001 at 02:37:17PM -0500, Hubbard, David wrote:
> In RedHat's infinite wisdom, they distributed a version of
> linuxconf with version 6.2 that writes sendmail.cf files
> in such a way that they will illegally reject mail with
> an empty Return-Path.  Would anyone happen to know what
> needs to be fixed in sendmail.cf to make it stop doing
> that?  I have been getting a lot of double bounces since
> my qmail server sends the bounce without the Return-Path.

Every sane server sends bounces with an empty return-path. Even a
normal sendmail installation does.

Darn. I knew RedHat was clueless, but this...

Greetz, Peter.




I saw a mention in the archives about a per-domain concurrency patch 
- which would help make sure that a qmail server would not overload a 
recipient smtp server when a higher volume of mail was being sent 
out.  Is the patch available or are there other ways to achieve this 
result? I know you can set the concurrency remote lower - but was 
wondering how you can keep that number higher while still making sure 
that certain recipient domains were not overwhelmed.

Thanks in advance for any help,

Geoffrey




Geoffrey Gussis <[EMAIL PROTECTED]> wrote:
> I saw a mention in the archives about a per-domain concurrency patch 
> - which would help make sure that a qmail server would not overload a 
> recipient smtp server when a higher volume of mail was being sent 
> out.

It's a broken idea.  The admin of the remote server should set their
concurrency limits to something their system can handle -- if they don't,
then that's their problem, not yours.

> Is the patch available or are there other ways to achieve this 
> result?

The best way is if you notice that a large number of concurrent SMTP
sessions to a given server knocks it over, send the postmaster there a polite
mail telling them their configuration is broken.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




On Sat, 17 Feb 2001, Charles Cazabon wrote:

> Geoffrey Gussis <[EMAIL PROTECTED]> wrote:
> > I saw a mention in the archives about a per-domain concurrency patch 
> > - which would help make sure that a qmail server would not overload a 
> > recipient smtp server when a higher volume of mail was being sent 
> > out.
> 
> It's a broken idea.  The admin of the remote server should set their
> concurrency limits to something their system can handle -- if they don't,
> then that's their problem, not yours.

I agree, but there is a different class of problem that one might want to
solve, which leads to the original problem. 'our' problem is that all of
the concurrency remote outgoing slots are being used to transfer mail to
one domain, whereas it /might/ be desireable for qmail to send sendable[0]
mail to a variety of domains.

For example, if I only have 40 outbound connect  slots I might not want
all of them to bet consumed sending mail to AOL, I might want  dedicate
some of my resources to delivering mail to other domains.

RjL

[0]sendable in the sense that there is a message that is on the 'a
delivery attempt should be made now' queue rather than any knowledge about
the sucess/failure of trying to deliver it





[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Sat, 17 Feb 2001, Charles Cazabon wrote:
> > 
> > It's a broken idea.  The admin of the remote server should set their
> > concurrency limits to something their system can handle -- if they don't,
> > then that's their problem, not yours.
 
> For example, if I only have 40 outbound connect  slots I might not want
> all of them to bet consumed sending mail to AOL, I might want  dedicate
> some of my resources to delivering mail to other domains.

To play devil's advocate, you could also look at this situation in terms of
"if this server handles enough mail that all remoteconcurrency is sucked up
by one domain, than it's busy enough to justify raising the remote
concurrency limits, and upgrading the hardware if necessary".

I find that even a modest box can easily handle a remote concurrency of
100 or better with qmail.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




I've tryed to create virtual domains on freebsd 4.0
machine:

# ./vadddomain foo.org

but vpopmail didn't created any files in
/home/vpopmail/domains
and didn't showed any errors.
what it could be?

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




On Sat, Feb 17, 2001 at 12:51:35PM -0800, ktt wrote:
> I've tryed to create virtual domains on freebsd 4.0
> machine:
> 
> # ./vadddomain foo.org
> 
> but vpopmail didn't created any files in
> /home/vpopmail/domains
> and didn't showed any errors.
> what it could be?

This is not the vpopmail mailing list.

I also don't have an answer, sorry.

Greetz, Peter.




Hi,
 
i've read (on this list) about some patch beeing available for qmail to implement this feature. Has anybody got an idea just where i could get it (if it's available)?
 
 
cu,
 
David




On Wed, Feb 14, 2001 at 10:58:22AM +0100, Peter van Dijk wrote:
[snip]
> Note how stat shows a smaller total size but the same message count.
> This is a bug. According to RFC1939 (pop3) STAT should not count
> deleted messages 'in either total'.
> 
> The fix is trivial, I will fix up a patch tonight if noone else does
> it before then :)

Ok, been busy. Attached is a patch for this bug. The patch was
trivial indeed.

Greetz, Peter.
--- /usr/local/src/qmail-1.03/qmail-pop3d.c     Mon Jun 15 12:53:16 1998
+++ qmail-pop3d.c       Sat Feb 17 22:20:08 2001
@@ -149,12 +149,18 @@
 void pop3_stat()
 {
   int i;
+  int realnumm;
   unsigned long total;
  
+  realnumm = 0;
   total = 0;
-  for (i = 0;i < numm;++i) if (!m[i].flagdeleted) total += m[i].size;
+  for (i = 0;i < numm;++i)
+    if (!m[i].flagdeleted) {
+      total += m[i].size;
+      ++realnumm;
+    }
   puts("+OK ");
-  put(strnum,fmt_uint(strnum,numm));
+  put(strnum,fmt_uint(strnum,realnumm));
   puts(" ");
   put(strnum,fmt_ulong(strnum,total));
   puts("\r\n");




I've got a qmail system in which pop3 dies after about 30 minutes of use.
The system load average in low, can't see any obvious run away process,
the rest of the system works fine (sshd, smtp, http, ftp). killing all
qmail process's and restarting gets it to work for about another 30
minutes....
Any suggestions as to where to start looking?

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





On Sat, Feb 17, 2001 at 03:28:38PM +0000, mick wrote:
> I've got a qmail system in which pop3 dies after about 30 minutes of use.
> The system load average in low, can't see any obvious run away process,
> the rest of the system works fine (sshd, smtp, http, ftp). killing all
> qmail process's and restarting gets it to work for about another 30
> minutes....
> Any suggestions as to where to start looking?

What do the logs say?

Greetz, Peter.




Can't see anything obvious.... 
This is a busy server so the logs a flying pretty fast, connetions just
time out and I can't see any obvious failure messages in the logs.
Any suggestions for what I should grep for?


On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 03:28:38PM +0000, mick wrote:
> > I've got a qmail system in which pop3 dies after about 30 minutes of use.
> > The system load average in low, can't see any obvious run away process,
> > the rest of the system works fine (sshd, smtp, http, ftp). killing all
> > qmail process's and restarting gets it to work for about another 30
> > minutes....
> > Any suggestions as to where to start looking?
> 
> What do the logs say?
> 
> Greetz, Peter.
> 
> 

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





On Sat, Feb 17, 2001 at 03:41:45PM +0000, mick wrote:
> Can't see anything obvious.... 
> This is a busy server so the logs a flying pretty fast, connetions just
> time out and I can't see any obvious failure messages in the logs.
> Any suggestions for what I should grep for?

Well, I suppose there's no log of any pop3 activity after it dies.
What are the last few lines logged about pop3?

Greetz, Peter.




On Sat, Feb 17, 2001 at 10:40:20PM +0100, Peter van Dijk wrote:
> On Sat, Feb 17, 2001 at 03:41:45PM +0000, mick wrote:
> > Can't see anything obvious.... 
> > This is a busy server so the logs a flying pretty fast, connetions just
> > time out and I can't see any obvious failure messages in the logs.
> > Any suggestions for what I should grep for?
> 
> Well, I suppose there's no log of any pop3 activity after it dies.
> What are the last few lines logged about pop3?

Hmm, is your pop3 perhaps reaching the concurrency limit set in
tcpserver? Or, if running from inetd (which is a bad idea), is the
ratelimiting holding it back?

Greetz, Peter.




grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
nothing.
this is how it is called:

/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
  my.domain.com /
    bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 03:41:45PM +0000, mick wrote:
> > Can't see anything obvious.... 
> > This is a busy server so the logs a flying pretty fast, connetions just
> > time out and I can't see any obvious failure messages in the logs.
> > Any suggestions for what I should grep for?
> 
> Well, I suppose there's no log of any pop3 activity after it dies.
> What are the last few lines logged about pop3?
> 
> Greetz, Peter.
> 
> 

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





concurency limit is set to 120, does that mean its limited to 120 pop3
sesions?

On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 10:40:20PM +0100, Peter van Dijk wrote:
> > On Sat, Feb 17, 2001 at 03:41:45PM +0000, mick wrote:
> > > Can't see anything obvious.... 
> > > This is a busy server so the logs a flying pretty fast, connetions just
> > > time out and I can't see any obvious failure messages in the logs.
> > > Any suggestions for what I should grep for?
> > 
> > Well, I suppose there's no log of any pop3 activity after it dies.
> > What are the last few lines logged about pop3?
> 
> Hmm, is your pop3 perhaps reaching the concurrency limit set in
> tcpserver? Or, if running from inetd (which is a bad idea), is the
> ratelimiting holding it back?
> 
> Greetz, Peter.
> 
> 

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





On Sat, Feb 17, 2001 at 04:02:58PM +0000, mick wrote:
> grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
> nothing.
> this is how it is called:
> 
> /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /
>     bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

This startup doesn't specify any logging.

Greetz, Peter.




Should I add: 
  | /var/qmail/bin/splogger pop3 3 &

On Sat, 17 Feb 2001, Peter van Dijk wrote:

> On Sat, Feb 17, 2001 at 04:02:58PM +0000, mick wrote:
> > grep for pop3 on mail.log and daemon.log for pop3 (digital unix) returns
> > nothing.
> > this is how it is called:
> > 
> > /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
> >   my.domain.com /
> >     bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> This startup doesn't specify any logging.
> 
> Greetz, Peter.
> 
> 

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





mick <[EMAIL PROTECTED]> wrote:
> concurency limit is set to 120, does that mean its limited to 120 pop3
> sesions?

Yes, if that's the number you are supplying as the -c option to the
tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
if your problems stop.  You could also enable the logging from tcpserver for
that.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Ok, tried changing this:
/usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
  my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

to this:
/usr/local/bin/tcpserver -c 200 0 pop3 /var/qmail/bin/qmail-popup
  my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

See what that does.


On Sat, 17 Feb 2001, Charles Cazabon wrote:

> mick <[EMAIL PROTECTED]> wrote:
> > concurency limit is set to 120, does that mean its limited to 120 pop3
> > sesions?
> 
> Yes, if that's the number you are supplying as the -c option to the
> tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
> if your problems stop.  You could also enable the logging from tcpserver for
> that.
> 
> Charles
> -- 
> -----------------------------------------------------------------------
> Charles Cazabon                            <[EMAIL PROTECTED]>
> GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> Any opinions expressed are just that -- my opinions.
> -----------------------------------------------------------------------
> 
> 

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





Seems to have worked so far! I'll keep my fingers crossed.
Thank you greatly for your help.

On Sat, 17 Feb 2001, mick wrote:

> Ok, tried changing this:
> /usr/local/bin/tcpserver 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> to this:
> /usr/local/bin/tcpserver -c 200 0 pop3 /var/qmail/bin/qmail-popup
>   my.domain.com /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &
> 
> See what that does.
> 
> 
> On Sat, 17 Feb 2001, Charles Cazabon wrote:
> 
> > mick <[EMAIL PROTECTED]> wrote:
> > > concurency limit is set to 120, does that mean its limited to 120 pop3
> > > sesions?
> > 
> > Yes, if that's the number you are supplying as the -c option to the
> > tcpserver instance launching qmail-pop3d.  Double or quadruple it and see
> > if your problems stop.  You could also enable the logging from tcpserver for
> > that.
> > 
> > Charles
> > -- 
> > -----------------------------------------------------------------------
> > Charles Cazabon                            <[EMAIL PROTECTED]>
> > GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
> > Any opinions expressed are just that -- my opinions.
> > -----------------------------------------------------------------------
> > 
> > 
> 
> *****************************************
> Mick Dobra
> Systems Administrator
> MTCO Communications
> 1-800-859-6826
> *****************************************
> 
> 

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






Hi,

Which qmail process write the X-Sender field in the headers? I would like
to remove it, or to rewrite it, because it uses the name of my
host/domain, which are not real. BTW, how can i rewrite any header of my
outgoing mail?



David Gómez

"The question of whether computers can think is just like the question of
 whether submarines can swim." -- Edsger W. Dijkstra






On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
> Which qmail process write the X-Sender field in the headers? I would like
> to remove it, or to rewrite it, because it uses the name of my
> host/domain, which are not real. BTW, how can i rewrite any header of my
> outgoing mail?

I don't know any qmail process which do that : it's most probably
your mail program which is doing that. For example in omail-webmail,
I also set a X-Sender, to let recipient see where the mail
is really comming from.

Regards,
Olivier
-- 
_________________________________________________________________
 Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch

PGP signature





Hello,

Yes, this is correct. As far as I remember, Eudora adds this header.
There is might be few more more programs like this, but I don't know
about them.. yet:-)

Saturday, February 17, 2001, 7:12:58 PM, you wrote:
OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
>> Which qmail process write the X-Sender field in the headers? I would like
>> to remove it, or to rewrite it, because it uses the name of my
>> host/domain, which are not real. BTW, how can i rewrite any header of my
>> outgoing mail?

OM> I don't know any qmail process which do that : it's most probably
OM> your mail program which is doing that. For example in omail-webmail,
OM> I also set a X-Sender, to let recipient see where the mail
OM> is really comming from.

OM> Regards,
OM> Olivier



-- 
 Sashka






Sashka wrote:
> 
> Hello,
> 
> Yes, this is correct. As far as I remember, Eudora adds this header.
> There is might be few more more programs like this, but I don't know
> about them.. yet:-)
> 
> Saturday, February 17, 2001, 7:12:58 PM, you wrote:
> OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
> >> Which qmail process write the X-Sender field in the headers? I would like
> >> to remove it, or to rewrite it, because it uses the name of my
> >> host/domain, which are not real. BTW, how can i rewrite any header of my
> >> outgoing mail?
> 
> OM> I don't know any qmail process which do that : it's most probably
> OM> your mail program which is doing that. For example in omail-webmail,
> OM> I also set a X-Sender, to let recipient see where the mail
> OM> is really comming from.
> 
I'm getting these headers with every email that qmail is sending:
X-Mozilla-Status: 8011
X-Mozilla-Status2: 00000000
X-UIDL: 982463923.22586.naomi

How can these be removed or changed to my own liking ?
Cheers,
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> > 
> I'm getting these headers with every email that qmail is sending:
> X-Mozilla-Status: 8011
> X-Mozilla-Status2: 00000000
> X-UIDL: 982463923.22586.naomi
> 
> How can these be removed or changed to my own liking ?

Change your MUA -- qmail isn't adding these headers, it's Mozilla (Netscape).

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------




Hello,

>> Yes, this is correct. As far as I remember, Eudora adds this header.
>> There is might be few more more programs like this, but I don't know
>> about them.. yet:-)
>> 
>> Saturday, February 17, 2001, 7:12:58 PM, you wrote:
>> OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
>> >> Which qmail process write the X-Sender field in the headers? I would like
>> >> to remove it, or to rewrite it, because it uses the name of my
>> >> host/domain, which are not real. BTW, how can i rewrite any header of my
>> >> outgoing mail?
>> 
>> OM> I don't know any qmail process which do that : it's most probably
>> OM> your mail program which is doing that. For example in omail-webmail,
>> OM> I also set a X-Sender, to let recipient see where the mail
>> OM> is really comming from.
>> 
LF> I'm getting these headers with every email that qmail is sending:
LF> X-Mozilla-Status: 8011
LF> X-Mozilla-Status2: 00000000
LF> X-UIDL: 982463923.22586.naomi

LF> How can these be removed or changed to my own liking ?
Try using different e-mail client.. for example, The Bat
(http://www.ritlabs.com)

-- 
 Sashka






Sashka wrote:
> 
> Hello,
> 
> >> Yes, this is correct. As far as I remember, Eudora adds this header.
> >> There is might be few more more programs like this, but I don't know
> >> about them.. yet:-)
> >>
> >> Saturday, February 17, 2001, 7:12:58 PM, you wrote:
> >> OM> On Sun, Feb 18, 2001 at 01:15:39AM +0100, [EMAIL PROTECTED] wrote:
> >> >> Which qmail process write the X-Sender field in the headers? I would like
> >> >> to remove it, or to rewrite it, because it uses the name of my
> >> >> host/domain, which are not real. BTW, how can i rewrite any header of my
> >> >> outgoing mail?
> >>
> >> OM> I don't know any qmail process which do that : it's most probably
> >> OM> your mail program which is doing that. For example in omail-webmail,
> >> OM> I also set a X-Sender, to let recipient see where the mail
> >> OM> is really comming from.
> >>
> LF> I'm getting these headers with every email that qmail is sending:
> LF> X-Mozilla-Status: 8011
> LF> X-Mozilla-Status2: 00000000
> LF> X-UIDL: 982463923.22586.naomi
> 
> LF> How can these be removed or changed to my own liking ?
> Try using different e-mail client.. for example, The Bat
> (http://www.ritlabs.com)

These e-mail are sent by php script from the website.
-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




Charles Cazabon wrote:
> 
> Lukasz Felsztukier <[EMAIL PROTECTED]> wrote:
> > >
> > I'm getting these headers with every email that qmail is sending:
> > X-Mozilla-Status: 8011
> > X-Mozilla-Status2: 00000000
> > X-UIDL: 982463923.22586.naomi
> >
> > How can these be removed or changed to my own liking ?
> 
> Change your MUA -- qmail isn't adding these headers, it's Mozilla (Netscape).
> 
You mean when I read them ?
These email where posted by a php script from a website...

-- 
Lukasz Felsztukier

 : :   d i g i t a l  O n e  : :  interactive media house
 : :   http://www.digitalone.pl
 : :   Al. Kosciuszki 1, 90-418 Lodz, Poland
 : :   tel./fax  [+48 42] 632.89.74




* Sashka  <[EMAIL PROTECTED]> writes:

> how can I make mailing list private in ezml? 

By reading the ezmlm(-idx)-FAQ and looking for moderation.

> also, I need to add Reply-To: [EMAIL PROTECTED]  

Look for headeradd.

> how to do these things?

You do not do the latter *AT ALL*:
http://www.unicom.com/pw/reply-to-harmful.html 
-- 
Robin S. Socha <http://socha.net/>




Hello,



Saturday, February 17, 2001, 12:25:02 PM, you wrote:
RSS> * Sashka  <[EMAIL PROTECTED]> writes:
>> how can I make mailing list private in ezml?
RSS> By reading the ezmlm(-idx)-FAQ and looking for moderation.
>> also, I need to add Reply-To: [EMAIL PROTECTED]
RSS> Look for headeradd.
>> how to do these things?
RSS> You do not do the latter *AT ALL*:
RSS> http://www.unicom.com/pw/reply-to-harmful.html 
Thanks for this info. I figured out that few minutes after I sent
e-mail to list. Thing is, that this list is private for 4 persons and
there won't be any big attachments. anyway, if they ask me, I can
remove attachments. I think, I will able to do this :)


-- 
 Sashka






Have installed qmail under
http://howto.globelinks.com/qmail-howto-freebsd.html
but getting 

supervise: fatal: unable to acquire
log/supervise/lock: temporary failure
supervise: fatal: unable to acquire
qmail-send/supervise/lock: temporary failure
supervise: fatal: unable to acquire
log/supervise/lock: temporary failure
supervise: fatal: unable to acquire
qmail-pop3d/supervise/lock: temporary failure
supervise: fatal: unable to acquire
qmail-smtpd/supervise/lock: temporary failure

on startup.
how to remedy this problem?
thank you.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/




Is this the right forum for this?
I installed the vpopmail rpm.

After that I ran, as root,

useradd a.b.c
vadddomain a.b.c

Interestingly, I got this 

+a.b.c-:a.b.c:521:521:/home/vpopmail/domains/a.b.c:-::

users/assign.  But

# id -u a.b.c
511

What gives?  (This is to investigate some ezmlm user's problem which I
suspect has to do with perms on a list set up under vpopmail)?

I installed

# rpm -q vpopmail
vpopmail-4.9.6-1

The rpm perhaps is suspect; it says, for example, that the License is
by D. J. Bernstein.

Mate


Reply via email to