The qpopper list archive ending on 15 Aug 2000


Topics covered in this issue include:

  1. Re: LDAP
       "Jack Barnett" <jbarnett at axil.netmate dot com>
       Fri, 4 Aug 2000 14:23:25 -0500
  2. @#$! Microsquish Corp--How do you set APOP in Outback 2000?
       Jerry Pape <jplist at espt dot com>
       Fri, 4 Aug 2000 16:00:47 -0700
  3. poppassd & Solaris?
       Sean Joyce <sjlist at mail.heidelberg dot edu>
       Sat, 05 Aug 2000 10:30:09 -0400
  4. Re: secure pop3?
       Roy <garlic at garlic dot com>
       Sat, 05 Aug 2000 09:21:34 -0700
  5. Re: secure pop3? 
       Ken Hornstein <kenh at cmf.nrl.navy dot mil>
       Sat, 05 Aug 2000 13:40:14 -0400
  6. Re: secure pop3? 
       "James Nelson" <james at digit.bloomnet dot com>
       Sun, 6 Aug 2000 23:03:18 -0500
  7. NetBSD+qpopper3.0.2
       "Takeshi Usui /=?ISO-2022-JP?B?GyRCMTEwZiEhN3IbKEI=?=" <t99506tu at sfc.keio.ac dot jp>
       Tue, 08 Aug 2000 15:22:31 +0900
  8. Re: NetBSD+qpopper3.0.2
       "Jack Barnett" <jbarnett at axil.netmate dot com>
       Tue, 8 Aug 2000 10:41:16 -0500
  9. Bulldb unavailable.
       Ayan George <ayan at kiwi.ayan dot net>
       Tue, 8 Aug 2000 15:07:05 -0400 (EDT)
 10. Re: outlook express problem
       Byron Jones <byron at vianet.net dot au>
       Thu, 10 Aug 2000 09:28:23 +0800
 11. Re: Odd Undefined errors in latest beta
       Randall Gellens <randy at qualcomm dot com>
       Wed, 9 Aug 2000 21:42:03 -0700
 12. Re: Qpopper on busy server
       Randall Gellens <randy at qualcomm dot com>
       Wed, 9 Aug 2000 21:57:14 -0700
 13. Converting mailboxes from ipop3d to qpopper
       "Tedd Hansen" <tedd.hansen at fastweb dot no>
       Thu, 10 Aug 2000 12:06:39 +0200
 14. qpopper and poppassd
       Paul Vidonne <vidonne at vidonne dot fr>
       Thu, 10 Aug 2000 12:31:39 +0200
 15. compiling qpopper 3.0.2 with poprelayd support
       "help" <help at resell dot net>
       Thu, 10 Aug 2000 06:40:48 -0400
 16. SV: Converting mailboxes from ipop3d to qpopper
       "Tedd Hansen" <tedd.hansen at fastweb dot no>
       Thu, 10 Aug 2000 12:47:22 +0200
 17. Re: qpopper and poppassd
       "Kenneth Porter" <shiva at well dot com>
       Thu, 10 Aug 2000 10:15:18 -0700
 18. Re: compiling qpopper 3.0.2 with poprelayd support
       "Kenneth Porter" <shiva at well dot com>
       Thu, 10 Aug 2000 10:17:06 -0700
 19. Question on possible modification to QPopper...
       Tim Meader <tmeader at cne-odin.gsfc.nasa dot gov>
       Thu, 10 Aug 2000 16:32:34 -0400
 20. Re: Question on possible modification to QPopper...
       "Joel B. Laing" <joel at scripps dot edu>
       Thu, 10 Aug 2000 13:57:22 -0700
 21. Re: Question on possible modification to QPopper...
       robert rotman <rotman at inode dot at>
       Thu, 10 Aug 2000 23:36:52 +0200 (CEST)
 22. UIDL and leave messages on server
       krubin at cncx dot com
       Thu, 10 Aug 2000 18:32:03 -0700
 23. Re: UIDL and leave messages on server
       Byron Jones <byron at vianet.net dot au>
       Fri, 11 Aug 2000 10:05:27 +0800
 24. Re: Question on possible modification to QPopper...
       Alan Brown <alan at manawatu.gen dot nz>
       Fri, 11 Aug 2000 14:29:12 +1200 (NZST)
 25. Re: Question on possible modification to QPopper...
       Peter Evans <peter at gol dot com>
       Fri, 11 Aug 2000 12:07:12 +0900
 26. DON'T DELETE THIS MESSAGE ???
       Jack Sasportas <jack at innovativeinternet dot com>
       Fri, 11 Aug 2000 15:16:14 -0400
 27. Postfix ?
       Jack Sasportas <jack at innovativeinternet dot com>
       Fri, 11 Aug 2000 15:45:11 -0400
 28. Clarification of my earlier post on Qpopper modification advice...
       Tim Meader <tmeader at cne-odin.gsfc.nasa dot gov>
       Fri, 11 Aug 2000 09:45:45 -0400
 29. Re: Clarification of my earlier post on Qpopper modification
       Fergal Daly <fergal at esatclear dot ie>
       Fri, 11 Aug 2000 15:10:21 +0100
 30. RE: Clarification of my earlier post on Qpopper modification advice...
       "=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
       Fri, 11 Aug 2000 17:11:12 +0200
 31. Re: Clarification of my earlier post on Qpopper modification advice...
       Peter Evans <peter at gol dot com>
       Sat, 12 Aug 2000 00:48:05 +0900
 32. Re: Clarification of my earlier post on Qpopper modification advice... 
       Ken Hornstein <kenh at cmf.nrl.navy dot mil>
       Fri, 11 Aug 2000 15:19:26 -0400
 33. Compiling problems
       Pablo.Capo at rieder.net dot py
       Fri, 11 Aug 2000 19:47:09 -0400 (PYT)
 34. Re: Clarification of my earlier post on Qpopper modification advice...
       Alan Brown <alan at manawatu.gen dot nz>
       Sat, 12 Aug 2000 14:29:25 +1200 (NZST)
 35. Re: DON'T DELETE THIS MESSAGE ???
       Randall Gellens <randy at qualcomm dot com>
       Fri, 11 Aug 2000 19:28:41 -0700
 36. apop help needed
       "J.D. Bronson" <jdb at xpec dot com>
       Sun, 13 Aug 2000 09:47:54 -0500
 37. Re: Clarification of my earlier post on Qpopper modification advice...
       "Kenneth Porter" <shiva at well dot com>
       Sun, 13 Aug 2000 15:40:37 -0700
 38. Re: Question on possible modification to QPopper...
       Carles Xavier Munyoz =?iso-8859-1?Q?Baldó?= 
       Mon, 14 Aug 2000 14:29:37 +0200
 39. DON'T DELETE THIS MESSAGE crap
       Dan Parsons <dan at stepahead dot net>
       Mon, 14 Aug 2000 10:30:39 -0400 (EDT)
 40. Re: DON'T DELETE THIS MESSAGE crap
       Georg Schwarz <schwarz at physik.tu-berlin dot de>
       Mon, 14 Aug 2000 17:14:26 +0200 (MEST)
 41. Re: DON'T DELETE THIS MESSAGE crap
       Fergal Daly <fergal at esatclear dot ie>
       Mon, 14 Aug 2000 16:39:20 +0100
 42. Re: DON'T DELETE THIS MESSAGE crap
       Darin Dugan <dddugan at iastate dot edu>
       Mon, 14 Aug 2000 10:29:09 -0500
 43. Re: DON'T DELETE THIS MESSAGE crap
       Jack Sasportas <jack at innovativeinternet dot com>
       Mon, 14 Aug 2000 14:46:51 -0400
 44. Re: Qpopper 3.0.x on NFS ?
       Jonathan Benson <sysadmin at ocean.com dot au>
       Tue, 15 Aug 2000 11:40:58 +1000
 45. Re: Bulldb unavailable.
       Jonathan Benson <sysadmin at ocean.com dot au>
       Tue, 15 Aug 2000 11:44:08 +1000
 46. qpopper of multi-domain
       "Michale C. Balines" <mikeb at cyworld dot net>
       Tue, 15 Aug 2000 11:17:46 +0800 (PHT)
 47. Qpopper 3.02 bulldb patch
       Jonathan Benson <sysadmin at ocean.com dot au>
       Tue, 15 Aug 2000 14:10:06 +1000
 48. RE: qpopper of multi-domain
       "Tedd Hansen" <tedd.hansen at fastweb dot no>
       Tue, 15 Aug 2000 07:43:31 +0200
 49. Performance ?
       Jack Sasportas <jack at innovativeinternet dot com>
       Tue, 15 Aug 2000 14:00:00 -0400
 50. Re: Performance ?
       Jack Sasportas <jack at innovativeinternet dot com>
       Tue, 15 Aug 2000 14:10:42 -0400

From: "Jack Barnett" <jbarnett at axil.netmate dot com>
Subject: Re: LDAP
Date: Fri, 4 Aug 2000 14:23:25 -0500

> Hello all,
>
> Is there any hope for LDAP-enabled qpopper?  I've look all over for a
> patch, but found none.  I did find MySQL patches, but I'm not interested
> in MySQL.
>
> Thanks.

I heard you could use the pam ldap module
(http://www.padl.com/pam_ldap.html)

and have pop auth though pam and have pam get it's info from an ldap
directory.

I haven't tried this.

Jack




Date: Fri, 4 Aug 2000 16:00:47 -0700
From: Jerry Pape <jplist at espt dot com>
Subject: @#$! Microsquish Corp--How do you set APOP in Outback 2000?

Hey,

Anyone here know how to set APOP as auth mechanism for
MS Outlook 2000?

Got a client who insists on using Outlook and we mandate
APOP for obvious reasons.

JP
-- 
--------------
|  Jerry Pape
|  jpape at espt dot com
--------------

Date: Sat, 05 Aug 2000 10:30:09 -0400
From: Sean Joyce <sjlist at mail.heidelberg dot edu>
Subject: poppassd & Solaris?

Hello.  My apologies in advance for directing this to the qpopper list, as it's not a direct question about qpopper itself.

Has anyone had success with poppassd under Solaris 2.7 for changing passwords?  (Yes, I know this is a horrible method as the password is passed in plaintext, but I need to use it for a few applications).  I can get it to verify the existing password, but
 it never changes the password.  Or does anyone have another pop-like password changing client they can recommend?

TIA.

Sean 


Date: Sat, 05 Aug 2000 09:21:34 -0700
From: Roy <garlic at garlic dot com>
Subject: Re: secure pop3?

TLS (aka SSL, RFC2246) seems to be the up and coming standard for encrypted
POP, IMAP, SMTP and some others.

Ken Hornstein wrote:

> >I was wondering, if there is a way to do a secure pop3?  For example, like
> >an httpd ssl connection but with pop3.  so that everything transmitted and
> >receivied from the server is encyrpted like ssh?
>
> I have a series of patches to qpopper that implement the IETF standard
> SASL authentication (which is a framework for different kinds of security
> protocols).  _Depending_ on the SASL mechanism that is supported by the
> clients and servers, this will also get you encryption of the data stream.
>
> I'm using it here in production with clients that also support SASL w/
> encryption.  Seems to work reasonably well.  I know that SSL is also an
> option; I tend to think that SASL is a better choice security-wise, but
> I know that not everyone feels that way.
>
> --Ken


Subject: Re: secure pop3?
Date: Sat, 05 Aug 2000 13:40:14 -0400
From: Ken Hornstein <kenh at cmf.nrl.navy dot mil>

>TLS (aka SSL, RFC2246) seems to be the up and coming standard for encrypted
>POP, IMAP, SMTP and some others.

That's certainly one opinion.  It is not a universal one, however.

(I've noticed that most people who advocate TLS really don't understand
the difference between "encryption" and "authentication", and how one
doesn't necessarily imply the other).

--Ken

From: "James Nelson" <james at digit.bloomnet dot com>
Subject: Re: secure pop3?
Date: Sun, 6 Aug 2000 23:03:18 -0500

In a world where everything flys through email and there are literally
100's of people out there who are lazy/crazy/neive/stupid enough to
send anything through the email encryption is our only defense against
this insanity.

Everyone needs to think about the risks they are taking as a person or
accepting as a company.  If a site is going to allow people to get
their mail from anywhere they had better either protect themselves
from the responsiblity when its intercepted or else guard the
transmission, storage, and communications fully.

I tend to really dislike things which call themselves secure yet have
known weaknesses.  Very few users know the difference between
encrypted auth and encrypted session.  It is hard for an administrator
to keep track of what certain features REALLY do.

Secure email:  send it encrypted and store it encrypted on both ends.
Control the keys carefully.  Better yet-- don't send it electronically
or in any physical way at all.......




----- Original Message -----
From: "Ken Hornstein" <kenh at cmf.nrl.navy dot mil>
To: "Roy" <garlic at garlic dot com>
Cc: "Subscribers of Qpopper" <qpopper at lists.pensive dot org>
Sent: Saturday, August 05, 2000 12:40 PM
Subject: Re: secure pop3?


| >TLS (aka SSL, RFC2246) seems to be the up and coming standard for
encrypted
| >POP, IMAP, SMTP and some others.
|
| That's certainly one opinion.  It is not a universal one, however.
|
| (I've noticed that most people who advocate TLS really don't
understand
| the difference between "encryption" and "authentication", and how
one
| doesn't necessarily imply the other).
|
| --Ken
|



Date: Tue, 08 Aug 2000 15:22:31 +0900
From: "Takeshi Usui /=?ISO-2022-JP?B?GyRCMTEwZiEhN3IbKEI=?=" <t99506tu at sfc.keio.ac dot jp>
Subject: NetBSD+qpopper3.0.2

I'm Japanese.
I'm not good at English. Sorry.

I'm troubled.
I wonder what I will do.

And I want to give a question to this mailing list.


I want toinstall qpopper3.0.2 in NetBSD 1.4(sparc)

./configure --enable-apop=/etc/pop.auth --with-popuid=pop

then

make

But,error happened.

pop_user.c: In function `pop_user':
pop_user.c:233: warning: dereferencing `void *' pointer
pop_user.c:233: void value not ignored as it ought to be
pop_user.c:235: warning: dereferencing `void *' pointer
pop_user.c:235: void value not ignored as it ought to be
*** Error code 1

Stop.
*** Error code 1


Why??

Please tell me.

From: "Jack Barnett" <jbarnett at axil.netmate dot com>
Subject: Re: NetBSD+qpopper3.0.2
Date: Tue, 8 Aug 2000 10:41:16 -0500



> I'm Japanese.
> I'm not good at English. Sorry.
>
> I'm troubled.
> I wonder what I will do.
>
> And I want to give a question to this mailing list.
>
>
> I want toinstall qpopper3.0.2 in NetBSD 1.4(sparc)
>
> ./configure --enable-apop=/etc/pop.auth --with-popuid=pop
>
> then
>
> make
>
> But,error happened.
>
> pop_user.c: In function `pop_user':
> pop_user.c:233: warning: dereferencing `void *' pointer
> pop_user.c:233: void value not ignored as it ought to be
> pop_user.c:235: warning: dereferencing `void *' pointer
> pop_user.c:235: void value not ignored as it ought to be
> *** Error code 1
>
> Stop.
> *** Error code 1
>
>
> Why??
>
> Please tell me.
>

Have you tried getting qpopper from the NetBSD ports collection (if it
exists?).  Sometimes I have noticed that *BSD isn't the easiest platform to
build software on, I know trying to compile anything on OpenBSD is just
asking for headaches.  Ports makes *BSD a lot more enjoyable :)

If you have already tried this, I 'm not sure on what else to try.

Jack





Date: Tue, 8 Aug 2000 15:07:05 -0400 (EDT)
From: Ayan George <ayan at kiwi.ayan dot net>
Subject: Bulldb unavailable.

Hello,

I am using the bulldb feature of qpopper on a fairly busy mail server.

Popper occasionally complains that it is not able to open the
bulletin database.

I've read that this is a locking issue and I see that it makes
multiple attempts to read the database.  I wonder if it makes sense
to make the inability to read the bulldb a reason for a catastrophic
failure.  If not, then is there a way to make popper ignore errors
reading the bulldb and continue to allow access to the user's mail
spool?

Here are the options I configured popper with:

	--enable-servermode
	--enable-bulldb
	--enable-shy
	--enable-hash-spool=2

Thanks in advanced.

-Ayan


Date: Thu, 10 Aug 2000 09:28:23 +0800
From: Byron Jones <byron at vianet.net dot au>
Subject: Re: outlook express problem

>The script sounds like a nice way to handle the mailbox size.  Would you
>be interested in sharing it?

will do.. it's integrated with a few other sendmail-access related 
scripts.. some of which won't be much use outside of vianet, so i'll chop 
it up and post to this list when it's ready to roll :)

-- byron jones ----------------------
    systems administrator
    vianet australia
    http://www.vianet.net.au/~byron


Date: Wed, 9 Aug 2000 21:42:03 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Odd Undefined errors in latest beta

At 10:40 PM -0400 7/31/00, Forrest Aldrich wrote:

>   If this is the case, can there not be a more specific error message?

The log should have a more specific message that says what happened. 
But by the time the -ERR response is generated for the client, 
Qpopper no longer knows which it was (EOF or I/O error).  I suppose 
something kludgy could be done with globals, but it doesn't seem 
worth it.

Date: Wed, 9 Aug 2000 21:57:14 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Qpopper on busy server

At 12:13 AM -0500 8/2/00, Chris Szilagyi wrote:

>  Hi, I am looking for suggestions on running Qpopper 3.0.1 on a very busy
>  server.

I recommend upgrading to 3.0.2, as it fixes an issue that could 
affect performance.

From: "Tedd Hansen" <tedd.hansen at fastweb dot no>
Subject: Converting mailboxes from ipop3d to qpopper
Date: Thu, 10 Aug 2000 12:06:39 +0200

A few weeks ago I had a problem; I wanted to change the pop daemon from
ipop3d (that follows the RedHat distro) to qpopper.
I had a few thousand mailboxes with many gigabytes of data, so I didn't want
to delete/make the users download all their mail again.

I'll try to explain what the problems here and how I solved them.

PROBLEM
-------
Tests showed that I couldn't just switch, the users then had to download all
their mail again.
There where three problems;
1) ipop3d (from the imapd package) uses a "DON'T DELETE THIS MESSAGE --
FOLDER INTERNAL DATA" mail, qpopper doesn't - resulted in an extra mail in
the users mailbox
2) UID (Uniqe ID) on the mails didn't match
3) Size on the mails didn't match

SOLUTION
--------
3) After testing, I found that Eudora, Netscape Mail, Outlook Express and
Outlook all ignored that the size of the mail was changed. (Very good, or
the rest of this process would involve modifying sourcecode for qpopper)

2) Qpopper also had a configure option to ignore (or hide) the first mail if
it was "DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA".
(./configure --enable-wu-kludge (or something))

1) The reason why UID was different was the way ipop3d and qpopper stores
them.

Qpopper does it really simple and stores UID in each mail as "X-UIDL:
<string>" in the header.

ipop3d is slightly more 'advanced' and uses "X-UID: <number>" to increase by
one on each mail.
It also stores "X-IMAP: <NUMBER1> <NUMBER2>" in the first mail ("DON'T
DELETE...").
NUMBER1 is a uniqe folder ID, NUMBER2 is the number of mails in the mailbox.
To calculate the UID of a mail, it uses 8 byte HEX values of NUMBER1 and
mail number (stored in "X-UID: ") (16 byes all in all).

To convert all mailboxes, I wrote a simple PERL script (Script is so small
that I won't bother commenting it);
----- CUT HERE ------------------------
#!/usr/bin/perl

#
# Converts a mailbox from ipop3d to qpopper (Adds correct "X-UIDL: ")
# By Tedd Hansen, tedd at fastweb dot no
#
$MFILE = @ARGV[0];

open (MBOX, "< $MFILE") or die "Unable to open $MFILE\n";
  while (<MBOX>) {

    $INHEADER = 1 if (/^From /);
    $INHEADER = 0 if (/^$/ && $INHEADER);

    if (/^X-IMAP: / & $INHEADER & !$XIMAP) {
        $XIMAP = $_;
        $XIMAP =~ s/^X-IMAP: (.*) .*$/$1/;
        $XIMAP = "00000000" . sprintf("%x", $XIMAP);
        $XIMAP =~ s/.*(........)$/$1/;
    }

    if ($INHEADER & /^X-UID: /) {
        $OLD = $_;
        chop $OLD;
        s/.*: (.*)$/$1/;
        $_ = "00000000" . sprintf("%x", $_);
        s/.*(........)$/$OLD\nX-UIDL: $XIMAP$1\n/;
    }
    print $_;
  }
close(MBOX);
----- CUT HERE ------------------------
And a shell script to control it all;
----- CUT HERE ------------------------
#!/bin/bash

cd /var/spool/mail/

mkdir tmpASDASD

for i in *
 do
   echo Start: $i >> /conv/done
   echo Processing $i
   /conv/conv.pl $i > tmpASDASD/$i
   mv -f tmpASDASD/$i $i
   echo Stop: $i >> /conv/done
done
rm -rf tmpASDASD
----- CUT HERE ------------------------


Hope this helps anyone having the same problem... :)

Tedd Hansen
FASTWEB ASA


Date: Thu, 10 Aug 2000 12:31:39 +0200
From: Paul Vidonne <vidonne at vidonne dot fr>
Subject: qpopper and poppassd

I just install qpopper on a Linux RedHat 6.2 i386 (with shadows 
passwords) and following options:
--enable-specialauth
--with-pam
--enable-log-login
--enable-shy

"Change password" on Eudora don't run.

Does  qpopper embodied poppassd ? Does it run on this platform ?
I did not found a correct RPM. Does it exist ? 

I apologise for so much questions perhaps not directly connected
with the goal of the list. Thanks for your kindness.
-------------------------------------------------------------
Paul Vidonne - 16 Chemin de Malacher - 38240 Meylan - France
 Expert judiciaire en informatique - Consultant - Clef PGP :
  "ftp://vidonne.fr/pub/vidonne/Paul Vidonne pubring.pkr"
    http://www.vidonne.fr   mailto:vidonne at vidonne dot fr
------------------------------------------------------------

From: "help" <help at resell dot net>
Subject: compiling qpopper 3.0.2 with poprelayd support
Date: Thu, 10 Aug 2000 06:40:48 -0400

I recently updated qpopper for security reasons and broke my poprelayd (see
http://poprelay.sourceforge.net/). I understand that I need to recompile
qpopper with support for pop-before-smtp but I am unclear as to how to go
about it. Would that be using qpopper's popauth? Can anyone out there advise
me on the necessary steps? Thanks in advance!


From: "Tedd Hansen" <tedd.hansen at fastweb dot no>
Subject: SV: Converting mailboxes from ipop3d to qpopper
Date: Thu, 10 Aug 2000 12:47:22 +0200

Little correction here...
Problem 1 => Solution  2
Problem 2 => Solution  3
Problem 3 => Solution  1

And... The server should be in runlevel 1, or all daemons (MTA / POPD) shut
down, while performing the operation.

Sojjy:)

-----Opprinnelig melding-----
Fra: Tedd Hansen [mailto:tedd.hansen at fastweb dot no]
Sendt: 10. august 2000 12:07
Til: Subscribers of Qpopper
Emne: Converting mailboxes from ipop3d to qpopper


A few weeks ago I had a problem; I wanted to change the pop daemon from
ipop3d (that follows the RedHat distro) to qpopper.
I had a few thousand mailboxes with many gigabytes of data, so I didn't want
to delete/make the users download all their mail again.

I'll try to explain what the problems here and how I solved them.

PROBLEM
-------
Tests showed that I couldn't just switch, the users then had to download all
their mail again.
There where three problems;
1) ipop3d (from the imapd package) uses a "DON'T DELETE THIS MESSAGE --
FOLDER INTERNAL DATA" mail, qpopper doesn't - resulted in an extra mail in
the users mailbox
2) UID (Uniqe ID) on the mails didn't match
3) Size on the mails didn't match

SOLUTION
--------
3) After testing, I found that Eudora, Netscape Mail, Outlook Express and
Outlook all ignored that the size of the mail was changed. (Very good, or
the rest of this process would involve modifying sourcecode for qpopper)

2) Qpopper also had a configure option to ignore (or hide) the first mail if
it was "DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA".
(./configure --enable-wu-kludge (or something))

1) The reason why UID was different was the way ipop3d and qpopper stores
them.

Qpopper does it really simple and stores UID in each mail as "X-UIDL:
<string>" in the header.

ipop3d is slightly more 'advanced' and uses "X-UID: <number>" to increase by
one on each mail.
It also stores "X-IMAP: <NUMBER1> <NUMBER2>" in the first mail ("DON'T
DELETE...").
NUMBER1 is a uniqe folder ID, NUMBER2 is the number of mails in the mailbox.
To calculate the UID of a mail, it uses 8 byte HEX values of NUMBER1 and
mail number (stored in "X-UID: ") (16 byes all in all).

To convert all mailboxes, I wrote a simple PERL script (Script is so small
that I won't bother commenting it);
----- CUT HERE ------------------------
#!/usr/bin/perl

#
# Converts a mailbox from ipop3d to qpopper (Adds correct "X-UIDL: ")
# By Tedd Hansen, tedd at fastweb dot no
#
$MFILE = @ARGV[0];

open (MBOX, "< $MFILE") or die "Unable to open $MFILE\n";
  while (<MBOX>) {

    $INHEADER = 1 if (/^From /);
    $INHEADER = 0 if (/^$/ && $INHEADER);

    if (/^X-IMAP: / & $INHEADER & !$XIMAP) {
        $XIMAP = $_;
        $XIMAP =~ s/^X-IMAP: (.*) .*$/$1/;
        $XIMAP = "00000000" . sprintf("%x", $XIMAP);
        $XIMAP =~ s/.*(........)$/$1/;
    }

    if ($INHEADER & /^X-UID: /) {
        $OLD = $_;
        chop $OLD;
        s/.*: (.*)$/$1/;
        $_ = "00000000" . sprintf("%x", $_);
        s/.*(........)$/$OLD\nX-UIDL: $XIMAP$1\n/;
    }
    print $_;
  }
close(MBOX);
----- CUT HERE ------------------------
And a shell script to control it all;
----- CUT HERE ------------------------
#!/bin/bash

cd /var/spool/mail/

mkdir tmpASDASD

for i in *
 do
   echo Start: $i >> /conv/done
   echo Processing $i
   /conv/conv.pl $i > tmpASDASD/$i
   mv -f tmpASDASD/$i $i
   echo Stop: $i >> /conv/done
done
rm -rf tmpASDASD
----- CUT HERE ------------------------


Hope this helps anyone having the same problem... :)

Tedd Hansen
FASTWEB ASA


From: "Kenneth Porter" <shiva at well dot com>
Date: Thu, 10 Aug 2000 10:15:18 -0700
Subject: Re: qpopper and poppassd

On Thu, 10 Aug 2000 12:31:39 +0200, Paul Vidonne wrote:

>I just install qpopper on a Linux RedHat 6.2 i386 (with shadows 
>passwords) and following options:
>--enable-specialauth
>--with-pam
>--enable-log-login
>--enable-shy

Pretty similar to my RPM-based config.

>"Change password" on Eudora don't run.

That's not handled by qpopper. However, there's source code for some
password-changing servers on the Qualcomm FTP site.

>Does  qpopper embodied poppassd ? Does it run on this platform ?
>I did not found a correct RPM. Does it exist ? 

Yep: It's in the Red Hat contrib directory. You can get a list of all
available qpopper RPM's at the URL
http://rpmfind.net/linux/RPM/qpopper.html. I've been packaging the 3.x
series for the RH contrib directory. The latest (3.1b6) is compiled to
use DRAC, a POP-before-SMTP daemon, so you'll also need the dracd
package.

Let me know if you have any problems with the RPM's.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
Kill the Carnivore! http://www.lp.org/action/carnivore/



From: "Kenneth Porter" <shiva at well dot com>
Date: Thu, 10 Aug 2000 10:17:06 -0700
Subject: Re: compiling qpopper 3.0.2 with poprelayd support

On Thu, 10 Aug 2000 06:40:48 -0400, help wrote:

>I recently updated qpopper for security reasons and broke my poprelayd (see
>http://poprelay.sourceforge.net/). I understand that I need to recompile
>qpopper with support for pop-before-smtp but I am unclear as to how to go
>about it. Would that be using qpopper's popauth? Can anyone out there advise
>me on the necessary steps? Thanks in advance!

The 3.1 beta supports DRAC for POP-before-SMTP as a configuration
option.

popauth is a qpopper utility for managing APOP (encrypted) passwords,
similar to the Unix passwd command.

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
Kill the Carnivore! http://www.lp.org/action/carnivore/



Date: Thu, 10 Aug 2000 16:32:34 -0400
From: Tim Meader <tmeader at cne-odin.gsfc.nasa dot gov>
Subject: Question on possible modification to QPopper...

Hi everyone, my IT group has assigned me with the task of making a
small, seemingly simple mod to QPopper, problem being I've never used it
before. I've been going through the source, trying to find a location
where my mod should be implemented, but if anyone could give me some
guidance it would be appreciated. What I'm trying to do is essentially
have Qpopper check the size of the users mail volume at some point
during the POP process and output a message to them with a warning and
certain instructions if their account is beyond a certain size.
Hopefully someone can provide me with some clues on this. Thanks in
advance to any and all replies.

--

Tim Meader
ACS GSG
tmeader at cne-odin.gsfc.nasa dot gov




Date: Thu, 10 Aug 2000 13:57:22 -0700
From: "Joel B. Laing" <joel at scripps dot edu>
Subject: Re: Question on possible modification to QPopper...

Simplest way would be a shell script run out of cron ( every minute hee
hee ) that checks the size of the spool file and sends mail to the user.
Is there some reason management wants this done within qpopper? 

-Joel



Tim Meader wrote:
> 
> Hi everyone, my IT group has assigned me with the task of making a
> small, seemingly simple mod to QPopper, problem being I've never used it
> before. I've been going through the source, trying to find a location
> where my mod should be implemented, but if anyone could give me some
> guidance it would be appreciated. What I'm trying to do is essentially
> have Qpopper check the size of the users mail volume at some point
> during the POP process and output a message to them with a warning and
> certain instructions if their account is beyond a certain size.
> Hopefully someone can provide me with some clues on this. Thanks in
> advance to any and all replies.
> 
> --
> 
> Tim Meader
> ACS GSG
> tmeader at cne-odin.gsfc.nasa dot gov

Date: Thu, 10 Aug 2000 23:36:52 +0200 (CEST)
From: robert rotman <rotman at inode dot at>
Subject: Re: Question on possible modification to QPopper...

On Thu, 10 Aug 2000, Joel B. Laing wrote:

> Simplest way would be a shell script run out of cron ( every minute hee
> hee ) that checks the size of the spool file and sends mail to the user.
> Is there some reason management wants this done within qpopper? 
> 
> -Joel
>

agree,

also there are some MTA's with quota-implementation sending such mails.

robert
 
> 
> 
> Tim Meader wrote:
> > 
> > Hi everyone, my IT group has assigned me with the task of making a
> > small, seemingly simple mod to QPopper, problem being I've never used it
> > before. I've been going through the source, trying to find a location
> > where my mod should be implemented, but if anyone could give me some
> > guidance it would be appreciated. What I'm trying to do is essentially
> > have Qpopper check the size of the users mail volume at some point
> > during the POP process and output a message to them with a warning and
> > certain instructions if their account is beyond a certain size.
> > Hopefully someone can provide me with some clues on this. Thanks in
> > advance to any and all replies.
> > 
> > --
> > 
> > Tim Meader
> > ACS GSG
> > tmeader at cne-odin.gsfc.nasa dot gov
> 

---
di. robert rotman                                   inode.graz
phone -> ++43-(0)316 813141       ++43-(0)316 818600/15 <- fax
rotman at inode.at                      http://www.graz.inode dot at/
--
this letter was written on recycled bytes used by deleted mail.



From: krubin at cncx dot com
Subject: UIDL and leave messages on server
Date: Thu, 10 Aug 2000 18:32:03 -0700

Hi,

I'm new to this group, so if more info is needed than supplied, please let
me know. 

I've just installed qpopper3.0.2 or RedHat Linux 6.1 with 

./configure --enable-specialauth

All of the pop users leave mail on the server.  And everytime they check
mail, the same messages get downloaded plus any new ones.  So the same
message appears in their mailbox as many times as they check mail.

So, in testing, I discovered that two separate mail sessions revealed
different UIDL's for the same messages.  Here's an example below:

+OK QPOP (version 3.0b29) at domain.com starting.  
user ken
+OK Password required for ken.
pass ken
+OK ken has 5 messages (3424 octets).
UIDL
+OK uidl command accepted.
1 \#!e9;:3!!Ie0!!^\N!!
2 cU`d9ci>e9k8Qd9e>]!!
3 '!m!!a6W!!WeL!!*=^!!
4 "4/!!)BF!!JMTd9^/X!!
5 Vcdd9X\T!!ARe!!b:<!!
.


AND ON THE SECOND SESSION:


+OK QPOP (version 3.0b29) at domain.com starting.  
user ken
+OK Password required for ken.
pass ken
+OK ken has 5 messages (3424 octets).
UIDL
+OK uidl command accepted.
1 *c"!!,Zi!!h_Zd9Bn=!!
2 o51!!7NVd9EYG!!M*0!!
3 @^#e9U2ed98~k!!aJ=e9
4 #Y>e9!hYd9<^Vd9aSPe9
5 8=1e9oei!!OAed9l3\d9
.

Ken Rubin
krubin at cncx dot com
Facilities Manager
Irvine Data Center
Concentric Network, Inc.


Date: Fri, 11 Aug 2000 10:05:27 +0800
From: Byron Jones <byron at vianet.net dot au>
Subject: Re: UIDL and leave messages on server


>I've just installed qpopper3.0.2 or RedHat Linux 6.1 with
>[snip]
>+OK QPOP (version 3.0b29) at domain.com starting.

hmm.. to me it looks like you're not running 3.0.2 as stated.

did you HUP inetd?

-- byron jones ----------------------
    systems administrator
    vianet australia
    http://www.vianet.net.au/~byron


Date: Fri, 11 Aug 2000 14:29:12 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: Question on possible modification to QPopper...

On Thu, 10 Aug 2000, Joel B. Laing wrote:

> Simplest way would be a shell script run out of cron ( every minute hee
> hee ) that checks the size of the spool file and sends mail to the user.
> Is there some reason management wants this done within qpopper? 

Linux quota daemon does this when the soft limit has been exceeded.

Don't other quota daemons do this too?

AB



Date: Fri, 11 Aug 2000 12:07:12 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: Question on possible modification to QPopper...

Alan Brown (alan at manawatu.gen dot nz) wrote:
> On Thu, 10 Aug 2000, Joel B. Laing wrote:
 
> > Simplest way would be a shell script run out of cron ( every minute hee
> > hee ) that checks the size of the spool file and sends mail to the user.
> > Is there some reason management wants this done within qpopper? 

	Could be fun. It takes my housekeeper 23m26seconds to
	check mailboxes. (Just over 30000, 12gb) 

	doing quota checking in qpopper is too late, the MDA should
	be doing that when delivering to the mailbox. mail.local does
	it, and I presume others do.
 
> Linux quota daemon does this when the soft limit has been exceeded.
> Don't other quota daemons do this too?

	Most dont. A combination of "repquota" and perl/language-of-choice
	can do the job.

	"Hi, your mailbox is getting really full, you might want to
	remove something before you go over quota."

	P


-- 
Remember The 5 K's.
The Justified Agents of Munya-munya-muuuu ...

Date: Fri, 11 Aug 2000 15:16:14 -0400
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: DON'T DELETE THIS MESSAGE ???

After fishing around I found that I had to pass an additional parameter
in order to not receive the DON'T DELETE this message text from ipop3d.

./configure --enable-specialauth --enable-uw-kludge

But after doing this, and making, reloading etc, I still get that header
file...

Any ideas on how to get this to stop ?

Thanks

___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Fri, 11 Aug 2000 15:45:11 -0400
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: Postfix ?

Does anyone have a link to instructions (step by step) that would show
how to use qpopper with postfix ?

Thanks..

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Fri, 11 Aug 2000 09:45:45 -0400
From: Tim Meader <tmeader at cne-odin.gsfc.nasa dot gov>
Subject: Clarification of my earlier post on Qpopper modification advice...

First thanks to all that replied. Now, let me be a little more clear, I
don't want to send these people physical emails (there's an oxymoron), I
just want to send them a message via the POP protocol which would force
their client program to display said warning. For instance, in Eudora,
when a password authentification fails and the message comes
back: "Shhhh.....etc"  Sorry for any that haven't seen that message, but
those who have will know what I'm talking about. The point is that that
tactic of sending emails to alert for large mailboxes sizes has already
been tried (we have a program I wrote that does this once a day), and
doesn't work because our users simply delete them. We need something
that will be far more annoying for the user (ie - a message that
displays everytime until their mailbox is cleaned out). Thanks in
advance for any new help anyone can give on this matter.

--

Tim Meader
ACS GSG
tmeader at cne-odin.gsfc.nasa dot gov




Date: Fri, 11 Aug 2000 15:10:21 +0100
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: Clarification of my earlier post on Qpopper modification

This sounds like it might be a bad idea. Those messages come up when a 
fatal error has occurred, I don't think the POP3 protocol has any scope for 
non-fatal error messages (could be wrong) and I think most clients 
disconnect as soon as the see an error.

One possibility is to modify qpopper's response to the QUIT command so that 
rather than just saying OK it says ERROR user over quota and that would 
probably achieve what you're looking for with some mail clients but it 
could upset many others,

Fergal

At 14:45 11/08/00, Tim Meader wrote:
>First thanks to all that replied. Now, let me be a little more clear, I
>don't want to send these people physical emails (there's an oxymoron), I
>just want to send them a message via the POP protocol which would force
>their client program to display said warning. For instance, in Eudora,
>when a password authentification fails and the message comes
>back: "Shhhh.....etc"  Sorry for any that haven't seen that message, but
>those who have will know what I'm talking about. The point is that that
>tactic of sending emails to alert for large mailboxes sizes has already
>been tried (we have a program I wrote that does this once a day), and
>doesn't work because our users simply delete them. We need something
>that will be far more annoying for the user (ie - a message that
>displays everytime until their mailbox is cleaned out). Thanks in
>advance for any new help anyone can give on this matter.
>
>--
>
>Tim Meader
>ACS GSG
>tmeader at cne-odin.gsfc.nasa dot gov



From: "=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Subject: RE: Clarification of my earlier post on Qpopper modification advice...
Date: Fri, 11 Aug 2000 17:11:12 +0200

...why do you want to make a modification to qpopper? Make it to your
MTA! (...actually the config file of your MTA).
Let your MTA check the mail spoo size, if it is over quota, your MTA
shall send a mail. However, until the size of the spool is NOT beyond
quota, your MTA will just store all mail for the user in another spool
file (lets say user.1). Now, once the original mail spool is cleared up,
the temporary one is appended to it.

This way, you are not loosing any mails, and it is working with any email
program... and your users have to read the mail, otherwise they wont get
any emails....


-p


> -----Original Message-----
> From: opus at cne-odin.gsfc.nasa dot gov
> [mailto:opus at cne-odin.gsfc.nasa dot gov]On
> Behalf Of Tim Meader
> Sent: Freitag, 11. August 2000 15:46
> To: Subscribers of Qpopper
> Subject: Clarification of my earlier post on Qpopper modification
> advice...
>
>
> First thanks to all that replied. Now, let me be a little more clear, I
> don't want to send these people physical emails (there's an
> oxymoron), I
> just want to send them a message via the POP protocol which would force
> their client program to display said warning. For instance, in Eudora,
> when a password authentification fails and the message comes
> back: "Shhhh.....etc"  Sorry for any that haven't seen that
> message, but
> those who have will know what I'm talking about. The point is that that
> tactic of sending emails to alert for large mailboxes sizes has already
> been tried (we have a program I wrote that does this once a day), and
> doesn't work because our users simply delete them. We need something
> that will be far more annoying for the user (ie - a message that
> displays everytime until their mailbox is cleaned out). Thanks in
> advance for any new help anyone can give on this matter.
>
> --
>
> Tim Meader
> ACS GSG
> tmeader at cne-odin.gsfc.nasa dot gov
>
>
>
>


Date: Sat, 12 Aug 2000 00:48:05 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: Clarification of my earlier post on Qpopper modification advice...

Tim Meader (tmeader at cne-odin.gsfc.nasa dot gov) wrote:
> First thanks to all that replied. Now, let me be a little more clear, I
> don't want to send these people physical emails (there's an oxymoron), I
> just want to send them a message via the POP protocol which would force
> their client program to display said warning. For instance, in Eudora,
> when a password authentification fails and the message comes

	You probably can't do this, most of the dismally written JP
	pop clients will give you a garbage error that doesnt contain
	any of the text that you could send back, even if you wanted
	them to.

	Lots of people would call your support line asking moronic questions
	about Error 47 incorrect pustulence (or something equally inane) which
	you would be unable to distinguish from a real error.

	1 - dont do this.

	2 - fake it so they get a new message from the Pop-Daemon every time.
	    this message looks like a perfectly normal email, not stored anywhere
	    that tells them "unless you remove mail from server now, you are in
	    danger of losing important mails in future when you go over quota"
	
	    Idiot customers will still call up about this mail that they keep
	    getting from the POP QUOTA MONSTER, but at least your support will
	    have an idea of what is going on.

	P

-- 
Remember The 5 K's.
The Justified Agents of Munya-munya-muuuu ...

Subject: Re: Clarification of my earlier post on Qpopper modification advice...
Date: Fri, 11 Aug 2000 15:19:26 -0400
From: Ken Hornstein <kenh at cmf.nrl.navy dot mil>

>First thanks to all that replied. Now, let me be a little more clear, I
>don't want to send these people physical emails (there's an oxymoron), I
>just want to send them a message via the POP protocol which would force
>their client program to display said warning. For instance, in Eudora,
>when a password authentification fails and the message comes
>back: "Shhhh.....etc"

Here's the problem:

The POP protocol has no provisions for sending messages like that.  You
could _add_ something to qpopper to "send a message", but the _clients_
wouldn't know about it, and would simply ignore that message.

For example: Part of the "Shhhh..." message you're talking about is generated
by the client; there _is_ a part displayed from the server, but that
only happens when there's a failure, and when _that_ happens, a proper
POP client aborts.

But if you want something annoying .... well, you could create a message
that gets returned as an 'authentication failure' message that says,
"Your mailbox is over quota - you will see this message X more times,
and then you can login and delete some messages".  For every successful
login, you can increase the number of times you see that message by 1.

Mind you, there's a fair amount of back-end work you would need to do
for that.  I would personally just use the delete-after-retr feature
of qpopper.

--Ken

Date: Fri, 11 Aug 2000 19:47:09 -0400 (PYT)
From: Pablo.Capo at rieder.net dot py
Subject: Compiling problems

Hi, I¥m getting this error when compiling qpopper on a Digital Unix 4.0f

It complains about some "time_locked" variable not initialized on the line 1414
of the "/popper/pop_dropcopy.c".

Can somebody give me a clue about where I have to initialize that variable and
what value asign it.

Thanks in advance. :-)

----------------------------------
E-Mail: Pablo.Capo at rieder.net dot py
Date: 11-Aug-2000
Time: 19:27:43

This message was sent by XFMail
----------------------------------

Date: Sat, 12 Aug 2000 14:29:25 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: Clarification of my earlier post on Qpopper modification advice...

On Fri, 11 Aug 2000, Ken Hornstein wrote:

> But if you want something annoying .... well, you could create a message
> that gets returned as an 'authentication failure' message that says,
> "Your mailbox is over quota - you will see this message X more times,
> and then you can login and delete some messages".  For every successful
> login, you can increase the number of times you see that message by 1.
> 
> Mind you, there's a fair amount of back-end work you would need to do
> for that.  I would personally just use the delete-after-retr feature
> of qpopper.

Some modification of the popbull code to insert a message as the client
collects mail might do the job....

As various others have said, too many MUAs are so badly broken that the
actual error message is never displayed *cough*MicrosoftLookout*cough*
and you'll end up with unnecessary extra support handholding loads.

AB


Date: Fri, 11 Aug 2000 19:28:41 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: DON'T DELETE THIS MESSAGE ???

At 3:16 PM -0400 8/11/00, Jack Sasportas wrote:

>  After fishing around I found that I had to pass an additional parameter
>  in order to not receive the DON'T DELETE this message text from ipop3d.
>
>  ./configure --enable-specialauth --enable-uw-kludge
>
>  But after doing this, and making, reloading etc, I still get that header
>  file...

What header file?  You mean you still get the DO NOT DELETE THIS 
MESSAGE message?

>
>  Any ideas on how to get this to stop ?

Try 3.1b6 and see if that fixes it.

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Acting is an art which consists of keeping the audience from coughing.

Date: Sun, 13 Aug 2000 09:47:54 -0500
From: "J.D. Bronson" <jdb at xpec dot com>
Subject: apop help needed

I was trying to compile and setup qpopper (newest beta) for apop. I did
this before (on an older beta) and had no trouble.....

Now it says this when I try to setup the popauth database or lauch qpopper.

I have installed gdbm and db3.055  ---during configure it found gdbm and
said it would use that database......

# cd /etc
# chown pop popauth
# chmod u+s popauth
# popauth -init
ld.so.1: popauth: fatal: libgdbm.so.2: open failed: No such file or directory
Killed
# 

yet:

# locate libgdbm.so.2
/usr/local/lib/libgdbm.so.2
/usr/local/lib/libgdbm.so.2.0.0

any ideas?




-- 
J.D. Bronson // jb at xpec.com // http://www.sparc-central dot com/jeff
Aurora Health Care // Information Services // Telecom Site Manager
Milwaukee Wisconsin USA // Office: 414.978.8282 // Fax: 414.328.8282

From: "Kenneth Porter" <shiva at well dot com>
Date: Sun, 13 Aug 2000 15:40:37 -0700
Subject: Re: Clarification of my earlier post on Qpopper modification advice...

On Sat, 12 Aug 2000 14:29:25 +1200 (NZST), Alan Brown wrote:

>As various others have said, too many MUAs are so badly broken that the
>actual error message is never displayed *cough*MicrosoftLookout*cough*
>and you'll end up with unnecessary extra support handholding loads.

But if you were using a *real* mail server like Microsoft Hostage
Exchange, you'd never have any errors to hear about. ;-)

(Cheap shot, as I've never used Exchange.)

Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/



Date: Mon, 14 Aug 2000 14:29:37 +0200
From: Carles Xavier Munyoz =?iso-8859-1?Q?Baldó?= 
Subject: Re: Question on possible modification to QPopper...

Tim Meader wrote:
> Hi everyone, my IT group has assigned me with the task of making a
> small, seemingly simple mod to QPopper, problem being I've never used it
> before. I've been going through the source, trying to find a location
> where my mod should be implemented, but if anyone could give me some
> guidance it would be appreciated. What I'm trying to do is essentially
> have Qpopper check the size of the users mail volume at some point
> during the POP process and output a message to them with a warning and
> certain instructions if their account is beyond a certain size.
> Hopefully someone can provide me with some clues on this. Thanks in
> advance to any and all replies.

Hi,
You may make this before the QPopper displays the welcome message.
The only thing you have to do is look for this string in the source
files, and add your code before it.

I hope this clue will be useful for you :)
Greetings.
---
Carles Xavier Munyoz Baldó / carles.munyoz at ctv-jet dot com
Wanadoo España
Dpto. Sistemas / System Department
Tel: +34 96 5040000 Ext. 40046 - Fax: +34 96 5040047
http://www.wanadoo.es/
---

Date: Mon, 14 Aug 2000 10:30:39 -0400 (EDT)
From: Dan Parsons <dan at stepahead dot net>
Subject: DON'T DELETE THIS MESSAGE crap

Is there any way to cause qpopper to ignore the "DON'T DELETE THIS
MESSAGE" garbage that imapd loves to put in there? Thanks.

Dan Parsons - Senior NetAdmin
NYIP Shell Services
http://www.nyip.net/


Subject: Re: DON'T DELETE THIS MESSAGE crap
Date: Mon, 14 Aug 2000 17:14:26 +0200 (MEST)
From: Georg Schwarz <schwarz at physik.tu-berlin dot de>

> Is there any way to cause qpopper to ignore the "DON'T DELETE THIS
> MESSAGE" garbage that imapd loves to put in there? Thanks.
> 

either don't use Washington University's (?) pine, imap etc., or use
their popo3d as well instead of qpopper.


Georg Schwarz                             schwarz at physik.tu-berlin dot de
Institut für Theoretische Physik    Tel. +49 30 314-24254, FAX -21130
Technische Universität Berlin          http://home.pages.de/~schwarz/
Sekr. PN 7-1, Hardenbergstr. 36, D-10623 Berlin            IRC: kuroi

Date: Mon, 14 Aug 2000 16:39:20 +0100
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: DON'T DELETE THIS MESSAGE crap

At 16:14 14/08/00, Georg Schwarz wrote:
> > Is there any way to cause qpopper to ignore the "DON'T DELETE THIS
> > MESSAGE" garbage that imapd loves to put in there? Thanks.
> >
>
>either don't use Washington University's (?) pine, imap etc., or use
>their popo3d as well instead of qpopper.

Or search the docs for imap to find out how to get qpopper to ignore it...

Fergal



Date: Mon, 14 Aug 2000 10:29:09 -0500
From: Darin Dugan <dddugan at iastate dot edu>
Subject: Re: DON'T DELETE THIS MESSAGE crap

At 10:14 AM 8/14/2000, Georg Schwarz wrote:
> > Is there any way to cause qpopper to ignore the "DON'T DELETE THIS
> > MESSAGE" garbage that imapd loves to put in there? Thanks.
> >
>
>either don't use Washington University's (?) pine, imap etc., or use
>their popo3d as well instead of qpopper.

Or tell Qpopper to ignore it with:
./configure --enable-uw-kludge


>Georg Schwarz                             schwarz at physik.tu-berlin dot de
>Institut für Theoretische Physik    Tel. +49 30 314-24254, FAX -21130
>Technische Universität Berlin          http://home.pages.de/~schwarz/


Darin Dugan
System Support Specialist
Iowa State University Extension
dddugan at iastate dot edu
http://www.extension.iastate.edu


Date: Mon, 14 Aug 2000 14:46:51 -0400
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: Re: DON'T DELETE THIS MESSAGE crap

I already use the following:
./configure --enable-specialauth --enable-uw-kludge

and it still gives me the imap message, is there another way to take it
off / ignore it ?

Thanks



Darin Dugan wrote:

> At 10:14 AM 8/14/2000, Georg Schwarz wrote:
> > > Is there any way to cause qpopper to ignore the "DON'T DELETE THIS
> > > MESSAGE" garbage that imapd loves to put in there? Thanks.
> > >
> >
> >either don't use Washington University's (?) pine, imap etc., or use
> >their popo3d as well instead of qpopper.
>
> Or tell Qpopper to ignore it with:
> ./configure --enable-uw-kludge
>
> >Georg Schwarz                             schwarz at physik.tu-berlin dot de
> >Institut für Theoretische Physik    Tel. +49 30 314-24254, FAX -21130
> >Technische Universität Berlin          http://home.pages.de/~schwarz/
>
> Darin Dugan
> System Support Specialist
> Iowa State University Extension
> dddugan at iastate dot edu
> http://www.extension.iastate.edu

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net



Date: Tue, 15 Aug 2000 11:40:58 +1000
From: Jonathan Benson <sysadmin at ocean.com dot au>
Subject: Re: Qpopper 3.0.x on NFS ?

Hi Charles

What changes have you had to make?

Have you passed them back to the qpopper developers to work back in to one of
the new Betas?

I'm looking at getting a NAS box of some sort that will do NFS (currently
leaning towards the Procomm Netforce 1500) for a central store for our
web/database servers and am trying to determine if running our mail spool on
there will be a viable option.


Regards

Jon

Carles Xavier Munyoz Baldó wrote:

> qpopper-list at tiscali dot be wrote:
> > Does someone had used qpopper 3.0.2 (or 3.0.1) with the spool mounted in
> > NFS (2 or 3) ?
>
> Yes, I'm using qpopper 3.0.2 with the spool mounted using a NFS server.
> For do it I have had to make changes in the source code of QPopper.
>
> Greetings.
> ---
> Carles Xavier Munyoz Baldó / carles.munyoz at ctv-jet dot com
> Wanadoo España
> Dpto. Sistemas / System Department
> Tel: +34 96 5040000 Ext. 40046 - Fax: +34 96 5040047
> http://www.wanadoo.es/
> ---

--
Jonathan Benson
Systems Administrator
Ocean Internet
http://www.ocean.com.au/




Date: Tue, 15 Aug 2000 11:44:08 +1000
From: Jonathan Benson <sysadmin at ocean.com dot au>
Subject: Re: Bulldb unavailable.

I just realised I made the mistake of replying to Ayan directly so now
here is my reply (again) to the list:

I've had the same problem.  Some time ago I modified the code to
randomize the wait period but that doesn't seem to have helped all that
much as a quick grep of todays logs shows 12 occurences of this error.

Having it ignore the error (at least as an option) would be great IMHO.
I really don't care if the user manages to check their mail once without
getting a bulletin but would prefer not to have to live without the
feature altogether.

Perhaps I'll dig in the code again at a later date if someone else hasn't

done it for me.  Right now I'm trying to sort out a new PABX system
whilst investigating SLB & NAS solutions.


Jon

Ayan George wrote:

> I've read that this is a locking issue and I see that it makes
> multiple attempts to read the database.  I wonder if it makes sense
> to make the inability to read the bulldb a reason for a catastrophic
> failure.  If not, then is there a way to make popper ignore errors
> reading the bulldb and continue to allow access to the user's mail
> spool?

--
Jonathan Benson
Systems Administrator
Ocean Internet
http://www.ocean.com.au/




Date: Tue, 15 Aug 2000 11:17:46 +0800 (PHT)
From: "Michale C. Balines" <mikeb at cyworld dot net>
Subject: qpopper of multi-domain

i have qpopper installed on one of webservers that would be needing mail
using their domains. this one particular sever is hosting about 4
dot.coms. what are the things that i should consider, in order to get
their mails running?

thanks!

mike


Date: Tue, 15 Aug 2000 14:10:06 +1000
From: Jonathan Benson <sysadmin at ocean.com dot au>
Subject: Qpopper 3.02 bulldb patch

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

Hi all

OK I've just spent far too long fiddling with this but belive I have
achieved what I set out to do.

Ie. If qpopper can't lock the bulletin database it writes a warning to
the log but still lets the user pop their email.  At the same time I've
reduced the number of retries.  I already had code that randomized the
sleep between retries.

As usual USE AT YOUR OWN RISK.   I've attached a diff for pop_dropcopy.c

My code isn't the neatest but as best I can tell it's working fine on
our main server now.  Hopefully this will stop the peaks in load that we
have been seeing and our mail server will now tick along nicely.


Regards

Jon

--
Jonathan Benson
Systems Administrator
Ocean Internet
http://www.ocean.com.au/



--------------2E08E1AF0DCD6BD6F01EB321
Content-Type: text/plain; charset=us-ascii;
 name="bulldb.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="bulldb.diff"

135a136,139
> #ifdef BULLDB
> # include <stdlib.h>
> #endif
> 
1088,1090c1092,1094
< #  define SLEEP_INTERVAL 1 /* how long to wait between tries */
< #  define MAX_ATTEMPTS  10 /* when to give up */
<     if (p->bulldir) {
---
> #  define MAX_ATTEMPTS  3 /* when to give up */
> 
> if (p->bulldir) {
1094a1099
> 		  int  randsleep = 0;
1110c1115
<             if ( p->bull_db == NULL && errno == EAGAIN
---
> 		  if ( p->bull_db == NULL && errno == EAGAIN
1115c1120,1128
<                 sleep ( tries * SLEEP_INTERVAL );   /* Sleep between retries */
---
> 					/* Added to randomize the sleep period for retrys 
> 		   			when unable to lock bulldb - JB 05/30/00 */
> 					randsleep = 1+(int) (10.0*rand()/(RAND_MAX+1.0));    
> 
> // #if HAVE_UNISTD_H
> // 					usleep ( (1000 * tries * randsleep) );
> // #else /* probably won't have usleep() */
>                 sleep ( tries + randsleep );   /* Sleep between retries */
> // #endif /* HAVE_UNISTD_H */
1124c1137,1138
<             return ( pop_msg ( p, POP_FAILURE, HERE, 
---
> /* JB 15/8/00 commented out return to avoid failure on fail to lock bulldb */
>             /* return ( pop_msg ( p, POP_FAILURE, HERE, 
1126c1140
<                                "database; contact your administrator" ) );
---
>                                "database; contact your administrator" ) ); */
1526d1539
< 
1539c1552,1556
<         if ( pop_bull ( p, pwp ) != POP_SUCCESS ) {
---
> /* JB 15/8/00 added ifdef to avoid failure on fail to lock bulldb */
> #ifdef BULLDB
>         if ( p->bull_db != NULL ) {
> #endif /* BULLDB */
> 		  if ( pop_bull ( p, pwp ) != POP_SUCCESS ) {
1551a1569,1571
> #ifdef BULLDB
>         }
> #endif /* BULLDB */
1554a1575
> if ( p->bull_db != NULL ) {
1559a1581
> }

--------------2E08E1AF0DCD6BD6F01EB321--


From: "Tedd Hansen" <tedd.hansen at fastweb dot no>
Subject: RE: qpopper of multi-domain
Date: Tue, 15 Aug 2000 07:43:31 +0200

The way we solved hosting several domains is using Sendmail's
virtualusertable feature to rewrite the usernames (/etc/mail/virtusertable
on my server);
@domain1.com		domain1.com.%1
@domain2.com		domain2.com.%1

This is one alternate solution to the fact that the POP3 protocol currently
does not support features such as the "HOST: " featue in http.
(Meaning, POP3 can't separate several domains on one IP. tedd at domain1 dot com
would also be tedd at domain2 dot com	)

This probably wasn't what you where asking, but I just thought I'd let you
know :)

- Tedd

-----Original Message-----
From: Michale C. Balines [mailto:mikeb at cyworld dot net]
Sent: Tuesday, August 15, 2000 5:18 AM
To: Subscribers of Qpopper
Subject: qpopper of multi-domain


i have qpopper installed on one of webservers that would be needing mail
using their domains. this one particular sever is hosting about 4
dot.coms. what are the things that i should consider, in order to get
their mails running?

thanks!

mike


Date: Tue, 15 Aug 2000 14:00:00 -0400
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: Performance ?

This is a 2 phase question...

1.  How much ( if at all ) is qpopper -vs- ipop3d ?

2. Does the size of the mail file ( pop3 file for a user ) dramatically
effect the cpu useage when someone is checking for new mail ?
I have noticed since we are getting many email checks from our pop3
users that our server cpu useage is going up, and particularly when
someone is leaving the email on the server, and queries the file for
anything new within the file.  ie... you pick up 100 messages in the am,
10 more are delivered by 12:01pm, then at 12:02 you pick up the new 10,
but this sequential process seems to have to go through the entire 100
mesage to check if each one is new or not until finally finding the last
10 that are missing.

Thanks !

--
___________________________________________________________
Jack Sasportas



Date: Tue, 15 Aug 2000 14:10:42 -0400
From: Jack Sasportas <jack at innovativeinternet dot com>
Subject: Re: Performance ?

Forgot an important word in question 1
1.  How much faster ( if at all ) is qpopper -vs- ipop3d ?

sorry..

Jack Sasportas wrote:

> This is a 2 phase question...
>
> 1.  How much ( if at all ) is qpopper -vs- ipop3d ?
>
> 2. Does the size of the mail file ( pop3 file for a user ) dramatically
> effect the cpu useage when someone is checking for new mail ?
> I have noticed since we are getting many email checks from our pop3
> users that our server cpu useage is going up, and particularly when
> someone is leaving the email on the server, and queries the file for
> anything new within the file.  ie... you pick up 100 messages in the am,
> 10 more are delivered by 12:01pm, then at 12:02 you pick up the new 10,
> but this sequential process seems to have to go through the entire 100
> mesage to check if each one is new or not until finally finding the last
> 10 that are missing.
>
> Thanks !
>
> --
> ___________________________________________________________
> Jack Sasportas

--
___________________________________________________________
Jack Sasportas
Innovative Internet Solutions
Phone 305.665.2500
Fax 305.665.2551
www.innovativeinternet.com
www.web56.net