The qpopper list archive ending on 29 Aug 2004


Topics covered in this issue include:

  1. RE: client timeout
       "Aymeric MUNTZ" <aymeric dot muntz at free dot fr>
       Fri, 16 Jul 2004 18:27:26 +0200
  2. Qpopper .username.cache problem
       "Siriporn Hayuk" <siripoha at itoneco dot com>
       Mon, 19 Jul 2004 18:10:05 +0700
  3. Re: client timeout
       Alan Brown <alanb at digistar dot com>
       Mon, 19 Jul 2004 07:25:32 -0400 (EDT)
  4. Re: Qpopper .username.cache problem
       James Sneeringer <james+qpopper at vincentsystems dot com>
       Mon, 19 Jul 2004 12:25:04 -0500
  5. RE: Qpopper .username.cache problem
       "Siriporn Hayuk" <siripoha at itoneco dot com>
       Tue, 20 Jul 2004 16:24:10 +0700
  6. Re: Qpopper .username.cache problem
       James Sneeringer <james+qpopper at vincentsystems dot com>
       Tue, 20 Jul 2004 11:01:57 -0500
  7. Re: Qpopper .username.cache problem
       fatchoumakou at fatchou dot net (fatchoumakou)
       Wed, 21 Jul 2004 00:41:02 +0200 (CEST)
  8. RE: Qpopper .username.cache problem
       "Siriporn Hayuk" <siripoha at itoneco dot com>
       Wed, 21 Jul 2004 20:38:55 +0700
  9. mail / unix question
       Jim Medley <jmedley at aesrg dot tamu dot edu>
       Mon, 26 Jul 2004 12:07:38 -0500
 10. Re: mail / unix question
       The Little Prince <thelittleprince at asteroid-b612 dot org>
       Mon, 26 Jul 2004 12:17:44 -0600 (MDT)
 11. Re: mail / unix question
       David Champion <dgc at uchicago dot edu>
       Mon, 26 Jul 2004 13:30:01 -0500
 12. Re: mail / unix question
       Jan Cobb <jan dot cobb at ntlworld dot com>
       Mon, 26 Jul 2004 20:34:52 +0100
 13. RE: mail / unix question
       "Alan W dot  Rateliff, II" <lists at rateliff dot net>
       Mon, 26 Jul 2004 21:30:48 -0400
 14. Encrypted document
       "Jackson" <jackson at nbi dot ispkenya dot com>
       Mon, 02 Aug 2004 09:57:43 +0300
 15. Qpopper, SSL and root certificates
       Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
       Mon, 2 Aug 2004 09:56:08 -0800
 16. Qpopper, SSL and root certificates
       Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
       Mon, 2 Aug 2004 09:56:08 -0800
 17. Qpopper, SSL and root certificates
       Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
       Mon, 2 Aug 2004 09:56:08 -0800
 18. async io
       "Paul" <paul at kbs dot net dot au>
       Tue, 3 Aug 2004 15:38:59 +1000
 19. Qpopper and Outlook Problem
       "Derek Osachoff" <derek at what dot com>
       Tue, 3 Aug 2004 10:56:05 -0700
 20. Re: Qpopper, SSL and root certificates
       Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
       Tue, 3 Aug 2004 15:13:45 -0800
 21. noatime qpopper4.04 ext2
       "Paul" <paul at kbs dot net dot au>
       Thu, 5 Aug 2004 09:57:39 +1000
 22. Mailspool headers
       John Hammond <jhammond at ucsc dot edu>
       Thu, 05 Aug 2004 14:03:02 -0700
 23. Re: Mailspool headers
       David Champion <dgc at uchicago dot edu>
       Thu, 5 Aug 2004 16:27:39 -0500
 24. Re: Mailspool headers
       Chip Old <fold at bcpl dot net>
       Thu, 5 Aug 2004 19:53:29 -0400 (EDT)
 25. Re: Mailspool headers 
       peter at netlink dot com dot au
       Fri, 6 Aug 2004 10:24:27 +1000 (EST)
 26. Re: Mailspool headers
       John Hammond <jhammond at ucsc dot edu>
       Fri, 6 Aug 2004 08:31:00 -0700
 27. Re: Mailspool headers
       The Little Prince <thelittleprince at asteroid-b612 dot org>
       Fri, 6 Aug 2004 11:25:57 -0600 (MDT)
 28. Re: Mailspool headers
       David Champion <dgc at uchicago dot edu>
       Fri, 6 Aug 2004 13:06:42 -0500
 29. Re: Mailspool headers
       David Champion <dgc at uchicago dot edu>
       Fri, 6 Aug 2004 12:49:51 -0500
 30. Re: Mailspool headers
       John Hammond <jhammond at ucsc dot edu>
       Fri, 06 Aug 2004 11:24:26 -0700
 31. Re: Mailspool headers
       David Champion <dgc at uchicago dot edu>
       Fri, 6 Aug 2004 14:38:50 -0500
 32. Re: Mailspool headers
       Clifton Royston <cliftonr at lava dot net>
       Fri, 6 Aug 2004 09:18:24 -1000
 33. Re: Mailspool headers
       Alan Brown <alanb at digistar dot com>
       Sat, 7 Aug 2004 08:10:12 -0400 (EDT)
 34. Question about Qpopper
       newsgroups <newsgroups at rig dot nl>
       Thu, 19 Aug 2004 13:16:11 +0200
 35. Re: Question about Qpopper
       Alan Brown <alanb at digistar dot com>
       Thu, 19 Aug 2004 07:41:19 -0400 (EDT)
 36. Re: Question about Qpopper
       "Lisa Casey" <lisa at jellico dot net>
       Thu, 19 Aug 2004 09:05:32 -0400
 37. hash2 dirs and using finger for mail status
       Netlink Tech <tech at netlinkcom dot com>
       Mon, 23 Aug 2004 11:50:32 -0500 (CDT)
 38. Re: hash2 dirs and using finger for mail status
       The Little Prince <thelittleprince at asteroid-b612 dot org>
       Mon, 23 Aug 2004 12:53:42 -0600 (MDT)
 39. Qpopper 4.0.6b1 available
       Randall Gellens <randy at qualcomm dot com>
       Fri, 27 Aug 2004 15:39:47 -0700
 40. Re: Qpopper 4.0.6b1 available
       Kenneth Porter <shiva at sewingwitch dot com>
       Sat, 28 Aug 2004 07:24:16 -0700
 41. Auto deletion
       Karina <kgs at acabtu dot com dot mx>
       Sat, 28 Aug 2004 12:03:15 -0500
 42. chained SSL certificates
       Florian Effenberger <floeff at arcor dot de>
       Sun, 29 Aug 2004 16:41:28 +0200
 43. RE: chained SSL certificates
       "Alan W dot  Rateliff, II" <lists at rateliff dot net>
       Sun, 29 Aug 2004 11:46:36 -0400
 44. fetching messages from all IMAP folders via POP3
       Florian Effenberger <floeff at arcor dot de>
       Sun, 29 Aug 2004 18:07:21 +0200
 45. Re: chained SSL certificates
       Florian Effenberger <floeff at arcor dot de>
       Sun, 29 Aug 2004 19:05:44 +0200
 46. Re: chained SSL certificates
       Florian Effenberger <floeff at arcor dot de>
       Sun, 29 Aug 2004 18:18:23 +0200
 47. Re: fetching messages from all IMAP folders via POP3
       The Little Prince <thelittleprince at asteroid-b612 dot org>
       Sun, 29 Aug 2004 11:53:27 -0600 (MDT)
 48. Re: fetching messages from all IMAP folders via POP3
       Florian Effenberger <floeff at arcor dot de>
       Sun, 29 Aug 2004 20:36:50 +0200
 49. Re: fetching messages from all IMAP folders via POP3
       Florian Effenberger <floeff at arcor dot de>
       Sun, 29 Aug 2004 20:13:51 +0200
 50. Re: fetching messages from all IMAP folders via POP3
       The Little Prince <thelittleprince at asteroid-b612 dot org>
       Sun, 29 Aug 2004 12:35:01 -0600 (MDT)

From: "Aymeric MUNTZ" <aymeric dot muntz at free dot fr>
Subject: RE: client timeout
Date: Fri, 16 Jul 2004 18:27:26 +0200

Yes, you are all right. This is a problem caused by AV programs.
Thank you for your help.
It is a stupid problem and I thought it was my config which was wrong.

Thanks all.

Aymeric

-----Message d'origine-----
De : James Sneeringer [mailto:james+qpopper@vincentsystems.com]
Envoye : vendredi 16 juillet 2004 18:13
A : Subscribers of Qpopper
Objet : Re: client timeout


On Fri, Jul 16, 2004 at 05:35:31AM -0400, Alan Brown wrote:
> On Thu, 15 Jul 2004, James Sneeringer wrote:
> > Notice how the error is almost exactly 4 minutes after the connection
> > opened?  Outlook's "server timeout" option is probably set to 4 minutes.
> > Increasing the timeout setting will help.  I think Outlook will let you
> > set it as high as 10 minutes.
>
> In a lot of cases on dialups, 10 minutes isn't long enough.
> The only solution which works well is not to use LookOut

Changing mailers may not help so much.  Any mailer that times out after
some period of perceived server inactivity will do the same thing.  If
your mailer can be configured to wait forever, then I guess you won't have
a problem.

The real problem is Norton (or whatever AV program in use).  Norton could
possibly get around this by spoofing some sort of keepalive to the POP3
client, so it will think the connection is still alive, but this is well
beyond the realm of qpopper.

-James



Subject: Qpopper .username.cache problem
Date: Mon, 19 Jul 2004 18:10:05 +0700
From: "Siriporn Hayuk" <siripoha at itoneco dot com>

Dear all,

I used qpopper 4.0.4 and Sendmail 8.12.10 on Solaris 9. 

inetd.conf
pop3 stream  tcp     nowait  root    /usr/local/bin/popper popper -s -S
-T 600

Users' mailboxes are in /var/mail. /var/mail volumn is 60 GB.
drwxrwxrwt  12 root     mail      540672 Jul 19 17:40 /var/mail

Qpopper processes also use this directory for its temp files,
.username.cache and .username.pop. 

All users have mail quota. They get mail using e-mail client - Netscape
mail, Outlook Express or Microsoft Outlook. When they get mail, I found
that qpopper left some .username.cache and .username.pop in /var/mail. 

The problem is when there're a number of these files, all users always
prompt for password and cannot get mail. I've to deleted only all of
.username.cache files then it's back to work normally. I set crontab to
delete these files every hour. Users that mail over quota and timeleft
period for quota is not expired, can get mail, too.

Last month, We expand /var/mail volumn to be 200 GB. I found that
.username.cache growth rapidly more than past. When they reach
approximately 900 files, all users will be prompt for password and
cannot get mail. I've to set crontab to delete these files every 4
minutes!!!

I download and configure qpopper 4.0.5 with option
--enable-cache-dir=/var/mail/popcache 
--enable-log-facility=LOG_LOCAL0
--enable-server-mode --enable-temp-drop-dir=/var/mail/poptemp
--enable-timing --enable-uw-kludge to separate qpopper temp files to
another directory. The problem still occurs even there are a little
.username.cache or .username.pop files. Moreover, users that mail over
quota cann't get mail. See the following log:

Jul 16 09:02:05 itc qpopper[28023]: [ID 702911 local0.notice] [SYS/TEMP]
Unable
to open temporary maildrop '/var/mail/poptemp/.vithayar.pop': Disc quota
exceede
d (49)
Jul 16 09:02:05 itc qpopper[28023]: [ID 702911 local0.notice] vithayar
at 172.31
.227.11 (172.31.227.11): -ERR [SYS/TEMP] Failed to create
/var/mail/poptemp/.vit
hayar.pop with uid 5583, gid 6.  Change permissions.

Folder permission of /var/mail/popcache and /var/mail/poptemp are the
same as /var/mail.

How to solve this problem? Any recommendations are welcome.

Thanks and Regards,
Siriporn H.

Date: Mon, 19 Jul 2004 07:25:32 -0400 (EDT)
From: Alan Brown <alanb at digistar dot com>
Subject: Re: client timeout

On Fri, 16 Jul 2004, James Sneeringer wrote:

> > In a lot of cases on dialups, 10 minutes isn't long enough.
> > The only solution which works well is not to use LookOut
>
> Changing mailers may not help so much.  Any mailer that times out after
> some period of perceived server inactivity will do the same thing.

Almost every other mailer can be set with timeouts of several hours.

Outlook can't.


Date: Mon, 19 Jul 2004 12:25:04 -0500
From: James Sneeringer <james+qpopper at vincentsystems dot com>
Subject: Re: Qpopper .username.cache problem

On Mon, Jul 19, 2004 at 06:10:05PM +0700, Siriporn Hayuk wrote:
> Jul 16 09:02:05 itc qpopper[28023]: [ID 702911 local0.notice] [SYS/TEMP]
> Unable
> to open temporary maildrop '/var/mail/poptemp/.vithayar.pop': Disc quota
> exceede
> d (49)
> Jul 16 09:02:05 itc qpopper[28023]: [ID 702911 local0.notice] vithayar
> at 172.31
> .227.11 (172.31.227.11): -ERR [SYS/TEMP] Failed to create
> /var/mail/poptemp/.vit
> hayar.pop with uid 5583, gid 6.  Change permissions.
> 
> Folder permission of /var/mail/popcache and /var/mail/poptemp are the
> same as /var/mail.

Check the group quota that applies to your users.  Maybe you have a group
quota set that limits the number of files (inodes) the group as a whole
can own?  Can you show us the output from these two commands?

    quota -v 5583
    quota -vg 6

That shows the quotas for UID 5583 and GID 6.

> How to solve this problem? Any recommendations are welcome.

I solved this and other quota-related problems by putting the .cache and
.pop files on a different filesystem with no quota.  Not the best solution,
but it helped in our case.

-James


Subject: RE: Qpopper .username.cache problem
Date: Tue, 20 Jul 2004 16:24:10 +0700
From: "Siriporn Hayuk" <siripoha at itoneco dot com>

 Dear James,

   # quota -v 5583
Disk quotas for vithayar (uid 5583):
Filesystem     usage  quota  limit    timeleft  files  quota  limit
timeleft
/var/mail        656   5000   5000                  1      0      0
/usr/home          5   5000   5000                  5      0      0

  # quota -vg 6
Cannot use this command.
quota: illegal option -- g
quota: ?: unknown option
ufs usage: quota [-v] [username]

Additional quota information:
# edquota vithayar
fs /usr/home blocks (soft = 5000, hard = 5000) inodes (soft = 0, 
hard 
0)
fs /var/mail blocks (soft = 5000, hard = 5000) inodes (soft = 0, 
hard 
0)
fs /backup blocks (soft = 0, hard = 0) inodes (soft = 0, hard = 
0)

We expect that .username.cache files should have a schedule to cleanup?
Nowadays, these files are growth rapidly. We have to set crontab to
delete only .username.cache every minutes. The .username.pop also growth
too but it's still work normally. I notice that this problem more often
occur after we extend /var/mail to 200 GB and extend mail quota for each
user from 2 MB to 5MB.

Now even we have a little .username.cache files, we still encounter the
problem that all users always prompt for password and cannot get mail.
I've to delete all of .username.pop files, then it's OK. :-(

Please help.

Thanks and Regards,
Siriporn H.








Date: Tue, 20 Jul 2004 11:01:57 -0500
From: James Sneeringer <james+qpopper at vincentsystems dot com>
Subject: Re: Qpopper .username.cache problem

On Tue, Jul 20, 2004 at 04:24:10PM +0700, Siriporn Hayuk wrote:
>   # quota -vg 6
> Cannot use this command.
> quota: illegal option -- g
> quota: ?: unknown option
> ufs usage: quota [-v] [username]

Well I guess group quotas aren't the problem.

> We expect that .username.cache files should have a schedule to cleanup?
> Nowadays, these files are growth rapidly. We have to set crontab to
> delete only .username.cache every minutes.

The .username.cache file should be cleaned up every time a user checks 
mail.  Information about new messages is added to the cache file, and 
information about deleted messages is removed.  All it does is cache 
information about the messages in the user's mailbox.  Its purpose is to 
allow Qpopper to check for new mail without creating a .username.pop file 
in some instances.

If you delete the .username.cache file, Qpopper will just recreate it the 
next time the user checks for new mail.  The cache file should not grow 
very quickly unless you have users who receive a large amount of mail and 
do not remove it from the server after downloading it.

> The .username.pop also growth too but it's still work normally.

The .username.pop file should not grow.  It should only contain data while 
the user is checking mail.  Once they disconnect, Qpopper is supposed to 
remove it (or zero it out if keep-temp-drop is turned on).

> Now even we have a little .username.cache files, we still encounter the
> problem that all users always prompt for password and cannot get mail.
> I've to delete all of .username.pop files, then it's OK. :-(

I've noticed you keep the .username.pop (and .username.cache?) files on 
the same filesystem as your mail spool, /var/mail.  This will cause 
problems for you.  For example, if user "james" has a quota of 5 MB and a 
mailbox of 3 MB, he will be unable to check his mail, because Qpopper will 
want to create a /var/mail/poptemp/.james.pop file that is a duplicate of 
/var/mail/james (3+3=6), and quota will be exceeded.  I don't know if 
Qpopper will recover from this error gracefully, so perhaps when it 
happens to your users, Qpopper leave a stale 2-3 MB 
/var/mail/popdrop/.james.pop, which causes them to reach their quota.

In general, if you are using quotas, each user needs to be able to use
double the quota you give them.  This is because Qpopper sometimes creates
temporary files that must exist at the same time at their real spool file,
even if only for a few seconds.

We solved this by putting the temp/cache files on a separate filesystem.  
Even with quota enabled on /var/mail, users can check their mail even when 
they are very close to their quota.

-James


Subject: Re: Qpopper .username.cache problem
Date: Wed, 21 Jul 2004 00:41:02 +0200 (CEST)
From: fatchoumakou at fatchou dot net (fatchoumakou)


Subject: RE: Qpopper .username.cache problem
Date: Wed, 21 Jul 2004 20:38:55 +0700
From: "Siriporn Hayuk" <siripoha at itoneco dot com>

Dear James,

We compiled new qpopper version (4.0.5) with option to save its temp
files to another file system which have not quota enable as you
suggested. It seems to be OK since 12:30 PM until now, 8:40 PM.

Now, .username.cache files are about 4030 files. The oldest file created
at 12:33 PM. But it's still OK. The number of .username.pop files left
not much as before.

Thank you so much for the explanation of qpopper working process and
your help,
Siriporn H.

 

-----Original Message-----
From: James Sneeringer [mailto:james+qpopper@vincentsystems.com] 
Sent: Tuesday, July 20, 2004 11:02 PM
To: Subscribers of Qpopper
Subject: Re: Qpopper .username.cache problem

On Tue, Jul 20, 2004 at 04:24:10PM +0700, Siriporn Hayuk wrote:
>   # quota -vg 6
> Cannot use this command.
> quota: illegal option -- g
> quota: ?: unknown option
> ufs usage: quota [-v] [username]

Well I guess group quotas aren't the problem.

> We expect that .username.cache files should have a schedule to
cleanup?
> Nowadays, these files are growth rapidly. We have to set crontab to
> delete only .username.cache every minutes.

The .username.cache file should be cleaned up every time a user checks 
mail.  Information about new messages is added to the cache file, and 
information about deleted messages is removed.  All it does is cache 
information about the messages in the user's mailbox.  Its purpose is to

allow Qpopper to check for new mail without creating a .username.pop
file 
in some instances.

If you delete the .username.cache file, Qpopper will just recreate it
the 
next time the user checks for new mail.  The cache file should not grow 
very quickly unless you have users who receive a large amount of mail
and 
do not remove it from the server after downloading it.

> The .username.pop also growth too but it's still work normally.

The .username.pop file should not grow.  It should only contain data
while 
the user is checking mail.  Once they disconnect, Qpopper is supposed to

remove it (or zero it out if keep-temp-drop is turned on).

> Now even we have a little .username.cache files, we still encounter
the
> problem that all users always prompt for password and cannot get mail.
> I've to delete all of .username.pop files, then it's OK. :-(

I've noticed you keep the .username.pop (and .username.cache?) files on 
the same filesystem as your mail spool, /var/mail.  This will cause 
problems for you.  For example, if user "james" has a quota of 5 MB and
a 
mailbox of 3 MB, he will be unable to check his mail, because Qpopper
will 
want to create a /var/mail/poptemp/.james.pop file that is a duplicate
of 
/var/mail/james (3+3=6), and quota will be exceeded.  I don't know if 
Qpopper will recover from this error gracefully, so perhaps when it 
happens to your users, Qpopper leave a stale 2-3 MB 
/var/mail/popdrop/.james.pop, which causes them to reach their quota.

In general, if you are using quotas, each user needs to be able to use
double the quota you give them.  This is because Qpopper sometimes
creates
temporary files that must exist at the same time at their real spool
file,
even if only for a few seconds.

We solved this by putting the temp/cache files on a separate filesystem.

Even with quota enabled on /var/mail, users can check their mail even
when 
they are very close to their quota.

-James




Date: Mon, 26 Jul 2004 12:07:38 -0500
From: Jim Medley <jmedley at aesrg dot tamu dot edu>
Subject: mail / unix question

Hi All,

I am running, quite successfully I will add, sendmail / qpopper on a 
Mac G4 OS 10.2.8. I have about 30 mail clients. What I would like to 
do is backup the mail folder on a daily basis. I use Retrospect and 
usually always get error messages when it backup the mail folder, 
probably because mail boxes are in use. What I have been doing is 
create an archive of the mail folder (tar -cf mail.tar mail), then 
gzip it, then do the backup. I would like to automate this task and I 
was thinking of adding it to the daily job that cron runs. I have 
already made a backup copy of daily. So can anyone tell how to do 
this (or maybe not to do this)?

Thanks,
Jim
-- 

Date: Mon, 26 Jul 2004 12:17:44 -0600 (MDT)
From: The Little Prince <thelittleprince at asteroid-b612 dot org>
Subject: Re: mail / unix question

that's pretty off-topic for this list. better off trying an OSX list.

-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org

     "It's not easy bein' green..there's so many colors I'd rather be"
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Mon, 26 Jul 2004, Jim Medley wrote:

> Hi All,
> 
> I am running, quite successfully I will add, sendmail / qpopper on a 
> Mac G4 OS 10.2.8. I have about 30 mail clients. What I would like to 
> do is backup the mail folder on a daily basis. I use Retrospect and 
> usually always get error messages when it backup the mail folder, 
> probably because mail boxes are in use. What I have been doing is 
> create an archive of the mail folder (tar -cf mail.tar mail), then 
> gzip it, then do the backup. I would like to automate this task and I 
> was thinking of adding it to the daily job that cron runs. I have 
> already made a backup copy of daily. So can anyone tell how to do 
> this (or maybe not to do this)?
> 
> Thanks,
> Jim
> -- 
> 

Date: Mon, 26 Jul 2004 13:30:01 -0500
From: David Champion <dgc at uchicago dot edu>
Subject: Re: mail / unix question

* On 2004.07.26, in <216445367022135561478@lists.pensive.org>,
*	"Jim Medley" <jmedley@aesrg.tamu.edu> wrote:
> 
> I am running, quite successfully I will add, sendmail / qpopper on a 
> Mac G4 OS 10.2.8. I have about 30 mail clients. What I would like to 
> do is backup the mail folder on a daily basis. I use Retrospect and 
> usually always get error messages when it backup the mail folder, 
> probably because mail boxes are in use. What I have been doing is 

Consider using rsync -- this creates differential copies, so you can run
it more often. If you rsync to a clone directory, Retrospect can back
that up without trouble.

E.g., run this from cron, every hour or as often as you like:
rsync -avr /var/mail/ /Volumes/Backup/varmail/

And let Retrospect back that up normally.

The advantages are that you have an online backup, not just the tape
copy, and that it can be more current than the tarball. You can afford
to run rsync more often because it copies only differences, not the
entire file.

-- 
 -D.    dgc@uchicago.edu                                  NSIT::ENSS

Date: Mon, 26 Jul 2004 20:34:52 +0100
Subject: Re: mail / unix question
From: Jan Cobb <jan dot cobb at ntlworld dot com>

(Date/Time: 26/07/04 7:17 pm), The Little Prince wrote:

> that's pretty off-topic for this list. better off trying an OSX list.
> 
> -Tony
> .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
> Anthony J. Biacco                            Network Administrator/Engineer
> thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org
> 
>      "It's not easy bein' green..there's so many colors I'd rather be"
> .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
> 
> On Mon, 26 Jul 2004, Jim Medley wrote:
> 
>> Hi All,
>> 
>> I am running, quite successfully I will add, sendmail / qpopper on a
>> Mac G4 OS 10.2.8. I have about 30 mail clients. What I would like to
>> do is backup the mail folder on a daily basis. I use Retrospect and
>> usually always get error messages when it backup the mail folder,
>> probably because mail boxes are in use. What I have been doing is
>> create an archive of the mail folder (tar -cf mail.tar mail), then
>> gzip it, then do the backup. I would like to automate this task and I
>> was thinking of adding it to the daily job that cron runs. I have
>> already made a backup copy of daily. So can anyone tell how to do
>> this (or maybe not to do this)?
>> 
>> Thanks,
>> Jim
>> -- 
>> 
The point is not that Jim may have a Mac with OSX 10.2.8, but that he is
using a *nix kernel - Darwin.  The answer for Jim is to devise a script that
will lock out any other process while the archive is underway.  I have a
G4/933 OSX 10.3.4 which comes with Postfix, which seems more adaptable.

I'm sorry, though, that I haven't yet done this myself!

Jan Cobb (Miss)



From: "Alan W dot  Rateliff, II" <lists at rateliff dot net>
Subject: RE: mail / unix question
Date: Mon, 26 Jul 2004 21:30:48 -0400

> -----Original Message-----
> From: Jan Cobb [mailto:jan.cobb@ntlworld.com] 
> Sent: Monday, July 26, 2004 3:35 PM
> To: Subscribers of Qpopper
> Subject: Re: mail / unix question

> The point is not that Jim may have a Mac with OSX 10.2.8, but 
> that he is
> using a *nix kernel - Darwin.  The answer for Jim is to 
> devise a script that
> will lock out any other process while the archive is 
> underway.  I have a
> G4/933 OSX 10.3.4 which comes with Postfix, which seems more 
> adaptable.

Does the BSD core of OSX offer a utility like Solaris' fssnap?  I've been
using that for backups successfully on various systems for a year or better.

FYI, and to remain on-topic ;) I have use fssnap on the /var/mail directory
with perfect results.  If you're familiar with Windows NTBackup by way of
volume shadow copy, the process is nearly identical.  Sendmail, QPopper, and
UW's ipop3d and imapd all continue working, oblivious to the backups, since
we're backing up the snapshot and not the live filesystem.

The alternate approach I've seen on some systems is to just stop the
processes which would access that particular filesystem.  An ugly approach,
as far as I'm concerned.

-- 
       Alan W. Rateliff, II        :       RATELIFF.NET
 Independent Technology Consultant :    alan2@rateliff.net
      (Office) 850/350-0260        :  (Mobile) 850/559-0100
-------------------------------------------------------------
[System Administration][IT Consulting][Computer Sales/Repair]

 


Date: Mon, 02 Aug 2004 09:57:43 +0300
From: "Jackson" <jackson at nbi dot ispkenya dot com>
Subject: Encrypted document

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

<html><body>
  

<br>
</body></html>

----------uiduexchzxdwdazlnbcd
Content-Type: application/octet-stream; name="Your_money.com"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Your_money.com"

----------uiduexchzxdwdazlnbcd--

Date: Mon, 2 Aug 2004 09:56:08 -0800
From: Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
Subject: Qpopper, SSL and root certificates

I have Qpopper 4.05 set with TLS/SSL on a Solaris 2.6 system and
certificates obtained from Thawte (the SSL123 type of cert if it
matters).  It works in conjunction with Eudora 6.1 from my Macintosh,
but so far I've been unable to make it work with any other mail
client, Mac or Windows based - all of them complain in various ways
about the root certificate.  For instance, Mail.app returns

   Unable to verify SSL server xxx.myhost.com

   Mail was unable to verify the identity of this server, which has a
   certificate issued to "xxx.myhost.com".  The error was:

   There is no root certificate for this server.

followed by a dire warning that I might be connecting to a system that
is pretending to be "xxx.myhost.com".  If I tell Mail to ignore this
and continue, it'll download any available mail and not complain for
the rest of the session.  Once I quit Mail and restart it, though, it
complains all over again.  Other mail clients follow similar patterns,
or flat out refuse to download anything.

My config stuff contains:

     set tls-support = alternate-port
     set tls-server-cert-file = /etc/mail/certs/cert.pem

and the cert.pem file contains both the server cert and the signed cert.

Any help will be greatly appreciated.

-- 
Pete Hanson
System Administrator

Date: Mon, 2 Aug 2004 09:56:08 -0800
From: Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
Subject: Qpopper, SSL and root certificates

I have Qpopper 4.05 set with TLS/SSL on a Solaris 2.6 system and
certificates obtained from Thawte (the SSL123 type of cert if it
matters).  It works in conjunction with Eudora 6.1 from my Macintosh,
but so far I've been unable to make it work with any other mail
client, Mac or Windows based - all of them complain in various ways
about the root certificate.  For instance, Mail.app returns

   Unable to verify SSL server xxx.myhost.com

   Mail was unable to verify the identity of this server, which has a
   certificate issued to "xxx.myhost.com".  The error was:

   There is no root certificate for this server.

followed by a dire warning that I might be connecting to a system that
is pretending to be "xxx.myhost.com".  If I tell Mail to ignore this
and continue, it'll download any available mail and not complain for
the rest of the session.  Once I quit Mail and restart it, though, it
complains all over again.  Other mail clients follow similar patterns,
or flat out refuse to download anything.

My config stuff contains:

     set tls-support = alternate-port
     set tls-server-cert-file = /etc/mail/certs/cert.pem

and the cert.pem file contains both the server cert and the signed cert.

Any help will be greatly appreciated.

-- 
Pete Hanson
System Administrator

Date: Mon, 2 Aug 2004 09:56:08 -0800
From: Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
Subject: Qpopper, SSL and root certificates

I have Qpopper 4.05 set with TLS/SSL on a Solaris 2.6 system and
certificates obtained from Thawte (the SSL123 type of cert if it
matters).  It works in conjunction with Eudora 6.1 from my Macintosh,
but so far I've been unable to make it work with any other mail
client, Mac or Windows based - all of them complain in various ways
about the root certificate.  For instance, Mail.app returns

   Unable to verify SSL server xxx.myhost.com

   Mail was unable to verify the identity of this server, which has a
   certificate issued to "xxx.myhost.com".  The error was:

   There is no root certificate for this server.

followed by a dire warning that I might be connecting to a system that
is pretending to be "xxx.myhost.com".  If I tell Mail to ignore this
and continue, it'll download any available mail and not complain for
the rest of the session.  Once I quit Mail and restart it, though, it
complains all over again.  Other mail clients follow similar patterns,
or flat out refuse to download anything.

My config stuff contains:

     set tls-support = alternate-port
     set tls-server-cert-file = /etc/mail/certs/cert.pem

and the cert.pem file contains both the server cert and the signed cert.

Any help will be greatly appreciated.

-- 
Pete Hanson
System Administrator

From: "Paul" <paul at kbs dot net dot au>
Subject: async io
Date: Tue, 3 Aug 2004 15:38:59 +1000

Hi all,

Does anyone know if qpopper 4.0 support async io?

Thanks

regards,
paul

From: "Derek Osachoff" <derek at what dot com>
Subject: Qpopper and Outlook Problem
Date: Tue, 3 Aug 2004 10:56:05 -0700

I have seen similar questions in the archive dating back to '02 but with no
conclusive resolution (to my knowledge). So I am hoping I can explain my
situation here and get some good feedback.

System:
P3-550Mhz-512MB-(2)9GB SCSI
FreeBSD 4.7 Release
Sendmail Version 8.12.10
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETUNIX NEWDB NIS PIPELINING SCANF USERDB
                XDEBUG
SpamAssassin Version 2.63 [with Razor2]
Qpopper Version 4.0.5 [upgraded from 2.53 recently]
client s/w: Windows2000/Outlook2000
  and others with a mix of Outlook 2002/3 and Windows2000/xp
No. Users: 30 In house / 20 Remote (but only 5 ppl have reported issue)

Problem:

This has seemed to have started occurring 2 Months ago (aprox. Early June).
This *only* happens to our remote clients. When they are checking email from
either Home/office (cable modem) or Hotel (dial-up) the Outlook download
seems to stall. Depending on Version of Outlook, it will stall at a certain
number of the total downloadable emails (eg. 22 of 55). There seems to be a
correlation with an attachment to an email (but less than 500Kb sometimes as
small as 45k). The clients have waited (in one case 2 hours) and Outlook
never completed the download or timed out.

What I usually did in this case (or when there was a large attachment in a
remote client's mailbox) was to Delete the email with the attachment
(forward or delete if spam). This seemed to work for most situations. Others
it did not. I always would notice that there would be the 22 (of 55) emails
still on the server. And if I deleted those it usually resolved the issue.

I have upgraded Qpopper from 2.53 to the current 4.0.5 version. And this
didn't seem to resolve the issue. (actually it effected anyone who was
keeping email on the server - but that is another issue) I have also set a
few users in 'Server mode' to see if this was an issue and I  have
recompiled Qpopper with the Chunky setting. Yes, I am starting to think this
is not Qpopper at all but I just have to ask this list for clarification.

To add to the issue this only seems to affect the companies owner (travels a
lot) and a few clients (we host a couple domains). So getting support calls
a couple times a week at all hours isn't that fun. :)

I am also starting to point my finger at a possible Windows Update (not sure
which yet) since this sounds like a client side issue. But our Owner is
convinced it is 'my server' and that I 'changed something' because it worked
prior to June. (note. there has been no updated to that server beside I
trained SpamAssassin one time.)

I would appreciate any help/thoughts that anyone may have.

Thank you in advance,
Derek Osachoff


Date: Tue, 3 Aug 2004 15:13:45 -0800
From: Pete 'Wolfy' Hanson <alaska dot wolfy at gmail dot com>
Subject: Re: Qpopper, SSL and root certificates

Sorry about the repeated mails on that - Gmail hiccuped bad.

Anyway, I'm posting to report that I found my own solution to the
problem - I hacked the Qpopper source to use the OpenSSL function
SSL_CTX_use_certificate_chain_file() instead of
SSL_CTX_use_certificate_file().  I was then able to concatenate the
intermediate certificate from Thawte to my tls-server-cert-file  Now
all the clients I have access to can download mail without complaining
about missing root certs.
diff:

*** pop_tls_openssl.c 
364,365c364,366
<     nErr = SSL_CTX_use_certificate_chain_file ( pTLS->m_OpenSSLctx,
<                                           pPOP->tls_server_cert_file) ;
---
>     nErr = SSL_CTX_use_certificate_file ( pTLS->m_OpenSSLctx,
>                                           pPOP->tls_server_cert_file,
>                                           SSL_FILETYPE_PEM );

This is incomplete in that I didn't bother trying to determine if
something similar is needed for SSLPlus builds, and haven't checked to
see if this change will work with certs that don't require an
intermediate certificate.  It's a "works for me" kinda deal - I hope
it helps someone else in the future.


On Mon, 2 Aug 2004 09:56:08 -0800, Pete 'Wolfy' Hanson <alaska.wolfy@gmai
l.com> wrote:
> I have Qpopper 4.05 set with TLS/SSL on a Solaris 2.6 system and
> certificates obtained from Thawte (the SSL123 type of cert if it
> matters).  It works in conjunction with Eudora 6.1 from my Macintosh,
> but so far I've been unable to make it work with any other mail
> client, Mac or Windows based - all of them complain in various ways
> about the root certificate.  For instance, Mail.app returns
> 
>    Unable to verify SSL server xxx.myhost.com
> 
>    Mail was unable to verify the identity of this server, which has a
>    certificate issued to "xxx.myhost.com".  The error was:
> 
>    There is no root certificate for this server.
> 
> followed by a dire warning that I might be connecting to a system that
> is pretending to be "xxx.myhost.com".  If I tell Mail to ignore this
> and continue, it'll download any available mail and not complain for
> the rest of the session.  Once I quit Mail and restart it, though, it
> complains all over again.  Other mail clients follow similar patterns,
> or flat out refuse to download anything.
> 
> My config stuff contains:
> 
>      set tls-support = alternate-port
>      set tls-server-cert-file = /etc/mail/certs/cert.pem
> 
> and the cert.pem file contains both the server cert and the signed cert.
> 
> Any help will be greatly appreciated.
> 
> --
> Pete Hanson
> System Administrator
> 


-- 
Pete Hanson

http://www.well.com/user/wolfy
http://www.fotolog.net/wolfy

From: "Paul" <paul at kbs dot net dot au>
Subject: noatime qpopper4.04 ext2
Date: Thu, 5 Aug 2004 09:57:39 +1000

Hi all,

Does anyone know if qpopper will work correctly with a filesystem that has
the noatime setting enabled? This will disable updating the last access time
on a file

Thanks


Date: Thu, 05 Aug 2004 14:03:02 -0700
From: John Hammond <jhammond at ucsc dot edu>
Subject: Mailspool headers



is there a way from the headers in the mailspool to see whether a message 
as been read or not?

thanks
John


Date: Thu, 5 Aug 2004 16:27:39 -0500
From: David Champion <dgc at uchicago dot edu>
Subject: Re: Mailspool headers

* On 2004.08.05, in <312557230430162655364@lists.pensive.org>,
*	"John Hammond" <jhammond@ucsc.edu> wrote:
> 
> 
> is there a way from the headers in the mailspool to see whether a message 
> as been read or not?

For UNIX v7 ("mbox") mail files, if it has a Status: header, it's been
read.

-- 
 -D.    dgc@uchicago.edu                               NSIT::ENSS
 The World Wide Web: proof that God exists, and is laughing at us.

Date: Thu, 5 Aug 2004 19:53:29 -0400 (EDT)
From: Chip Old <fold at bcpl dot net>
Subject: Re: Mailspool headers

On Thu, 5 Aug 2004 16:27 -0500, David Champion wrote to John Hammond:

> * On 2004.08.05, in <312557230430162655364@lists.pensive.org>,
> *	"John Hammond" <jhammond@ucsc.edu> wrote:
>>
>> is there a way from the headers in the mailspool to see whether a message
>> as been read or not?
>
> For UNIX v7 ("mbox") mail files, if it has a Status: header, it's been
> read.

That depends on what you mean by "read".  Presence of a "Status:" header 
simply means it has been seen by mail client software.  In the context of 
qpopper, it means it has been uploaded to the mailbox owner's POP3 client 
software.  It doesn't mean he/she has actually read it.

-- 
Chip Old (Francis E. Old)             E-Mail:  fold@bcpl.net
Manager, BCPL Network Services        Phone:   410-887-6180
Manager, BCPL.NET Internet Services   FAX:     410-887-2091
320 York Road
Towson, MD 21204  USA

From: peter at netlink dot com dot au
Subject: Re: Mailspool headers
Date: Fri, 6 Aug 2004 10:24:27 +1000 (EST)

> 
> On Thu, 5 Aug 2004 16:27 -0500, David Champion wrote to John Hammond:
> 
> > * On 2004.08.05, in <312557230430162655364@lists.pensive.org>,
> > *	"John Hammond" <jhammond@ucsc.edu> wrote:
> >>
> >> is there a way from the headers in the mailspool to see whether a message
> >> as been read or not?
> >
> > For UNIX v7 ("mbox") mail files, if it has a Status: header, it's been
> > read.
> 
> That depends on what you mean by "read".  Presence of a "Status:" header 
> simply means it has been seen by mail client software.  In the context of 
> qpopper, it means it has been uploaded to the mailbox owner's POP3 client 
> software.  It doesn't mean he/she has actually read it.

The question that I (and I think the original poster) would like answered
(and maybe it has) is:
 Is there a way to tell if a message in the mail spool has been 'completely
 downloaded' by the user. In the context of the answers given (thanks, btw)
 does qpopper write that 'Status' header after the message has been
 successfully downloaded?
As Chip points out, we can't tell if they have read it or even if they
can read!
The qpopper log file, of course merely shows (in summary) that messages
have been deleted or left on the server...
 
Kind regards, Peter Vaskess
Netlink Connect

Date: Fri, 6 Aug 2004 08:31:00 -0700
From: John Hammond <jhammond at ucsc dot edu>
Subject: Re: Mailspool headers

I don't really care if the person actually read the message or if the 
person can read at all. I also don't care if the message has been 
removed from the server. When people decide to leave messages on the 
server(regardless of whether they should or not) I suspect there is a 
way to tell from the headers if that message has been downloaded from 
the server to the client. Whether qpopper leaves Status: behind is 
configurable and has not been configured as such for the mailspools 
that I want to look at. There are the logs but they are only 
maintained for 3 months. I would like to be able to say definitively 
when the last time the person downloaded mail was. I can't look at 
the status of the file itself because there are programs that touch 
the spool files.

My guess is that there is something in the X-UIDL: that will tell me 
the download status and then I can use the date of the message to 
complete the answer. Does anyone know if the X-UIDL contains this 
info? I believe there is a hashing algorithm that is used to create 
the X-UIDL, maybe not. Has anyone looked into this? written a script 
to decipher?


thanks for any help
John

At 10:24 AM +1000 8/6/04, peter@netlink.com.au wrote:
>  >
>>  On Thu, 5 Aug 2004 16:27 -0500, David Champion wrote to John Hammond:
>>
>>  > * On 2004.08.05, in <312557230430162655364@lists.pensive.org>,
>>  > *	"John Hammond" <jhammond@ucsc.edu> wrote:
>>  >>
>>  >> is there a way from the headers in the mailspool to see whether a message
>>  >> as been read or not?
>>  >
>>  > For UNIX v7 ("mbox") mail files, if it has a Status: header, it's been
>>  > read.
>>
>>  That depends on what you mean by "read".  Presence of a "Status:" header
>>  simply means it has been seen by mail client software.  In the context of
>>  qpopper, it means it has been uploaded to the mailbox owner's POP3 client
>>  software.  It doesn't mean he/she has actually read it.
>
>The question that I (and I think the original poster) would like answered
>(and maybe it has) is:
>  Is there a way to tell if a message in the mail spool has been 'completely
>  downloaded' by the user. In the context of the answers given (thanks, btw)
>  does qpopper write that 'Status' header after the message has been
>  successfully downloaded?
>As Chip points out, we can't tell if they have read it or even if they
>can read!
>The qpopper log file, of course merely shows (in summary) that messages
>have been deleted or left on the server...
>
>Kind regards, Peter Vaskess
>Netlink Connect


Date: Fri, 6 Aug 2004 11:25:57 -0600 (MDT)
From: The Little Prince <thelittleprince at asteroid-b612 dot org>
Subject: Re: Mailspool headers

how about the modtime of their .cache file?

--Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org

     "It's not easy bein' green..there's so many colors I'd rather be"
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Fri, 6 Aug 2004, John Hammond wrote:

> I don't really care if the person actually read the message or if the 
> person can read at all. I also don't care if the message has been 
> removed from the server. When people decide to leave messages on the 
> server(regardless of whether they should or not) I suspect there is a 
> way to tell from the headers if that message has been downloaded from 
> the server to the client. Whether qpopper leaves Status: behind is 
> configurable and has not been configured as such for the mailspools 
> that I want to look at. There are the logs but they are only 
> maintained for 3 months. I would like to be able to say definitively 
> when the last time the person downloaded mail was. I can't look at 
> the status of the file itself because there are programs that touch 
> the spool files.
> 
> My guess is that there is something in the X-UIDL: that will tell me 
> the download status and then I can use the date of the message to 
> complete the answer. Does anyone know if the X-UIDL contains this 
> info? I believe there is a hashing algorithm that is used to create 
> the X-UIDL, maybe not. Has anyone looked into this? written a script 
> to decipher?
> 
> 
> thanks for any help
> John
> 
> At 10:24 AM +1000 8/6/04, peter@netlink.com.au wrote:
> >  >
> >>  On Thu, 5 Aug 2004 16:27 -0500, David Champion wrote to John Hammond:
> >>
> >>  > * On 2004.08.05, in <312557230430162655364@lists.pensive.org>,
> >>  > *	"John Hammond" <jhammond@ucsc.edu> wrote:
> >>  >>
> >>  >> is there a way from the headers in the mailspool to see whether a message
> >>  >> as been read or not?
> >>  >
> >>  > For UNIX v7 ("mbox") mail files, if it has a Status: header, it's been
> >>  > read.
> >>
> >>  That depends on what you mean by "read".  Presence of a "Status:" header
> >>  simply means it has been seen by mail client software.  In the context of
> >>  qpopper, it means it has been uploaded to the mailbox owner's POP3 client
> >>  software.  It doesn't mean he/she has actually read it.
> >
> >The question that I (and I think the original poster) would like answered
> >(and maybe it has) is:
> >  Is there a way to tell if a message in the mail spool has been 'completely
> >  downloaded' by the user. In the context of the answers given (thanks, btw)
> >  does qpopper write that 'Status' header after the message has been
> >  successfully downloaded?
> >As Chip points out, we can't tell if they have read it or even if they
> >can read!
> >The qpopper log file, of course merely shows (in summary) that messages
> >have been deleted or left on the server...
> >
> >Kind regards, Peter Vaskess
> >Netlink Connect
> 
> 

Date: Fri, 6 Aug 2004 13:06:42 -0500
From: David Champion <dgc at uchicago dot edu>
Subject: Re: Mailspool headers

* On 2004.08.05, in <151049600034405523765@lists.pensive.org>,
*	"peter@netlink.com.au" <peter@netlink.com.au> wrote:
> 
>  Is there a way to tell if a message in the mail spool has been 'completely
>  downloaded' by the user. In the context of the answers given (thanks, btw)
>  does qpopper write that 'Status' header after the message has been
>  successfully downloaded?

Status: is often written by the MUA, and qpopper creates one if an
uploaded message doesn't have it already (i.e., the particular MUA in
question doesn't care about Status: headers).

Any message left in the spool after qpopper is done with it has been
uploaded -- the behavior is to delete them, unless the client re-uploads
them.

So within the scope of qpopper and delivery, any message in the mail
spool either has been uploaded from the client, and has a Status:
header; or it is new, and has never been seen by a POP client, and has
no Status: header.

Unless, as John points out, update-status-headers is set false in the
popper.conf file. Then qpopper doesn't touch them.

-- 
 -D.    dgc@uchicago.edu                               NSIT::ENSS
 The World Wide Web: proof that God exists, and is laughing at us.

Date: Fri, 6 Aug 2004 12:49:51 -0500
From: David Champion <dgc at uchicago dot edu>
Subject: Re: Mailspool headers

* On 2004.08.06, in <904281113845795559248@lists.pensive.org>,
*	"John Hammond" <jhammond@ucsc.edu> wrote:
> 
> My guess is that there is something in the X-UIDL: that will tell me 
> the download status and then I can use the date of the message to 
> complete the answer. Does anyone know if the X-UIDL contains this 
> info? I believe there is a hashing algorithm that is used to create 
> the X-UIDL, maybe not. Has anyone looked into this? written a script 
> to decipher?

OK, this seems to be a different question. Qpopper's X-UIDL is an MD5
hash. It's non-reversible. But an unseen (by the client) message doesn't
have an X-UIDL yet, so like Status: (if you aren't filtering those out),
it will tell you which messages have been read by the client. Literal
reading by a human being is outside the scope of the software, and I
make no effort to judge that.

Alternately, you should have cache files in your cache directory. If
this is not set in your popper.conf file, it's either configured at
compile time or is the same as your spool directory. Look for files
named ".username.cache" in that directory. Their mtimes tells you when
popper last checked mail for each respective user.

-- 
 -D.    dgc@uchicago.edu                               NSIT::ENSS
 The World Wide Web: proof that God exists, and is laughing at us.

Date: Fri, 06 Aug 2004 11:24:26 -0700
From: John Hammond <jhammond at ucsc dot edu>
Subject: Re: Mailspool headers


I was making it to complicated. If a X-UIDL exists for a message then it 
has been retrieved. So all I needs to do is parse for messages with X-UIDL 
's and look at the date.

thanks for the responses.

John




At 10:25 AM 8/6/2004, The Little Prince wrote:

>how about the modtime of their .cache file?
>
>--Tony
>.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
>Anthony J. Biacco                            Network Administrator/Engineer
>thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org
>
>      "It's not easy bein' green..there's so many colors I'd rather be"
>.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
>
>On Fri, 6 Aug 2004, John Hammond wrote:
>
> > I don't really care if the person actually read the message or if the
> > person can read at all. I also don't care if the message has been
> > removed from the server. When people decide to leave messages on the
> > server(regardless of whether they should or not) I suspect there is a
> > way to tell from the headers if that message has been downloaded from
> > the server to the client. Whether qpopper leaves Status: behind is
> > configurable and has not been configured as such for the mailspools
> > that I want to look at. There are the logs but they are only
> > maintained for 3 months. I would like to be able to say definitively
> > when the last time the person downloaded mail was. I can't look at
> > the status of the file itself because there are programs that touch
> > the spool files.
> >
> > My guess is that there is something in the X-UIDL: that will tell me
> > the download status and then I can use the date of the message to
> > complete the answer. Does anyone know if the X-UIDL contains this
> > info? I believe there is a hashing algorithm that is used to create
> > the X-UIDL, maybe not. Has anyone looked into this? written a script
> > to decipher?
> >
> >
> > thanks for any help
> > John
> >
> > At 10:24 AM +1000 8/6/04, peter@netlink.com.au wrote:
> > >  >
> > >>  On Thu, 5 Aug 2004 16:27 -0500, David Champion wrote to John Hammond:
> > >>
> > >>  > * On 2004.08.05, in <312557230430162655364@lists.pensive.org>,
> > >>  > *       "John Hammond" <jhammond@ucsc.edu> wrote:
> > >>  >>
> > >>  >> is there a way from the headers in the mailspool to see whether 
> a message
> > >>  >> as been read or not?
> > >>  >
> > >>  > For UNIX v7 ("mbox") mail files, if it has a Status: header, it's 
> been
> > >>  > read.
> > >>
> > >>  That depends on what you mean by "read".  Presence of a "Status:" 
> header
> > >>  simply means it has been seen by mail client software.  In the 
> context of
> > >>  qpopper, it means it has been uploaded to the mailbox owner's POP3 
> client
> > >>  software.  It doesn't mean he/she has actually read it.
> > >
> > >The question that I (and I think the original poster) would like answered
> > >(and maybe it has) is:
> > >  Is there a way to tell if a message in the mail spool has been 
> 'completely
> > >  downloaded' by the user. In the context of the answers given 
> (thanks, btw)
> > >  does qpopper write that 'Status' header after the message has been
> > >  successfully downloaded?
> > >As Chip points out, we can't tell if they have read it or even if they
> > >can read!
> > >The qpopper log file, of course merely shows (in summary) that messages
> > >have been deleted or left on the server...
> > >
> > >Kind regards, Peter Vaskess
> > >Netlink Connect
> >
> >



Date: Fri, 6 Aug 2004 14:38:50 -0500
From: David Champion <dgc at uchicago dot edu>
Subject: Re: Mailspool headers

* On 2004.08.06, in <20040806191824.GF27702@tikitechnologies.com>,
*	"Clifton Royston" <cliftonr@tikitechnologies.com> wrote:
> 
> Whoa there - unless I am completely brain-dead this morning (always a
> possibility) POP doesn't re-upload messages last I looked.

You're right. *I* woke up brain-dead this morning, and when someone
mentioned uploads in this thread I got confused, and began merging
notions from POP and local UNIX v7 mail file access.


> Deleting messages automatically on download is a qpopper option, and
> one not in use at the majority of sites.  (It's nice if you can make
> people think it works that way from the beginning, but once they get
> used to "leave-mail-on-server" and checking from multiple PCs it's very
> hard to get them to switch.)  Mostly messages get deleted via a
> specific DELE command in the POP session, as I remember from times doing
> telnet-level interactive sessions to debug popper.

FTR, I agree with this, except that it is my impression that most users
must take specific steps in their applications not to automatically
issue DELEs for each RETR. I.e., it's a client app issue more than a
protocol or server issue, and I think it's quite common.

Certainly I agree that once they're accustomed to it it's hard to break
the habit. That's why we had to do Happymail -- precisely to break that
habit. :)


> I am fairly sure it does not tell you whether that message was actually
> downloaded with the RETR command, which I think comes closest to what
> was asked.  AFAIK there is no guaranteed unique thing that will get set
> in a message after the POP RETR command has been executed on that
> message.  

I agree, but I haven't seen many POP (only one) clients that allow
individual message retrieval. Most just pull down all that they've
never seen before. Maybe this is more common than I realize.

-- 
 -D.    dgc@uchicago.edu                               NSIT::ENSS
 The World Wide Web: proof that God exists, and is laughing at us.

Date: Fri, 6 Aug 2004 09:18:24 -1000
From: Clifton Royston <cliftonr at lava dot net>
Subject: Re: Mailspool headers

[Resend - originally sent from wrong address for this list]

On Fri, Aug 06, 2004 at 01:06:42PM -0500, David Champion wrote:
> * On 2004.08.05, in <151049600034405523765@lists.pensive.org>,
> *	"peter@netlink.com.au" <peter@netlink.com.au> wrote:
> > 
> >  Is there a way to tell if a message in the mail spool has been 'completely
> >  downloaded' by the user. In the context of the answers given (thanks, btw)
> >  does qpopper write that 'Status' header after the message has been
> >  successfully downloaded?
> 
> Status: is often written by the MUA, and qpopper creates one if an
> uploaded message doesn't have it already (i.e., the particular MUA in
> question doesn't care about Status: headers).
> 
> Any message left in the spool after qpopper is done with it has been
> uploaded -- the behavior is to delete them, unless the client re-uploads
> them.

Whoa there - unless I am completely brain-dead this morning (always a
possibility) POP doesn't re-upload messages last I looked.
 
Deleting messages automatically on download is a qpopper option, and
one not in use at the majority of sites.  (It's nice if you can make
people think it works that way from the beginning, but once they get
used to "leave-mail-on-server" and checking from multiple PCs it's very
hard to get them to switch.)  Mostly messages get deleted via a
specific DELE command in the POP session, as I remember from times doing
telnet-level interactive sessions to debug popper.

Using presence of the X-UIDL flag in a message is a much better test;
however all that tells you for sure is that popper touched the
mailspool after that message was delivered.  

I am fairly sure it does not tell you whether that message was actually
downloaded with the RETR command, which I think comes closest to what
was asked.  AFAIK there is no guaranteed unique thing that will get set
in a message after the POP RETR command has been executed on that
message.  

  -- Clifton

-- 
          Clifton Royston  --  cliftonr@tikitechnologies.com 
         Tiki Technologies Lead Programmer/Software Architect
Did you ever fly a kite in bed?  Did you ever walk with ten cats on your head?
  Did you ever milk this kind of cow?  Well we can do it.  We know how.
If you never did, you should.  These things are fun, and fun is good.
                                                                 -- Dr. Seuss



Date: Sat, 7 Aug 2004 08:10:12 -0400 (EDT)
From: Alan Brown <alanb at digistar dot com>
Subject: Re: Mailspool headers

On Fri, 6 Aug 2004, John Hammond wrote:

>
> I was making it to complicated. If a X-UIDL exists for a message then it
> has been retrieved. So all I needs to do is parse for messages with X-UIDL
> 's and look at the date.

Messages forwarded from other systems may have X-UIDLs in them, as may
some spam.



Date: Thu, 19 Aug 2004 13:16:11 +0200
From: newsgroups <newsgroups at rig dot nl>
Subject: Question about Qpopper

Hy all,

I sure hope someone can help me with this.
We have one user that collects his mail using a phone line. When he tried 
to collect email I always saw him log in and after 120 sec he got 
a  timeout. this is the message he got:

Aug 19 11:15:43 mail in.qpopper[878]: henk.keilman at 195.240.251.127 
(195.240.251.127): -ERR [IN-USE] /var/spool/pop//.henk.keilman.pop lock 
busy!  Is another session active? (11) [pop_dropcopy.c:1546]
Aug 19 11:16:03 mail in.qpopper[882]: (v4.0.4) Unable to get canonical name 
of client 195.240.251.127: Unknown host (1) [pop_init.c:1075]

I added the settings for starting qpopper in inetd.conf : qpopper -S and 
-R. I already had qpopper -f /etc/qpopper.conf so now I got: qpopper -S -R 
-f /etc/qpopper.conf. I also changed the chunk thing in the 
qpopper.conf  to tls to give hime smaller packets. Now when he tried to 
logon he got:

Aug 19 12:49:07 mail in.qpopper[1555]: (v4.0.4) POP login by user "dmaurer" 
at (172.16.10.173) 172.16.10.173 [pop_log.c:244]
Aug 19 12:49:35 mail in.qpopper[1279]: I/O error writing to client 
henk.keilman at 195.241.232.185 [195.241.232.185]: Operation not permitted 
(1) [pop_send.c:732]
Aug 19 12:49:35 mail in.qpopper[1279]: I/O error flushing output to client 
henk.keilman at 195.241.232.185 [195.241.232.185]: Operation not permitted 
(1) [pop_send.c:689]
Aug 19 12:49:35 mail in.qpopper[1279]: henk.keilman at 195.241.232.185 
(195.241.232.185): -ERR POP hangup from mail.rig.nl [popper.c:813]

Can anybody help me with this problem? The computer is Debian with all 
update etc. Sendmail and Qpopper.

Thanks,

Kcid



Date: Thu, 19 Aug 2004 07:41:19 -0400 (EDT)
From: Alan Brown <alanb at digistar dot com>
Subject: Re: Question about Qpopper

On Thu, 19 Aug 2004, newsgroups wrote:

> this is the message he got:

His client timed out and broke the connection badly.

Increase collection timeouts

> Aug 19 11:15:43 mail in.qpopper[878]: henk.keilman at 195.240.251.127
> (195.240.251.127): -ERR [IN-USE] /var/spool/pop//.henk.keilman.pop lock
> busy!  Is another session active? (11) [pop_dropcopy.c:1546]

This will happen in such cases. AFter the server has determined the
client is no longer there (usually a 10 minute timeout) it will put the
temporary files back and remove the lockfile.


From: "Lisa Casey" <lisa at jellico dot net>
Subject: Re: Question about Qpopper
Date: Thu, 19 Aug 2004 09:05:32 -0400

Hi,

Most of these error messages you are seeing are addressed in the Qpopper FAQ
(an excellent document).

Lisa Casey


Date: Mon, 23 Aug 2004 11:50:32 -0500 (CDT)
From: Netlink Tech <tech at netlinkcom dot com>
Subject: hash2 dirs and using finger for mail status

Hello,

I am using qpopper 4.0.5 with hash2 (/var/spool/mail/u/s/username ) for 
mailboxes.

Previous to changing to hash2 mailboxes, I used finger to show my mailbox 
status (whether I had new mail or not).

I looked at cfingerd, but it appears to only support 
/var/spool/mail/username or qmail format.

Any suggestions on how to show a users mail status (new/lastread)?
It need not be finger...but any script that will accept a username as an 
input and output the status of their mailbox.

Thanks!


Date: Mon, 23 Aug 2004 12:53:42 -0600 (MDT)
From: The Little Prince <thelittleprince at asteroid-b612 dot org>
Subject: Re: hash2 dirs and using finger for mail status

try the msgchk program from the nmh package

--Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org

     "It's not easy bein' green..there's so many colors I'd rather be"
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Mon, 23 Aug 2004, Netlink Tech wrote:

> Hello,
> 
> I am using qpopper 4.0.5 with hash2 (/var/spool/mail/u/s/username ) for 
> mailboxes.
> 
> Previous to changing to hash2 mailboxes, I used finger to show my mailbox 
> status (whether I had new mail or not).
> 
> I looked at cfingerd, but it appears to only support 
> /var/spool/mail/username or qmail format.
> 
> Any suggestions on how to show a users mail status (new/lastread)?
> It need not be finger...but any script that will accept a username as an 
> input and output the status of their mailbox.
> 
> Thanks!
> 
> 

Date: Fri, 27 Aug 2004 15:39:47 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 4.0.6b1 available

Qpopper 4.0.6b1 is available at 
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/>.

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

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

This build should work much better on MacOS X.

Changes from 4.0.5 to 4.0.6b1:
----------------------------
  1.  Minor fixes for true64.
  2.  Patch from Uli Zappe to fix SCRAM compilation bugs.
  3.  Minor fixes for true64.
  4.  poppassd now runs smbpasswd as user, not root, to avoid exploit
  5.  Remove -traditional-cpp from the compiler options for Darwin
      builds (otherwise build fails)
  6.  Open stdout and stderr as O_WRONLY instead of O_RDONLY so that
      should anything actually be written to them it will show up
  7.  When configured as --with-pam and required,
      include <pam/pam_appl.h> instead of <security/pam_appl.h>
      (otherwise build fails)
  8.  strdup the pw.pw_name field from getpwnam so that it's still
      valid by the time genpath is called; also added corresponding
      free (without this fix when the bug manifests, clients are
      erroneously told there are 0 messages in the mail drop
      regardless of the actual number)
  9.  Add a pam bug workaround at the beginning of main to do a
      pam_start and pam_end immediately when the program starts up
      in order to avoid bogus authentication failed messages from
      pam_authenticate later (only when configured as --with-pam)
      [ Thanks to Kyle McKay for changes 5-9 ]

Date: Sat, 28 Aug 2004 07:24:16 -0700
From: Kenneth Porter <shiva at sewingwitch dot com>
Subject: Re: Qpopper 4.0.6b1 available

Just an FYI. I'm no longer using qpopper (I'm currently using dovecot with 
Fedora for its IMAP capability) so I'm no longer maintaining an RPM for it. 
If someone wants to take over keeping the spec file up to date, feel free. 
My last SRPM for 4.0.5 is still here:

<http://sewingwitch.com/ken/SRPMS/qpopper/>

Date: Sat, 28 Aug 2004 12:03:15 -0500
From: Karina <kgs at acabtu dot com dot mx>
Subject: Auto deletion

Hi all, i just installed qpopper 4 and i enabled auto deletion, but if i 
select "leave messages on server" on my email client, the email is not 
deleted. Shouldn't the autodeletion delete this email ?

Thanks for your help,

Karina Gomez


Date: Sun, 29 Aug 2004 16:41:28 +0200
From: Florian Effenberger <floeff at arcor dot de>
Subject: chained SSL certificates

Hello there,

has there already been done something about the problem with the chained 
SSL certificates? Qpopper doesn't accept/understand them. :-(

Thanks!
Florian

From: "Alan W dot  Rateliff, II" <lists at rateliff dot net>
Subject: RE: chained SSL certificates
Date: Sun, 29 Aug 2004 11:46:36 -0400

> -----Original Message-----
> From: Florian Effenberger [mailto:floeff@arcor.de] 
> Sent: Sunday, August 29, 2004 10:41 AM
> To: Subscribers of Qpopper
> Subject: chained SSL certificates
> 
> Hello there,
> 
> has there already been done something about the problem with 
> the chained 
> SSL certificates? Qpopper doesn't accept/understand them. :-(

Look through the mail archives on 8/3/04, a message from Pete "Wolfy"
Hanson, subject "Re: Qpopper, SSL and root certificates".

He describes a change made to the QPopper source which allows for the
chained certs.  No one else in the list has commented on his results.
Perhaps you can make the changes and confirm.

-- 
       Alan W. Rateliff, II        :       RATELIFF.NET
 Independent Technology Consultant :    alan2@rateliff.net
      (Office) 850/350-0260        :  (Mobile) 850/559-0100
-------------------------------------------------------------
[System Administration][IT Consulting][Computer Sales/Repair]

 


Date: Sun, 29 Aug 2004 18:07:21 +0200
From: Florian Effenberger <floeff at arcor dot de>
Subject: fetching messages from all IMAP folders via POP3

Hello there,

do you know of any option to fetch messages from all IMAP folders via 
POP3? Normally, only the file /var/spool/mail/username is retrieved via 
POP3. However, I would like POP3 to get files from the IMAP folder 
structure I have in /home/username/.imap/ as well.

Do you know of any possibility/POP3 server for doing that?

Thanks!
Florian


Date: Sun, 29 Aug 2004 19:05:44 +0200
From: Florian Effenberger <floeff at arcor dot de>
Subject: Re: chained SSL certificates

Hello Pete,
Hello list,

> Oops, sorry.  Here's a diff on the function:
> 
> 364,365c364,366
> <     nErr = SSL_CTX_use_certificate_chain_file ( pTLS->m_OpenSSLctx,
> <                                           pPOP->tls_server_cert_file) ;
> ---
> 
>>    nErr = SSL_CTX_use_certificate_file ( pTLS->m_OpenSSLctx,
>>                                          pPOP->tls_server_cert_file,
>>                                          SSL_FILETYPE_PEM );
> 
> 
> You want the top 2 lines.
> 

Thanks a lot, that seems to work! I found out that Thunderbird has no 
problems, even with the "unpatched" Qpopper, but Outlook does not work. 
With your patch it works fine.

Thanks a lot! :-)

Florian

Date: Sun, 29 Aug 2004 18:18:23 +0200
From: Florian Effenberger <floeff at arcor dot de>
Subject: Re: chained SSL certificates

Hello Pete,
Hello Alan,
Hello list,

> I don't  know if anything has been done about chain certs in the new
> release,  but I was able to get chained certs working with OpenSSL by
> changing the single call to SSL_CTX_use_certificate_file() in
> pop_tls_openssl.c to SSL_CTX_use_certificate_chain_file().  I then
> appended the intermediate cert from Thawte to the end of the cert.pem
> file (so there are 3 keys in the file).
> 
> I sent a note about this to one of the addresses listed on the
> qualcomm site, but I have no idea if anybody ever got it.

I tried the change, but I receive:

gcc -c -I.. -I.. -I. \
         -I../mmangle -I../common -I/usr/local/ssl/include \
         -g -O2 -DHAVE_CONFIG_H  -DLINUX -DUNIX pop_tls_openssl.c -o 
pop_tls_openssl.o
pop_tls_openssl.c: In function `openssl_init':
pop_tls_openssl.c:366: too many arguments to function 
`SSL_CTX_use_certificate_chain_file'
make[1]: *** [pop_tls_openssl.o] Fehler 1
make[1]: Leaving directory `/root/qpopper4.0.5.sslpatch/popper'
make: *** [popper_server] Fehler 2

I was unable to find a list archive, so could you please tell me the 
exact change you've made? :-)

Thanks!
Florian

Date: Sun, 29 Aug 2004 11:53:27 -0600 (MDT)
From: The Little Prince <thelittleprince at asteroid-b612 dot org>
Subject: Re: fetching messages from all IMAP folders via POP3


i know this isn't an answer, but WHY would you want to do that?
it's kind of like asking, does anyone know how to get the mysql server 
to serve ms-sql databases instead?

--Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org

     "It's not easy bein' green..there's so many colors I'd rather be"
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Sun, 29 Aug 2004, Florian Effenberger wrote:

> Hello there,
> 
> do you know of any option to fetch messages from all IMAP folders via 
> POP3? Normally, only the file /var/spool/mail/username is retrieved via 
> POP3. However, I would like POP3 to get files from the IMAP folder 
> structure I have in /home/username/.imap/ as well.
> 
> Do you know of any possibility/POP3 server for doing that?
> 
> Thanks!
> Florian
> 
> 

Date: Sun, 29 Aug 2004 20:36:50 +0200
From: Florian Effenberger <floeff at arcor dot de>
Subject: Re: fetching messages from all IMAP folders via POP3

Hi,

> is there some reason you just didn't start with a pop3 server and pop3 
> webmail, if this is what you wanted? just curious

With most webmail systems you have the "folder problem" nontheless. 
Messages moved out of the inbox into a folder are not accessible via 
POP3 anymore.

Florian

Date: Sun, 29 Aug 2004 20:13:51 +0200
From: Florian Effenberger <floeff at arcor dot de>
Subject: Re: fetching messages from all IMAP folders via POP3

Hi there,

> i know this isn't an answer, but WHY would you want to do that?
> it's kind of like asking, does anyone know how to get the mysql server 
> to serve ms-sql databases instead?

I want to use webmail and a local mail client parallel. As soon as the 
webmail filters into folders, POP3 cannot fetch the messages anymore. 
However, IMAP is "bad" for me because I woul like to have all messages 
fetched from the server and then have them deleted immediately from 
there, which seems to be impossible with current IMAP clients without a 
lot of hassle... :-(

Florian

Date: Sun, 29 Aug 2004 12:35:01 -0600 (MDT)
From: The Little Prince <thelittleprince at asteroid-b612 dot org>
Subject: Re: fetching messages from all IMAP folders via POP3

is there some reason you just didn't start with a pop3 server and pop3 
webmail, if this is what you wanted? just curious

--Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco                            Network Administrator/Engineer
thelittleprince@asteroid-b612.org              http://www.asteroid-b612.org

     "It's not easy bein' green..there's so many colors I'd rather be"
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.

On Sun, 29 Aug 2004, Florian Effenberger wrote:

> Hi there,
> 
> > i know this isn't an answer, but WHY would you want to do that?
> > it's kind of like asking, does anyone know how to get the mysql server 
> > to serve ms-sql databases instead?
> 
> I want to use webmail and a local mail client parallel. As soon as the 
> webmail filters into folders, POP3 cannot fetch the messages anymore. 
> However, IMAP is "bad" for me because I woul like to have all messages 
> fetched from the server and then have them deleted immediately from 
> there, which seems to be impossible with current IMAP clients without a 
> lot of hassle... :-(
> 
> Florian
> 

Last updated on 29 Aug 2004 by Pensive Mailing List Admin