The Qpopper list archive ending on 18 Oct 1999


Topics covered in this issue include:

  1. Re: gdbm_open failures (was: Can't add user to apop database)
       "Kenneth Porter" <shiva at well dot com>
       Tue, 05 Oct 1999 16:33:18 -0700 (PDT)
  2. Re: gdbm_open failures (was: Can't add user to apop database)
       "Kenneth Porter" <shiva at well dot com>
       Tue, 05 Oct 1999 23:12:17 -0700 (PDT)
  3. Re: gdbm_open failures (was: Can't add user to apop database)
       Jesus Cea Avion <jcea at argo dot es>
       Wed, 06 Oct 1999 09:25:11 +0000
  4. New bulletins patch for QPopper 2.53
       Mikolaj Rydzewski <miki at ceti.com dot pl>
       Wed, 6 Oct 1999 11:49:17 +0200 (CEST)
  5. Server Mode and NO_STATUS flag
       "Dave Brodmann" <davidb at nis dot net>
       Wed, 6 Oct 1999 13:23:53 -0400
  6. Re: gdbm_open failures (was: Can't add user to apop database)
       "Kenneth Porter" <shiva at well dot com>
       Wed, 06 Oct 1999 16:14:27 -0700 (PDT)
  7. Zero messages reported when four are in mbox
       "Kenneth Porter" <shiva at well dot com>
       Fri, 08 Oct 1999 01:12:10 -0700 (PDT)
  8. Re: Zero messages reported when four are in mbox
       Jithender Tiwari <jtiwari at infotech.stph dot net>
       Fri, 08 Oct 1999 14:14:10
  9. Re: Zero messages reported when four are in mbox
       Jithender Tiwari <jtiwari at infotech.stph dot net>
       Fri, 08 Oct 1999 14:14:57
 10. corrupted From lines
       "A. M. Salim" <salim at localweb dot com>
       Fri, 8 Oct 1999 07:14:32 -0400 (EDT)
 11. RE: corrupted From lines
       "Pandelis Papanikolaou" <panda at compulink dot gr>
       Fri, 8 Oct 1999 14:17:19 +0300
 12. Re: corrupted From lines
       "Phil Z." <philz at tisd dot net>
       Fri, 08 Oct 1999 08:33:39 -0500
 13. Re: corrupted From lines
       Carrer Yuri <yurj at dns.alfa dot it>
       Fri, 8 Oct 1999 18:56:12 +0200 (MET DST)
 14. Re: corrupted From lines
       Tomasz Orzechowski <tmo at apk dot net>
       Fri, 8 Oct 1999 13:06:58 -0400
 15. Mail quotas
       "Jerry O'Brien" <jobrien at cuttingedge dot net>
       Fri, 8 Oct 1999 12:25:01 -0500
 16. Re: corrupted From lines
       Jay Fowler <fowler at csufresno dot edu>
       Fri, 8 Oct 1999 10:36:16 -0700 (PDT)
 17. Re: Zero messages reported when four are in mbox
       "Kenneth Porter" <shiva at well dot com>
       Fri, 08 Oct 1999 17:03:57 -0700 (PDT)
 18. changing password with Eudora
       Nick Marouf <marouni at earlham dot edu>
       Sat, 09 Oct 1999 00:54:13 -0500
 19. BETA: compiler warnings from 30b18
       "Kenneth Porter" <shiva at well dot com>
       Sat, 09 Oct 1999 01:13:02 -0700
 20. Re: gdbm_open failures (was: Can't add user to apop database)
       Randall Gellens <randy at pensive dot org>
       Sun, 10 Oct 1999 12:36:53 -0700
 21. Re: Can't add user to apop database
       Randall Gellens <randy at pensive dot org>
       Sun, 10 Oct 1999 13:05:22 -0700
 22. Re: -err envelope corruption problem.
       Randall Gellens <randy at pensive dot org>
       Sun, 10 Oct 1999 13:12:21 -0700
 23. Strange Problem
       Kim Sobel & Jeff McGowan <suetonius at earthlink dot net>
       Tue, 12 Oct 1999 10:23:36 -0400
 24. Re: Strange Problem
       Fergal Daly <fergal at esatclear dot ie>
       Tue, 12 Oct 1999 15:43:45 +0100
 25. Correction to strange problem
       Kim Sobel & Jeff McGowan <suetonius at earthlink dot net>
       Tue, 12 Oct 1999 10:50:27 -0400
 26. Re: Correction to strange problem
       Kurt <klhansen at pcis dot net>
       Tue, 12 Oct 1999 12:17:49 -0500
 27. 2 bugs with qpopper 2.53 ?
       Gildas PERROT <perrot at FranceNet dot fr>
       Fri, 15 Oct 1999 11:31:54 +0200
 28. Unexpected Twinkies!
       "Adrian Harris" <harrisa at reading-college.ac dot uk>
       Fri, 15 Oct 1999 08:12:27 +0100
 29. DNS Problem or popper Problem?
       P O O P I E <poopie at jeeves.poopie dot net>
       Fri, 15 Oct 1999 09:51:32 +0000 (GMT)
 30. Sendmail
       "Technical Support" <sonia at innetix dot com>
       Wed, 13 Oct 1999 09:41:55 -0700
 31. POP USer authentication using C2
       Madhavi -Deleted- <madhavi at unx.dec dot com>
       Wed, 13 Oct 1999 10:41:17 -0400
 32. DNS or popper problem?
       P O O P I E <poopie at jeeves.poopie dot net>
       Wed, 13 Oct 1999 10:59:18 +0000 (GMT)
 33. RE: Sendmail
       Steven Fletcher <stevenf at shellnet.co dot uk>
       Mon, 18 Oct 1999 12:21:25 +0100
 34. RE: Unexpected Twinkies!
       Steven Fletcher <stevenf at shellnet.co dot uk>
       Mon, 18 Oct 1999 12:34:50 +0100
 35. Not getting any messages
       Tony Kim <tonyk at v-wave dot com>
       Mon, 18 Oct 1999 08:32:35 -0600
 36. Recently, qpopper dying frequently under normal load
       "A. M. Salim" <salim at localweb dot com>
       Mon, 18 Oct 1999 11:05:17 -0400 (EDT)
 37. Would Like To Upgrade
       "John Romero" <john.romero at cardinalservices dot com>
       Mon, 18 Oct 1999 10:13:00 -0500
 38. Re: Recently, qpopper dying frequently under normal load
       Carrer Yuri <yurj at dns.alfa dot it>
       Mon, 18 Oct 1999 17:15:59 +0200 (MET DST)
 39. Re: POP USer authentication using C2
       Leonard Hermens <Leonard.Hermens at rcity dot com>
       Mon, 18 Oct 1999 08:29:39 -0700
 40. Re: Recently, qpopper dying frequently under normal load
       "A. M. Salim" <salim at localweb dot com>
       Mon, 18 Oct 1999 12:04:32 -0400 (EDT)
 41. Bulletins & Qpopper
       tonyk <tonyk at v-wave dot com>
       Mon, 18 Oct 1999 10:10:18 -0600
 42. Re: Recently, qpopper dying frequently under normal load
       Carrer Yuri <yurj at dns.alfa dot it>
       Mon, 18 Oct 1999 18:10:49 +0200 (MET DST)
 43. QPopper authentication problems
       Mike Forman <mike_forman at cjnetworks dot com>
       Mon, 18 Oct 1999 11:24:32 -0500
 44. Re: Bulletins & Qpopper
       Alan Brown <alan at manawatu.gen dot nz>
       Tue, 19 Oct 1999 05:30:20 +1300 (NZDT)
 45. RE: Bulletins & Qpopper
       Steven Fletcher <stevenf at shellnet.co dot uk>
       Mon, 18 Oct 1999 17:34:09 +0100
 46. Bulletins & Qpopper : TO clarify
       tonyk <tonyk at v-wave dot com>
       Mon, 18 Oct 1999 10:42:34 -0600
 47. RE: QPopper authentication problems
       Steven Fletcher <stevenf at shellnet.co dot uk>
       Mon, 18 Oct 1999 18:08:05 +0100
 48. Re: Not getting any messages
       "Kenneth Porter" <shiva at well dot com>
       Mon, 18 Oct 1999 21:16:38 -0700
 49. Checking messages....
       Tony Kim <tonyk at v-wave dot com>
       Mon, 18 Oct 1999 23:25:34 -0600
 50. APOP/Outlook98 - secure authentication
       "Paul McHale" <pmchale at doubleesolutions dot com>
       Tue, 19 Oct 1999 02:28:57 -0400

From: "Kenneth Porter" <shiva at well dot com>
Date: Tue, 05 Oct 1999 16:33:18 -0700 (PDT)
Subject: Re: gdbm_open failures (was: Can't add user to apop database)

Qpoppers,

More info: I found that I could get an error string using
gdbm_strerror(gdbm_errno), and this reports the error "can't be writer"
(GDBM_CANT_BE_WRITER). So what causes this error? A quick web search
turns up documentation for gdbm_strerror but not what the specific
error codes actually mean. I fear I'll have to unpack the gdbm sources
and find out what generates that code.

On Tue, 05 Oct 1999 15:30:12 -0700 (PDT), Kenneth Porter wrote:

>How does one determine the root cause of a gdbm_open() failure? Should
>errno have something useful, or do I look elsewhere?. (gdbm_open() is
>used by popauth to manage the APOP database.) I'm happy to do the
>debugging, but I've never used gdbm. (I've also never used gdb before,
>but so far it seems pretty straightforward to drive. :-) If someone can
>point me to a more suitable mailing list or web site for gdbm support,
>I can continue my research there. I'll report back here what I find.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/


From: "Kenneth Porter" <shiva at well dot com>
Date: Tue, 05 Oct 1999 23:12:17 -0700 (PDT)
Subject: Re: gdbm_open failures (was: Can't add user to apop database)

Qpoppers,

Yet more info: I found that GDBM was failing to acquire an exclusive
lock with flock, and when I stepped through the popauth.c code, I found
that the raw file was being opened with open() and then the resulting
handle was never used. Looks like some obsolete code that was never
expunged.

For reference, I'm using the qpopper-qmail-2.53-1-PAM.src.rpm package
to build from. This includes a couple of patches for qmail and PAM, but
neither patch touches popauth.c. The package is available from the
contrib directory at Red Hat. I can provide an updated source and
binary package.

Here's the diff:

473a474,486
> #ifdef GDBM
>     if ((f = open (apop_file, listsw ? O_RDONLY : O_RDWR)) == -1)
> 		adios ("%s: unable to open POP authorization DB", apop_file);
>     if (flock (f, LOCK_SH) == -1)
> 		adios ("%s: unable to lock POP authorization DB", apop_file);
> #else
>     if ((f = open (apop_dir, listsw ? O_RDONLY : O_RDWR)) == -1)
> 		adios ("%s: unable to open POP authorization DB", apop_dir);
>     if (flock (f, LOCK_SH) == -1)
> 		adios ("%s: unable to lock POP authorization DB", apop_dir);
> #endif
> 
> 
591,592d603
< 		adios("%s: unable to open POP authorization DB: %s", 
< 		      APOP, gdbm_strerror(gdbm_errno));
595d605
< 		adios("%s: unable to open POP authorization DB",
APOP);
596a607
> 		adios("%s: unable to open POP authorization DB", APOP);

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/


Date: Wed, 06 Oct 1999 09:25:11 +0000
From: Jesus Cea Avion <jcea at argo dot es>
Subject: Re: gdbm_open failures (was: Can't add user to apop database)

> More info: I found that I could get an error string using
> gdbm_strerror(gdbm_errno), and this reports the error "can't be
> writer" (GDBM_CANT_BE_WRITER). So what causes this error?

http://www.argo.es/~jcea/artic/qpopper1.htm

If you have a slow machine, increase wait time from 1 milisecond to 0.1
second, for example.

-- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at argo.es http://www.argo dot es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
                                      _/_/    _/_/          _/_/_/_/_/
PGP Key Available at KeyServ   _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

Date: Wed, 6 Oct 1999 11:49:17 +0200 (CEST)
From: Mikolaj Rydzewski <miki at ceti.com dot pl>
Subject: New bulletins patch for QPopper 2.53

Hello

According to my question, posted here a few weeks ago (to specify a group
of users who will receive selected bulletins). I made that patch. Now you
can specify in a bulletin's filename a group name. Only members of this
group will receive this bulletin.

More info, and a patch you can find at
http://www.ceti.com.pl/~miki/komputery/qpopper.html

Please mail me any comments, bug reports, etc.

-- 
Mikolaj Rydzewski    <miki at ceti.com.pl>   http://www.ceti.com dot pl/~miki/
                       ICQ  #14597472         PGP KeyID: e17c4bd5
There are three kinds of people: men, women, and unix.


From: "Dave Brodmann" <davidb at nis dot net>
Subject: Server Mode and NO_STATUS flag
Date: Wed, 6 Oct 1999 13:23:53 -0400

I've run ./configure --enable-servermode.

But I also want to use the NO_STATUS flag to prevent unnecessary copying of
the spool files.  But where is the NO_STATUS option set??  Is it a command
line option to configure or in a Makefile or what?  Any help appreciated.

Dave



From: "Kenneth Porter" <shiva at well dot com>
Date: Wed, 06 Oct 1999 16:14:27 -0700 (PDT)
Subject: Re: gdbm_open failures (was: Can't add user to apop database)

On Wed, 06 Oct 1999 09:25:11 +0000, Jesus Cea Avion wrote:

>http://www.argo.es/~jcea/artic/qpopper1.htm
>
>If you have a slow machine, increase wait time from 1 milisecond to 0.1
>second, for example.

The URL addresses a problem in the in.qpopper program. My problem was
in the popauth program, and was a result of what appears to be some
stale code left behind in the source that opened the raw APOP DB file
and prevented gdbm_open from getting exclusive access to it.

It may be that RH5.2 Linux treats locks differently than other
platforms, and so this problem hasn't been seen elsewhere. popauth was
opening the raw file, then invoking gdbm_open, which opens the file and
then flocks it. So the process had two outstanding opens on the file
before the flock. Perhaps there's something odd going on in the flock
code of the 2.0.36 kernel I'm using that's stroked by this sequence.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/


From: "Kenneth Porter" <shiva at well dot com>
Date: Fri, 08 Oct 1999 01:12:10 -0700 (PDT)
Subject: Zero messages reported when four are in mbox

Possibly a FAQ, but what should I check if I see 4 messages in my mbox
in /var/spool/mail but qpopper (2.53) reports that I have 0? (I telnet
in and manually enter my user name and password and that's when the 0
messages is reported.) Is there a #define that perhaps I have goofed
up?

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/


Date: Fri, 08 Oct 1999 14:14:10
From: Jithender Tiwari <jtiwari at infotech.stph dot net>
Subject: Re: Zero messages reported when four are in mbox

check the first letter or the entry it should be "From " If it is not there
put it manually.

Cheers

Jithu



At 01:12 AM 10/08/1999 -0700, Kenneth Porter wrote:
>Possibly a FAQ, but what should I check if I see 4 messages in my mbox
>in /var/spool/mail but qpopper (2.53) reports that I have 0? (I telnet
>in and manually enter my user name and password and that's when the 0
>messages is reported.) Is there a #define that perhaps I have goofed
>up?
>
>Ken
>mailto:shiva at well dot com
>http://www.sewingwitch.com/ken/
>http://www.215Now.com/
>
>

Date: Fri, 08 Oct 1999 14:14:57
From: Jithender Tiwari <jtiwari at infotech.stph dot net>
Subject: Re: Zero messages reported when four are in mbox

check the first letter or the entry it should be "From " in the mail box.
If it is not there put it manually.

Cheers

Jithu



At 01:12 AM 10/08/1999 -0700, Kenneth Porter wrote:
>Possibly a FAQ, but what should I check if I see 4 messages in my mbox
>in /var/spool/mail but qpopper (2.53) reports that I have 0? (I telnet
>in and manually enter my user name and password and that's when the 0
>messages is reported.) Is there a #define that perhaps I have goofed
>up?
>
>Ken
>mailto:shiva at well dot com
>http://www.sewingwitch.com/ken/
>http://www.215Now.com/
>
>

Date: Fri, 8 Oct 1999 07:14:32 -0400 (EDT)
From: "A. M. Salim" <salim at localweb dot com>
Subject: corrupted From lines

Anyone seen corrupted "From " lines?  Lately I have been seeing occasional
emails with the VERY FIRST LINE (the "From ") line corrupted in one the
following manner:

a) The very first letter is missing altogether (the "F") so the line
begins with a "rom" instead of "From"

b) There are extra "F" characters in the From line so it reads like this:

FFrom

instead of

From

Anyone seen this?

When this happens the email is unreadable, much to the annoyance of the
affected user (keeps getting prompted for password).

We are running on a Linux box, sendmail 8.9.3 (happened on 8.8.8 as well)
qpopper 3.0 (also happened with qpopper 2.52) and have several thousand
users using the mailserver all day long.  Only occasional messages are
corrupted but it happens often enough that we have had to write a dumb
awk/sed script to seek out and fix this very annoying problem everey hour
(cannot run it too frequently otherwise cpu will be bogged down, there is
typically 300megs - 500 megs of email in the mail directory at any given
time).

regards
Mike Salim


From: "Pandelis Papanikolaou" <panda at compulink dot gr>
Subject: RE: corrupted From lines
Date: Fri, 8 Oct 1999 14:17:19 +0300

Well there was a thread of messages 3-4 days ago.
In conclusion:

The problem...(Sent: Tuesday, October 05, 1999 7:14 PM)
>>Well I think I found the cause of the problem and it has to do with the
file
>>locking that procmail does.
>>When procmail locks the file for mail delivery in the initial state you
can
>>see 2 files with the size of 1 byte. The lock file contains character "0"
>>and the main file contains an "F".
>>-rw-rw----   1 panda    mail            1 Oct  5 19:03 panda
>>-r--------   1 panda    mail            1 Oct  5 19:03 panda.lock
>>
>>Somehow if the user during that time was receiving mail through pop3 the
"F"
>>is overwritten and when the mail delivery ends we have a corrupted
mailbox.
>>
>>I was able to reproduce the error by sending several emails to my self
>>through a dial-up connection by pressing send/receive in Outlook. The time
>>scale of the dial-up connection and the fact that outlook tried to receive
>>the mail I just sent produced the error.
>>
>>Mail.local behaves differently but for the timing being I can not test it
in
>>our main mail server with full load.
>>
>>Any remarks are more than welcomed.
>>
>>Pandelis Papanikolaou

The solution (Sent: Tuesday, October 05, 1999 8:06 PM)
>I have just installed the latest version of procmail(v3.13.1) and it seems
>to behave much better in file locking.
>The previous version of procmail in our mail server was v3.10
>
>Pandelis

Since that time I hadn't notice any corruption.

I hope I helped

Regards
Pandelis Papanikolaou

PS Btw... probably the extra F "FF" comes from the script. :)
I had tried that too.


-----Original Message-----
From: A. M. Salim [mailto:salim at localweb dot com]
Sent: Friday, October 08, 1999 2:15 PM
To: Subscribers of Qpopper
Subject: corrupted From lines


Anyone seen corrupted "From " lines?  Lately I have been seeing occasional
emails with the VERY FIRST LINE (the "From ") line corrupted in one the
following manner:

a) The very first letter is missing altogether (the "F") so the line
begins with a "rom" instead of "From"

b) There are extra "F" characters in the From line so it reads like this:

FFrom

instead of

From

Anyone seen this?

When this happens the email is unreadable, much to the annoyance of the
affected user (keeps getting prompted for password).

We are running on a Linux box, sendmail 8.9.3 (happened on 8.8.8 as well)
qpopper 3.0 (also happened with qpopper 2.52) and have several thousand
users using the mailserver all day long.  Only occasional messages are
corrupted but it happens often enough that we have had to write a dumb
awk/sed script to seek out and fix this very annoying problem everey hour
(cannot run it too frequently otherwise cpu will be bogged down, there is
typically 300megs - 500 megs of email in the mail directory at any given
time).

regards
Mike Salim


Date: Fri, 08 Oct 1999 08:33:39 -0500
From: "Phil Z." <philz at tisd dot net>
Subject: Re: corrupted From lines

I was also havng this problem. The upgrade to procmail seemed to fix it.
A big Thanks to Pandelis =) for posting your findings on the list!

Best Regards

Phil Z.


Pandelis Papanikolaou wrote:
> 
> Well there was a thread of messages 3-4 days ago.
> In conclusion:
> 
> The problem...(Sent: Tuesday, October 05, 1999 7:14 PM)
> >>Well I think I found the cause of the problem and it has to do with the
> file
> >>locking that procmail does.
> >>When procmail locks the file for mail delivery in the initial state you
> can
> >>see 2 files with the size of 1 byte. The lock file contains character "0"
> >>and the main file contains an "F".
> >>-rw-rw----   1 panda    mail            1 Oct  5 19:03 panda
> >>-r--------   1 panda    mail            1 Oct  5 19:03 panda.lock
> >>
> >>Somehow if the user during that time was receiving mail through pop3 the
> "F"
> >>is overwritten and when the mail delivery ends we have a corrupted
> mailbox.
> >>
> >>I was able to reproduce the error by sending several emails to my self
> >>through a dial-up connection by pressing send/receive in Outlook. The time
> >>scale of the dial-up connection and the fact that outlook tried to receive
> >>the mail I just sent produced the error.
> >>
> >>Mail.local behaves differently but for the timing being I can not test it
> in
> >>our main mail server with full load.
> >>
> >>Any remarks are more than welcomed.
> >>
> >>Pandelis Papanikolaou
> 
> The solution (Sent: Tuesday, October 05, 1999 8:06 PM)
> >I have just installed the latest version of procmail(v3.13.1) and it seems
> >to behave much better in file locking.
> >The previous version of procmail in our mail server was v3.10
> >
> >Pandelis
> 
> Since that time I hadn't notice any corruption.
> 
> I hope I helped
> 
> Regards
> Pandelis Papanikolaou
> 
> PS Btw... probably the extra F "FF" comes from the script. :)
> I had tried that too.
> 
> -----Original Message-----
> From: A. M. Salim [mailto:salim at localweb dot com]
> Sent: Friday, October 08, 1999 2:15 PM
> To: Subscribers of Qpopper
> Subject: corrupted From lines
> 
> Anyone seen corrupted "From " lines?  Lately I have been seeing occasional
> emails with the VERY FIRST LINE (the "From ") line corrupted in one the
> following manner:
> 
> a) The very first letter is missing altogether (the "F") so the line
> begins with a "rom" instead of "From"
> 
> b) There are extra "F" characters in the From line so it reads like this:
> 
> FFrom
> 
> instead of
> 
> From
> 
> Anyone seen this?
> 
> When this happens the email is unreadable, much to the annoyance of the
> affected user (keeps getting prompted for password).
> 
> We are running on a Linux box, sendmail 8.9.3 (happened on 8.8.8 as well)
> qpopper 3.0 (also happened with qpopper 2.52) and have several thousand
> users using the mailserver all day long.  Only occasional messages are
> corrupted but it happens often enough that we have had to write a dumb
> awk/sed script to seek out and fix this very annoying problem everey hour
> (cannot run it too frequently otherwise cpu will be bogged down, there is
> typically 300megs - 500 megs of email in the mail directory at any given
> time).
> 
> regards
> Mike Salim

Date: Fri, 8 Oct 1999 18:56:12 +0200 (MET DST)
From: Carrer Yuri <yurj at dns.alfa dot it>
Subject: Re: corrupted From lines

 Where can I find the updated procmail? :-) I don't have the corruption,
 but can be a useful news. I'm gonna to test cucipop against qpopper
 this week, so I want to post a result. The damn problem is that It don't
 want to run on a port other than 110 =)

On Fri, 8 Oct 1999, Phil Z. wrote:

> I was also havng this problem. The upgrade to procmail seemed to fix it.
> A big Thanks to Pandelis =) for posting your findings on the list!
> 
> Best Regards
> 
> Phil Z.
> 
> 
> Pandelis Papanikolaou wrote:
> > 
> > Well there was a thread of messages 3-4 days ago.
> > In conclusion:
> > 
> > The problem...(Sent: Tuesday, October 05, 1999 7:14 PM)
> > >>Well I think I found the cause of the problem and it has to do with the
> > file
> > >>locking that procmail does.
> > >>When procmail locks the file for mail delivery in the initial state you
> > can
> > >>see 2 files with the size of 1 byte. The lock file contains character "0"
> > >>and the main file contains an "F".
> > >>-rw-rw----   1 panda    mail            1 Oct  5 19:03 panda
> > >>-r--------   1 panda    mail            1 Oct  5 19:03 panda.lock
> > >>
> > >>Somehow if the user during that time was receiving mail through pop3 the
> > "F"
> > >>is overwritten and when the mail delivery ends we have a corrupted
> > mailbox.
> > >>
> > >>I was able to reproduce the error by sending several emails to my self
> > >>through a dial-up connection by pressing send/receive in Outlook. The time
> > >>scale of the dial-up connection and the fact that outlook tried to receive
> > >>the mail I just sent produced the error.
> > >>
> > >>Mail.local behaves differently but for the timing being I can not test it
> > in
> > >>our main mail server with full load.
> > >>
> > >>Any remarks are more than welcomed.
> > >>
> > >>Pandelis Papanikolaou
> > 
> > The solution (Sent: Tuesday, October 05, 1999 8:06 PM)
> > >I have just installed the latest version of procmail(v3.13.1) and it seems
> > >to behave much better in file locking.
> > >The previous version of procmail in our mail server was v3.10
> > >
> > >Pandelis
> > 
> > Since that time I hadn't notice any corruption.
> > 
> > I hope I helped
> > 
> > Regards
> > Pandelis Papanikolaou
> > 
> > PS Btw... probably the extra F "FF" comes from the script. :)
> > I had tried that too.
> > 
> > -----Original Message-----
> > From: A. M. Salim [mailto:salim at localweb dot com]
> > Sent: Friday, October 08, 1999 2:15 PM
> > To: Subscribers of Qpopper
> > Subject: corrupted From lines
> > 
> > Anyone seen corrupted "From " lines?  Lately I have been seeing occasional
> > emails with the VERY FIRST LINE (the "From ") line corrupted in one the
> > following manner:
> > 
> > a) The very first letter is missing altogether (the "F") so the line
> > begins with a "rom" instead of "From"
> > 
> > b) There are extra "F" characters in the From line so it reads like this:
> > 
> > FFrom
> > 
> > instead of
> > 
> > From
> > 
> > Anyone seen this?
> > 
> > When this happens the email is unreadable, much to the annoyance of the
> > affected user (keeps getting prompted for password).
> > 
> > We are running on a Linux box, sendmail 8.9.3 (happened on 8.8.8 as well)
> > qpopper 3.0 (also happened with qpopper 2.52) and have several thousand
> > users using the mailserver all day long.  Only occasional messages are
> > corrupted but it happens often enough that we have had to write a dumb
> > awk/sed script to seek out and fix this very annoying problem everey hour
> > (cannot run it too frequently otherwise cpu will be bogged down, there is
> > typically 300megs - 500 megs of email in the mail directory at any given
> > time).
> > 
> > regards
> > Mike Salim
> 


Date: Fri, 8 Oct 1999 13:06:58 -0400
From: Tomasz Orzechowski <tmo at apk dot net>
Subject: Re: corrupted From lines

Carrer Yuri wrote on Fri, Oct 08, 1999 at 06:56:12PM +0200:i
>  Where can I find the updated procmail? :-) I don't have the corruption,
>  but can be a useful news. I'm gonna to test cucipop against qpopper
>  this week, so I want to post a result. The damn problem is that It don't
>  want to run on a port other than 110 =)

www.procmail.org seems the logical place to look for me

$ procmail -v
procmail v3.12 1999/03/02, Copyright (c) 1999, Stephen R. van den Berg
                                                        <srb at cuci dot nl>

Submit questions/answers to the procmail-related mailinglist by sending to:
        <procmail-users at procmail dot org>

And of course, subscription and information requests for this list to:
        <procmail-users-request at procmail dot org>

Locking strategies:     dotlocking, fcntl(), lockf()
Default rcfile:         $HOME/.procmailrc
Your system mailbox:    /var/mail/tmo
$ 


> 
> On Fri, 8 Oct 1999, Phil Z. wrote:
> 
> > I was also havng this problem. The upgrade to procmail seemed to fix it.
> > A big Thanks to Pandelis =) for posting your findings on the list!
> > 
> > Best Regards
> > 
> > Phil Z.
> > 
> > 
> > Pandelis Papanikolaou wrote:
> > > 
> > > Well there was a thread of messages 3-4 days ago.
> > > In conclusion:
> > > 
> > > The problem...(Sent: Tuesday, October 05, 1999 7:14 PM)
> > > >>Well I think I found the cause of the problem and it has to do with the
> > > file
> > > >>locking that procmail does.
> > > >>When procmail locks the file for mail delivery in the initial state you
> > > can
> > > >>see 2 files with the size of 1 byte. The lock file contains character "0"
> > > >>and the main file contains an "F".
> > > >>-rw-rw----   1 panda    mail            1 Oct  5 19:03 panda
> > > >>-r--------   1 panda    mail            1 Oct  5 19:03 panda.lock
> > > >>
> > > >>Somehow if the user during that time was receiving mail through pop3 the
> > > "F"
> > > >>is overwritten and when the mail delivery ends we have a corrupted
> > > mailbox.
> > > >>
> > > >>I was able to reproduce the error by sending several emails to my self
> > > >>through a dial-up connection by pressing send/receive in Outlook. The time
> > > >>scale of the dial-up connection and the fact that outlook tried to receive
> > > >>the mail I just sent produced the error.
> > > >>
> > > >>Mail.local behaves differently but for the timing being I can not test it
> > > in
> > > >>our main mail server with full load.
> > > >>
> > > >>Any remarks are more than welcomed.
> > > >>
> > > >>Pandelis Papanikolaou
> > > 
> > > The solution (Sent: Tuesday, October 05, 1999 8:06 PM)
> > > >I have just installed the latest version of procmail(v3.13.1) and it seems
> > > >to behave much better in file locking.
> > > >The previous version of procmail in our mail server was v3.10
> > > >
> > > >Pandelis
> > > 
> > > Since that time I hadn't notice any corruption.
> > > 
> > > I hope I helped
> > > 
> > > Regards
> > > Pandelis Papanikolaou
> > > 
> > > PS Btw... probably the extra F "FF" comes from the script. :)
> > > I had tried that too.
> > > 
> > > -----Original Message-----
> > > From: A. M. Salim [mailto:salim at localweb dot com]
> > > Sent: Friday, October 08, 1999 2:15 PM
> > > To: Subscribers of Qpopper
> > > Subject: corrupted From lines
> > > 
> > > Anyone seen corrupted "From " lines?  Lately I have been seeing occasional
> > > emails with the VERY FIRST LINE (the "From ") line corrupted in one the
> > > following manner:
> > > 
> > > a) The very first letter is missing altogether (the "F") so the line
> > > begins with a "rom" instead of "From"
> > > 
> > > b) There are extra "F" characters in the From line so it reads like this:
> > > 
> > > FFrom
> > > 
> > > instead of
> > > 
> > > From
> > > 
> > > Anyone seen this?
> > > 
> > > When this happens the email is unreadable, much to the annoyance of the
> > > affected user (keeps getting prompted for password).
> > > 
> > > We are running on a Linux box, sendmail 8.9.3 (happened on 8.8.8 as well)
> > > qpopper 3.0 (also happened with qpopper 2.52) and have several thousand
> > > users using the mailserver all day long.  Only occasional messages are
> > > corrupted but it happens often enough that we have had to write a dumb
> > > awk/sed script to seek out and fix this very annoying problem everey hour
> > > (cannot run it too frequently otherwise cpu will be bogged down, there is
> > > typically 300megs - 500 megs of email in the mail directory at any given
> > > time).
> > > 
> > > regards
> > > Mike Salim
> > 

-- 
Tomasz Orzechowski                                           tmo at apk dot net
APK.net systems administration team                                TO630


From: "Jerry O'Brien" <jobrien at cuttingedge dot net>
Subject: Mail quotas
Date: Fri, 8 Oct 1999 12:25:01 -0500

Sorry, I know this is a little off-topic, but with all this talk about
procmail, I wondered if anyone had used it to enforce mailbox size limits
without having to use *nix quotas. If so, could you send me a recipe?
Thanks.

Jerry O'Brien
Net Admin,
CuttingEdge.net



Date: Fri, 8 Oct 1999 10:36:16 -0700 (PDT)
From: Jay Fowler <fowler at csufresno dot edu>
Subject: Re: corrupted From lines

Hi Mike,

I'm not sure you are interested, but I wrote a simple perl script
that doesn't seem to impact our system performance. I wrote
it a while ago after our server crashed and corrupted a number
of inboxes. We have nearly 4000 users and this script can complete 
the task of checking for corrupted mail in about 30 seconds on our 
spacr server 1000.

Anyhow, attached below is the script.

> 
> We are running on a Linux box, sendmail 8.9.3 (happened on 8.8.8 as well)
> qpopper 3.0 (also happened with qpopper 2.52) and have several thousand
> users using the mailserver all day long.  Only occasional messages are
> corrupted but it happens often enough that we have had to write a dumb
> awk/sed script to seek out and fix this very annoying problem everey hour
> (cannot run it too frequently otherwise cpu will be bogged down, there is
> typically 300megs - 500 megs of email in the mail directory at any given
> time).
> 

Use at your own risk! While I believe there is no issues in using 
the following script, as we have used it for more than a year, I
can offer no assurances that it will behave as expected.

Review the script before running... blah blah blah... :-)

#!/usr/local/bin/perl

#
# Check the /var/mail directory for corruptted mail folders.
#
# Grab the first line of /var/mail/<file> and make sure it
# begins with 'From'
#

$log = "./log";
$dir = "/var/mail";

-e $log and die "File $log already exists\n";

open LOG, "> $log" or die "Could not create $log: $!\n";
chdir $dir;


opendir DIR, "." or die $!;
while($file = readdir(DIR)){

   # make sure it is a file, it has size, and it isn't a <file>.lock
   -f $file and -s $file and  ($file !~ /.lock$/) and do {

      open F, $file or die $!;   
        # grab the first line
        $line = <F>;  

        # if it does not start with From print it to the log file
        $line =~ /^From/ or print LOG "/var/mail/$file\n";
      close F;
   };
} 



# Jay


From: "Kenneth Porter" <shiva at well dot com>
Date: Fri, 08 Oct 1999 17:03:57 -0700 (PDT)
Subject: Re: Zero messages reported when four are in mbox

On Fri, 08 Oct 1999 14:14:10, Jithender Tiwari wrote:

>check the first letter or the entry it should be "From " If it is not there
>put it manually.

It's definitely there, as part of a pseudo-message put there by the
ipop3d daemon included in the imap package. I switched back from
qpopper to ipop3d and instantly downloaded all the waiting messages.

I'm thinking this has something to do with the separator character
between messages. I don't see any non-printables in the file. Could
that be the issue? Incoming mail goes through sendmail 8.9.3, and
procmail is configured as the local delivery agent. I don't see an
/etc/procmailrc, so it  must be using compiled-in settings from the
stock Red Hat 5.2 setup.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/


Date: Sat, 09 Oct 1999 00:54:13 -0500
From: Nick Marouf <marouni at earlham dot edu>
Subject: changing password with Eudora

--------------149BC186521EBF504CD3F20D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello all,

I installed qpoper 2.53 on a digital unix OSF1 machine that has enhanced
security enabled.
I installed using the special auth option with configure. and got it to
work fine for telneting into the machine and also for checking mail
the main problem that I am facing is that when I try to change the user
password from Eudora it says password mismatch. however changing the
password from the shell command is no problem. However not all users
have shell accounts. and eduora or the web is their only way of doing
this.
I Would appreciate any help and advice on how to tackle this problem.

Thanks.

Nick

--
Nicholas Marouf             |TEL#: 765-973-2514 | Cell#: 765-967-6660
Student System  Adminstrator|Fax#: 765-983-1253 | AIM# : phant0nl0rd13
Earlham College             |ECH3 : Nocturnal L.O.M.B.
http://www.earlham.edu/~marouni | http://www.cs.earlham.edu/~marouf



--------------149BC186521EBF504CD3F20D
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello all,
<br> 
<br>I installed qpoper 2.53 on a digital unix OSF1 machine that has
enhanced security enabled.
<br>I installed using the special auth option with configure. and
got it to work fine for telneting into the machine and also for checking
mail
<br>the main problem that I am facing is that when I try to change
the user password from Eudora it says password mismatch. however changing
the password from the shell command is no problem. However not all users
have shell accounts. and eduora or the web is their only way of doing this.
<br>I Would appreciate any help and advice on how to tackle this problem.
<p>Thanks.
<p>Nick
<pre>--
Nicholas Marouf             |TEL#: 765-973-2514 | Cell#: 765-967-6660
Student System  Adminstrator|Fax#: 765-983-1253 | AIM# : phant0nl0rd13
Earlham College             |ECH3 : Nocturnal L.O.M.B. 
<A HREF="http://www.earlham.edu/~marouni">http://www.earlham.edu/~marouni</A> | <A HREF="http://www.cs.earlham.edu/~marouf">http:
 </html>

--------------149BC186521EBF504CD3F20D--


From: "Kenneth Porter" <shiva at well dot com>
Date: Sat, 09 Oct 1999 01:13:02 -0700
Subject: BETA: compiler warnings from 30b18

I tried compiling the qpopper 3.0 beta 18 on Red Hat 5.2 (all packages
loaded) and got the following warnings. Here's the config command I
used:

./configure --prefix=/usr --enable-bulletins=/var/spool/mail/bulletins
--enable-apop=/etc/pop.auth --with-apopuid
make 2>warnings

Here's the resulting warnings:

pop_send.c: In function `pop_send':
pop_send.c:259: warning: passing arg 1 of `header_mucker_init' from
incompatible pointer type
pop_user.c:210: warning: type mismatch with previous external decl
pop_user.c:74: warning: previous external decl of `downcase_uname'
pop_user.c:210: warning: type mismatch with previous implicit
declaration
pop_user.c:74: warning: previous implicit declaration of
`downcase_uname'
pop_user.c:210: warning: `downcase_uname' was previously implicitly
declared to return `int'

I haven't inspected the sources yet to see if any of these are serious.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/



Date: Sun, 10 Oct 1999 12:36:53 -0700
From: Randall Gellens <randy at pensive dot org>
Subject: Re: gdbm_open failures (was: Can't add user to apop database)

Try qpopper 3.0b18 instead of 2.53 -- it has fixes for this problem on Linux.

--
Randall  Gellens                                     Randy at Pensive dot Org
---------------------- (randomly-selected tag) ---------------------
You're most kind.  In fact, you're every kind.
          --Robert Preston in _Vctor/Victoria_

Date: Sun, 10 Oct 1999 13:05:22 -0700
From: Randall Gellens <randy at pensive dot org>
Subject: Re: Can't add user to apop database

At 10:53 PM -0700 10/1/99, Kenneth Porter wrote:

>I'm trying to install the 2.53 RPM package with PAM support on Red Hat
>5.2, and popauth refuses to add a user to the database.

Try qpopper 3.0b18.  It has fixes for this problem on Linux.




--
Randall  Gellens                                     Randy at Pensive dot Org
---------------------- (randomly-selected tag) ---------------------
[If you can't hear me, it's because I'm in parentheses]

Date: Sun, 10 Oct 1999 13:12:21 -0700
From: Randall Gellens <randy at pensive dot org>
Subject: Re: -err envelope corruption problem.

At 12:47 PM -0700 10/5/99, Ed Hagopian wrote:

>Is there anyway to disable Qpopper putting the X-UIDL lines in there, or is
>qpopper even the program doing it? Any help would be appreciated.

You can compile with the NO_STATUS flag defined, and qpopper will not 
write X-UIDL or X-Status headers (qpopper will recalculate the UID 
for every message every time).

However, since the problem indicates a locking issue, the spool file 
may still get corrupted.  There have been problems with locking over 
NFS.

--
Randall  Gellens                                     Randy at Pensive dot Org
---------------------- (randomly-selected tag) ---------------------
What makes us so bitter against people who outwit us is that they think
themselves cleverer than we are.

Date: Tue, 12 Oct 1999 10:23:36 -0400
From: Kim Sobel & Jeff McGowan <suetonius at earthlink dot net>
Subject: Strange Problem

Hi,

I have been trying to run qpopper 2.53 with Mac OS X server, and I am 
having one doozy of a weird problem.  (everyone else on the Mac OS X 
server list at Apple seems to run it fine ?!?!)  I set everything up, 
but when I telnet to the pop3 port, I get a connection, and then the 
connection gets closed.  If I check the system log, I get a message 
like "can't execute usr/local/libexec/popper   permission denied"

The path is correct, and the permissions on the file and folders are 
correct (everyone can read and execute). I have tried putting popper 
all over the place, same trouble.  If I go to 
usr/local/libexec/popper and type ./popper, it returns to the prompt 
fine, but the system log has

Oct 11 13:57:26 localhost ./popper[682]: Unable to obtain socket and 
address of client, err = 38

I have reinstalled the system, and used both a precompiled qpopper 
from stepwise.com and made qpopper myself, no go.  Does anyone have 
the solution??

Many many thanks,
Jeff McGowan

Date: Tue, 12 Oct 1999 15:43:45 +0100
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: Strange Problem

Kim Sobel & Jeff McGowan wrote:
> 
> Hi,
> 
> I have been trying to run qpopper 2.53 with Mac OS X server, and I am
> having one doozy of a weird problem.  (everyone else on the Mac OS X
> server list at Apple seems to run it fine ?!?!)  I set everything up,
> but when I telnet to the pop3 port, I get a connection, and then the
> connection gets closed.  If I check the system log, I get a message
> like "can't execute usr/local/libexec/popper   permission denied"

are you leaving out the first / from /usr/local/libexec/popper in
inetd.conf or is that just a typo in your mail?

> The path is correct, and the permissions on the file and folders are
> correct (everyone can read and execute). I have tried putting popper
> all over the place, same trouble.  If I go to
> usr/local/libexec/popper and type ./popper, it returns to the prompt
> fine, but the system log has
> 
> Oct 11 13:57:26 localhost ./popper[682]: Unable to obtain socket and
> address of client, err = 38
> 
> I have reinstalled the system, and used both a precompiled qpopper
> from stepwise.com and made qpopper myself, no go.  Does anyone have
> the solution??
> 
> Many many thanks,
> Jeff McGowan

Date: Tue, 12 Oct 1999 10:50:27 -0400
From: Kim Sobel & Jeff McGowan <suetonius at earthlink dot net>
Subject: Correction to strange problem

I forgot the / at the beginning of the pathname, but it is there- 
copied exactly from inetd.conf I have

pop3  stream  tcp     nowait  root    /usr/local/libexec/popper       popper

I would include the exact message from the system log, but I am at 
home, and I forgot to reset my non-root account privileges to give me 
access to everything, or to allow me to su to root, after I 
reinstalled the system (it has been a long week....)

Thanks for the quick suggestion though.

Hi,

I have been trying to run qpopper 2.53 with Mac OS X server, and I am 
having one doozy of a weird problem.  (everyone else on the Mac OS X 
server list at Apple seems to run it fine ?!?!)  I set everything up, 
but when I telnet to the pop3 port, I get a connection, and then the 
connection gets closed.  If I check the system log, I get a message 
like "can't execute usr/local/libexec/popper   permission denied"

The path is correct, and the permissions on the file and folders are 
correct (everyone can read and execute). I have tried putting popper 
all over the place, same trouble.  If I go to 
usr/local/libexec/popper and type ./popper, it returns to the prompt 
fine, but the system log has

Oct 11 13:57:26 localhost ./popper[682]: Unable to obtain socket and 
address of client, err = 38

I have reinstalled the system, and used both a precompiled qpopper 
from stepwise.com and made qpopper myself, no go.  Does anyone have 
the solution??

Many many thanks,
Jeff McGowan

Date: Tue, 12 Oct 1999 12:17:49 -0500
From: Kurt <klhansen at pcis dot net>
Subject: Re: Correction to strange problem

I had this same problem. It looks like you are trying to execute the popper
dir.  try adding another slash like :

pop3  stream  tcp     nowait  root    /usr/local/libexec/popper/popper -s 

is my line.  

Se if that helps.

Kurt




At 10:50 AM 10/12/99 -0400, you wrote:
>I forgot the / at the beginning of the pathname, but it is there- 
>copied exactly from inetd.conf I have
>
>pop3  stream  tcp     nowait  root    /usr/local/libexec/popper       popper
>



Subject: 2 bugs with qpopper 2.53 ?
Date: Fri, 15 Oct 1999 11:31:54 +0200
From: Gildas PERROT <perrot at FranceNet dot fr>

Hi,

I am using qpopper 2.53 on BSD/OS 3.1 server with bulletins configured (-b 
/var/spool/bulls and ~.popbull created). The mail is only delivered by 
sendmail in a local filesystem.

I noticed 2 problems which occur sometimes :

1) some mailbox are corrupted ("Unable to process From lines (envelope), 
change recognition modes"). I know that I can edit the mailbox to correct that 
but this can't be a solution for a host with thousands of mailboxes. My 
questions are :
  - what is the cause of that corruption and how can I avoided it ?
  - is there a script I can run to clean a corrupted mailbox ?

2) sometimes, when reading a mailbox after a new bulletin is added, that 
bulletin is appended to the last message without a separating blank line (it 
just occurs for certain mailbox so it is not due to the bulletin itself). The 
result is that the bulletin is not seen by qpopper as a separate message but 
as text appended to the last message. My question is :
   - what is the cause of that bug and how to avoid it ?

Thanks in advance for your help.			Gildas.

-- 
Gildas PERROT, perrot at francenet dot fr         __o
FranceNet, 28 rue Desaix, 75015 Paris ---_ \<,_
http://www.francenet.fr            ---- (_)/ (_)



From: "Adrian Harris" <harrisa at reading-college.ac dot uk>
Date: Fri, 15 Oct 1999 08:12:27 +0100
Subject: Unexpected Twinkies!

I've started getting:

"Thu Oct 14 00:37:03 1999 [73967] @[10.5.50.191]: -ERR 
Unknown authentication mechanism: twinkie"

in the nightly server error logs.

I understand this is something to do with Microsoft's Internet Mail 
client and it's strange authentication procedure ?

Is this something I'll have to live with, or can Qpopper handle it in a 
more graceful way ?

Adrian Harris
Reading College

Date: Fri, 15 Oct 1999 09:51:32 +0000 (GMT)
From: P O O P I E <poopie at jeeves.poopie dot net>
Subject: DNS Problem or popper Problem?

I get this error

Oct 13 10:57:49 dun popper[6650]: Client at "172.16.40.102" resolves to an
unknown host name "dsd-102.dunellenschools.org"

all the time when clients check mail.
172.16.40.* are private ip addresses inside a nat network.
I have reverse DNS entries and regular host entries, which match, in my 
DNS config. I thought this would go away if I had an entry for every host
in DNS but it didn't.

Can anyone help?
thanx
Pedro


From: "Technical Support" <sonia at innetix dot com>
Subject: Sendmail
Date: Wed, 13 Oct 1999 09:41:55 -0700

Hi,
I am having a problem at the moment which is not related to Popper but I'm
hopeful of getting direction from this mailing list.
The MX record for the customer on the name server is

MX 10 mail
MX 20 mail.innetix.com.
mail    A    209.172.33.40

Now for some time the mail (209.172.33.40) has been down therefore the mails
should be queued in mail.innetix.com server. The customer is unable to
retrieve emails. I need to know where is the queued mail for this customer
stored so that I can forwad the mail or delete the queued mail.

Thanks,

Sonia.
-----------------------------------
  Technical Support
      Innetix Inc.
    408.793.2800
  sonia at innetix dot com

----- Original Message -----
From: Kurt <klhansen at pcis dot net>
To: Subscribers of Qpopper <qpopper at lists.pensive dot org>
Sent: Tuesday, October 12, 1999 10:17 AM
Subject: Re: Correction to strange problem


> I had this same problem. It looks like you are trying to execute the
popper
> dir.  try adding another slash like :
>
> pop3  stream  tcp     nowait  root    /usr/local/libexec/popper/popper -s
>
> is my line.
>
> Se if that helps.
>
> Kurt
>
>
>
>
> At 10:50 AM 10/12/99 -0400, you wrote:
> >I forgot the / at the beginning of the pathname, but it is there-
> >copied exactly from inetd.conf I have
> >
> >pop3  stream  tcp     nowait  root    /usr/local/libexec/popper
popper
> >
>
>


Date: Wed, 13 Oct 1999 10:41:17 -0400
From: Madhavi -Deleted- <madhavi at unx.dec dot com>
Subject: POP USer authentication using C2

--------------A10B33108BFFF93787A0B535
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

At Compaq, (previuosly known as Digital Equipment Corporation)
we use C2 security for enhanced security. Hence if a user has a POP3
account on a C2 secure
system, he is validated using a C2 library call 'sia_validate(user)'.

The problem is that the user's password is still entered  and
transmitted as clear text.


   * I wanted to know whether there is a better way to do it.
   * What about other Operating systems who used enhanced security with
     POP?

        Is the POP password enetered and transmitted in clear text too


                   I would appreciate any comments or sugesstions
regarding this.
                                                          Thanks,
Madhavi


--
                            \\\||///
                            (  . .  )
                             (  o  )
+--------------------------oo0---0oo-----------------------------------------+
|   Madhavi -Deleted-                        \\\||/// mail : madhavi at unx.dec dot com|
|   compaq computer corporation         \        /  Phone:(732)-577-6190     |
|   200 Route 9 North                   (  . .   ) Fax :(732)-577-6003       |
|   Manalapan,New Jersey 07726           (  O   )                            |
+----------------------------------------oo0---0oo---------------------------+



--------------A10B33108BFFF93787A0B535
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<HTML>
At Compaq, (previuosly known as Digital Equipment Corporation)
<BR>we use C2 security for enhanced security. Hence if a user has a POP3
account on a C2 secure
<BR>system, he is validated using a C2 library call 'sia_validate(user)'.

<P>The problem is that the user's password is still entered  and transmitted
as clear text.
<BR> 
<UL>
<LI>
I wanted to know whether there is a better way to do it.</LI>

<LI>
What about other Operating systems who used enhanced security with POP?</LI>
</UL>
        Is the POP password enetered
and transmitted in clear text too
<BR> 

<P>                  
I would appreciate any comments or sugesstions regarding this.
<BR>                                         
;               
Thanks, Madhavi
<BR> 
<PRE>-- 
                            \\\||///
                            (  . .  )
                             (  o  )  
+--------------------------oo0---0oo-----------------------------------------+
|   Madhavi -Deleted-                        \\\||/// mail : madhavi at unx.dec dot com|
|   compaq computer corporation         \        /  Phone:(732)-577-6190     |
|   200 Route 9 North                   (  . .   ) Fax :(732)-577-6003       |
|   Manalapan,New Jersey 07726           (  O   )                      
;      |
+----------------------------------------oo0---0oo---------------------------+</PRE>
 </HTML>

--------------A10B33108BFFF93787A0B535--


Date: Wed, 13 Oct 1999 10:59:18 +0000 (GMT)
From: P O O P I E <poopie at jeeves.poopie dot net>
Subject: DNS or popper problem?

I get this error

Oct 13 10:57:49 dun popper[6650]: Client at "172.16.40.102" resolves to an
unknown host name "dsd-102.dunellenschools.org"

all the time when clients check mail.
172.16.40.* are private ip addresses inside a nat network.
I have reverse DNS entries and regular host entries, which match, in my 
DNS config. I thought this would go away if I had an entry for every host
in DNS but it didn't.

Can anyone help?
thanx
Pedro



From: Steven Fletcher <stevenf at shellnet.co dot uk>
Subject: RE: Sendmail
Date: Mon, 18 Oct 1999 12:21:25 +0100

> retrieve emails. I need to know where is the queued mail for
> this customer
> stored so that I can forwad the mail or delete the queued mail.

Type 'mailq' on your mailserver to see if they are waiting to go out. If
your customer sends a relevant ETRN command to your mailserver it should
begin to queue mails that it has for the domain to your customers
mailserver. I put up a quick USENET article I wrote long ago on
http://smtp.shellnet.co.uk/etrn.html, check that out if you need to learn
about ETRN.

Steven Fletcher
stevenf at shellnet.co dot uk


From: Steven Fletcher <stevenf at shellnet.co dot uk>
Subject: RE: Unexpected Twinkies!
Date: Mon, 18 Oct 1999 12:34:50 +0100

It's just Outlook or the like trying to use APOP. Unless you've compiled it
with this, it'll error like that.

Steven Fletcher
stevenf at shellnet.co dot uk

> -----Original Message-----
> From: Adrian Harris [mailto:harrisa at reading-college.ac dot uk]
> Sent: 15 October 1999 08:12
> To: Subscribers of Qpopper
> Subject: Unexpected Twinkies!
>
>
> I've started getting:
>
> "Thu Oct 14 00:37:03 1999 [73967] @[10.5.50.191]: -ERR
> Unknown authentication mechanism: twinkie"
>
> in the nightly server error logs.
>
> I understand this is something to do with Microsoft's Internet Mail
> client and it's strange authentication procedure ?
>
> Is this something I'll have to live with, or can Qpopper
> handle it in a
> more graceful way ?
>
> Adrian Harris
> Reading College
>


Date: Mon, 18 Oct 1999 08:32:35 -0600
From: Tony Kim <tonyk at v-wave dot com>
Subject: Not getting any messages

Hi, I am not getting any messages from email on my qpopper machine.... I
telnet into the machine and it says that there are 0 new messages, and that
is right after I send email to it from a different account.

Any tips?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
	Tony Kim
	Visual Design & Network Analyst
	CSM Systems, Inc.
	(780) 441-3251 
	http://www.canadashop.com
	http://www.csm-systems.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 

Date: Mon, 18 Oct 1999 11:05:17 -0400 (EDT)
From: "A. M. Salim" <salim at localweb dot com>
Subject: Recently, qpopper dying frequently under normal load

Hi,

We have been running qpopper for happily years on RH Linux systems.
Lately, for the last 2-3 weeks we have been experincing a lot of problems
with qpopper.  It seems to die for no obvious reason, many times a day,
particularly during the hours of 10am-4pm EDT, Monday thru Friday.  Off
peak times are fine, no problems.  We have not had a sudden increase in
traffic at all, i.e. all traffic levels are "normal" far as we can tell,
especially SMTP and POP3.  We have tried qpopper3.0b15, qpopper3.0b18 and
qpopper2.53 all die frequently the same way.  We have 3000-4000 mail users
on the server.  I.e. the problems are not caused by a sudden increase in
server load or "overload".

Has anyone else noticed this lately?

My guess is that there is a new release of some mail client (Eudora, MS
OutLook, Netscape being the 3 most popular) that has a bad "killer bug"
for the qpopper POP3. We noticed that some mail clients (almost impossible
to identify which one) start several telnets in rapid succession, to our
POP3.  For example, 5-10 telnet requests within 2-3 seconds.  This is not
restricted to a single location (our clients are all over the map,
nationwide and worldwide).  Could this be causing a problem and if so what
is the fix?  Could there be any other problems causing this?

Any input would be appreciated.

regards
Mike Salim.


From: "John Romero" <john.romero at cardinalservices dot com>
Subject: Would Like To Upgrade
Date: Mon, 18 Oct 1999 10:13:00 -0500

Hi all,

I'm currently running qpopper 2.53 on Linux 5.2.  I see that there is a beta
of qp 3.0 at the qp site which I'd like to try installing.  I would like to
arrange things so that if my install doesn't go well I can fall back to
2.53.  What files should I back up to ensure this?

Thanks for any help.

John


Date: Mon, 18 Oct 1999 17:15:59 +0200 (MET DST)
From: Carrer Yuri <yurj at dns.alfa dot it>
Subject: Re: Recently, qpopper dying frequently under normal load

 It can be a denial of service. Install xinetd, or log the pop
connections.


Date: Mon, 18 Oct 1999 08:29:39 -0700
From: Leonard Hermens <Leonard.Hermens at rcity dot com>
Subject: Re: POP USer authentication using C2

Madhavi,

Have you considered APOP? It probably does what you want it to.

As a side note, I think that it is still considered a courtesy to not 
send HTML-formatted e-mail to lists -- opinions may differ.

-- Leonard

>At Compaq, (previuosly known as Digital Equipment Corporation)
><BR>we use C2 security for enhanced security. Hence if a user has a POP3
>account on a C2 secure
><BR>system, he is validated using a C2 library call 'sia_validate(user)'.
>
><P>The problem is that the user's password is still entered  
>and transmitted
>as clear text.
><BR> 
><UL>
><LI>
>I wanted to know whether there is a better way to do it.</LI>
>
><LI>
>What about other Operating systems who used enhanced security with POP?</LI=
>
></UL>
>        Is the POP password enetered
>and transmitted in clear text too
><BR> 
>
><P>            
>       
>I would appreciate any comments or sugesstions regarding this.
><BR>            
>;           &nb 
>sp;           & 
>nbsp;       
>;           &n 
>bsp;   
>Thanks, Madhavi
><BR> 
><PRE>-- 
>           &nb 
>sp;           & 
>nbsp;    \\\||///
>           &nb 
>sp;           & 
>nbsp;    (  . .  )
>           &nb 
>sp;           & 
>nbsp;     (  o  )  
>+--------------------------oo0---0oo---------------------------------------=
--+
>|   Madhavi 
>Ananth          &nbs 
>p;           &n 
>bsp; \\\||/// mail : madhavi at unx.dec dot com|
>|   compaq computer 
>corporation         
>\        /  
>Phone:(732)-577-6190     |
>|   200 Route 9 
>North            
>;        (  . .   
>) Fax :(732)-577-6003       |
>|   Manalapan,New Jersey 
>07726           
>(  O   
>)           &nb 
>sp;          
>;      |
>+----------------------------------------oo0---0oo------------------- 
>--------+</PRE>
> 


Date: Mon, 18 Oct 1999 12:04:32 -0400 (EDT)
From: "A. M. Salim" <salim at localweb dot com>
Subject: Re: Recently, qpopper dying frequently under normal load

>  It can be a denial of service. Install xinetd

Does xinetd fix any known DOS attack problem(s) that inetd succumbs to?



Date: Mon, 18 Oct 1999 10:10:18 -0600
From: tonyk <tonyk at v-wave dot com>
Subject: Bulletins & Qpopper

Hi, I installed qpopper with sendmail, and it works fine, but I am
curious... once I add the bulletins option, then sometimes, I cannot
connect to the pop server.. it says there was an error in the network, and
then connection was lost byt he remote server....  

Am I doing something wrong?, or is this a constant problem?.. once I get
rid of the bulletins, then the pop server works fine...

If I set the .popper file to a number bigger than the bulletin, then it
works fine.... it's weird... I don't know what is going on... anyone offer
help?


Date: Mon, 18 Oct 1999 18:10:49 +0200 (MET DST)
From: Carrer Yuri <yurj at dns.alfa dot it>
Subject: Re: Recently, qpopper dying frequently under normal load

On Mon, 18 Oct 1999, A. M. Salim wrote:

> >  It can be a denial of service. Install xinetd
> 
> Does xinetd fix any known DOS attack problem(s) that inetd succumbs to?

 Should :-)



Date: Mon, 18 Oct 1999 11:24:32 -0500
From: Mike Forman <mike_forman at cjnetworks dot com>
Subject: QPopper authentication problems

Hello!

We've been running a couple of different versions (currently 2.53) of
qpopper on our SPARC 20 with 12,500 users, and have been having some
problems with authenticating users. There are several symptoms:

1. Clients take forever to authenticate, sometimes timing out at 45
seconds, their progress window stuck on the "pass" command. After auth,
things move quickly. Sometimes they timeout on the "quit" command.

2. The console reports a lot of errors (sometimes a couple a second)
"unable to get the canonical name of client err=0 (or 145)" or,
occasionally, though not often "-ERR too few arguments for the auth command"

Other info - These symptoms are more prevailent when the load is higher
(2+) but can occur anytime. Other authentication processes (telnet, sshd)
are almost immediate. 

I've heard there is a way to make a binary database from the passwd files
to speed auth up, but don't know how or what needs to be done with qpopper
to make it do so. Maybe the problem is some other configuration issue.

Any help would be appreciated.

Mike
----------------------------------------------------------------------------
 Mike Forman                                      Mike_Forman at cjnetworks dot com
 Manager ISP Operations                          Morris Communications, Inc.
 (785) 295-5648 ext.1300                   616 Jefferson St, Topeka KS 66607
        http://www.cjnetworks.com - http://www.chroniclenetworks.com
----------------------------------------------------------------------------

Date: Tue, 19 Oct 1999 05:30:20 +1300 (NZDT)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: Bulletins & Qpopper

On Mon, 18 Oct 1999, tonyk wrote:

> Am I doing something wrong?, or is this a constant problem?.. once I get
> rid of the bulletins, then the pop server works fine...
> 
> If I set the .popper file to a number bigger than the bulletin, then it
> works fine.... it's weird... I don't know what is going on... anyone offer
> help?

Paste the first 4 lines of the bulletin here please.

AB


From: Steven Fletcher <stevenf at shellnet.co dot uk>
Subject: RE: Bulletins & Qpopper
Date: Mon, 18 Oct 1999 17:34:09 +0100

> Am I doing something wrong?, or is this a constant problem?..

You're probably seeing a bug that's known about.... someone (sorry if you
*are* someone, forgot your name :-)) posted a patch to this list not very
long ago. Are you runnining with --enable-servermode?
Look at pop_dropcopy.c, around line 192 (my qpopper is pretty hacked up so I
can't say it's exaclty that line), you'll see:

    /*  Open the user's maildrop, If this fails,  no harm in assuming empty
*/
    if ((mfd = open(p->drop_name, O_RDWR)) > 0)

        /* Lock the maildrop */

Change the line beginning "if" to read:

    if ((mfd = open(p->drop_name, O_RDWR | O_CREAT, 0600)) > 0)


Recompile, and see if that works for you.

Steven Fletcher
stevenf at shellnet.co dot uk


Date: Mon, 18 Oct 1999 10:42:34 -0600
From: tonyk <tonyk at v-wave dot com>
Subject: Bulletins & Qpopper : TO clarify

Hi, I installed qpopper with sendmail, and it works fine, but I am
curious... once I add the bulletins option, then sometimes, I cannot
connect to the pop server.. it says there was an error in the network, and
then connection was lost byt he remote server....  

Am I doing something wrong?, or is this a constant problem?.. once I get
rid of the bulletins, then the pop server works fine...

If I set the .popper file to a number bigger than the bulletin, then it
works fine.... it's weird... I don't know what is going on... anyone offer
help?

.. To clarify... It only happens to some of the accounts... it's weird...
the original accounts i added, it works 100% fine... just the latter
accounts I created had this problem.


From: Steven Fletcher <stevenf at shellnet.co dot uk>
Subject: RE: QPopper authentication problems
Date: Mon, 18 Oct 1999 18:08:05 +0100

> 1. Clients take forever to authenticate, sometimes timing out at 45

I don't feel I'll know enougth to answer that question, so I wont :-) ...
but as a suggestion, try a different authentication mechanism? The MySQL
auth patch(es) work for me, but not with that kind of userload yet.

> 2. The console reports a lot of errors (sometimes a couple a second)
> "unable to get the canonical name of client err=0 (or 145)" or,
> occasionally, though not often "-ERR too few arguments for
> the auth command"

The 'too few arguments' is basically broken clients trying to use the AUTH
command for APOP. Using APOP might help you speed up your authentication
requests, but to use it you'll have to tell the clients that they'll should
try to.

I can only suggest that your canonical name errors are due to your DNS
servers becoming overloaded OR (more likely) having no records for the hosts
that are trying to connect and unable to answer queries within a given
amount of time. It's basically telling you that it couldn't resolve the DNS
name of the client.

Steven Fletcher
stevenf at shellnet.co dot uk


From: "Kenneth Porter" <shiva at well dot com>
Date: Mon, 18 Oct 1999 21:16:38 -0700
Subject: Re: Not getting any messages

On Mon, 18 Oct 1999 08:32:35 -0600, Tony Kim wrote:

>Hi, I am not getting any messages from email on my qpopper machine.... I
>telnet into the machine and it says that there are 0 new messages, and that
>is right after I send email to it from a different account.

Sounds like whatever receives the mail (usually sendmail) isn't getting
it into the mailbox. Check the maillog file to see if the message is
getting rejected or dropped for some reason.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.215Now.com/



Date: Mon, 18 Oct 1999 23:25:34 -0600
From: Tony Kim <tonyk at v-wave dot com>
Subject: Checking messages....

Hi... I just sent a bunch of test messages to my pop server, but didn't get
any messages from here (when i check from my home machine).... this
happened on the weekend so I posted a message about not getting any
emails.... the thing is, when I got into the office, all the emails worked
from there....  but I still can't get the emails from home...  ?????

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
	Tony Kim
	Visual Design & Network Analyst
	CSM Systems, Inc.
	(780) 441-3251 
	http://www.canadashop.com
	http://www.csm-systems.com/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 

From: "Paul McHale" <pmchale at doubleesolutions dot com>
Subject: APOP/Outlook98 - secure authentication
Date: Tue, 19 Oct 1999 02:28:57 -0400

Hi,

I am currently using Cucipop for my pop3 server and Outlook98 for my pop3
client.  How do I configure QPopper to use APOP?  How do I configure
Outlook98 to securely get my mail?  How do I know if it is?

Thanks for the help,

-paul


-****************************************************
   Double E Solutions     Attn: Paul McHale
   4912 Effingham Dayton, Ohio 45431
   pmchale at doubleesolutions dot com

   Work:   937-253-7610
   Mobile: 937-371-2828
   Fax:    413-215-3232
   Home:   937-253-6260 (anytime)
-****************************************************