The qpopper list archive ending on 17 Mar 2000


Topics covered in this issue include:

  1. Antw: Re: qpopper on HPUX 11
       "Stephan Hendl" <Stephan.Hendl at lds.brandenburg dot de>
       Tue, 14 Mar 2000 15:42:19 +0100
  2. Re: Re: qpopper on HPUX 11
       "Alexander Kiselev" <akiselev at mow-co.ru.dhl dot com>
       Tue, 14 Mar 2000 17:53:11 +0300
  3. Re: mailboxes getting duplicated
       Wallace Nicoll <wallace at cityedin.demon.co dot uk>
       Tue, 14 Mar 2000 14:52:39 +0000
  4. RE: mailboxes getting duplicated
       Dan Scoggins <dan.scoggins at gsfc.nasa dot gov>
       Tue, 14 Mar 2000 10:29:55 -0500
  5. Re: forward
       Joseph S D Yao <jsdy at cospo.osis dot gov>
       Tue, 14 Mar 2000 10:17:03 -0500
  6. Re: mailboxes getting duplicated
       "Michael D. Sofka" <sofkam at rpi dot edu>
       Tue, 14 Mar 2000 10:15:14 -0500
  7. Re: One- or two-level mailspool hashing ?
       "Michael D. Sofka" <sofkam at rpi dot edu>
       Tue, 14 Mar 2000 10:20:41 -0500
  8. Re: mailboxes getting duplicated
       Joseph S D Yao <jsdy at cospo.osis dot gov>
       Tue, 14 Mar 2000 10:49:47 -0500
  9. Re: mailboxes getting duplicated
       Eric Luyten <eluyten at vub.ac dot be>
       Tue, 14 Mar 2000 17:00:41 +0100 (MET)
 10. Re: forward
       Catalin BOIE <catab at deuroconsult dot ro>
       Tue, 14 Mar 2000 18:27:53 +0200 (EET)
 11. RE: mailboxes getting duplicated
       Dan Scoggins <dan.scoggins at gsfc.nasa dot gov>
       Tue, 14 Mar 2000 12:16:56 -0500
 12. Re: forward
       Joseph S D Yao <jsdy at cospo.osis dot gov>
       Tue, 14 Mar 2000 12:33:39 -0500
 13. Re: forward
       Qpopper Support <qpopper at qualcomm dot com>
       Tue, 14 Mar 2000 09:39:08 -0800
 14. Re: mailboxes getting duplicated
       Randall Gellens <randy at qualcomm dot com>
       Tue, 14 Mar 2000 09:45:55 -0800
 15. RE: mailboxes getting duplicated
       "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>
       Tue, 14 Mar 2000 12:12:35 -0600
 16. Re: mailboxes getting duplicated
       "Michael D. Sofka" <sofkam at rpi dot edu>
       Tue, 14 Mar 2000 13:04:37 -0500
 17. Re: forward
       Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
       Tue, 14 Mar 2000 19:24:17 +0100
 18. RE: mailboxes getting duplicated
       "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>
       Tue, 14 Mar 2000 12:26:15 -0600
 19. forward
       Elgin Lee <ehl at funghi dot com>
       Tue, 14 Mar 2000 10:33:15 -0800 (PST)
 20. Re: forward
       Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
       Tue, 14 Mar 2000 19:30:56 +0100
 21. Re: forward
       "Renato R. Santana" <renato at contacto.com dot br>
       Tue, 14 Mar 2000 15:53:31 -0300
 22. RE: mailboxes getting duplicated
       Karyn McCambridge <karynm at afb dot net>
       Tue, 14 Mar 2000 14:29:36 -0500
 23. Re: forward
       "Jack Barnett" <jbarnett at axil.netmate dot com>
       Tue, 14 Mar 2000 13:11:56 -0600
 24. Re: forward
       gdmalet at ist.uwaterloo dot ca (Giles D. Malet - IST)
       14 Mar 2000 14:58:41 -0500
 25. Re: mailboxes getting duplicated
       Patricia Max <pam at lampinc dot com>
       Tue, 14 Mar 2000 13:08:37 -0700 (MST)
 26. Re: forward
       Joseph S D Yao <jsdy at cospo.osis dot gov>
       Tue, 14 Mar 2000 15:17:17 -0500
 27. lock file message
       Patricia Max <pam at lampinc dot com>
       Tue, 14 Mar 2000 13:16:19 -0700 (MST)
 28. Re: lock file message
       Qpopper Support <qpopper at qualcomm dot com>
       Tue, 14 Mar 2000 14:38:26 -0800
 29. Re: One- or two-level mailspool hashing ?
       Nick Christenson <npc at sendmail dot com>
       Tue, 14 Mar 2000 14:53:15 -0800 (PST)
 30. Re: mailboxes getting duplicated
       Alan Brown <alan at manawatu.gen dot nz>
       Wed, 15 Mar 2000 12:33:42 +1300 (NZDT)
 31. Re: mailboxes getting duplicated
       Alan Brown <alan at manawatu.gen dot nz>
       Wed, 15 Mar 2000 13:40:13 +1300 (NZDT)
 32. Re: forward
       "James Nelson" <james at digit.bloomnet dot com>
       Tue, 14 Mar 2000 20:16:38 -0600
 33. Mailbox access API
       "Kenneth Porter" <shiva at well dot com>
       Tue, 14 Mar 2000 18:36:01 -0800
 34. Re: Mailbox access API
       "Jeremy C. Reed" <reed at wcug.wwu dot edu>
       Tue, 14 Mar 2000 19:34:18 -0800 (PST)
 35. Re: Mailbox access API
       Randall Gellens <randy at qualcomm dot com>
       Tue, 14 Mar 2000 19:35:35 -0800
 36. Re: forward
       Catalin BOIE <catab at deuroconsult dot ro>
       Wed, 15 Mar 2000 08:19:56 +0200 (EET)
 37. Re: forward
       Catalin BOIE <catab at deuroconsult dot ro>
       Wed, 15 Mar 2000 08:23:55 +0200 (EET)
 38. Re: One- or two-level mailspool hashing ?
       Eric Luyten <eluyten at vub.ac dot be>
       Wed, 15 Mar 2000 14:24:45 +0100 (MET)
 39. POP spool files and Archives
       "Lisa Casey" <lisa at jellico dot com>
       Wed, 15 Mar 2000 11:13:07 -0500
 40. RE: mailboxes getting duplicated
       "Daniel A. Jacobs" <danielj at wizard dot com>
       Wed, 15 Mar 2000 12:38:18 -0800
 41. RE: mailboxes getting duplicated
       "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>
       Wed, 15 Mar 2000 15:37:51 -0600
 42. RE: mailboxes getting duplicated
       "Daniel A. Jacobs" <danielj at wizard dot com>
       Wed, 15 Mar 2000 14:39:11 -0800
 43. "Unable to open Bulletin database" errors
       "Miss Parker" <miss.parker at dialcom.com dot pl>
       Thu, 16 Mar 2000 12:34:17 +0100
 44. question about 'lmos'
       "ø¿ƒÊ¡÷" <kjoh at netisus.co dot kr>
       Thu, 16 Mar 2000 21:48:06 +0900
 45. Re: question about 'lmos'
       Qpopper Support <qpopper at qualcomm dot com>
       Thu, 16 Mar 2000 09:34:52 -0800
 46. Re: "Unable to open Bulletin database" errors
       Qpopper Support <qpopper at qualcomm dot com>
       Thu, 16 Mar 2000 09:34:33 -0800
 47. mysql+qpopper+solaris
       "Silvera, Damian" <DSilvera at med.miami dot edu>
       Thu, 16 Mar 2000 16:17:10 -0500
 48. Re: mailboxes getting duplicated
       "James Nelson" <james at digit.bloomnet dot com>
       Thu, 16 Mar 2000 20:18:58 -0600
 49. Qpopper 3.0fc1 available
       Qpopper Support <qpopper at qualcomm dot com>
       Thu, 16 Mar 2000 18:53:45 -0800
 50. Re: "Unable to open Bulletin database" errors
       "Miss Parker" <miss.parker at dialcom.com dot pl>
       Fri, 17 Mar 2000 10:36:02 +0100

Date: Tue, 14 Mar 2000 15:42:19 +0100
From: "Stephan Hendl" <Stephan.Hendl at lds.brandenburg dot de>
Subject: Antw: Re: qpopper on HPUX 11

I tried it, but I've got a linker error auth_sym not found or something =
like this ...
Stephan


--
LDS Brandenburg
Dr. Stephan Hendl
fon: +49-(0)331-39 471
fax: +49-(0)331-27548 1187
EMail: stephan.hendl at lds.brandenburg dot de



From: "Alexander Kiselev" <akiselev at mow-co.ru.dhl dot com>
Subject: Re: Re: qpopper on HPUX 11
Date: Tue, 14 Mar 2000 17:53:11 +0300

May be you don't have some libraries or wrong flags while compiling ...
Another way is try to use 'gcc' compiler ...

--
Bests,
Alex


----- Original Message -----
From: "Stephan Hendl" <Stephan.Hendl at lds.brandenburg dot de>
To: <akiselev at mow-co.ru.dhl dot com>
Cc: <qpopper at lists.pensive dot org>
Sent: Tuesday, March 14, 2000 5:42 PM
Subject: Antw: Re: qpopper on HPUX 11


> I tried it, but I've got a linker error auth_sym not found or something
like this ...
> Stephan
>
>
> --
> LDS Brandenburg
> Dr. Stephan Hendl
> fon: +49-(0)331-39 471
> fax: +49-(0)331-27548 1187
> EMail: stephan.hendl at lds.brandenburg dot de
>
>
>


Date: Tue, 14 Mar 2000 14:52:39 +0000
From: Wallace Nicoll <wallace at cityedin.demon.co dot uk>
Subject: Re: mailboxes getting duplicated

Eric wrote :

> > Finnaly -- after all this time, I find others with the same
> > problem.  I have been fighting this duplicate message
> > problem for over a year (closer to 2 years).
>
> The issue has come up on this list on a number of occasions.
>
> > I have gone from Solaris 5.5 through Solaris 7.
> > Qpopper 2.53 to 3.34.
>
> It *appears* to be a Solaris-only problem.
> Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)

Can I add my weight to this too - Solaris 2.6, qpopper 2.53. Had thought
that the problem was a combination of dumb users (sending the message
more than once), and network/server timeouts with Outlook Express as the
client if the message can't be sent immediately. Seems as though there
could be other reasons.

Our mail server is under extreme load (especially Friday afternoons, for
some reason) for a significant part of the time. What I haven't pinned
down is whether the duplication arises with sendmail generating the
message more than once into the mailbox file, or the during the download
process with qpopper.

We don't have that large a population (about 800 on a LAN) but the Sun
is quite old and is gamely fighting on against all odds!!! Maybe next
financial year .... there'll be a budget to upgrade it.

POP-wise we've advised users to check for mail every five minutes or
more - this generates about 20 requests per minute as most have a 30min
check in place. The main load is sendmail and the virus checker.

Wallace

--
======================================================================
 Wallace Nicoll                          wallace at cityedin.demon.co dot uk
 (Internet Services Team)
 City of Edinburgh Council IT Services,
 Chesser House, 500 Gorgie Road,                Phone : 0131 469 5343
 Edinburgh, EH11 3YJ, Scotland                    Fax : 0131 469 5335
 [From overseas                  [P]+441314695343  [F]+441314695335 ]
======================================================================



Date: Tue, 14 Mar 2000 10:29:55 -0500
From: Dan Scoggins <dan.scoggins at gsfc.nasa dot gov>
Subject: RE: mailboxes getting duplicated

Hi Terry,

Thanx for the info.  We have the same dup message irritation/problem here
at GSFC - so, please keep us posted.

Dan Scoggins
Lead ODIN UNIX Support Engineer
Intellisource Info. Systems
Goddard Space Flight Center
--
At 05:00 AM 3/14/00 -0500, Doc Gorby wrote:
>Finnaly -- after all this time, I find others with the same
>problem.  I have been fighting this duplicate message
>problem for over a year (closer to 2 years).
>
>I have gone from Solaris 5.5 through Solaris 7.
>Qpopper 2.53 to 3.34.
>
>The problem occurs with any pop client (outlook,
>netscape, and others). It seems to happen with any
>slowness/connectivity problems with the network.
>
>I just upgraded to popper 3.16 so I can't tell if
>the problem still exists.  My last configuration
>includes the Server option with qpopper.


Date: Tue, 14 Mar 2000 10:17:03 -0500
From: Joseph S D Yao <jsdy at cospo.osis dot gov>
Subject: Re: forward

On Tue, Mar 14, 2000 at 09:30:01AM +0100, Manuel Nogales Casares wrote:
> Hi:
>         Is there a way to forward all mail, and keep a copy in this
> count??
> 
> When I put the .forward file, all mail is redirected to another count.
> 
> --
> ,.........................................,.........................,
> : Manuel Nogales Casares             Email:    mnogales at csi.uned dot es :
> : Técnico Comunicaciones CSI-UNED         : Tel:  (+34) 91-398-6634 :
> : Universidad N. de Educacion a Distancia : Fax:  (+34) 91-398-7667 :
> : Senda del Rey, s/n.                     :                         :
> : E-28040 Madrid           SPAIN          :  Linux User 140.716     :
> '.........................................:.........................'

You can use the 'procmail' program to forward to another account, and
still retain mail in your local account, as follows:

.forward:
=======================================================================
"|exec /usr/local/bin/procmail"
=======================================================================

.procmailrc:
=======================================================================
PATH=/bin:/usr/bin:/usr/local/bin
MAIL=/var/mail/mnogales
MAILDIR=$HOME/Mail      #you'd better make sure it exists
DEFAULT=$MAILDIR/mbox   #completely optional
LOGFILE=$MAILDIR/from   #recommended

:0 c
! mnogales at harpo.rediris dot es

:0 A
$MAIL
=======================================================================

-- 
Joe Yao				jsdy at cospo.osis dot gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.

Date: Tue, 14 Mar 2000 10:15:14 -0500
From: "Michael D. Sofka" <sofkam at rpi dot edu>
Subject: Re: mailboxes getting duplicated

At 02:50 PM 3/14/00 +0100, Eric Luyten wrote:
> > Finnaly -- after all this time, I find others with the same
> > problem.  I have been fighting this duplicate message
> > problem for over a year (closer to 2 years).
>
>The issue has come up on this list on a number of occasions.
>  
> > I have gone from Solaris 5.5 through Solaris 7.
> > Qpopper 2.53 to 3.34.
>
>It *appears* to be a Solaris-only problem.
>Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)

RPI has about 8k active POP3 accounts running on AIX
(about 500k POP3 and KPOP sessions a day)
and I have not seen the duplication problem on our server.
But, the geology department runs a small NFS (not POP3)
server on solaris and I've seen it there.  Also, prior to moving the
server to AIX, we ran on a SPARC/20, where file corruption
was a constant problem (althogh no duplications).  This
was solaris 2.4.

It is still possible that solaris servers so outnumber other
servers that the problem shows up there more often by chance.
But, I've suspected a problem with Solaris flock semantics
(as used by popper) for some time.  Has anybody tried
duplicating this problem by running two poppers at once?

BTW, the suspicion arose when I noticed that flock was
not working correctly in a Perl script.  The script is to remove
old, read messages from mailboxes It duplicates qpopper's
locking proceedure to lock the mailbox.  It didn't work on
solaris, but worked fine on AIX.

Try the attached Perl program (you may have to modify it for
your file location).  When a mailbox is locked, popper should
fail connections.

Mike

#!/usr/local/bin/perl
#
# Lock an mbox and associated pop lock file.  Popper will honor
# this method of locking, and /bin/mail will block until the
# lock is released.  This lets you safely use, for example, vi
# to modify a mail box without worying about clobering incomming
# or outgoing mail.
#
require 5.003;
require Fcntl;
use Fcntl;

if ($#ARGV < 0) {
     print "Usage: $0 <mbox>\n";
     exit 1;
}

$file = shift;


# The files to be locked.

sub mbox ($) {
     $user = shift();
     ($first,$second) = (split(//,$user))[0..1];

     return sprintf "/var/spool/mail/%s/%s/%s", $first, $second, $user;
}

sub popfile ($) {
     return sprintf "/var/spool/poplock/.%s.pop", shift();
}


# Get an exclusive lock on the mbox.

$LOCK_SH = 1;
$LOCK_EX = 2;
$LOCK_NB = 4;
$LOCK_UN = 8;

sub mbox_lock ($) {
     my $user = shift;
     my $mboxfile = mbox $user;

     # Files must be opened for writing before an
     # exclusive lock can be granted.
     if (!open($user, "+<$mboxfile")) {
         print "Cannot open $mboxfile: $!\n";
         return 0;
     }
     flock($user, $LOCK_EX);
}

sub mbox_unlock ($) {
     my $user = shift;
     flock($user, $LOCK_UN);
}


# Create and lock the pop lock file.  The parameter "$user"
# is used to construct the pop lock path, and is the name
# of the filehandle.

sub pop_lock ($) {
     my $user = shift();
     my $poplock = popfile $user;
     my $stutus;

     $status = sysopen($user,  $poplock , O_RDWR | O_CREAT | O_EXCL , 0600);

     # Success.
     if ($status) {
         flock($user, $LOCK_EX);
         chown ((getpwnam($user))[2], (getgrnam("mail"))[2], $poplock);
     }

     return $status;
}

# Remove the pop lock file.
sub pop_unlock ($){
     my $user = shift();
     my $poplock = popfile $user;

     unlink($poplock);
     flock($user, $LOCK_UN);
     close($user);
}


# First grab the poplock file.  If that file already exists,
# them popper is running (or there is an error).

if (!pop_lock($file)) {
     print popfile $file, " is already locked (popper running?).\n";
     exit 1;
}

# Then lock the mbox.

if (!mbox_lock($file)) {
     print mbox $file, " is already locked or does not exist.\n";
     pop_unlock($file);
     exit 1;
}

print "Locked mail box for $file.\n";
print "Press return to continue...";
$foo = <STDIN>;

print "Unlocking mail box for $file.\n";
mbox_unlock($file);
pop_unlock($file);

exit 0;



--
Michael D. Sofka                       sofkam at rpi dot edu
CIS/SSS Sr. Systems Programmer  AFS/DFS, email, listproc, TeX, epistemology.
Rensselaer Polytechnic Institute, Troy, NY.    http://www.rpi.edu/~sofkam/


Date: Tue, 14 Mar 2000 10:20:41 -0500
From: "Michael D. Sofka" <sofkam at rpi dot edu>
Subject: Re: One- or two-level mailspool hashing ?

We went from no hashing to two level hashing.  There are about
8k active accounts, a little under 13000 passwd entries.  One
level created too many large directories, as you said.

Note, popper 2.53 does not hash the pop lock file.  I recently
tracked down some mid-day slowdowns (some of them
severe, with over 300 backlogged poppers) to a bottleneck
on the poplock partition when users with large mailboxes get
new mail (requiring a two copies of the mailbox, to and from the
poplock directory).  Yesterday I installed new version of popper
which does two level hashing of the poplock file.  Since this is
spring break, I won't really know if it's had any effect until next week.

Mike

At 02:57 PM 3/14/00 +0100, Eric Luyten wrote:
>I'm currently in the process of modifying our POP3 and IMAP4 server
>software to read/write a hashed mailspool, together with small modifi-
>cations to the local delivery agent (mail.local, but will probably
>move to procmail) and environment variable (MAIL) changes to accommodate
>host-based mail user agents.
>
>Are there POP3 server administrators on this list who have moved to a
>one-level hashed mailspool (/var/mail/a/amailbox) and found out they
>really needed a two-level hash (/var/mail/a/m/amailbox) ?
>
>We have little over 22,000 accounts and, when dividing up by first
>character (as opposed to the one-level hashing function currently
>provided by Qpopper 3.0b3x), the letters 'a', 's' and 'm' each end up 
>with little under 2,000 mailboxes under them. Is that still too much 
>for comfort ?
>
>
>All feedback welcome.
>Eric Luyten, Computing Centre VUB/ULB.

--
Michael D. Sofka                       sofkam at rpi dot edu
CIS/SSS Sr. Systems Programmer  AFS/DFS, email, listproc, TeX, epistemology.
Rensselaer Polytechnic Institute, Troy, NY.    http://www.rpi.edu/~sofkam/


Date: Tue, 14 Mar 2000 10:49:47 -0500
From: Joseph S D Yao <jsdy at cospo.osis dot gov>
Subject: Re: mailboxes getting duplicated

On Tue, Mar 14, 2000 at 02:50:27PM +0100, Eric Luyten wrote:
> It *appears* to be a Solaris-only problem.
> Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)

We're having continuing problems with HP-UX 10.20 that are similar, but
perhaps not the same.  The users perceive that messages are being sent
to them multiple times, but in fact it's just that the popper daemon is
dying on certain fairly large messages with large MIME attachments.

Beta 36 has, by one report, improved this.

If, in fact, your messages are actually being duplicated in the file,
then there are several possibilities.

(1) They are actually arriving multiple times, because your 'sendmail'
dies before the final handshake, but after delivering the message.  The
remote 'sendmail' thinks it has not been delivered, and tries again.
Check your 'sendmail' logs.

(2) Your .username.pop file is not being deleted, so next time, the two
are concatenated.

(3) Your locks are not working, so two processes can have the mail file
open at a time.  One saves all of its messages back to the mail file
while popper has its messages in .username.pop ... and then, when it
writes them back, they get duplicated.

(4) Somehow, message deletes are not taking effect.

(5) Something completely different.

-- 
Joe Yao				jsdy at cospo.osis dot gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.

Subject: Re: mailboxes getting duplicated
Date: Tue, 14 Mar 2000 17:00:41 +0100 (MET)
From: Eric Luyten <eluyten at vub.ac dot be>

> Can I add my weight to this too - Solaris 2.6, qpopper 2.53. Had thought
> that the problem was a combination of dumb users (sending the message
> more than once), and network/server timeouts with Outlook Express as the
> client if the message can't be sent immediately. Seems as though there
> could be other reasons.

Most probably. We have seen the phenomenon happen with a variety of 
POP3 clients and without any new message deliveries taking place.

A simple mailbox check can have the duplication effect.

It is load-related and may very well be a locking issue with Solaris.


Eric.

Date: Tue, 14 Mar 2000 18:27:53 +0200 (EET)
From: Catalin BOIE <catab at deuroconsult dot ro>
Subject: Re: forward

On Tue, 14 Mar 2000, Joseph S D Yao wrote:

> Date: Tue, 14 Mar 2000 10:17:03 -0500
> From: Joseph S D Yao <jsdy at cospo.osis dot gov>
> To: Manuel Nogales Casares <mnogales at csi.uned dot es>
> Cc: Subscribers of Qpopper <qpopper at lists.pensive dot org>
> Subject: Re: forward
> 
> On Tue, Mar 14, 2000 at 09:30:01AM +0100, Manuel Nogales Casares wrote:
> > Hi:
> >         Is there a way to forward all mail, and keep a copy in this
> > count??
> > 
> > When I put the .forward file, all mail is redirected to another count.
> > 
> > --
> > ,.........................................,.........................,
> > : Manuel Nogales Casares             Email:    mnogales at csi.uned dot es :
> > : Técnico Comunicaciones CSI-UNED         : Tel:  (+34) 91-398-6634 :
> > : Universidad N. de Educacion a Distancia : Fax:  (+34) 91-398-7667 :
> > : Senda del Rey, s/n.                     :                         :
> > : E-28040 Madrid           SPAIN          :  Linux User 140.716     :
> > '.........................................:.........................'
> 
> You can use the 'procmail' program to forward to another account, and
> still retain mail in your local account, as follows:
> 
> .forward:
> =========================
==========================
======================
> "|exec /usr/local/bin/procmail"
> =========================
==========================
======================
> 
> .procmailrc:
> =========================
==========================
======================
> PATH=/bin:/usr/bin:/usr/local/bin
> MAIL=/var/mail/mnogales
> MAILDIR=$HOME/Mail      #you'd better make sure it exists
> DEFAULT=$MAILDIR/mbox   #completely optional
> LOGFILE=$MAILDIR/from   #recommended
> 
> :0 c
> ! mnogales at harpo.rediris dot es
> 
> :0 A
> $MAIL
> =========================
==========================
======================
> 

Or, easier, put both addresses in /etc/.forward like this:
local-user
remote_user at xxxxxxxxx dot xxx

> -- 
> Joe Yao=09=09=09=09jsdy at cospo.osis dot gov - Joseph S. D. Yao
> COSPO/OSIS Computer Support=09=09=09=09=09EMT-B
> -----------------------------------------------------------------------
> This message is not an official statement of COSPO policies.
> 

---
Catalin(ux) BOIE
catab at deuroconsult dot ro
http://www2.deuroconsult.ro/~catab


Date: Tue, 14 Mar 2000 12:16:56 -0500
From: Dan Scoggins <dan.scoggins at gsfc.nasa dot gov>
Subject: RE: mailboxes getting duplicated

At 10:29 AM 3/14/00 -0500, Dan Scoggins wrote:
>Hi Terry,
>
>Thanx for the info.  We have the same dup message irritation/problem here
>at GSFC - so, please keep us posted.
>
>Dan Scoggins
>Lead ODIN UNIX Support Engineer
>Intellisource Info. Systems
>Goddard Space Flight Center

We are running Solaris 2.6 and 7 on our pop servers with qpopper 2.53.

DanS
--

Date: Tue, 14 Mar 2000 12:33:39 -0500
From: Joseph S D Yao <jsdy at cospo.osis dot gov>
Subject: Re: forward

On Tue, Mar 14, 2000 at 06:27:53PM +0200, Catalin BOIE wrote:
> Or, easier, put both addresses in /etc/.forward like this:
> local-user
> remote_user at xxxxxxxxx dot xxx

First, /etc/.forward won't work unless local-user's home directory is
/etc/, or you have included /etc/.forward in the ForwardPath in
sendmail.cf - which is NOT a good idea, since then EVERYBODY'S e-mail
is forwarded that way.

Second, ISTM that, at least at one time, this caused a loop if this was
the local-user's ".forward" file.  I don't remember whether the result
was a hung delivery or no delivery.  But it was probably not a correct
delivery.  Can you demonstrate that this now works correctly with a
single user's .forward file?

-- 
Joe Yao				jsdy at cospo.osis dot gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.

Date: Tue, 14 Mar 2000 09:39:08 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: forward

At 9:30 AM +0100 3/14/00, Manuel Nogales Casares wrote:

>Hi:
>         Is there a way to forward all mail, and keep a copy in this
>count??
>
>When I put the .forward file, all mail is redirected to another count.

I think you can put more than one address in the .forward, separated by commas.


Date: Tue, 14 Mar 2000 09:45:55 -0800
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: mailboxes getting duplicated

At 10:15 AM -0500 3/14/00, Michael D. Sofka wrote:

>      my $stutus;
>
>      $status = sysopen($user,  $poplock , O_RDWR | O_CREAT | O_EXCL , 0600);

Looks like you have a typo ('stutus' vs 'status').

Try doing dot-locking, which is the preferred locking method for mail 
spools on Solaris.  You can call maillock() and mailunlock() on 
Solaris.  On other platforms, Qpopper 3.0 has its own versions of 
these.



-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Vous etes ici

From: "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>
Subject: RE: mailboxes getting duplicated
Date: Tue, 14 Mar 2000 12:12:35 -0600

i have the popper in server mode... would you think this is
the problem???



> -----Mensaje original-----
> De: Dan Scoggins [mailto:dan.scoggins at gsfc.nasa dot gov]
> Enviado el: Martes 14 de Marzo de 2000 9:30 AM
> Para: Doc Gorby
> Cc: Froylan Armando Loaiza Villanueva; Gary Harris; Rea Simpson;
> Subscribers of Qpopper
> Asunto: RE: mailboxes getting duplicated
> 
> 
> Hi Terry,
> 
> Thanx for the info.  We have the same dup message irritation/problem here
> at GSFC - so, please keep us posted.
> 
> Dan Scoggins
> Lead ODIN UNIX Support Engineer
> Intellisource Info. Systems
> Goddard Space Flight Center
> --
> At 05:00 AM 3/14/00 -0500, Doc Gorby wrote:
> >Finnaly -- after all this time, I find others with the same
> >problem.  I have been fighting this duplicate message
> >problem for over a year (closer to 2 years).
> >
> >I have gone from Solaris 5.5 through Solaris 7.
> >Qpopper 2.53 to 3.34.
> >
> >The problem occurs with any pop client (outlook,
> >netscape, and others). It seems to happen with any
> >slowness/connectivity problems with the network.
> >
> >I just upgraded to popper 3.16 so I can't tell if
> >the problem still exists.  My last configuration
> >includes the Server option with qpopper.
> 
> 

Date: Tue, 14 Mar 2000 13:04:37 -0500
From: "Michael D. Sofka" <sofkam at rpi dot edu>
Subject: Re: mailboxes getting duplicated

At 09:45 AM 3/14/00 -0800, Randall Gellens wrote:
>At 10:15 AM -0500 3/14/00, Michael D. Sofka wrote:
>
> >      my $stutus;
> >
> >      $status = sysopen($user,  $poplock , O_RDWR | O_CREAT | O_EXCL , 0600);
>
>Looks like you have a typo ('stutus' vs 'status').

So I did.  Wonder why perl -cw didn't report that.  Regardless, that
would not effect the lock.  The "my" statement is just habbit.

>Try doing dot-locking, which is the preferred locking method for mail 
>spools on Solaris.  You can call maillock() and mailunlock() on 
>Solaris.  On other platforms, Qpopper 3.0 has its own versions of 
>these.

Well, as I said we use AIX now.

Mike

--
Michael D. Sofka                       sofkam at rpi dot edu
CIS/SSS Sr. Systems Programmer  AFS/DFS, email, listproc, TeX, epistemology.
Rensselaer Polytechnic Institute, Troy, NY.    http://www.rpi.edu/~sofkam/


Date: Tue, 14 Mar 2000 19:24:17 +0100
From: Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
Subject: Re: forward

>>> Hi:
>>>         Is there a way to forward all mail, and keep a copy in this
>>> count??
>>>

> Or, easier, put both addresses in /etc/.forward like this:
> local-user
> remote_user at xxxxxxxxx dot xxx


To be sure "local-user" is not interpretated by /etc/alias or some .forward you can add a backslash before the address in the .forward file.

Example:
\local-user
remote_user at xxxxxxxxx dot xxx


Cheers!

From: "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>
Subject: RE: mailboxes getting duplicated
Date: Tue, 14 Mar 2000 12:26:15 -0600

i think the problem is possibility 3

the popper i have, does delete the .pop file after
the session is finished, but if the user access again 
very soon, the .pop file hasn't finished to get back
to the mail file.


> -----Mensaje original-----
> De: Joseph S D Yao [mailto:jsdy at cospo.osis dot gov]
> Enviado el: Martes 14 de Marzo de 2000 9:50 AM
> Para: Eric Luyten
> Cc: Subscribers of Qpopper
> Asunto: Re: mailboxes getting duplicated
> 
> 
> On Tue, Mar 14, 2000 at 02:50:27PM +0100, Eric Luyten wrote:
> > It *appears* to be a Solaris-only problem.
> > Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)
> 
> We're having continuing problems with HP-UX 10.20 that are similar, but
> perhaps not the same.  The users perceive that messages are being sent
> to them multiple times, but in fact it's just that the popper daemon is
> dying on certain fairly large messages with large MIME attachments.
> 
> Beta 36 has, by one report, improved this.
> 
> If, in fact, your messages are actually being duplicated in the file,
> then there are several possibilities.
> 
> (1) They are actually arriving multiple times, because your 'sendmail'
> dies before the final handshake, but after delivering the message.  The
> remote 'sendmail' thinks it has not been delivered, and tries again.
> Check your 'sendmail' logs.
> 
> (2) Your .username.pop file is not being deleted, so next time, the two
> are concatenated.
> 
> (3) Your locks are not working, so two processes can have the mail file
> open at a time.  One saves all of its messages back to the mail file
> while popper has its messages in .username.pop ... and then, when it
> writes them back, they get duplicated.
> 
> (4) Somehow, message deletes are not taking effect.
> 
> (5) Something completely different.
> 
> -- 
> Joe Yao				jsdy at cospo.osis dot gov - 
> Joseph S. D. Yao
> COSPO/OSIS Computer Support					EMT-B
> -----------------------------------------------------------------------
> This message is not an official statement of COSPO policies.
> 

From: Elgin Lee <ehl at funghi dot com>
Date: Tue, 14 Mar 2000 10:33:15 -0800 (PST)
Subject: forward

If you use Sendmail, I believe that you can also put a line like

  forwarded-address at foo dot com, \account

in the .forward file, where "account" is the user account.  The "\"
causes mail to be delivered locally to that account with no further
alias or .forward processing.

This is from memory, so I could be wrong on the syntax.  But it is
possible.

>>>>> In <818099192202772122090 at lists.pensive dot org> 
>>>>>=09Manuel Nogales Casares <mnogales at csi.uned dot es> wrote:
> Hi:
>         Is there a way to forward all mail, and keep a copy in this
> count=3F=3F
> 
> When I put the .forward file, all mail is redirected to another count=
=2E
> 
> --
> ,.........................................,.........................,=

> : Manuel Nogales Casares             Email:    mnogales at csi.uned dot es :=

> : Técnico Comunicaciones CSI-UNED         : Tel:  (+34) 91-398-6634=
 :
> : Universidad N. de Educacion a Distancia : Fax:  (+34) 91-398-7667 :=

> : Senda del Rey, s/n.                     :                         :=

> : E-28040 Madrid           SPAIN          :  Linux User 140.716     :=

> '.........................................:.........................'=

> 
> 
> 

Date: Tue, 14 Mar 2000 19:30:56 +0100
From: Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
Subject: Re: forward

>> Or, easier, put both addresses in /etc/.forward like this:
>> local-user
>> remote_user at xxxxxxxxx dot xxx
> 
> To be sure "local-user" is not interpretated by /etc/alias or some .forward you can
> add a backslash before the address in the .forward file.
> 
> Example:
> \local-user
> remote_user at xxxxxxxxx dot xxx
> 
> Cheers!

/etc? I thought we were discussing $HOME as in /etc/passwd.

You should pay attention to what Joseph S D Yao wrote after_me/before_this instead of my hasty comment.


Cheers!

Date: Tue, 14 Mar 2000 15:53:31 -0300
From: "Renato R. Santana" <renato at contacto.com dot br>
Subject: Re: forward

At 09:39 AM 3/14/00 -0800, you wrote:
>At 9:30 AM +0100 3/14/00, Manuel Nogales Casares wrote:
>
>>Hi:
>>         Is there a way to forward all mail, and keep a copy in this
>>count??
>>
>>When I put the .forward file, all mail is redirected to another count.
>
>I think you can put more than one address in the .forward, separated by 
>commas.
The right way to put addresses one on each line of a
.forward file (in the user's home directory).

bests,




================================
= Renato R. Santana
= SysAdmin
= Contato Internet Provider
= http://www.contacto.com.br
=================================


Date: Tue, 14 Mar 2000 14:29:36 -0500
From: Karyn McCambridge <karynm at afb dot net>
Subject: RE: mailboxes getting duplicated

I have qpopper 2.5.3 on a solaris box 2.6 getting intermittent problems
also with dup'd messages. I am not running server mode. I have not noticed
the problem since I did the following:
I also did have a bottleneck problem with my Sun box. I found it to be the
NIC running 100mbs at half duplex. I added a startup script in rc2.d to
force the NIC to run 100 at full duplex and turned off auto negotiation. I
have also since upgraded Sun's sendmail to Berkley's Sendmail 8.9.3.
I don't know if any of this was relative to the problem but as of the last
two weeks when I implemented the changes I have not had any problems.


At 12:12 PM 3/14/2000 -0600, Froylan Armando Loaiza Villanueva wrote:
>i have the popper in server mode... would you think this is
>the problem???
>
>
>
>> -----Mensaje original-----
>> De: Dan Scoggins [mailto:dan.scoggins at gsfc.nasa dot gov]
>> Enviado el: Martes 14 de Marzo de 2000 9:30 AM
>> Para: Doc Gorby
>> Cc: Froylan Armando Loaiza Villanueva; Gary Harris; Rea Simpson;
>> Subscribers of Qpopper
>> Asunto: RE: mailboxes getting duplicated
>> 
>> 
>> Hi Terry,
>> 
>> Thanx for the info.  We have the same dup message irritation/problem here
>> at GSFC - so, please keep us posted.
>> 
>> Dan Scoggins
>> Lead ODIN UNIX Support Engineer
>> Intellisource Info. Systems
>> Goddard Space Flight Center
>> --
>> At 05:00 AM 3/14/00 -0500, Doc Gorby wrote:
>> >Finnaly -- after all this time, I find others with the same
>> >problem.  I have been fighting this duplicate message
>> >problem for over a year (closer to 2 years).
>> >
>> >I have gone from Solaris 5.5 through Solaris 7.
>> >Qpopper 2.53 to 3.34.
>> >
>> >The problem occurs with any pop client (outlook,
>> >netscape, and others). It seems to happen with any
>> >slowness/connectivity problems with the network.
>> >
>> >I just upgraded to popper 3.16 so I can't tell if
>> >the problem still exists.  My last configuration
>> >includes the Server option with qpopper.
>> 
>> 



From: "Jack Barnett" <jbarnett at axil.netmate dot com>
Subject: Re: forward
Date: Tue, 14 Mar 2000 13:11:56 -0600

Or to drag out this thread even longer : ) you could put it in the
/etc/aliases files

bob:bob,tim at not_this_computer dot com

then run the command

newaliases

(This assumes you are using Sendmail)

Jack

----- Original Message -----
From: Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
To: Subscribers of Qpopper <qpopper at lists.pensive dot org>
Sent: Tuesday, March 14, 2000 12:24 PM
Subject: Re: forward


> >>> Hi:
> >>>         Is there a way to forward all mail, and keep a copy in this
> >>> count??
> >>>
>
> > Or, easier, put both addresses in /etc/.forward like this:
> > local-user
> > remote_user at xxxxxxxxx dot xxx
>
>
> To be sure "local-user" is not interpretated by /etc/alias or some
.forward you can add a backslash before the address in the .forward file.
>
> Example:
> \local-user
> remote_user at xxxxxxxxx dot xxx
>
>
> Cheers!
>


Subject: Re: forward
From: gdmalet at ist.uwaterloo dot ca (Giles D. Malet - IST)
Date: 14 Mar 2000 14:58:41 -0500

Joseph S D Yao <jsdy at cospo.osis dot gov> writes:

> local-user
> remote_user at xxxxxxxxx dot xxx
> [...]
>  at least at one time, this caused a loop if this was
> the local-user's ".forward" file.

For many years sendmail has done the correct thing here, which is to
save a copy in the default mailbox as well as forwarding a copy. So
this is the easy way of keeping a copy of a message.

gdm


Date: Tue, 14 Mar 2000 13:08:37 -0700 (MST)
From: Patricia Max <pam at lampinc dot com>
Subject: Re: mailboxes getting duplicated

I never saw this problem on any of my solaris servers until
someone with a HUGE system mailbox started reading his email
with Outlook Express.  And the duplicating message made the
mailbox even larger.

I have people with large mailboxes reading email with eudora with
no problems.

pat

Date: Tue, 14 Mar 2000 15:17:17 -0500
From: Joseph S D Yao <jsdy at cospo.osis dot gov>
Subject: Re: forward

On Tue, Mar 14, 2000 at 02:58:41PM -0500, Giles D. Malet - IST wrote:
> Joseph S D Yao <jsdy at cospo.osis dot gov> writes:
> > local-user
> > remote_user at xxxxxxxxx dot xxx
> > [...]
> >  at least at one time, this caused a loop if this was
> > the local-user's ".forward" file.
> 
> For many years sendmail has done the correct thing here, which is to
> save a copy in the default mailbox as well as forwarding a copy. So
> this is the easy way of keeping a copy of a message.
> 
> gdm

The problems with remembering a quarter century's worth of versions.
;-}  Inefficient garbage collection algorithms.

-- 
Joe Yao				jsdy at cospo.osis dot gov - Joseph S. D. Yao
COSPO/OSIS Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.

Date: Tue, 14 Mar 2000 13:16:19 -0700 (MST)
From: Patricia Max <pam at lampinc dot com>
Subject: lock file message

Now that I have installed qpopper3.0b36, I see messages in my popper
log file (it's running with the options -s -d -t /var/log/popper.log)
about lockfile existing when no lockfile exists.

Patricia Max

Date: Tue, 14 Mar 2000 14:38:26 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: lock file message

At 1:16 PM -0700 3/14/00, Patricia Max wrote:

>Now that I have installed qpopper3.0b36, I see messages in my popper
>log file (it's running with the options -s -d -t /var/log/popper.log)
>about lockfile existing when no lockfile exists.
>
>Patricia Max

Please provide details, and I will look into it.

From: Nick Christenson <npc at sendmail dot com>
Subject: Re: One- or two-level mailspool hashing ?
Date: Tue, 14 Mar 2000 14:53:15 -0800 (PST)

> I'm currently in the process of modifying our POP3 and IMAP4 server
> software to read/write a hashed mailspool, together with small modifi-
> cations to the local delivery agent (mail.local, but will probably
> move to procmail) and environment variable (MAIL) changes to accommodate
> host-based mail user agents.
> 
> Are there POP3 server administrators on this list who have moved to a
> one-level hashed mailspool (/var/mail/a/amailbox) and found out they
> really needed a two-level hash (/var/mail/a/m/amailbox) ?

I've done some really big mail systems, and if the hashing is well 
conceived, you can do a REALLY large number of mailboxes with a single
level hash.  

> We have little over 22,000 accounts and, when dividing up by first
> character (as opposed to the one-level hashing function currently
> provided by Qpopper 3.0b3x), the letters 'a', 's' and 'm' each end up 
> with little under 2,000 mailboxes under them. Is that still too much 
> for comfort ?

On a FFS/UFS based file system, yes that's too much for comfort IMHO.
On a high performance file system that hashes its directory lookups
(like VxFS or XFS), 2k files/directory isn't nearly as big a problem.

My question is, why confine yourself to mailbox name letter hashes?
Why not run a simple (and fast) hash algorithm over the name, generate
a number, modularly divide by a prime and use that as the basis for
locating a mailbox?  The main downside:  You need a tool to find a 
particular mailbox, but that's pretty trivial. 

Let's pretend at some point you may grow to as many as 40000 mailboxes,
and you want to split these up nicely.  Maybe that's about 250.  Let's 
use 241 because that's prime.  Let's also number these hash bins 0 to 
240 and make them in /var/mail.

Now, each time the LDA or popper go to modify a mailbox, they perform
a calculation on that mailbox, something on the order of:

PRIME=241
x = ?
y = ?

	for character_position in lengthof(username)
	do
		n = ((n<<x ^ (n>>y))^(character_position)
	done
	
	bin_number = n % PRIME

Set x and y to be some small primes, and you're all set.  You should
get a fairly flat distribution of mailboxes per directory.  For 22k 
mailboxes, I'd guess you may see between 50 and 180 files per directory,
a range that will flatten as the number of mailboxes grows.  Note, if
you've chosen x and y fairly well, the hash will be quite good, within
20% in terms of flatness of what you'd see with a MUCH more expensive 
hashing algorithm like MD5, for example.

For much information on these sorts of hashing algorithms see Knuth, 
Volume 3 if I recall correctly.

This is less intuitive, a little more difficult to code (but not much),
can support hundreds of thousands of users on a one level hash, and 
will give you much better balance.  

-- 
Nick Christenson
npc at sendmail dot com

Date: Wed, 15 Mar 2000 12:33:42 +1300 (NZDT)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: mailboxes getting duplicated

On Tue, 14 Mar 2000, Eric Luyten wrote:

> It *appears* to be a Solaris-only problem.

Nope. SunOS 4.1.3 and Linux boxes here handling mail.

> Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)

Or heavily loaded ones, in any case.

AB


Date: Wed, 15 Mar 2000 13:40:13 +1300 (NZDT)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: mailboxes getting duplicated

On Tue, 14 Mar 2000, Patricia Max wrote:

> I never saw this problem on any of my solaris servers until
> someone with a HUGE system mailbox started reading his email
> with Outlook Express.  And the duplicating message made the
> mailbox even larger.

Two words: "enforce quotas"

I found it was the only way to avoid exponentially exploding mailboxes
taking over the entire mail spool in a short period of time...

AB


From: "James Nelson" <james at digit.bloomnet dot com>
Subject: Re: forward
Date: Tue, 14 Mar 2000 20:16:38 -0600

While the question is not that relevant.......... If you are going to
reply why not include the answer....

\userid, otherid at otherhost dot org


----- Original Message -----
From: "Manuel Nogales Casares" <mnogales at csi.uned dot es>
To: "Subscribers of Qpopper" <qpopper at lists.pensive dot org>
Sent: Tuesday, March 14, 2000 2:30 AM
Subject: forward


| Hi:
|         Is there a way to forward all mail, and keep a copy in this
| count??
|
| When I put the .forward file, all mail is redirected to another
count.
|
| --
|
,.........................................,.........................,
| : Manuel Nogales Casares             Email:    mnogales at csi.uned dot es
:
| : TÈcnico Comunicaciones CSI-UNED         : Tel:  (+34) 91-398-6634
:
| : Universidad N. de Educacion a Distancia : Fax:  (+34) 91-398-7667
:
| : Senda del Rey, s/n.                     :
:
| : E-28040 Madrid           SPAIN          :  Linux User 140.716
:
|
'.........................................:.........................'
|
|
|


From: "Kenneth Porter" <shiva at well dot com>
Date: Tue, 14 Mar 2000 18:36:01 -0800
Subject: Mailbox access API

I follow not only this list but also the sendmail and IMAP newsgroups,
and mailbox problems seem to be a big theme in all 3. This gets esp.
messy when different systems store mailboxes in different places and in
different formats. Why have we not yet seen a separate mailbox API and
library to eliminate all this coding hassle from the different mail
systems? What's really needed by such an API? Given such an API, we
could separate the issues of mailbox access and structure within a
server from the systems that run wire protocols and from local MUA's.

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



Date: Tue, 14 Mar 2000 19:34:18 -0800 (PST)
From: "Jeremy C. Reed" <reed at wcug.wwu dot edu>
Subject: Re: Mailbox access API

On Tue, 14 Mar 2000, Kenneth Porter wrote:

> I follow not only this list but also the sendmail and IMAP newsgroups,
> and mailbox problems seem to be a big theme in all 3. This gets esp.
> messy when different systems store mailboxes in different places and in
> different formats. Why have we not yet seen a separate mailbox API and
> library to eliminate all this coding hassle from the different mail
> systems? What's really needed by such an API? Given such an API, we
> could separate the issues of mailbox access and structure within a
> server from the systems that run wire protocols and from local MUA's.

check out mailutils:
 http://subversions.gnu.org/cgi-bin/cvsweb/mailutils/
 http://www.ndn.net/software/mailutils/mailutils_toc.html

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net


Date: Tue, 14 Mar 2000 19:35:35 -0800
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Mailbox access API

At 6:36 PM -0800 3/14/00, Kenneth Porter wrote:

>I follow not only this list but also the sendmail and IMAP newsgroups,
>and mailbox problems seem to be a big theme in all 3. This gets esp.
>messy when different systems store mailboxes in different places and in
>different formats. Why have we not yet seen a separate mailbox API and
>library to eliminate all this coding hassle from the different mail
>systems? What's really needed by such an API? Given such an API, we
>could separate the issues of mailbox access and structure within a
>server from the systems that run wire protocols and from local MUA's.

I think the answer is the same reason why the Unix mailbox format is 
so popular, despite the performance (and other) issues: people know 
the format, and are used to being able to grep it and run other tools 
against it.

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
You see, wire telegraph is a kind of very, very long cat.  You pull his
tail in New York and his head is meowing in Los Angeles.  Do you understand
this?  And radio operates in exactly the same way: you send signals here,
they receive them there.  The only difference is that there is no cat.
                                                          --Albert Einstein

Date: Wed, 15 Mar 2000 08:19:56 +0200 (EET)
From: Catalin BOIE <catab at deuroconsult dot ro>
Subject: Re: forward

On Tue, 14 Mar 2000, Joseph S D Yao wrote:

> Date: Tue, 14 Mar 2000 12:33:39 -0500
> From: Joseph S D Yao <jsdy at cospo.osis dot gov>
> To: Catalin BOIE <catab at deuroconsult dot ro>
> Cc: Joseph S D Yao <jsdy at cospo.osis dot gov>,
>      Manuel Nogales Casares <mnogales at csi.uned dot es>,
>      Subscribers of Qpopper <qpopper at lists.pensive dot org>
> Subject: Re: forward
> 
> On Tue, Mar 14, 2000 at 06:27:53PM +0200, Catalin BOIE wrote:
> > Or, easier, put both addresses in /etc/.forward like this:
> > local-user
> > remote_user at xxxxxxxxx dot xxx
> 
> First, /etc/.forward won't work unless local-user's home directory is
> /etc/, or you have included /etc/.forward in the ForwardPath in
> sendmail.cf - which is NOT a good idea, since then EVERYBODY'S e-mail
> is forwarded that way.
> 
> Second, ISTM that, at least at one time, this caused a loop if this was
> the local-user's ".forward" file.  I don't remember whether the result
> was a hung delivery or no delivery.  But it was probably not a correct
> delivery.  Can you demonstrate that this now works correctly with a
> single user's .forward file?
> 

Here this is the way I do it (Linux, sendmail 8.9.3, procmail):
In the home dir of a user I put .forward file that contain his/her 
username and the remote address that s/he wants.
It works.


> -- 
> Joe Yao				jsdy at cospo.osis dot gov - Joseph S. D. Yao
> COSPO/OSIS Computer Support					EMT-B
> -----------------------------------------------------------------------
> This message is not an official statement of COSPO policies.
> 

---
Catalin(ux) BOIE
catab at deuroconsult dot ro
http://www2.deuroconsult.ro/~catab


Date: Wed, 15 Mar 2000 08:23:55 +0200 (EET)
From: Catalin BOIE <catab at deuroconsult dot ro>
Subject: Re: forward

On Tue, 14 Mar 2000, Magnus Krafft wrote:

> Date: Tue, 14 Mar 2000 19:24:17 +0100
> From: Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
> To: Subscribers of Qpopper <qpopper at lists.pensive dot org>
> Subject: Re: forward
> 
> >>> Hi:
> >>>         Is there a way to forward all mail, and keep a copy in this
> >>> count??
> >>>
> 
> > Or, easier, put both addresses in /etc/.forward like this:
> > local-user
> > remote_user at xxxxxxxxx dot xxx
> 
> 
> To be sure "local-user" is not interpretated by /etc/alias or some .forward you can add a backslash before the address in the .forward file.
> 
> Example:
> \local-user
> remote_user at xxxxxxxxx dot xxx
> 
> 
> Cheers!
> 

Right now I saw that I right /etc/.forward. Sorry! My mistake. I meant
$HOME/.forward.
Sorry again.

---
Catalin(ux) BOIE
catab at deuroconsult dot ro
http://www2.deuroconsult.ro/~catab


Subject: Re: One- or two-level mailspool hashing ?
Date: Wed, 15 Mar 2000 14:24:45 +0100 (MET)
From: Eric Luyten <eluyten at vub.ac dot be>

> My question is, why confine yourself to mailbox name letter hashes?

Because it's by default catered for by Qpopper 3.0 and Procmail 3.14, 
leaving only UW IMAPD 4.7 to be slightly modified.
I prefer local patches to *one* package over site-specific patches to 
three.

> Why not run a simple (and fast) hash algorithm over the name, generate
> a number, modularly divide by a prime and use that as the basis for
> locating a mailbox?  The main downside:  You need a tool to find a 
> particular mailbox, but that's pretty trivial. 
... 
> For much information on these sorts of hashing algorithms see Knuth, 
> Volume 3 if I recall correctly.

I know who Knuth is.
I was raised on a diet of Knuth, Dijkstra and Wirth  :-)

Eric.

From: "Lisa Casey" <lisa at jellico dot com>
Subject: POP spool files and Archives
Date: Wed, 15 Mar 2000 11:13:07 -0500

Hi,

Got a couple of questions. I'm running qpopper 2.53 and am having a (rare)
problem of a user gettig a SIGHUP or SISPIPE error messafe and having their
spool file hang around after disconnecting. According to the FAQ, it's
recommended to upgrade to qpopper 3. Version 2.5.3 is the current release
version, 3 is still in public beta. We are an ISP, our customers rely on us
for their E-mail and I hate to run beta software in a production
environment. Anyone got any thoughts on this?

Also, is there any future plans to make the archives of this list at
http://www.pensive.org/Mailing_Lists/Archives/qpopper/index.html
searchable, or is there a searchable archive somewhere else?

Thanks,

Lisa Casey, Webmaster
Interstate 2000, Inc.
lisa at jellico dot com
webmaster at jellico dot com





From: "Daniel A. Jacobs" <danielj at wizard dot com>
Subject: RE: mailboxes getting duplicated
Date: Wed, 15 Mar 2000 12:38:18 -0800

-----BEGIN PGP SIGNED MESSAGE-----

It is not just a Solaris problem. I experienced the same problem on
FreeBSD 3.2, and had to disable server mode.

Daniel Jacobs | @wizard.com - Las Vegas Providers of Internet
Services
     (702) 317-2001 | http://www.wizard.com/ | danielj at wizard dot com
           "In art and dream, may you proceed with abandon.
  In life, may you proceed with balance and stealth." - Patti Smith
 

> -----Original Message-----
> From: Eric Luyten [mailto:eluyten at vub.ac dot be]
> Sent: Tuesday, March 14, 2000 5:50 AM
> To: Subscribers of Qpopper
> Subject: Re: mailboxes getting duplicated
> 
> 
> > Finnaly -- after all this time, I find others with the same
> > problem.  I have been fighting this duplicate message
> > problem for over a year (closer to 2 years).
> 
> The issue has come up on this list on a number of occasions.
>  
> > I have gone from Solaris 5.5 through Solaris 7.
> > Qpopper 2.53 to 3.34.
> 
> It *appears* to be a Solaris-only problem.
> Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)
> 
> 
> Eric.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQB1AwUBOM/0utUYHqdNqACJAQF0CwMAh4J/llVM4jQ2gZBQt+s9FsaVCOwFCiQ+
Fzq+T9AMmxXlmi23t1YWMWLxkGmG4QsLfWKcmBoKpA6zaSrYifDUInZEB3S5LVk8
NFJoqyKNZoTZnlIogCaf3oECZcRhWlDr
=mAFB
-----END PGP SIGNATURE-----


From: "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>
Subject: RE: mailboxes getting duplicated
Date: Wed, 15 Mar 2000 15:37:51 -0600

if you use it without the server mode... works fine???


> -----Mensaje original-----
> De: Daniel A. Jacobs [mailto:danielj at wizard dot com]
> Enviado el: Miércoles 15 de Marzo de 2000 2:38 PM
> Para: Eric Luyten; Subscribers of Qpopper
> Asunto: RE: mailboxes getting duplicated
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
>
> It is not just a Solaris problem. I experienced the same problem on
> FreeBSD 3.2, and had to disable server mode.
>
> Daniel Jacobs | @wizard.com - Las Vegas Providers of Internet
> Services
>      (702) 317-2001 | http://www.wizard.com/ | danielj at wizard dot com
>            "In art and dream, may you proceed with abandon.
>   In life, may you proceed with balance and stealth." - Patti Smith
>
>
> > -----Original Message-----
> > From: Eric Luyten [mailto:eluyten at vub.ac dot be]
> > Sent: Tuesday, March 14, 2000 5:50 AM
> > To: Subscribers of Qpopper
> > Subject: Re: mailboxes getting duplicated
> >
> >
> > > Finnaly -- after all this time, I find others with the same
> > > problem.  I have been fighting this duplicate message
> > > problem for over a year (closer to 2 years).
> >
> > The issue has come up on this list on a number of occasions.
> >
> > > I have gone from Solaris 5.5 through Solaris 7.
> > > Qpopper 2.53 to 3.34.
> >
> > It *appears* to be a Solaris-only problem.
> > Or perhaps only we, Solaris admins, run large POP3 servers ?   :-)
> >
> >
> > Eric.
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
>
> iQB1AwUBOM/0utUYHqdNqACJAQF0CwMAh4J/llVM4jQ2gZBQt+s9FsaVCOwFCiQ+
> Fzq+T9AMmxXlmi23t1YWMWLxkGmG4QsLfWKcmBoKpA6zaSrYifDUInZEB3S5LVk8
> NFJoqyKNZoTZnlIogCaf3oECZcRhWlDr
> =mAFB
> -----END PGP SIGNATURE-----
>
>


From: "Daniel A. Jacobs" <danielj at wizard dot com>
Subject: RE: mailboxes getting duplicated
Date: Wed, 15 Mar 2000 14:39:11 -0800

-----BEGIN PGP SIGNED MESSAGE-----

Yep. I'm still running 3.0b22, but not having any problem without
running in server mode.

Daniel Jacobs | @wizard.com - Las Vegas Providers of Internet
Services
     (702) 317-2001 | http://www.wizard.com/ | danielj at wizard dot com
           "In art and dream, may you proceed with abandon.
  In life, may you proceed with balance and stealth." - Patti Smith


> -----Original Message-----
> From: Froylan Armando Loaiza Villanueva [mailto:floaiza at pemex dot com]
> Sent: Wednesday, March 15, 2000 1:38 PM
> To: Daniel A. Jacobs; Eric Luyten; Subscribers of Qpopper
> Subject: RE: mailboxes getting duplicated
>
>
> if you use it without the server mode... works fine???
>
>
> > -----Mensaje original-----
> > De: Daniel A. Jacobs [mailto:danielj at wizard dot com]
> > Enviado el: MiÈrcoles 15 de Marzo de 2000 2:38 PM
> > Para: Eric Luyten; Subscribers of Qpopper
> > Asunto: RE: mailboxes getting duplicated
> >
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > It is not just a Solaris problem. I experienced the same problem
> > on FreeBSD 3.2, and had to disable server mode.
> >
> > Daniel Jacobs | @wizard.com - Las Vegas Providers of Internet
> > Services
> >      (702) 317-2001 | http://www.wizard.com/ | danielj at wizard dot com
> >            "In art and dream, may you proceed with abandon.
> >   In life, may you proceed with balance and stealth." - Patti
> > Smith
> >
> >
> > > -----Original Message-----
> > > From: Eric Luyten [mailto:eluyten at vub.ac dot be]
> > > Sent: Tuesday, March 14, 2000 5:50 AM
> > > To: Subscribers of Qpopper
> > > Subject: Re: mailboxes getting duplicated
> > >
> > >
> > > > Finnaly -- after all this time, I find others with the same
> > > > problem.  I have been fighting this duplicate message
> > > > problem for over a year (closer to 2 years).
> > >
> > > The issue has come up on this list on a number of occasions.
> > >
> > > > I have gone from Solaris 5.5 through Solaris 7.
> > > > Qpopper 2.53 to 3.34.
> > >
> > > It *appears* to be a Solaris-only problem.
> > > Or perhaps only we, Solaris admins, run large POP3 servers ?
> > > :-)
> > >
> > >
> > > Eric.
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: PGPfreeware 6.5.3 for non-commercial use
> > <http://www.pgp.com>
> >
> > iQB1AwUBOM/0utUYHqdNqACJAQF0CwMAh4J/llVM4jQ2gZBQt+s9FsaVCOwFCiQ+
> > Fzq+T9AMmxXlmi23t1YWMWLxkGmG4QsLfWKcmBoKpA6zaSrYifDUInZEB3S5LVk8
> > NFJoqyKNZoTZnlIogCaf3oECZcRhWlDr
> > =mAFB
> > -----END PGP SIGNATURE-----
> >
> >

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQB1AwUBONARDtUYHqdNqACJAQFUGAMApdkpvbV42MCN44LOQe4cU9ySamgZBpHD
MOeo4/6wmQ7AVtBXa0Rp4rWCinvxww5pwEPrNq+hPc9hG8zNU+/eeizeurGheLFR
AbmROZNvRZ2jf1eezKwQN2TxmO/c+2fd
=y6vn
-----END PGP SIGNATURE-----


From: "Miss Parker" <miss.parker at dialcom.com dot pl>
Subject: "Unable to open Bulletin database" errors
Date: Thu, 16 Mar 2000 12:34:17 +0100

I think there's something wrong with the qpopper 3b36
at some moment at time it gives some user, for some
unknown reason, error:

-ERR [SYS/TEMP] Unable to open Bulletin database; contact your administrator

and then all the rest of the useres, trying to check their mail,
get the same error, and no one can get their mail

downgrading to 3b34 solves the problem...
("normal" pop functions + bulletins are working fine)

popper was compiled using options:

./co
figu
e --
nabl
-ser
ermo
e --
nabl
-bul
db=/
ar/s
ool/
ull
 --e
abl
-spe
iala
t
 --e
abl
-shy --with-new-bulls=0 --with-log-facility=LOG_LOCAL1 --enable-uw-kludge

...and runs under Linux


regards




From: "ø¿ƒÊ¡÷" <kjoh at netisus.co dot kr>
Subject: question about 'lmos'
Date: Thu, 16 Mar 2000 21:48:06 +0900

mail MTA : sendmail 8.9.3
pop3 : qpopper 2.5.3

When users receive mails from qpopper,
only one user leave messages on mail server.
But other's mail deleted.
That user's mail clinet is Outlook Express 5.0.
How can I configure qpopper will delete message while mail client reading
mail.

attach popper log:

Mar 16 14:09:10 www popper[3341]: Stats: nobreak 0 0 30 251108




Date: Thu, 16 Mar 2000 09:34:52 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: question about 'lmos'

At 9:48 PM +0900 3/16/00, ø¿ƒÊ wrote:

>How can I configure qpopper will delete message while mail client reading
>mail.

If you use Qpopper 3.0, you can add '--enable-auto-delete' to the 
=2E/configure line.  This causes all messages to be marked for deletion 
when downloaded.  If you do this, you should notify your users in 
advance, to avoid unpleasant surprises.



Date: Thu, 16 Mar 2000 09:34:33 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: "Unable to open Bulletin database" errors

At 12:34 PM +0100 3/16/00, Miss Parker wrote:

>-ERR [SYS/TEMP] Unable to open Bulletin database; contact your administrator
>
>and then all the rest of the useres, trying to check their mail,
>get the same error, and no one can get their mail

There should be a more detailed error message in the log.  What does it say?


From: "Silvera, Damian" <DSilvera at med.miami dot edu>
Subject: mysql+qpopper+solaris
Date: Thu, 16 Mar 2000 16:17:10 -0500

Good afternoon all,

have any of you figured out how to couple qpopper with mysql on Solaris. I
looked at http://www.netd.co.za/mysql_mail and
http://www.kies.co.kr/~jhpark/Sendmail/index.html. The former uses exim (not
interested) and the latter has been tested only on Linux. Any ideas,
patches, pointers would be most helpful.

peace

From: "James Nelson" <james at digit.bloomnet dot com>
Subject: Re: mailboxes getting duplicated
Date: Thu, 16 Mar 2000 20:18:58 -0600

If you are going to run in normal mode, the following hardware is
required to avoid taking a serious performance hit on the server:

Additional-- over and above current drive controller and drive:

1 moderately sized extremely fast hard drive
1 high efficiency drive controller (Caching controller preferred)

OR

Large amounts of RAM and a RAM drive for the temp files to be written
out to.  (must make sure it is large enough to accommodate several of
the largest mail boxes at once if people store message on the server
for a extended period)

You users will thank you for not being I/O bound...........



----- Original Message -----
From: "Daniel A. Jacobs" <danielj at wizard dot com>
To: "Froylan Armando Loaiza Villanueva" <floaiza at pemex dot com>; "Eric
Luyten" <eluyten at vub.ac dot be>; "Subscribers of Qpopper"
<qpopper at lists.pensive dot org>
Sent: Wednesday, March 15, 2000 4:39 PM
Subject: RE: mailboxes getting duplicated


| -----BEGIN PGP SIGNED MESSAGE-----
|
| Yep. I'm still running 3.0b22, but not having any problem without
| running in server mode.
|
| Daniel Jacobs | @wizard.com - Las Vegas Providers of Internet
| Services
|      (702) 317-2001 | http://www.wizard.com/ | danielj at wizard dot com
|            "In art and dream, may you proceed with abandon.
|   In life, may you proceed with balance and stealth." - Patti Smith
|
|
| > -----Original Message-----
| > From: Froylan Armando Loaiza Villanueva [mailto:floaiza at pemex dot com]
| > Sent: Wednesday, March 15, 2000 1:38 PM
| > To: Daniel A. Jacobs; Eric Luyten; Subscribers of Qpopper
| > Subject: RE: mailboxes getting duplicated
| >
| >
| > if you use it without the server mode... works fine???
| >
| >
| > > -----Mensaje original-----
| > > De: Daniel A. Jacobs [mailto:danielj at wizard dot com]
| > > Enviado el: MiÈrcoles 15 de Marzo de 2000 2:38 PM
| > > Para: Eric Luyten; Subscribers of Qpopper
| > > Asunto: RE: mailboxes getting duplicated
| > >
| > >
| > > -----BEGIN PGP SIGNED MESSAGE-----
| > >
| > > It is not just a Solaris problem. I experienced the same problem
| > > on FreeBSD 3.2, and had to disable server mode.
| > >
| > > Daniel Jacobs | @wizard.com - Las Vegas Providers of Internet
| > > Services
| > >      (702) 317-2001 | http://www.wizard.com/ |
danielj at wizard dot com
| > >            "In art and dream, may you proceed with abandon.
| > >   In life, may you proceed with balance and stealth." - Patti
| > > Smith
| > >
| > >
| > > > -----Original Message-----
| > > > From: Eric Luyten [mailto:eluyten at vub.ac dot be]
| > > > Sent: Tuesday, March 14, 2000 5:50 AM
| > > > To: Subscribers of Qpopper
| > > > Subject: Re: mailboxes getting duplicated
| > > >
| > > >
| > > > > Finnaly -- after all this time, I find others with the same
| > > > > problem.  I have been fighting this duplicate message
| > > > > problem for over a year (closer to 2 years).
| > > >
| > > > The issue has come up on this list on a number of occasions.
| > > >
| > > > > I have gone from Solaris 5.5 through Solaris 7.
| > > > > Qpopper 2.53 to 3.34.
| > > >
| > > > It *appears* to be a Solaris-only problem.
| > > > Or perhaps only we, Solaris admins, run large POP3 servers ?
| > > > :-)
| > > >
| > > >
| > > > Eric.
| > >
| > > -----BEGIN PGP SIGNATURE-----
| > > Version: PGPfreeware 6.5.3 for non-commercial use
| > > <http://www.pgp.com>
| > >
| > > iQB1AwUBOM/0utUYHqdNqACJAQF0CwMAh4J/llVM4jQ2gZBQt+s9FsaVCOwFCiQ+
| > > Fzq+T9AMmxXlmi23t1YWMWLxkGmG4QsLfWKcmBoKpA6zaSrYifDUInZEB3S5LVk8
| > > NFJoqyKNZoTZnlIogCaf3oECZcRhWlDr
| > > =mAFB
| > > -----END PGP SIGNATURE-----
| > >
| > >
|
| -----BEGIN PGP SIGNATURE-----
| Version: PGPfreeware 6.5.3 for non-commercial use
<http://www.pgp.com>
|
| iQB1AwUBONARDtUYHqdNqACJAQFUGAMApdkpvbV42MCN44LOQe4cU9ySamgZBpHD
| MOeo4/6wmQ7AVtBXa0Rp4rWCinvxww5pwEPrNq+hPc9hG8zNU+/eeizeurGheLFR
| AbmROZNvRZ2jf1eezKwQN2TxmO/c+2fd
| =y6vn
| -----END PGP SIGNATURE-----
|


Date: Thu, 16 Mar 2000 18:53:45 -0800
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Qpopper 3.0fc1 available

Qpopper 3.0fc1 is available at 
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/>.

This is Final Candidate 1 for the 3.0 release.

A somewhat abbreviated change list is on the Qpopper web site at 
<http://www.qpopper.org/changelist.html>

The full list of changes from one beta release to the next is on the 
FTP site, at 
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/Changes>.

The 3.0 release notes are at: 
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/Release.Notes>.


Changes from 3.0b36 to 3.0fc1
-----------------------------

  1.  Changed 'test -r' to 'test -f'.
  2.  Minor syntactical tweaks to eliminate warnings.
  3.  Be consistent in use of const in scram.
  4.  Enable use on HPUX11 trusted systems.
  5.  Eliminated more compiler warnings.



From: "Miss Parker" <miss.parker at dialcom.com dot pl>
Subject: Re: "Unable to open Bulletin database" errors
Date: Fri, 17 Mar 2000 10:36:02 +0100

they look like:

Mar 13 14:38:16 server popper[25308]: gdbm_open failed: Resource temporarily
unavailable (11)
Mar 13 14:38:19 server popper[25308]: user at cable15.icpnet.pl
(212.126.17.15): -ERR [SYS/TEMP] Unable to
open Bulletin database; contact your administrator


----- Original Message -----
From: Qpopper Support <qpopper at qualcomm dot com>
To: Miss Parker <miss.parker at dialcom.com dot pl>; Subscribers of Qpopper
<qpopper at lists.pensive dot org>
Cc: <qpopper at qualcomm dot com>
Sent: 16 marca 2000 18:34
Subject: Re: "Unable to open Bulletin database" errors


> At 12:34 PM +0100 3/16/00, Miss Parker wrote:
>
> >-ERR [SYS/TEMP] Unable to open Bulletin database; contact your
administrator
> >
> >and then all the rest of the useres, trying to check their mail,
> >get the same error, and no one can get their mail
>
> There should be a more detailed error message in the log.  What does it
say?
>