The qpopper list archive ending on 17 Jul 2000
Topics covered in this issue include:
1. Re: qpopper/sendmail and system loading
Reinhard Zierke <zierke at informatik.uni-hamburg dot de>
Mon, 3 Jul 2000 08:56:51 +0200
2. RE: maillock error but the user is NOT over the disk quota
Micha Borrmann <micha at tli dot de>
Tue, 4 Jul 2000 13:21:06 +0200
3. Error in Eudora
Rodrigo Luiz Anami <rodrigoa at bestway.com dot br>
Tue, 04 Jul 2000 13:09:38 -0300
4. Re: Error in Eudora
Greg Strange <gstrange at e-tsi dot com>
Tue, 04 Jul 2000 15:54:44 -0500
5. Re: qpopper 3.02 makes my sendmail reject connections
PM WONG <pmwong at power25t.hkbu.edu dot hk>
Wed, 5 Jul 2000 14:38:00 +0800 (HKT)
6. Re: qpopper 3.02 makes my sendmail reject connections
Alan Brown <alan at manawatu.gen dot nz>
Wed, 5 Jul 2000 18:54:03 +1200 (NZST)
7. qpopper and maildir ?
Micha Borrmann <micha at tli dot de>
Wed, 5 Jul 2000 17:29:20 +0200
8. Re: Error in Eudora
Qpopper Support <qpopper at qualcomm dot com>
Wed, 5 Jul 2000 18:23:29 -0700
9. Re: retreiving POP3 mailbox as a file
"A. M. Salim" <salim at localweb dot com>
Wed, 5 Jul 2000 23:10:28 -0400 (EDT)
10. Re: retreiving POP3 mailbox as a file
Ken Hornstein <kenh at cmf.nrl.navy dot mil>
Wed, 05 Jul 2000 23:12:24 -0400
11. Re: retreiving POP3 mailbox as a file
Ben Elliston <bje at redhat dot com>
Thu, 6 Jul 2000 13:19:33 +1000 (EST)
12. Re: retreiving POP3 mailbox as a file
"A. M. Salim" <salim at localweb dot com>
Wed, 5 Jul 2000 23:44:33 -0400 (EDT)
13. From handling bug???
Francois Gouget <fgouget at psn dot net>
Wed, 5 Jul 2000 23:59:59 -0700 (PDT)
14. Re: From handling bug???
Stephen Samuel <samuel at bcgreen dot com>
Thu, 06 Jul 2000 00:31:38 -0700
15. Re: retreiving POP3 mailbox as a file
Joseph S D Yao <jsdy at cospo.osis dot gov>
Thu, 6 Jul 2000 13:16:28 -0400
16. Cannot compile 3.1b4
Ken Hornstein <kenh at cmf.nrl.navy dot mil>
Thu, 06 Jul 2000 16:37:26 -0400
17. Re: Cannot compile 3.1b4
"Kenneth Porter" <shiva at well dot com>
Thu, 06 Jul 2000 14:19:41 -0700
18. Re: Cannot compile 3.1b4
Ken Hornstein <kenh at cmf.nrl.navy dot mil>
Thu, 06 Jul 2000 17:42:53 -0400
19. RE: Cannot compile 3.1b4
"Ben Hyatt" <benski at pacbell dot net>
Thu, 6 Jul 2000 14:47:48 -0700
20. Re: Cannot compile 3.1b4
Ken Hornstein <kenh at cmf.nrl.navy dot mil>
Thu, 06 Jul 2000 17:48:28 -0400
21. Re: From handling bug???
Randall Gellens <randy at qualcomm dot com>
Thu, 6 Jul 2000 17:13:02 -0700
22. Re: Cannot compile 3.1b4
Qpopper Support <qpopper at qualcomm dot com>
Thu, 6 Jul 2000 17:14:51 -0700
23. authentication
"Eric B. Leslie" <Repetio at flashcom dot net>
Thu, 06 Jul 2000 17:25:41 -0700
24. Re: retreiving POP3 mailbox as a file
Ben Elliston <bje at redhat dot com>
Fri, 7 Jul 2000 11:49:30 +1000 (EST)
25. pop server load balancing
"James Nelson" <james at digit.bloomnet dot com>
Thu, 6 Jul 2000 21:13:03 -0500
26. Re: pop server load balancing
Peter Evans <peter at gol dot com>
Fri, 7 Jul 2000 12:38:25 +0900
27. Re: From handling bug???
Francois Gouget <fgouget at psn dot net>
Thu, 6 Jul 2000 21:14:51 -0700 (PDT)
28. Re: From handling bug???
Randall Gellens <randy at qualcomm dot com>
Thu, 6 Jul 2000 22:23:23 -0700
29. Re: pop server load balancing
Fergal Daly <fergal at esatclear dot ie>
Fri, 07 Jul 2000 11:57:10 +0100
30. lost mail. help?
Admin Mailing Lists <mlist at intergrafix dot net>
Wed, 12 Jul 2000 09:08:20 -0400 (EDT)
31. Re: lost mail. help?
Butch Kemper <kemper at tstar dot net>
Wed, 12 Jul 2000 12:47:56 -0500
32. Re: lost mail. help?
Admin Mailing Lists <mlist at intergrafix dot net>
Wed, 12 Jul 2000 14:07:55 -0400 (EDT)
33. Re: lost mail. help?
Randall Gellens <randy at qualcomm dot com>
Wed, 12 Jul 2000 12:18:52 -0700
34. Re: lost mail. help?
Admin Mailing Lists <mlist at intergrafix dot net>
Wed, 12 Jul 2000 15:42:01 -0400 (EDT)
35. Can't POP mail
"Lisa Casey" <lisa at jellico dot com>
Thu, 13 Jul 2000 22:46:03 -0400
36. Re: New version of Cyrus-SASL patches
Kenichi Okada <okada at opaopa dot org>
Fri, 14 Jul 2000 18:43:29 +0900
37. Qpopper 3.1b5 available
Randall Gellens <randy at qualcomm dot com>
Fri, 14 Jul 2000 22:58:26 -0700
38. Re: lost mail. help?
Qpopper Support <qpopper at qualcomm dot com>
Sat, 15 Jul 2000 00:24:45 -0700
39. Re: Can't POP mail
Randall Gellens <randy at qualcomm dot com>
Sat, 15 Jul 2000 00:31:49 -0700
40. Re: Can't POP mail
"ganizani" <ganizani at malawi dot net>
Sat, 15 Jul 2000 15:43:50 +0200
41. Re: Can't POP mail
Fergal Daly <fergal at esatclear dot ie>
Sat, 15 Jul 2000 14:52:32 +0100
42. Re: Can't POP mail
Enric Pujol <epujol at drac dot com>
Sat, 15 Jul 2000 20:33:33 +0200 (CEST)
43. POP Before SMTP
"Ian Scott" <weehughie at home dot com>
Sun, 16 Jul 2000 13:15:22 -0400
44. Re: POP Before SMTP
Steven Champeon <schampeo at hesketh dot com>
Sun, 16 Jul 2000 13:07:41 -0400
45. qpopper and maildir format
Stuart Clark <sclark at tpg.com dot au>
Mon, 17 Jul 2000 18:33:40 +1000
46. [Fwd: QPopper behavior with Content-Lenth header.]
Carles Xavier Munyoz =?iso-8859-1?Q?Baldó?=
Mon, 17 Jul 2000 12:23:59 +0200
47. secure pop3?
"Jack Barnett" <jbarnett at axil.netmate dot com>
Mon, 17 Jul 2000 08:55:32 -0500
48. Re: secure pop3?
"John M. Ostrowick" <jon at cs.wits.ac dot za>
Mon, 17 Jul 2000 16:05:05 +0200 (SAST)
49. Re: secure pop3?
"Jack Barnett" <jbarnett at axil.netmate dot com>
Mon, 17 Jul 2000 09:10:30 -0500
50. nis & user id
"James Raftery" <jrtest at spec.ch.man.ac dot uk>
Mon, 17 Jul 2000 15:19:54 +0100
Date: Mon, 3 Jul 2000 08:56:51 +0200
From: Reinhard Zierke <zierke at informatik.uni-hamburg dot de>
Subject: Re: qpopper/sendmail and system loading
On Fri, Jun 30, 2000 at 12:09:43PM -0400, Dan Scoggins wrote:
> I need some help with what appears to be an overloaded system.
>
> The system environment: enterprise ultra 10, 1 GB memory, 2 18GB eide
> drives, FDDI, Solaris 7, qpopper 2.53 compiled in server mode, sendmail
> 8.9.3. It provides pop mail and smtp in/out. The user community,
> totaling 1500+ users, tends to leave mail on the server from a couple of
> days to months at a time. This has produced rather large mailboxes.
> ...
> The problem: the system will run fine for several days, then a heavy
> sendmail load will hit the server ...
We had similar problems with our Ultra 10 mail server and quite long
response times. The main problem seems to be the architecture of the
Ultra 10: The IDE disks and the network interface are on the same PCI
controller. So you can have either network access or disk access at
any given time. Maybe good enough for a user workstation but not at all
for a server...
After replacing the IDE disks with two mirrored SCSI disks the performance
was *much* better.
Reinhard
--
Reinhard Zierke Universität Hamburg, FB Informatik
zierke at informatik.uni-hamburg dot de Vogt-Kölln-Straße 30, D-22527 Hamburg
postmaster at informatik.uni-hamburg dot de Tel.: (040) 42883-2295/2276 Fax: -2241
From: Micha Borrmann <micha at tli dot de>
Subject: RE: maillock error but the user is NOT over the disk quota
Date: Tue, 4 Jul 2000 13:21:06 +0200
> At 6:43 PM +0200 6/28/00, Micha Borrmann wrote:
>
> > to improve the security and the performance of our POP3 Server, I was
> > upgrade from version 2.53 without servermode to 3.0.2 with servermode
> some
> > weeks ago. The system is using HOMEDIRMAIL and quotas for the
> > homedirectories.
> >
> > But I can see problems, if the mailbox is near on the quota limit. If
> the
> > limit is not reached (but maybe filled up to 99%), then I can send some
> > short eMails to the account, but if I try to read the mails with pop3,
> then
> > I get:
> >
> > Connected to xxx.yyy.zzz.
> > Escape character is '^]'.
> > +OK QPOP (version ?) at XXX.YYY.ZZZ starting.
> > user abcdefg
> > +OK Password required for abcdefg.
> > pass XXXXXXX
> > -ERR [SYS/TEMP] maillock error 3: '/home/abcdefg/.mail'
> >
> > I was reading the FAQ, but the user is NOT over the disk quota. Its
> > possible, to deliver a short mail , and the .mail file is increasing
> without
> > errors. The spool disk (the system is using a separate disk area for
> tmp
> > files, --enable-temp-drop-dir was set) has also enough free space.
> >
> > I was tested, the system byte for byte. I have seen, that the user has
> free
> > space on his quota for 8kByte, but the popper is sending the maillock
> error
> > (but some mails can use this area which was delivered with the MTA
> > correctly).
>
> Maillock error 3 means Qpopper got an error when it tried to write
> its PID into the lock file. If you check the log, there should be a
> more detailed error message in there, of the form "write to
> newly-created lock file ... failed ..." that specifies the exact
> error.
>
I was putting on the debug mode and I can see:
Fri Jun 30 15:21:24 2000 [8784] Getting mail lock
[pop_dropcopy.c:1450]
Fri Jun 30 15:21:24 2000 [8784] genpath Spool (1) for user abcdefg
returning /home/abcdefg/.mail [genpath.c:382]
Fri Jun 30 15:21:24 2000 [8784] successfully opened (exclusive) lock
/home/abcdefg/.mail.lock [maillock.c:357]
Fri Jun 30 15:21:24 2000 [8784] write to newly-created lock file
/home/abcdefg/.mail.lock failed: Disc quota exceeded (21) [maillock.c:408]
then I was checked the disk quota in detail, and I was see, that the
blockquota was reached. A new file for the lock can't be written, but why?
Short files (up to 64 Bytes) are stored in the inode directly. Some short
files doesn't use the quota blocks. The user can create a lot of short files
(if the quota is reached) and the .mail.lock file is only 22 Bytes long (or
shorter if the PID is smaller than 10.000). The user can also create a
.mail.lock file manually in this directory without any error.
Why failes the creation of the .mail.lock file by qpopper?
Can I store the .mail.lock file in a different directory, f.e. in
the TMPSPOOL directory, called POP_DROP_DIR in config.h?
Bye,
Micha
Date: Tue, 04 Jul 2000 13:09:38 -0300
From: Rodrigo Luiz Anami <rodrigoa at bestway.com dot br>
Subject: Error in Eudora
Hi there !
Anyone knows what means this error:
<Dominant>, Shutting down POP connection, QUIT [12:38:13 PM}
There has been an error transfering your mail. I said: QUIT and then the=
POP server (rodrigoa at pop.bestway.com dot br) said: ERR maillock error 4 on
'/usr/spool/mail/.rodrigoa.pop': File exists (17)
We are using qpopper 3.0.2 and sometimes my Eudora return this error. I put=
it in automatic checks with interval of 3 min.
It's weird because Eudora is putting an QUIT command, not a USER/PASS=
command.
[]'s
_________________________________________________________________
Eng° Rodrigo Luiz Anami rodrigoa at bestway.com dot br
Administrador de Sistemas Voz:(19) 736 3721 Cel:(19) 9123 9995
Best Way Internet Provider (19) 736 3700 (Campinas)
http://www.bestway.com.br (19) 736 3727 (FAX)
webmaster at bestway.com dot br 0800 112262 (Outras Localidades)
Date: Tue, 04 Jul 2000 15:54:44 -0500
Subject: Re: Error in Eudora
From: Greg Strange <gstrange at e-tsi dot com>
on 7/4/00 11:09 AM, Rodrigo Luiz Anami at rodrigoa at bestway.com dot br wrote:
> Hi there !
>
> Anyone knows what means this error:
>
> <Dominant>, Shutting down POP connection, QUIT [12:38:13 PM}
> There has been an error transfering your mail. I said: QUIT and then the
> POP server (rodrigoa at pop.bestway.com dot br) said: ERR maillock error 4 on
> '/usr/spool/mail/.rodrigoa.pop': File exists (17)
>
> We are using qpopper 3.0.2 and sometimes my Eudora return this error. I put
> it in automatic checks with interval of 3 min.
>
> It's weird because Eudora is putting an QUIT command, not a USER/PASS command.
>
>
> []'s
On the other Solaris list I am on this showed to be a lock error on the size
of the mailbox for the user. Is your mailbox full? This was a sendmail
issue specifically. I didn't see any errors form qpopper but then that list
was not made to answer q's about qpopper.
Hope that Helps,
Greg Strange
Date: Wed, 5 Jul 2000 14:38:00 +0800 (HKT)
From: PM WONG <pmwong at power25t.hkbu.edu dot hk>
Subject: Re: qpopper 3.02 makes my sendmail reject connections
> On Fri, 30 Jun 2000, PM WONG wrote:
>
> > > Why is it rejecting connections? Load average? Too many child processes?
> > > Disk space?
>
> > Forgive me for being a newbie in sendmail.
> > How do i check the reason for it being in the state of
> > "Rejecting Connections"
>
> > (In actual fact when i did the ps -ef | grep sendmail command,
> > it appeared quite normal, i.e. just very few sendmail processes
> > being spawn, and the load average was not high either)
>
> It depends on your OS, but if sendmail is rejecting connections, it
> should be saying why when viewed with ps unless you have a very old
> sendmail.
This is the output from my ps -ef | grep sendmail command
root 21444 1 0 14:38:15 - 0:00 sendmail: OAA34230: from queue
22604 1 0 14:32:35 - 0:00 sendmail: rejecting connections on
port 25: load average: 14
root 37004 1 0 14:37:53 - 0:00 [sendmail]
root 39494 1 0 14:37:14 - 0:00 sendmail: OAA15426: from queue
root 40762 22604 0 14:34:49 - 0:00 sendmail:server net2.hkbu.edu.hk
[158.182.4.9] cmd read
It appeared okay , wasn't it ?
>
> Try adding one or more -x switches to widen the displayed text field
>
What exactly are the flags to add to the ps command to have a
more detailed look ?
Date: Wed, 5 Jul 2000 18:54:03 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: qpopper 3.02 makes my sendmail reject connections
On Wed, 5 Jul 2000, PM WONG wrote:
> > > > Why is it rejecting connections? Load average? Too many child processes?
> > > > Disk space?
> > It depends on your OS, but if sendmail is rejecting connections, it
> > should be saying why when viewed with ps unless you have a very old
> > sendmail.
> This is the output from my ps -ef | grep sendmail command
> 22604 1 0 14:32:35 - 0:00 sendmail: rejecting connections on
> port 25: load average: 14
There's your problem.
A load average of 14 is _very_ high.
> It appeared okay , wasn't it ?
Looks OK. It's providing enough detail to see why sendmail is refusing
connections.
Now you need to find out what's causing the high load, or increase your
QueueLA and RefuseLA parameters - this may just result in the machine
spiralling into the ground if things are bad.
Try running top as a first step. If you don't have enough memory, heavy
swapping may be the cause of your problems.
> > Try adding one or more -x switches to widen the displayed text field
> >
> What exactly are the flags to add to the ps command to have a
> more detailed look ?
Again, that depends on the operating system and version of ps. You
need to read the man pages.
AB
--
How secure are hosts in _your_ network? Http://www.orbs.org/admins.html
ORBS - it's not just for filters.
From: Micha Borrmann <micha at tli dot de>
Subject: qpopper and maildir ?
Date: Wed, 5 Jul 2000 17:29:20 +0200
Hello,
can qpopper access mailboxes, they are stored in MAILDIR format? This
mailbox format is used by qmail (and other MTA) and is stored each mail in a
seperate file instead the mbox format, what is stored all eMails in one
file.
qmail has his own pop3 daemon, but I like the bulltin feature of qpopper and
for this reason it would be nice, if qpopper can read such mailboxes.
Thanks,
Micha
Date: Wed, 5 Jul 2000 18:23:29 -0700
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: Error in Eudora
At 1:09 PM -0300 7/4/00, Rodrigo Luiz Anami wrote:
> Hi there !
>
> Anyone knows what means this error:
>
> <Dominant>, Shutting down POP connection, QUIT [12:38:13 PM}
> There has been an error transfering your mail. I said: QUIT
> and then the POP server (rodrigoa at pop.bestway.com dot br) said: ERR
> maillock error 4 on '/usr/spool/mail/.rodrigoa.pop': File exists
> (17)
>
> We are using qpopper 3.0.2 and sometimes my Eudora return this
> error. I put it in automatic checks with interval of 3 min.
>
> It's weird because Eudora is putting an QUIT command, not a
> USER/PASS command.
Maillock error 4 means the lock is in use. QPopper locks the spool
at the start and again at the end of the session. It appears that
another process had the spool locked when Qpopper tried to lock it
after the QUIT was issued. Probably Qpopper should be somewhat
more patient at the end of the session. I'll put in a patch for
this in 3.1b5.
Date: Wed, 5 Jul 2000 23:10:28 -0400 (EDT)
From: "A. M. Salim" <salim at localweb dot com>
Subject: Re: retreiving POP3 mailbox as a file
Hi all,
this is more a question on POP3 protocol than qpopper but if anyone knows
the answer you guys do :-)
Is there a POP3 command or method to download an entire POP3 mailbox as a
file? I am familiar with how to telnet to port 110, enter the USER and
PASS commands. and execute a RETR commands to retrieve one message at a
time. I have a mailbox on a system I do not have any access to other than
POP3 (it's on an external service) and it has 1500 messages in it that I
want to download in one fell swoop.
TIA and regards
Mike Salim.
Subject: Re: retreiving POP3 mailbox as a file
Date: Wed, 05 Jul 2000 23:12:24 -0400
From: Ken Hornstein <kenh at cmf.nrl.navy dot mil>
>Is there a POP3 command or method to download an entire POP3 mailbox as a
>file?
Nope. You really have to do them all individually.
There are a number of POP3 tools you could use that would help you with
this; many people recommend fetchmail or gwpop.
--Ken
Date: Thu, 6 Jul 2000 13:19:33 +1000 (EST)
From: Ben Elliston <bje at redhat dot com>
Subject: Re: retreiving POP3 mailbox as a file
Hi,
Is there a POP3 command or method to download an entire POP3 mailbox
as a file? I am familiar with how to telnet to port 110, enter the
USER and PASS commands. and execute a RETR commands to retrieve one
message at a time. I have a mailbox on a system I do not have any
access to other than POP3 (it's on an external service) and it has
1500 messages in it that I want to download in one fell swoop.
Your best bet would be to use fetchmail.
Another method would be to use expect and telnet to script up something to
fetch all the messages, but then you'd have just about written "fetchmail".
;-)
Hope this helps.
Ben
Date: Wed, 5 Jul 2000 23:44:33 -0400 (EDT)
From: "A. M. Salim" <salim at localweb dot com>
Subject: Re: retreiving POP3 mailbox as a file
Hi,
> >Is there a POP3 command or method to download an entire POP3 mailbox as a
> >file?
> Nope. You really have to do them all individually.
> There are a number of POP3 tools you could use that would help you with
> this; many people recommend fetchmail or gwpop.
Thanks guys! I will look into using fetchmail or qwpop
best regards
Mike
Date: Wed, 5 Jul 2000 23:59:59 -0700 (PDT)
From: Francois Gouget <fgouget at psn dot net>
Subject: From handling bug???
From me
To You
The Beatles
What does the above look like on your machine?
Does it look like:
| >From me
| To You
| The Beatles
or
| From me
| To You
| The Beatles
The latter is what I typed but since I switched to qpopper I seem to
be getting the former instead. Did anyone else using qpopper get
this extra '>'?
This extra '>' is not there in the mail spool. Also, strangely, I
never had any problem with 'To'.
The thing that makes diagnosis a bit more complex for me is that I
changed both the pop server, the sendmail version and the OS at once
(switched to a new machine), and it does not seem to be absolutely
systematic. But I managed to reproduce this with both Netscape and
Outlook clients and since the spool file seems fine I suspect qpopper to
be the source of the trouble.
Is there a qpopper expert would could confirm/infirm this, tell me
if I'm on the right track, or maybe even have a patch ready?
`
I'm using:
- qpopper: 2.53
- sendmail 8.9
- Outlook: 97
- Netscape 4.6
As an aside, I patched my qpopper server to include support for DRAC
(http://mail.cc.umanitoba.ca/drac/). It looked like to me that this
would no longer be necessary with qpopper 3.0. Is that right?
--
Francois Gouget fgouget at free.fr http://fgouget.free dot fr/
Good judgment comes from experience, and experience comes from bad judgment
-- Barry LePatner
Date: Thu, 06 Jul 2000 00:31:38 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: From handling bug???
When email is stored in a single monolithic file, emails are
separated by :
A blank line
A line starting with 'From '
To prevent confusing mail readers, these emails are usually stored
with a leading '>' before the From to keep from breaking the store.
I don't know if the protocols state that it would be Qpopper's
responsibility or your reader's responsibility to delete the
leading '>'.
Francois Gouget wrote:
>
> >From me
> To You
> The Beatles
>
> What does the above look like on your machine?
> Does it look like:
> | >From me
> | To You
> | The Beatles
> or
> | From me
> | To You
> | The Beatles
>
> The latter is what I typed but since I switched to qpopper I seem to
> be getting the former instead. Did anyone else using qpopper get
> this extra '>'?
>
> This extra '>' is not there in the mail spool. Also, strangely, I
> never had any problem with 'To'.
> The thing that makes diagnosis a bit more complex for me is that I
> changed both the pop server, the sendmail version and the OS at once
> (switched to a new machine), and it does not seem to be absolutely
> systematic. But I managed to reproduce this with both Netscape and
> Outlook clients and since the spool file seems fine I suspect qpopper to
> be the source of the trouble.
> Is there a qpopper expert would could confirm/infirm this, tell me
> if I'm on the right track, or maybe even have a patch ready?
> `
> I'm using:
> - qpopper: 2.53
> - sendmail 8.9
> - Outlook: 97
> - Netscape 4.6
>
> As an aside, I patched my qpopper server to include support for DRAC
> (http://mail.cc.umanitoba.ca/drac/). It looked like to me that this
> would no longer be necessary with qpopper 3.0. Is that right?
>
> --
> Francois Gouget fgouget at free.fr http://fgouget.free dot fr/
> Good judgment comes from experience, and experience comes from bad judgment
> -- Barry LePatner
--
Stephen Samuel +1(604)876-0426 samuel at bcgreen dot com
http://www.bcgreen.com/~samuel/
The question, for this world, is not "will I die?".
It is, rather, "how will I live?".
Date: Thu, 6 Jul 2000 13:16:28 -0400
From: Joseph S D Yao <jsdy at cospo.osis dot gov>
Subject: Re: retreiving POP3 mailbox as a file
On Wed, Jul 05, 2000 at 11:10:28PM -0400, A. M. Salim wrote:
...
> Is there a POP3 command or method to download an entire POP3 mailbox as a
> file? ...
Is there any reason to rely on the POP3 protocol? Why not just FTP,
rcp, or scp it?
--
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: Cannot compile 3.1b4
Date: Thu, 06 Jul 2000 16:37:26 -0400
From: Ken Hornstein <kenh at cmf.nrl.navy dot mil>
Has anyone been able to compile 3.1b4? I ask because the Solaris unbundled
C compiler chokes on it because mmangle/utils.h prototypes BOOL as a int,
but common/string_util.h prototypes BOOL as an enumerated type (and
pop_config.c includes them both, since popper.h now includes string_util.h).
I'm not really sure what the right solution is.
--Ken
From: "Kenneth Porter" <shiva at well dot com>
Date: Thu, 06 Jul 2000 14:19:41 -0700
Subject: Re: Cannot compile 3.1b4
On Thu, 06 Jul 2000 16:37:26 -0400, Ken Hornstein wrote:
>Has anyone been able to compile 3.1b4? I ask because the Solaris unbundled
>C compiler chokes on it because mmangle/utils.h prototypes BOOL as a int,
>but common/string_util.h prototypes BOOL as an enumerated type (and
>pop_config.c includes them both, since popper.h now includes string_util.h).
I've got it working on RH Linux 6.1, but perhaps I'm using different
config options than you. What's your configure command line?
I've confirmed the conflicting BOOL definitions but didn't check
conditionals to see why I didn't have a problem.
Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
Subject: Re: Cannot compile 3.1b4
Date: Thu, 06 Jul 2000 17:42:53 -0400
From: Ken Hornstein <kenh at cmf.nrl.navy dot mil>
>>Has anyone been able to compile 3.1b4? I ask because the Solaris unbundled
>>C compiler chokes on it because mmangle/utils.h prototypes BOOL as a int,
>>but common/string_util.h prototypes BOOL as an enumerated type (and
>>pop_config.c includes them both, since popper.h now includes string_util.h).
>
>I've got it working on RH Linux 6.1, but perhaps I'm using different
>config options than you. What's your configure command line?
Sigh, I'm dumb. I see now this was because there are _two_ utils.h
and because of the changes that I'm working on integrating, the wrong
one is getting included. (I think that it's rather silly that there
are two include files with the same name, but I suppose that's a
seperate issue :-/).
Sorry for crying wolf here.
--Ken
From: "Ben Hyatt" <benski at pacbell dot net>
Subject: RE: Cannot compile 3.1b4
Date: Thu, 6 Jul 2000 14:47:48 -0700
Maybe try using gcc instead?
get the pkg from http://www.sunfreeware.com
or grab from http://www.gnu.org/software/gcc/gcc.html
-=Ben=-
> -----Original Message-----
> From: Kenneth Porter [mailto:shiva at well dot com]
> Sent: Thursday, July 06, 2000 2:20 PM
> To: Subscribers of Qpopper
> Subject: Re: Cannot compile 3.1b4
>
>
> On Thu, 06 Jul 2000 16:37:26 -0400, Ken Hornstein wrote:
>
> >Has anyone been able to compile 3.1b4? I ask because the
> Solaris unbundled
> >C compiler chokes on it because mmangle/utils.h prototypes BOOL as a int,
> >but common/string_util.h prototypes BOOL as an enumerated type (and
> >pop_config.c includes them both, since popper.h now includes
> string_util.h).
>
> I've got it working on RH Linux 6.1, but perhaps I'm using different
> config options than you. What's your configure command line?
>
> I've confirmed the conflicting BOOL definitions but didn't check
> conditionals to see why I didn't have a problem.
>
> Ken
> mailto:shiva at well dot com
> http://www.sewingwitch.com/ken/
> http://www.harrybrowne2000.org/
>
>
Subject: Re: Cannot compile 3.1b4
Date: Thu, 06 Jul 2000 17:48:28 -0400
From: Ken Hornstein <kenh at cmf.nrl.navy dot mil>
Argh, I'm hanging my head in shame here.
The fault is completely mine; I didn't remove the _old_ utils.h from
my CVS repository when I did the most recent import.
I'm going to go beat myself up now.
--Ken
Date: Thu, 6 Jul 2000 17:13:02 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: From handling bug???
At 11:59 PM -0700 7/5/00, Francois Gouget wrote:
> From me
> To You
> The Beatles
>
> What does the above look like on your machine?
> Does it look like:
> | >From me
> | To You
> | The Beatles
> or
> | From me
> | To You
> | The Beatles
>
> The latter is what I typed but since I switched to qpopper I seem to
> be getting the former instead. Did anyone else using qpopper get
> this extra '>'?
>
> This extra '>' is not there in the mail spool. Also, strangely, I
> never had any problem with 'To'.
> The thing that makes diagnosis a bit more complex for me is that I
> changed both the pop server, the sendmail version and the OS at once
> (switched to a new machine), and it does not seem to be absolutely
> systematic. But I managed to reproduce this with both Netscape and
> Outlook clients and since the spool file seems fine I suspect qpopper to
> be the source of the trouble.
> Is there a qpopper expert would could confirm/infirm this, tell me
> if I'm on the right track, or maybe even have a patch ready?
The lines should be that way in the Spool.
Standard Unix mailbox format is for all messages to exist in one
file, separated by "\n\nFrom ". A consequence of this format is
that any line which starts with "From " may be misinterpreted as a
separator. To avoid this, typically the local delivery agent (not
Qpopper) changes "\nFrom " to "\n>From ". (This is known as "From
munging".)
On Solaris, an extra Content-Length header is used, which gives the
length of the message, and thus From munging is not needed.
Perhaps your old delivery agent failed to do this, and your new one does.
> I'm using:
> - qpopper: 2.53
> - sendmail 8.9
> - Outlook: 97
> - Netscape 4.6
I'd advise upgrading to Qpopper 3.xright away.
>
>
> As an aside, I patched my qpopper server to include support for DRAC
> (http://mail.cc.umanitoba.ca/drac/). It looked like to me that this
> would no longer be necessary with qpopper 3.0. Is that right?
It's in 3.1.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
If people don't know what you're doing, they don't know what you're
doing wrong. --Sir Arnold Robinson, _Yes, Minister_
Date: Thu, 6 Jul 2000 17:14:51 -0700
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: Cannot compile 3.1b4
At 5:48 PM -0400 7/6/00, Ken Hornstein wrote:
> The fault is completely mine; I didn't remove the _old_ utils.h from
> my CVS repository when I did the most recent import.
>
There are still a few problems with BOOL that will be fixed in
3.1b5. Sorry about that.
Date: Thu, 06 Jul 2000 17:25:41 -0700
From: "Eric B. Leslie" <Repetio at flashcom dot net>
Subject: authentication
I am trying to setup qpopper with apop authentication. My only question
is, when I compile qpopper, do I need to use --enable-specialauth and
--enable-apop=path, --with-popuid=pop since I have shadow passwords.
Will using both hurt or help me? Thanks a lot
-Eric
Date: Fri, 7 Jul 2000 11:49:30 +1000 (EST)
From: Ben Elliston <bje at redhat dot com>
Subject: Re: retreiving POP3 mailbox as a file
Is there any reason to rely on the POP3 protocol? Why not just FTP,
rcp, or scp it?
On many systems, users with POP-3 mailboxes have an * password, or their
shell is /bin/false.
Ben
From: "James Nelson" <james at digit.bloomnet dot com>
Subject: pop server load balancing
Date: Thu, 6 Jul 2000 21:13:03 -0500
I've been sitting on this one for about 6 months so my apologies if
anyone would have like to have thought about this sooner
Wouldn't it be nice if organizations could use the servers they have
outgrown and not require their users to change anything or change the
way they have new users configure their mail clients?? What about
some
redundancy capabilities? Personally, I am tired of supporting all of
my pop3
users on one box, and I'm even more tired of the fact that their mail
boxes are not
redundant. My problem is I hate support calls but I don't like any of
the alternatives.
We have had to upgrade the hardware on our servers several
times over the course of the past few years because we have simply
grown too fast. Consider what it costs in hardware for a box that
will handle 400 users. (any old 486 laying in the back room should be
able to do that if it has enough RAM) Compare this figure to what it
will cost for one that will handle 2500-3000 users. If one could just
find a way to leverage this without creating the client side support
issues that
exist today when using several servers, it might make sense to use
multiple backend servers.
Thus my idea -- a pop3 smart proxy system.
Multiple front-end servers with MX records for domain and round robin
DNS
entry for mail.domain.org. Identical /etc/aliases files on each
server so they
both know where the user's mail account REALLY is. These server
accept the mail from the internet and then deliver it to where it is
REALLY going. A split brain DNS system would make sense for this.
Build N standard pop3/sendmail back-end popper servers with mail
accounts scattered between them. This way when a pop server fails,
only a fraction of the pop users are
unable to get their mail.
Now comes the trick-- make it so the bastion hosts accepting the mail
and forwarding it listen on port 110 and know where the pop3 server is
on the back side for the user account. To accomplish this one would
need to build a pop3 smart proxy agent
and load it on the front-end servers. The service would need to be
able to accept user ID and password then read in /etc/aliases,
determine IF the user exists, and if so, where then initiate a pop3
proxied connection to the backend server. The backend server
authenticates
the user's ID and password. The pop3 smart proxy would need to be
able to filter requests based on IP, user name, and other things.
Ideally it would be able
to have an allowed backend server list config file that would lock it
to opening connections
only to those hosts. An IP chains configuration on a Linux box could
be a second layer of enforcement and the gateway router could be the
3rd layer. (I always like to have 3 layers)
After a user is authenticated the smart proxy would stream the TCP
session from the backend to the client so the data would actually flow
from backend to mail client. The reason for this method is simple--
distribute the disk I/O and processor intensive tasks out to several
servers.
Redundancy:
Wouldn't it be great if you could have partner backend servers? Make
it so they sync to each other according to differences between their
spools, dates on their spools, and sizes on their spools, message
ID's, etc. Make it so a message that has been picked up on one won't
be there on the other, but make it so if a message is delivered to the
primary the secondary gets a copy and holds it incase the primary goes
down. Make it so the front-end server seamlessly knows to look to the
secondary when the primary is not responding so the user never notices
the problem at all.
Logging options:
A support for REAL IP address so the popper logs will show where the
connections came from
B support for source of request logging on the front-end server so
there is no
need for additional logging on the back-end servers.
Just and idea I thought I would throw out there. I don't know much
about coding and have absolutely no time to work on it. I do have
quite a few skills in the area of security that might be useful for a
QA effort, but beyond that I can't extend much of a helping hand.
Ideally, one would code the system into qpopper as a compile-time
option that is disabled by default. (make it so you have to run
qpopper --frontend --aliases=/etc/aliases, etc.......)
I know doing all of this would be a challenge to code, but isn't that
what developers breath dream and code for-- the rising and conquering
the next challenge??
Date: Fri, 7 Jul 2000 12:38:25 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: pop server load balancing
James Nelson (james at digit.bloomnet dot com) wrote:
> I've been sitting on this one for about 6 months so my apologies if
> anyone would have like to have thought about this sooner
[snip]
this is a fairly standard scenario for people who have grown
to the point where one box doesnt cut the mustard any more.
in our case, we have 6 front ends, and an HA backend
(at the moment).
mx01/02 take the mail and send it wherever.
smtp01/02 take outgoing mail (ALL our dialup users have to
\ use our mail servers, we believe in responsible spam prevention ^^)
pp01/02 are purely pop routers,
> Now comes the trick-- make it so the bastion hosts accepting the mail
> and forwarding it listen on port 110 and know where the pop3 server is
> on the back side for the user account. To accomplish this one would
> need to build a pop3 smart proxy agent
[more snip]
This isnt the way to do this, you need to think of it in the
following way "There are no users, only mail"
with no users, what are you going to do? answer, drive it
from a database. eg, oracle, or if youre cheap and can afford
to worry more, mysql/postgres or yourrelationaldb of the day.
In that table, you have something like:
username
domain
mailbox_assigned
mailbox_current
password
where mailbox_assigned is the backend box and
mailbox_current is there if they are forwarding their mail somewhere else.
all the pop-proxy needs to know is "username, mailbox_assigned"
and the backends need "username, password"
the mx's need "username@domain --> mailbox_current"
these are trivial hacks to sendmail, qpopper etc.
the pop-proxy will take you a few hours, or you could just go
to freshmeat.net and type "pop3" into the search.
P
In case you are wondering, I went this route when we crossed 20klusers.
--
Remember The 5 K's.
The Justified Agents of Munya-munya-muuuu ...
Date: Thu, 6 Jul 2000 21:14:51 -0700 (PDT)
From: Francois Gouget <fgouget at psn dot net>
Subject: Re: From handling bug???
On Thu, 6 Jul 2000, Randall Gellens wrote:
> At 11:59 PM -0700 7/5/00, Francois Gouget wrote:
>
> > From me
> > To You
> > The Beatles
> >
> > What does the above look like on your machine?
> > Does it look like:
> > | >From me
> > | To You
> > | The Beatles
> > or
> > | From me
> > | To You
> > | The Beatles
[...]
> The lines should be that way in the Spool.
Now I see that I have ">From" in the spool too. I must have mis-read
before. Obviously qpopper is not responsible for adding the '>'.
> Standard Unix mailbox format is for all messages to exist in one
> file, separated by "\n\nFrom ". A consequence of this format is
> that any line which starts with "From " may be misinterpreted as a
> separator. To avoid this, typically the local delivery agent (not
> Qpopper) changes "\nFrom " to "\n>From ". (This is known as "From
> munging".)
Thanks for your explanations. It makes sense but it's just a shame
that the mbox format (that's how it's called right?) has not been
designed better. Because as it is it's not reversible. When this mail
gets to my spool file the two following lines will both start with a
'>'. So systematically converting "\n>From" back to "\nFrom" when
reading the spool file is no better than leaving everything as is
(probably worse actually).
From test: initially this was "From test"
>From test: initially this was ">From test"
Also I see that in the part that quotes my original email 'From' is
correct. Does this means that your mailer (Eudora Pro) handles this
correctly or that you use a Solaris Pop server?
The mailers I use (pine, Outlook, Netscape) all seem to leave the
'>'. In the case of pine, I even get this extra '>' if I just postpone
the email and then resume. Of course this is because they use the mbox
format for storing postponed emails.
It seems that fixing this problem would mean changing quite a lot of
applications. So it's quite unlikely to happen :-(.
--
Francois Gouget fgouget at free.fr http://fgouget.free dot fr/
Hiroshima '45 - Czernobyl '86 - Windows '95
Date: Thu, 6 Jul 2000 22:23:23 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: From handling bug???
At 9:14 PM -0700 7/6/00, Francois Gouget wrote:
> Thanks for your explanations. It makes sense but it's just a shame
> that the mbox format (that's how it's called right?) has not been
> designed better. Because as it is it's not reversible. When this mail
> gets to my spool file the two following lines will both start with a
> '>'. So systematically converting "\n>From" back to "\nFrom" when
> reading the spool file is no better than leaving everything as is
> (probably worse actually).
Yes, it was a rather poor choice. The MMDF format is better, as it
uses a line containing 0x01010101, which is far less likely to occur
than "From ". But it is not as widely used.
At any rate, the Format=Flowed extension to plain text mail (RFC
2646, <ftp://ftp.isi.edu/in-notes/rfc2646.txt>) offers hope in that
it gives mail generators and receivers a reversible way to avoid From
munging.
>
> From test: initially this was "From test"
>>From test: initially this was ">From test"
>
> Also I see that in the part that quotes my original email 'From' is
> correct. Does this means that your mailer (Eudora Pro) handles this
> correctly or that you use a Solaris Pop server?
In this case it's my server, but Eudora does use Format=Flowed, which
can help a lot. (It also prevents "embarrassing line wrap").
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Arguments are to be avoided; they are always vulgar and often convincing. --Oscar Wilde
Date: Fri, 07 Jul 2000 11:57:10 +0100
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: pop server load balancing
At 04:38 07/07/00, Peter Evans wrote:
> these are trivial hacks to sendmail, qpopper etc.
> the pop-proxy will take you a few hours, or you could just go
> to freshmeat.net and type "pop3" into the search.
Have a look at
http://www.us.vergenet.net/linux/perdition/
it can make its "where is this user's email" decision in a variety of ways,
dbm file, SQL, regular expression and new ways can be added by just
dropping in a shared library (similar to PAM).
Fergal
Date: Wed, 12 Jul 2000 09:08:20 -0400 (EDT)
From: Admin Mailing Lists <mlist at intergrafix dot net>
Subject: lost mail. help?
Have an email user that tried to get his mail via our webmail cgi (mailman
by endymion.com) and lost it all (the cgi doesn't delete email on
retrieval, it keeps it there).
The key log message below is the over quota one.
His soft limit on the spool partition is 5 MB. Hard is 10MB.
qpopper 3.0.1 on linux
If someone can explain the transactions below, errors, and any solutions
to prevent this from happening again (short of taking off quota support)
I'd appreciate it.
xxx.xxx.xxx.xxx represents the host the cgi is pop3ing from.
Mon Jul 10 22:54:05 2000 [27072] (v3.0.1) STAT request from "bridgensal"
at (bridgensal at xxx.xxx.xxx dot xxx) xxx.xxx.xxx.xxx : 72 message(s)
Mon Jul 10 22:54:05 2000 [27072] EOF from bridgensal at xxx.xxx.xxx.xxx
(xxx.xxx.xxx.xxx): [0] 2 (No such file or directory); 0 (Success)
Mon Jul 10 22:54:05 2000 [27072] bridgensal at xxx.xxx.xxx.xxx
(216.37.162.33): -ERR POP EOF or I/O Error: 2 (No such file or directory);
0 (Success)
Mon Jul 10 22:54:05 2000 [27072] Stats: bridgensal 0 0 72 10333765
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Mon Jul 10 22:54:08 2000 [27159] bridgensal at xxx.xxx.xxx.xxx
(216.37.162.33): -ERR [IN-USE] /usr/tmp/.pop/b/r/bridgensal.pop lock busy!
Is another session active? (11)
Mon Jul 10 22:54:09 2000 [27072] bridgensal at xxx.xxx.xxx.xxx
(216.37.162.33): -ERR Overquota: copying messages back to mailspool (122)
Mon Jul 10 22:54:14 2000 [27163] (v3.0.1) STAT request from "bridgensal"
at (bridgensal at xxx.xxx.xxx dot xxx) xxx.xxx.xxx.xxx : 0 message(s)
Mon Jul 10 22:54:14 2000 [27163] Stats: bridgensal 0 0 0 0
xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Thanx,
-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco Network Administrator/Engineer
thelittleprince at asteroid-b612 dot org Intergrafix Internet Services
"Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Date: Wed, 12 Jul 2000 12:47:56 -0500
From: Butch Kemper <kemper at tstar dot net>
Subject: Re: lost mail. help?
There is a new version of MailMan available, 3.24, which contains a fix
dealing with over quota issues.
Butch
At 08:08 AM 7/12/00, you wrote:
>Have an email user that tried to get his mail via our webmail cgi (mailman
>by endymion.com) and lost it all (the cgi doesn't delete email on
>retrieval, it keeps it there).
>The key log message below is the over quota one.
>His soft limit on the spool partition is 5 MB. Hard is 10MB.
>qpopper 3.0.1 on linux
>If someone can explain the transactions below, errors, and any solutions
>to prevent this from happening again (short of taking off quota support)
>I'd appreciate it.
>xxx.xxx.xxx.xxx represents the host the cgi is pop3ing from.
>
>
>Mon Jul 10 22:54:05 2000 [27072] (v3.0.1) STAT request from "bridgensal"
>at (bridgensal at xxx.xxx.xxx dot xxx) xxx.xxx.xxx.xxx : 72 message(s)
>Mon Jul 10 22:54:05 2000 [27072] EOF from bridgensal at xxx.xxx.xxx.xxx
>(xxx.xxx.xxx.xxx): [0] 2 (No such file or directory); 0 (Success)
>Mon Jul 10 22:54:05 2000 [27072] bridgensal at xxx.xxx.xxx.xxx
>(216.37.162.33): -ERR POP EOF or I/O Error: 2 (No such file or directory);
>0 (Success)
>Mon Jul 10 22:54:05 2000 [27072] Stats: bridgensal 0 0 72 10333765
>xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
>Mon Jul 10 22:54:08 2000 [27159] bridgensal at xxx.xxx.xxx.xxx
>(216.37.162.33): -ERR [IN-USE] /usr/tmp/.pop/b/r/bridgensal.pop lock busy!
>Is another session active? (11)
>Mon Jul 10 22:54:09 2000 [27072] bridgensal at xxx.xxx.xxx.xxx
>(216.37.162.33): -ERR Overquota: copying messages back to mailspool (122)
>Mon Jul 10 22:54:14 2000 [27163] (v3.0.1) STAT request from "bridgensal"
>at (bridgensal at xxx.xxx.xxx dot xxx) xxx.xxx.xxx.xxx : 0 message(s)
>Mon Jul 10 22:54:14 2000 [27163] Stats: bridgensal 0 0 0 0
>xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
>
>
>Thanx,
>
>-Tony
>.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
>Anthony J. Biacco Network Administrator/Engineer
>thelittleprince at asteroid-b612 dot org Intergrafix Internet Services
>
> "Dream as if you'll live forever, live as if you'll die today"
>http://www.asteroid-b612.org http://www.intergrafix.net
>.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
TSTAR Internet, Inc | Making the Network Work
Marble Falls, TX | Serving Blanco, Burnet,
830-693-6967 | Llano, and Mason Counties
Date: Wed, 12 Jul 2000 14:07:55 -0400 (EDT)
From: Admin Mailing Lists <mlist at intergrafix dot net>
Subject: Re: lost mail. help?
i'm using 3.0.23 standard. the revision history says the quota thing was
in the professional and fixed in 23 not 24.
-Tony
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco Network Administrator/Engineer
thelittleprince at asteroid-b612 dot org Intergrafix Internet Services
"Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
On Wed, 12 Jul 2000, Butch Kemper wrote:
>
> There is a new version of MailMan available, 3.24, which contains a fix
> dealing with over quota issues.
>
> Butch
>
> At 08:08 AM 7/12/00, you wrote:
> >Have an email user that tried to get his mail via our webmail cgi (mailman
> >by endymion.com) and lost it all (the cgi doesn't delete email on
> >retrieval, it keeps it there).
> >The key log message below is the over quota one.
> >His soft limit on the spool partition is 5 MB. Hard is 10MB.
> >qpopper 3.0.1 on linux
> >If someone can explain the transactions below, errors, and any solutions
> >to prevent this from happening again (short of taking off quota support)
> >I'd appreciate it.
> >xxx.xxx.xxx.xxx represents the host the cgi is pop3ing from.
> >
> >
> >Mon Jul 10 22:54:05 2000 [27072] (v3.0.1) STAT request from "bridgensal"
> >at (bridgensal at xxx.xxx.xxx dot xxx) xxx.xxx.xxx.xxx : 72 message(s)
> >Mon Jul 10 22:54:05 2000 [27072] EOF from bridgensal at xxx.xxx.xxx.xxx
> >(xxx.xxx.xxx.xxx): [0] 2 (No such file or directory); 0 (Success)
> >Mon Jul 10 22:54:05 2000 [27072] bridgensal at xxx.xxx.xxx.xxx
> >(216.37.162.33): -ERR POP EOF or I/O Error: 2 (No such file or directory);
> >0 (Success)
> >Mon Jul 10 22:54:05 2000 [27072] Stats: bridgensal 0 0 72 10333765
> >xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
> >Mon Jul 10 22:54:08 2000 [27159] bridgensal at xxx.xxx.xxx.xxx
> >(216.37.162.33): -ERR [IN-USE] /usr/tmp/.pop/b/r/bridgensal.pop lock busy!
> >Is another session active? (11)
> >Mon Jul 10 22:54:09 2000 [27072] bridgensal at xxx.xxx.xxx.xxx
> >(216.37.162.33): -ERR Overquota: copying messages back to mailspool (122)
> >Mon Jul 10 22:54:14 2000 [27163] (v3.0.1) STAT request from "bridgensal"
> >at (bridgensal at xxx.xxx.xxx dot xxx) xxx.xxx.xxx.xxx : 0 message(s)
> >Mon Jul 10 22:54:14 2000 [27163] Stats: bridgensal 0 0 0 0
> >xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
> >
> >
> >Thanx,
> >
> >-Tony
> >.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
> >Anthony J. Biacco Network Administrator/Engineer
> >thelittleprince at asteroid-b612 dot org Intergrafix Internet Services
> >
> > "Dream as if you'll live forever, live as if you'll die today"
> >http://www.asteroid-b612.org http://www.intergrafix.net
> >.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
>
>
> TSTAR Internet, Inc | Making the Network Work
> Marble Falls, TX | Serving Blanco, Burnet,
> 830-693-6967 | Llano, and Mason Counties
>
>
Date: Wed, 12 Jul 2000 12:18:52 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: lost mail. help?
At 9:08 AM -0400 7/12/00, Admin Mailing Lists wrote:
> (216.37.162.33): -ERR Overquota: copying messages back to mailspool (122)
It sounds like the mail is still in the temp spool, which is
.user.pop in the spool directory, unless you've changed it with
configure flags.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
The first ninety percent of the task takes ninety percent of
the time, and the last ten percent takes the other ninety percent.
Date: Wed, 12 Jul 2000 15:42:01 -0400 (EDT)
From: Admin Mailing Lists <mlist at intergrafix dot net>
Subject: Re: lost mail. help?
On Wed, 12 Jul 2000, Randall Gellens wrote:
> At 9:08 AM -0400 7/12/00, Admin Mailing Lists wrote:
>
> > (216.37.162.33): -ERR Overquota: copying messages back to mailspool (122)
>
> It sounds like the mail is still in the temp spool, which is
> .user.pop in the spool directory, unless you've changed it with
> configure flags.
nope, not in the configured temp spool directory. i'm in server mode btw,
with hash spools=2
-Cygnus
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco Network Administrator/Engineer
thelittleprince at asteroid-b612 dot org Intergrafix Internet Services
"Dream as if you'll live forever, live as if you'll die today"
http://www.asteroid-b612.org http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
> --
> Randall Gellens
> Opinions are personal; facts are suspect; I speak for myself only
> -------------- Randomly-selected tag: ---------------
> The first ninety percent of the task takes ninety percent of
> the time, and the last ten percent takes the other ninety percent.
>
From: "Lisa Casey" <lisa at jellico dot com>
Subject: Can't POP mail
Date: Thu, 13 Jul 2000 22:46:03 -0400
Hi,
I'm sending this to a couple of FreeBSD lists plus the qpopper list in hopes
that I might get an answer in a hurry.
I'm with an ISP. We are running a FreeBSD with Sendmail and qpopper box for
our mail server. We just changed upstream providers.
We have a remote POP about 200 miles away and made the changeover to the new
upstream provider there today.
Since the change, our users in the remote POP cannot connect to our mail
server. On their end they just get a "Can't connect to host" error message.
On my end, when I do a netstat on the freeBSD box I see users with IP
addresses corresponding to the remote location but they stay in SYN-RCVD. I
never see them as ESTABLISHED, and their mail never gets popped.
I did change /etc/mail/relay-domains to allow relaying from those IP
addresses (but that's a Sendmail problem, not a qpopper problem). These
users can't send mail through the system either.
What might cause soething like this? Any ideas are appreciated, I'll look
into anything -- I have customers that are not happy!!
Please CC lisa at jellico dot com on any responses to make sure I see them
promptly.
Thanks,
Lisa Casey, Webmaster
Interstate 2000, Inc.
lisa at jellico dot com
webmaster at jellico dot com
Date: Fri, 14 Jul 2000 18:43:29 +0900
From: Kenichi Okada <okada at opaopa dot org>
Subject: Re: New version of Cyrus-SASL patches
Hi,
In the message "Re: New version of Cyrus-SASL patches "
<391863262493444539574 at lists.pensive dot org>
Ken Hornstein <kenh at cmf.nrl.navy dot mil> wrote:
> >I've placed a new version of my qpopper-SASL patches, updated for
> >qpopper 3.0.2 (which didn't really require any changes, actually :-) ).
> >Included in this patch is a small bugfix to the SASL code which may
> >affect interoperability with other systems if you're using the CRAM-MD5
> >mechanism.
This patch causes `Segmentation fault'.
% telnet inari 110
Trying 130.54.30.185...
Connected to inari.
Escape character is '^]'.
+OK QPOP (version 3.0.2) at inari starting. <23255 dot 963567463@inari>
auth
+OK Following are Supported SASL mechanisms
GSSAPI
KERBEROS_V4
DIGEST-MD5
CRAM-MD5
ANONYMOUS
.
auth cram-md5
+ PDIzODkwOTg5MS43MjY2MjI3QGluYXJpPg==
a29rYWRhIDIwNDJhOWY3NDNiNGU5NzIxNDY0YzE0ZGM4MGUwYmU0
Connection closed by foreign host.
/var/log/debug:
Jul 14 18:38:22 inari -d[23255]: genpath Spool (1) for user kokada returning /var/mail/kokada [genpath.c:382]
Jul 14 18:38:22 inari -d[23255]: genpath old .pop (5) for user kokada returning /var/mail/.kokada.pop [genpath.c:382]
Jul 14 18:38:22 inari -d[23255]: genpath .pop (2) for user kokada returning /var/mail/.kokada.pop [genpath.c:382]
Jul 14 18:38:22 inari -d[23255]: Temporary maildrop name: '/var/mail/.kokada.pop' [pop_dropcopy.c:1085]
Jul 14 18:38:22 inari -d[23255]: uid = 271, gid = 0 [pop_dropcopy.c:1299]
Jul 14 18:38:22 inari -d[23255]: Getting mail lock [pop_dropcopy.c:1432]
Jul 14 18:38:22 inari -d[23255]: genpath Spool (1) for user kokada returning /var/mail/kokada [genpath.c:382]
Jul 14 18:38:22 inari -d[23255]: successfully opened (exclusive) lock /var/mail/kokada.lock [maillock.c:357]
Jul 14 18:38:22 inari -d[23255]: maillock() for user kokada (/var/mail/kokada.lock) returning 0 (1 attempt(s)) [maillock.c:422]
Jul 14 18:38:22 inari -d[23255]: DROPCOPY: Reading the mail drop (p->msg_count = 0). [pop_dropcopy.c:659]
Jul 14 18:38:22 inari -d[23255]: Msg 1 being added to list. [pop_dropcopy.c:830]
Jul 14 18:38:22 inari -d[23255]: Found UIDL header: X-UIDL: 2o-!!CjN"!\FA"!V<m!! [pop_dropcopy.c:935]
Jul 14 18:38:22 inari -d[23255]: Msg 1 uidl '2o-!!CjN"!\FA"!V<m!! ' at offset 0 is 4961 octets long and has 124 lines. [pop_dropcopy.c:810]
Jul 14 18:38:22 inari -d[23255]: Msg 2 being added to list. [pop_dropcopy.c:830]
Jul 14 18:38:22 inari -d[23255]: UID not found; generated UID(21): 0(;"!g>M!!GEp!!#)c!! [871] [pop_dropcopy.c:871]
Jul 14 18:38:22 inari -d[23255]: Msg 1 (1) uidl '2o-!!CjN"!\FA"!V<m!! ' at offset 0 is 4961 octets long and has 124 lines. [pop_dropcopy.c:1004]
Jul 14 18:38:22 inari -d[23255]: Msg 2 (2) uidl '0(;"!g>M!!GEp!!#)c!! ' at offset 4885 is 1793 octets long and has 45 lines. [pop_dropcopy.c:1004]
Jul 14 18:38:22 inari -d[23255]: Mail copied to temp drop; zeroing spool [pop_dropcopy.c:1488]
Jul 14 18:38:22 inari -d[23255]: Temp drop contains 2 (2 visible) messages in 6664 octets [pop_dropcopy.c:1565]
Jul 14 18:38:22 inari -d[23255]: Msg 1 (1) uidl '2o-!!CjN"!\FA"!V<m!! ' at offset 0 is 4961 octets long and has 124 lines. [pop_dropcopy.c:1573]
Jul 14 18:38:22 inari -d[23255]: Msg 2 (2) uidl '0(;"!g>M!!GEp!!#)c!! ' at offset 4885 is 1793 octets long and has 45 lines. [pop_dropcopy.c:1573]
Jul 14 18:38:22 inari -d[23255]: mailunlock() called for /var/mail/kokada.lock [maillock.c:448]
Jul 14 18:38:22 inari -d[23255]: +OK kokada has 2 visible messages (0 hidden) in 6754 octets. [pop_auth.c:1257]
# strace -p 23255
read(0, "a", 1) = 1
read(0, "u", 1) = 1
read(0, "t", 1) = 1
read(0, "h", 1) = 1
read(0, " ", 1) = 1
read(0, "c", 1) = 1
read(0, "r", 1) = 1
read(0, "a", 1) = 1
read(0, "m", 1) = 1
read(0, "-", 1) = 1
read(0, "m", 1) = 1
read(0, "d", 1) = 1
read(0, "5", 1) = 1
read(0, "\r", 1) = 1
read(0, "\n", 1) = 1
alarm(0) = 118
SYS_174(0xe, 0xbfffc9b8, 0xbfffc92c, 0x8, 0xe) = 0
time(NULL) = 963567482
getpid() = 23255
write(3, "Fri Jul 14 18:38:02 2000 [23255]"..., 113) = 113
time(NULL) = 963567482
.
.
.
unlink("/var/mail/kokada.lock") = 0
time([963567502]) = 963567502
getpid() = 23255
SYS_174(0xd, 0xbfffbd18, 0xbfffbc8c, 0x8, 0xd) = 0
send(4, "<23>Jul 14 18:38:22 -d[23255]: m"..., 94, 0) = 94
SYS_174(0xd, 0xbfffbd28, 0, 0x8, 0xd) = 0
time([963567502]) = 963567502
getpid() = 23255
SYS_174(0xd, 0xbfffbe28, 0xbfffbd9c, 0x8, 0xd) = 0
send(4, "<23>Jul 14 18:38:22 -d[23255]: +"..., 110, 0) = 110
SYS_174(0xd, 0xbfffbe38, 0, 0x8, 0xd) = 0
--- SIGSEGV (Segmentation fault) ---
% uname -a
Linux inari 2.2.16 #10 SMP Fri Jun 30 09:56:39 JST 2000 i686
--
Kenichi Okada
mailto:okada at opaopa dot org
Date: Fri, 14 Jul 2000 22:58:26 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 3.1b5 available
Qpopper 3.1b5 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/>.
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 release to the next is on the FTP
site, at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/Changes>.
The 3.1 release notes are at:
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/Release.Notes>.
Changes from 3.1b4 to 3.1b5
---------------------------
1. Fixed several more warnings.
2. Revert to using "password expired" instead of "account expired"
when password not changed within required period.
3. Fix for troglodyte OSes without srandom().
4. Increased patience locking spool during update.
5. Better error messages when unable to lock spool.
6. Msgs no longer incorrectly marked hidden when bulletins used.
7. Added '--with-kerberos5' for Kerberos V support (using patch from
Ken Hornstein). Also includes 'enable-any-kerberos-principal',
KRB4 for Kerberos IV, KRB5_KRB4_COMPAT to allow for backwards
comparability, and NO_CROSSREALM.
8. Added '--enable-kuserok' to use kuserok() to vet users.
9. Added '--enable-ksockinst' to use getsockinst() for Kerberos
instance.
10. Errors on spool copies/appends when cleaning up now always abort.
This fixes a case where mail could be lost if the user went over
quota during the session and server mode is in use.
11. Fixed crash on APOP command when no APOP database.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Dimensions will always be expressed in the least usable term.
Velocity, for example, will be expressed in furlongs per fortnight.
Date: Sat, 15 Jul 2000 00:24:45 -0700
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: lost mail. help?
At 3:42 PM -0400 7/12/00, Admin Mailing Lists wrote:
> > > (216.37.162.33): -ERR Overquota: copying messages back to
> mailspool (122)
>>
>> It sounds like the mail is still in the temp spool, which is
>> .user.pop in the spool directory, unless you've changed it with
>> configure flags.
>
> nope, not in the configured temp spool directory. i'm in server mode btw
Oops! Turns out there is a bug that can lose mail if the user goes
over quota during the session, in server mode.
Fixed in 3.1b5. Now, the mail remains in the temp spool, where it
will be recovered next time.
Date: Sat, 15 Jul 2000 00:31:49 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Can't POP mail
At 10:46 PM -0400 7/13/00, Lisa Casey wrote:
> Hi,
>
> I'm sending this to a couple of FreeBSD lists plus the qpopper list in hopes
> that I might get an answer in a hurry.
>
> I'm with an ISP. We are running a FreeBSD with Sendmail and qpopper box for
> our mail server. We just changed upstream providers.
>
> We have a remote POP about 200 miles away and made the changeover to the new
> upstream provider there today.
>
> Since the change, our users in the remote POP cannot connect to our mail
> server. On their end they just get a "Can't connect to host" error message.
> On my end, when I do a netstat on the freeBSD box I see users with IP
> addresses corresponding to the remote location but they stay in SYN-RCVD. I
> never see them as ESTABLISHED, and their mail never gets popped.
Kind of sounds like maybe a firewall or other filter is blocking
packets from the pop host to the users.
> I did change /etc/mail/relay-domains to allow relaying from those IP
> addresses (but that's a Sendmail problem, not a qpopper problem). These
> users can't send mail through the system either.
It doesn't seem like a Qpopper or sendmail problem; it's a networking issue.
> What might cause soething like this? Any ideas are appreciated, I'll look
> into anything -- I have customers that are not happy!!
Maybe a TCP wrapper? Can you open POP, SMTP, or telnet sessions to
the host? Can an affected user ping the host?
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
I have learned
To spell hors d'oeuvres
Which still grates on
Some people's n'oeuvres.
-- Warren Knox
From: "ganizani" <ganizani at malawi dot net>
Subject: Re: Can't POP mail
Date: Sat, 15 Jul 2000 15:43:50 +0200
I might be asking too much but I have a problem here. Most of the mailboxes
have
wrong ownership.
I am running FreeBSD-4.0. I believe that this is because when the users were
transfered
from the old system we were three of us adding them to the new system from
different terminals and
some of the info was not entered correctly.
Could someone provide a script that could rectify this problem for me. i.e.
set the ownership of each
/var/mail/user to user.
Thanks in advance.
Ganizani.
Date: Sat, 15 Jul 2000 14:52:32 +0100
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: Can't POP mail
At 14:43 15/07/00, ganizani wrote:
>I might be asking too much but I have a problem here. Most of the mailboxes
>have
>wrong ownership.
>I am running FreeBSD-4.0. I believe that this is because when the users were
>transfered
>from the old system we were three of us adding them to the new system from
>different terminals and
>some of the info was not entered correctly.
>
>Could someone provide a script that could rectify this problem for me. i.e.
>set the ownership of each
>/var/mail/user to user.
cd /var/mail
ls | perl -ne 'chomp; system "chown $_ $_" '
should do the trick
Fergal
Date: Sat, 15 Jul 2000 20:33:33 +0200 (CEST)
From: Enric Pujol <epujol at drac dot com>
Subject: Re: Can't POP mail
On Sat, 15 Jul 2000, ganizani wrote:
> Could someone provide a script that could rectify this problem for me. i.e.
> set the ownership of each
> /var/mail/user to user.
cd /var/mail
for i in `ls`
do
chown $i $i
done
From: "Ian Scott" <weehughie at home dot com>
Subject: POP Before SMTP
Date: Sun, 16 Jul 2000 13:15:22 -0400
I just found this list, and could not find any archives, so I apologise if
this post has already been discussed in the past.
I am attempting to set up an email server that will stomp spam, but at the
same time, allow remote users to log in and send their email using their
regular domain address as the reply to. If I include the Relay Based On Mx
on Sendmail, then I can do this, but the other problem is that spammers can
simply use a nonexistent username with the domain name and have access to
the server.
I therefore decided to try the POP Authentication before SMTP as described
here:
http://spam.abuse.net/tools/smPbS.html
The problem is that after I have added the modification to pop_pass.c, and
try to make qpopper, I end up with parsing errors. Is there someone who
could help out? Is this bit of code outdated for the qpopper 3.0? Or, is
the patch written wrong?
For reference, I am including the patch and instructions, as it is written
on the page:
Here are modifications to qpopper version 2.4, the most popular Post Office
Protocol daemon. It's available in source from at no charge from
www.eudora.com.
(The current version is now 2.5, but this piece of code hasn't changed.)
These changes log a message like this each time a user logs in:
POP login for "username" at (remote.host.name) 000.000.000.000
The patches go at the end of the source file pop_pass.c.
*** pop_pass.c.orig Wed Dec 17 23:05:42 1997
--- pop_pass.c Thu Nov 20 01:14:59 1997
***************
*** 630,635 ****
--- 630,640 ----
p->last_msg = 0;
/* Authorization completed successfully */
+ /* begin pop-before-smtp patch */
+ pop_log(p,POP_PRIORITY,
+ "(v%s) POP login for \"%s\" at (%s) %s",
+ VERSION,p->user,p->client,p->ipaddr);
+ /* end pop-before-smtp patch */
return (pop_msg (p,POP_SUCCESS,
"%s has %d message%s (%d octets).",
p->user,p->msg_count, p->msg_count == 1 ? "" : "s",
p->drop_size));
Thanks,
Ian Scott
Date: Sun, 16 Jul 2000 13:07:41 -0400
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: POP Before SMTP
on Sun, Jul 16, 2000 at 01:15:22PM -0400, Ian Scott wrote:
> The problem is that after I have added the modification to pop_pass.c, and
> try to make qpopper, I end up with parsing errors. Is there someone who
> could help out? Is this bit of code outdated for the qpopper 3.0? Or, is
> the patch written wrong?
If you're using 3.1, there's a configure switch for DRAC built right in.
You'll need to download and compile DRAC and link to it when compiling
qpopper.
If you're trying to work with 2.53 for some reason, instructions for
2.53 are here:
http://mail.cc.umanitoba.ca/drac/index.html
http://mail.cc.umanitoba.ca/drac/pop.html
...though they're a bit out of date, as the qualcomm folks have kindly
included patches from folks on this list in the latest beta versions of
qpopper.
Steve
--
http://a.jaundicedeye.com/weblog/
because it just annoys people when I talk to myself...
Date: Mon, 17 Jul 2000 18:33:40 +1000
From: Stuart Clark <sclark at tpg.com dot au>
Subject: qpopper and maildir format
Hi..
I have been scouring everywhere to get a solution for easy migration
between mailbox format and maildir format.
I have been looking for a program that supports both. Does Qpopper?
I am using Cucipop at the moment (MAILBOX format), and it works great on a
single machine, it may even work great across some network file system too,
but from what I read MAILDIR is the most reliable. I am currently using
Sendmail/Procmail/Cucipop.
Any experience using file .dot locking across NFS with qpopper? (should I
stick to Cucipop?)
I have seen a previous reply to a post on this list that was not very
informative:
http://www.pensive.org/Mailing_Lists/Archives/Qpopper/Archive-2000-03-03.html
>Date: Wed, 1 Mar 2000 11:33:52 +0200 (SAST)
>From: Mihigo John <nmj at gorilla.nur.ac dot rw>
>Subject: Re: does qpopper support Maildir-format
>
>it depends,
>you can either specify this in the configuration
>
>*****************************
>Mihigo John
>National University of Rwanda
>Computing Center
>InternetWorking Administrator
>Phone: 250 32147 (office)
> 250 530074 (home)
> 08511917 (mobile)
>Fax : 250 32142
>URL: www.nur.ac.rw
>BP: 56 Butare, Rwanda
>
>
>On Wed, 1 Mar 2000, Carsten Gaschler wrote:
> >
> > hi,
> >
> > is it possible that qpopper pick-up the mail in maildir-format
> > like /var/spool/mail/account-0001/new
> > /cur
> > /tmp
> >
> > and not in a flat file like /var/spool/mail/account-0001
> >
> > Carsten
> >
Thanks in advance, Stuart.
Stuart Clark sclark at tpg.com dot au
_______________________________________________________________
System Administration Supervisor
(02) 9850 0907
TPG Internet
www.tpg.com.au
Date: Mon, 17 Jul 2000 12:23:59 +0200
From: Carles Xavier Munyoz =?iso-8859-1?Q?Baldó?=
Subject: [Fwd: QPopper behavior with Content-Lenth header.]
This is a multi-part message in MIME format.
--------------71BC951E4F9FF79DE55F70C0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hello,
I have sent this message to the qpopper at qualcomm dot com e-mail account, but
I haven't get any answer yet (they must be very busy :)).
For this reason I have decided forward it to the list.
Any help about this issue ?
Greetings.
---
Carles Xavier Munyoz BaldÛ / carles.munyoz at ctv-jet dot com
Internet Business Unit - Uni2
Dpto. Sistemas / System Department
Tel: +34 96 5040000 Ext. 40046 - Fax: +34 96 5040047
http://www.wanadoo.es/
---
--------------71BC951E4F9FF79DE55F70C0
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
X-Mozilla-Status2: 00000000
Message-ID: <396587ED.9D142149 at ctv-jet dot com>
Date: Fri, 07 Jul 2000 09:34:05 +0200
From: Carles Xavier Munyoz =?iso-8859-1?Q?Baldó?=
<carles.munyoz at ctv-jet dot com>
Reply-To: carles.munyoz at ctv-jet dot com
Organization: Internet Bussines Unit (Uni2)
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: qpopper at qualcomm dot com
Subject: QPopper behavior with Content-Lenth header.
Content-Type: multipart/mixed;
boundary="------------F2694D8C42B40CE315BCEA28"
This is a multi-part message in MIME format.
--------------F2694D8C42B40CE315BCEA28
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hello,
I have QPopper 3.0.2 installed in my UltraSparc-II platform with Solaris
2.6.
I've been studing the behavior of the QPopper with mailboxes with
messages using the Content-Length header. For this study I've used the
truss command (it is for obtain the system calls generated by a
process).
I've observed that when the mailbox have a message of, for example, 1
Mb, after the user has supplied his user name and password, QPopper
reads all the content of the mailbox without use the Content-Length
header for jump from one message header to the next message header.
I've attached the output of the truss command.
You will observe that, after the authentication process, there are lot
of system calls like:
read(7, " E A G R l b H B o a S 9".., 8192) = 8192
indicating that the QPopper process is reading all the content of the
mailbox.
Is this behavior normal with the Content-Length header ?
If it is, what is the Content-Length header for ?
Greetings.
---
Carles Xavier Munyoz BaldÛ / carles.munyoz at ctv-jet dot com
Internet Business Unit - Uni2
Dpto. Sistemas / System Department
Tel: +34 96 5040000 Ext. 40046 - Fax: +34 96 5040047
http://www.wanadoo.es/
---
--------------F2694D8C42B40CE315BCEA28
Content-Type: text/plain; charset=us-ascii;
name="truss.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="truss.txt"
28890: read(0, 0xEFFFF260, 1) (sleeping...)
28890: read(0, " u", 1) = 1
28890: read(0, " s", 1) = 1
28890: read(0, " e", 1) = 1
28890: read(0, " r", 1) = 1
28890: read(0, " ", 1) = 1
28890: read(0, " t", 1) = 1
28890: read(0, " e", 1) = 1
28890: read(0, " s", 1) = 1
28890: read(0, " t", 1) = 1
28890: read(0, " 0", 1) = 1
28890: read(0, " 1", 1) = 1
28890: read(0, " 0", 1) = 1
28890: read(0, " 1", 1) = 1
28890: read(0, "\r", 1) = 1
28890: read(0, "\n", 1) = 1
28890: alarm(0) = 87
28890: sigaction(SIGALRM, 0xEFFFF0C8, 0xEFFFF148) = 0
28890: write(0, " + O K P a s s w o r d".., 37) = 37
28890: sigaction(SIGALRM, 0xEFFFF0C8, 0xEFFFF148) = 0
28890: alarm(120) = 0
28890: read(0, 0xEFFFF260, 1) (sleeping...)
28890: read(0, " p", 1) = 1
28890: read(0, " a", 1) = 1
28890: read(0, " s", 1) = 1
28890: read(0, " s", 1) = 1
28890: read(0, " ", 1) = 1
28890: read(0, " p", 1) = 1
28890: read(0, " a", 1) = 1
28890: read(0, " s", 1) = 1
28890: read(0, " s", 1) = 1
28890: read(0, "\r", 1) = 1
28890: read(0, "\n", 1) = 1
28890: alarm(0) = 117
28890: sigaction(SIGALRM, 0xEFFFF0C8, 0xEFFFF148) = 0
28890: open64("/etc/.name_service_door", O_RDONLY) = 3
28890: fcntl(3, F_SETFD, 0x00000001) = 0
28890: door_info(3, 0xEF629690) Err#9 EBADF
28890: close(3) = 0
28890: open("/etc/passwd", O_RDONLY) = 3
28890: fstat64(3, 0xEFFFE8E0) = 0
28890: brk(0x0003F9F0) = 0
28890: brk(0x000419F0) = 0
28890: ioctl(3, TCGETA, 0xEFFFE86C) Err#25 ENOTTY
28890: read(3, " r o o t : x : 0 : 1 : S".., 8192) = 470
28890: llseek(3, 0, SEEK_CUR) = 470
28890: close(3) = 0
28890: open64("/internet/popper/usuarios_mail.pag", O_RDONLY) = 3
28890: open64("/internet/popper/usuarios_mail.dir", O_RDONLY) = 4
28890: fstat64(4, 0xEFFFF028) = 0
28890: llseek(4, 0, SEEK_SET) = 0
28890: read(4, "FFFFFFFFFFFFFFFFFFFFFFFF".., 4096) = 4096
28890: llseek(3, 7603200, SEEK_SET) = 7603200
28890: read(3, "\0 D03F003E203DA03CC03C4".., 1024) = 1024
28890: stat("/internet/popper/mail/.test0101.pop", 0xEFFFECB8) Err#2 ENOENT
28890: stat("/internet/popper/mail", 0xEFFFECB8) = 0
28890: umask(0) = 07
28890: stat("/internet/popper/mail/t", 0xEFFFECB8) = 0
28890: stat("/internet/popper/mail/t/e", 0xEFFFECB8) = 0
28890: umask(07) = 0
28890: stat("/internet/popper/mail", 0xEFFFECB8) = 0
28890: setgid(100) = 0
28890: setgroups(1, 0xEFFFF1CC) Err#1 EPERM
28890: setuid(100) = 0
28890: open("/internet/popper/mail/t/e/.test0101.pop", O_RDWR|O_CREAT, 0600) = 5
28890: fstat(5, 0xEFFFECB8) = 0
28890: fcntl(5, F_SETLK, 0xEFFFEB08) = 0
28890: stat("/internet/popper/mail/t/e/.test0101.pop", 0xEFFFEC30) = 0
28890: fstat(5, 0xEFFFEBA8) = 0
28890: open("/internet/popper/mail/t/e/test0101.LOCK", O_RDWR|O_CREAT|O_TRUNC, 0666) = 6
28890: fcntl(6, F_SETLKW, 0xEFFFEAA4) = 0
28890: time() = 962954086
28890: open("/internet/popper/mail/t/e/test0101", O_RDWR) = 7
28890: fcntl(7, F_SETLKW, 0xEFFFEB08) = 0
28890: time() = 962954086
28890: fstat64(7, 0xEFFFE0E8) = 0
28890: ioctl(7, TCGETA, 0xEFFFE074) Err#25 ENOTTY
28890: read(7, " F r o m c a r l e s .".., 8192) = 8192
28890: llseek(7, 0xFFFFFFFFFFFFE038, SEEK_CUR) = 56
28890: llseek(7, 0, SEEK_SET) = 0
28890: read(7, " F r o m c a r l e s .".., 8192) = 8192
28890: time() = 962954086
28890: llseek(7, 0, SEEK_CUR) = 8192
28890: read(7, " R 0 3 M n l 3 B y 0 o f".., 8192) = 8192
28890: read(7, " l 0 K 3 x 7 k b / m x 9".., 8192) = 8192
28890: read(7, " y l x c p z s F O\n y A".., 8192) = 8192
28890: read(7, " B j c H A v a W 5 0 Z X".., 8192) = 8192
28890: read(7, " 6 H D g t y P 1 9 + v 4".., 8192) = 8192
28890: read(7, " 9 h O 1 s N R d + U o w".., 8192) = 8192
28890: read(7, " V T A T m U v V 4 E r Q".., 8192) = 8192
28890: read(7, " m m\n k E t o 9 0 7 H 6".., 8192) = 8192
28890: read(7, " L + g 8 Z w R G q 9 K I".., 8192) = 8192
28890: read(7, " C J u u f m a u 7 K J 8".., 8192) = 8192
28890: read(7, " J H U 8 5 + U y u r 5 +".., 8192) = 8192
28890: read(7, " K o m Z Z d 1 K Y v 9\n".., 8192) = 8192
28890: read(7, " 4 k Y u 4 j S 4 L O K 0".., 8192) = 8192
28890: read(7, " i R v y 5 G O O f M q R".., 8192) = 8192
28890: read(7, " H C c M B 5 e Q K f / K".., 8192) = 8192
28890: read(7, " x / L 8 n 9 n y K H E 6".., 8192) = 8192
28890: read(7, " u L f 7\n m C D G f 4 W".., 8192) = 8192
28890: read(7, " 3 4 m Y / T j f 7 L O v".., 8192) = 8192
28890: read(7, " N u r I 1 8 i 5 h G I I".., 8192) = 8192
28890: read(7, " s g s 7 H R M g d l u 4".., 8192) = 8192
28890: read(7, " 5 q J G L P l 8 h X p r".., 8192) = 8192
28890: read(7, " f g D P 7 D a S t L 1 s".., 8192) = 8192
28890: read(7, " S b i 7 H G a m w i F Q".., 8192) = 8192
28890: read(7, " A g G 1 + W L E x m I +".., 8192) = 8192
28890: read(7, " S D C m t 8 u 7 q a 0 A".., 8192) = 8192
28890: read(7, " Y E L K Q F\n + 1 W w d".., 8192) = 8192
28890: read(7, " v i u l z 8 q I M 3 9 l".., 8192) = 8192
28890: read(7, " n h 4 9 N + O Z o / t 2".., 8192) = 8192
28890: read(7, " g P 6 d R z g O L / z 6".., 8192) = 8192
28890: read(7, " G i Z / 0 / M i k W B I".., 8192) = 8192
28890: read(7, " i C H 1 Q e G 3 6 N N t".., 8192) = 8192
28890: read(7, " t P v 2 7 U / t 1 q + s".., 8192) = 8192
28890: read(7, " W b 1 + A A A A u A A A".., 8192) = 8192
28890: read(7, " S p t F j n d 5 3 G F O".., 8192) = 8192
28890: read(7, " l n e U t R O f\n p U z".., 8192) = 8192
28890: read(7, " y b P G 9 y O x l / X w".., 8192) = 8192
28890: read(7, " Z o p L G a / Q S c w s".., 8192) = 8192
28890: read(7, " + h G f h / G 3 2 v 8 A".., 8192) = 8192
28890: read(7, " P k x P x g K x X x b 8".., 8192) = 8192
28890: read(7, " R\n G A j d K U Y h A S".., 8192) = 8192
28890: read(7, " V 0 L 3 B v c H R z d D".., 8192) = 8192
28890: read(7, " C 5 1 t w / P C L E Z u".., 8192) = 8192
28890: read(7, " i O h E 5 l E M g l N F".., 8192) = 8192
28890: read(7, " I 5 F o 6 j 5 w O j\n h".., 8192) = 8192
28890: read(7, " 7 M M t f X F 5 w l M 2".., 8192) = 8192
28890: read(7, " b D Z O K E 8 N C q z S".., 8192) = 8192
28890: read(7, " r P R v W T E J x S z T".., 8192) = 8192
28890: read(7, " 4 Y / y X K e n f 0 A U".., 8192) = 8192
28890: read(7, " 0 k /\n 5 q f 5 R U e s".., 8192) = 8192
28890: read(7, " n D i N 0 1 j P S Q Z E".., 8192) = 8192
28890: read(7, " / 1 b S 0 P X b y / H 4".., 8192) = 8192
28890: read(7, " K 1 u i T K 4 l 5 C b V".., 8192) = 8192
28890: read(7, " g 0 J f u t l c A b + g".., 8192) = 8192
28890: read(7, " p d O B D h 4 + S R K R".., 8192) = 8192
28890: read(7, " r f V q k 9 L 2 C 0 n F".., 8192) = 8192
28890: read(7, " I l W P i l t Y 6 s N B".., 8192) = 8192
28890: read(7, " y h / 3 S W f G n E S G".., 8192) = 8192
28890: read(7, " k U L q 2\n 0 + / p j S".., 8192) = 8192
28890: read(7, " a + C m u / v t T 5 S B".., 8192) = 8192
28890: read(7, " o G R e L a Z 3 E B f I".., 8192) = 8192
28890: read(7, " I C g q k I q 4 7 f P G".., 8192) = 8192
28890: read(7, " n e X F Q l i r V k A y".., 8192) = 8192
28890: read(7, " 5 3 6 f Z n 3 p A H 4 e".., 8192) = 8192
28890: read(7, " X k s F F 2 g 5 x K q V".., 8192) = 8192
28890: read(7, " i c 1 C 4 B t b g C + 6".., 8192) = 8192
28890: read(7, " 4 f g o n 5 h J O + r 2".., 8192) = 8192
28890: read(7, " F E K C a y +\n 2 s T 3".., 8192) = 8192
28890: read(7, " 5 V j M Z r X I w H t /".., 8192) = 8192
28890: read(7, " 8 W N n f e B k 3 c K g".., 8192) = 8192
28890: read(7, " N k m z b s a Y E 0 G h".., 8192) = 8192
28890: read(7, " k F t z 9 J j Y b R 0 q".., 8192) = 8192
28890: read(7, "\n D D g N q 6 a U + L L".., 8192) = 8192
28890: read(7, " I X y 5 n z F + 0 i U h".., 8192) = 8192
28890: read(7, " P Y T V b A I I J g a g".., 8192) = 8192
28890: read(7, " p P O I J F S y V n z q".., 8192) = 8192
28890: read(7, " D 4 Q b K 8 6 F o\n U 0".., 8192) = 8192
28890: read(7, " 8 F n A w s o 4 R e h 5".., 8192) = 8192
28890: read(7, " X i q S u w w X 5 b r i".., 8192) = 8192
28890: read(7, " c 9 l T Z H N I u 7 B B".., 8192) = 8192
28890: read(7, " i d V N n a G C / W 1 F".., 8192) = 8192
28890: read(7, " K F\n G / A o y Q 1 M c".., 8192) = 8192
28890: read(7, " Q k a 0 h / D h 3 P s B".., 8192) = 8192
28890: read(7, " L Q n a r C d q 6 i G b".., 8192) = 8192
28890: read(7, " d 2 t 7 d n T J Q L j 6".., 8192) = 8192
28890: read(7, " S i 7 K 9 H R k i c 4\n".., 8192) = 8192
28890: read(7, " w A L 8 9 c a m 4 F 3 Q".., 8192) = 8192
28890: read(7, " b h t H s v 4 v Q O / Q".., 8192) = 8192
28890: read(7, " n o 7 Z I + I C G R 9 K".., 8192) = 8192
28890: read(7, " 3 Y D G H n q K J 1 H Z".., 8192) = 8192
28890: read(7, " n / Q W\n f L g 1 H d q".., 8192) = 8192
28890: read(7, " R j i o o P j g s T j c".., 8192) = 8192
28890: read(7, " K m w H o p c h v / v J".., 8192) = 8192
28890: read(7, " A I 3 K w f T t P P Z F".., 8192) = 8192
28890: read(7, " u 8 l 1 F d l 7 v a n N".., 8192) = 8192
28890: read(7, " 5 L z H g u M e O 5 x I".., 8192) = 8192
28890: read(7, " / x U C M j L t f P h e".., 8192) = 8192
28890: read(7, " 4 v Y o J v N O 2 I L 8".., 8192) = 8192
28890: read(7, " s I u 2 g y S m N e s Z".., 8192) = 8192
28890: read(7, " O U b 6 S z\n 2 3 0 p l".., 8192) = 8192
28890: read(7, " p 7 e J W 8 P r u 9 + 6".., 8192) = 8192
28890: read(7, " c o p f / r k L 3 C 6 N".., 8192) = 8192
28890: read(7, " 4 N 8 R z z q S i i r 1".., 8192) = 8192
28890: read(7, " j N l G U 8 q o 9 x q M".., 8192) = 8192
28890: read(7, " r 6 k i D D F 1 o U f b".., 8192) = 8192
28890: read(7, " H S f h 0 U G p O e R a".., 8192) = 8192
28890: read(7, " Q l s J W U B a O S v e".., 8192) = 8192
28890: read(7, " a G r u I E a 4 E E F 4".., 8192) = 8192
28890: read(7, " N V C 1 + + F /\n p J 4".., 8192) = 8192
28890: read(7, " 9 J u 0 4 1 l / h e y +".., 8192) = 8192
28890: read(7, " M 6 g 0 P r t i z p g 0".., 8192) = 8192
28890: read(7, " Q A S r U i v c j J u j".., 8192) = 8192
28890: read(7, " L 6 2 P f j 0 o m a c 2".., 8192) = 8192
28890: read(7, " U\n Q 0 5 h c n f H t p".., 8192) = 8192
28890: read(7, " v v B D C K P 6 R O 4 z".., 8192) = 8192
28890: read(7, " m h Q n A m 0 1 S A c p".., 8192) = 8192
28890: read(7, " c Y V 5 4 u Q L Y p g F".., 8192) = 8192
28890: read(7, " C s n W D + A 1 U 8\n O".., 8192) = 8192
28890: read(7, " m 5 J N l I 0 O 4 9 + G".., 8192) = 8192
28890: read(7, " a I D l C X f 0 3 B Z Q".., 8192) = 8192
28890: read(7, " H a P J K v 6 0 f t c 1".., 8192) = 8192
28890: read(7, " t 0 o W Z m 7 8 R x a q".., 8192) = 8192
28890: read(7, " J Q Y\n L 8 l a C o Z V".., 8192) = 8192
28890: read(7, " U q X w q o i d U r T +".., 8192) = 8192
28890: read(7, " F u v z a u t V 1 1 O 1".., 8192) = 8192
28890: read(7, " f Y D 0 w / u G y K t 7".., 8192) = 8192
28890: read(7, " / x Z z s W 1 a o Y n t".., 8192) = 8192
28890: read(7, " q 6 p K 8 0 t B u l c j".., 8192) = 8192
28890: read(7, " c / 6 J / L 6 L W Z W J".., 8192) = 8192
28890: read(7, " u 9 s j K w Q c o Y a J".., 8192) = 8192
28890: read(7, " 6 W j I d t 2 x i g m t".., 8192) = 8192
28890: read(7, " b L w h S\n P a x n s h".., 8192) = 8192
28890: read(7, " 0 / p j s M / J D / c o".., 8192) = 8192
28890: read(7, " B c C J u O a P n t m G".., 8192) = 8192
28890: read(7, " C E 3 0 l e D t q G Q R".., 8192) = 8192
28890: read(7, " s m v F J H 4 d U a w k".., 8192) = 8192
28890: read(7, " x O M Z K O p 0 d J o a".., 8192) = 8192
28890: read(7, " H m W / J K 8 Q f 4 M 6".., 8192) = 8192
28890: read(7, " b 7 z c g W q t A N f H".., 8192) = 8192
28890: read(7, " M X N G L U H R + 7 z 6".., 8192) = 8192
28890: read(7, " 0 X s m X B 2\n V s W d".., 8192) = 8192
28890: read(7, " I r C v n o k w U T V g".., 8192) = 8192
28890: read(7, " o 0 R p Z z O b r x c V".., 8192) = 8192
28890: read(7, " u p Q / Z b P k d l S y".., 8192) = 8192
28890: read(7, " f h + L Z H 2 B S D K N".., 8192) = 8192
28890: read(7, "\n W v 6 o J b 9 8 V t Z".., 8192) = 8192
28890: read(7, " x W G P N c l N r z f I".., 8192) = 8192
28890: read(7, " N A W 7 e s O 5 X G / I".., 8192) = 8192
28890: read(7, " L 2 A d 4 D D A M G A E".., 8192) = 8192
28890: read(7, " Q F s c W k 1 l y\n B I".., 8192) = 8192
28890: read(7, " 5 F 5 S Z 7 V X I g h S".., 8192) = 8192
28890: read(7, " 2 + f K h 7 u g 0 Y J P".., 8192) = 8192
28890: read(7, " t U o T + H d b / 0 B u".., 8192) = 8192
28890: read(7, " 2 y 6 z l k 9 e r Q B s".., 8192) = 8192
28890: read(7, " 6 a\n t I O V l W d 0 H".., 8192) = 8192
28890: read(7, " 7 k e / W z Q 7 n T 2 6".., 8192) = 8192
28890: read(7, " L 4 X F z U a J E b M c".., 8192) = 8192
28890: read(7, " i I S H g 0 p 1 m 4 M h".., 8192) = 8192
28890: read(7, " g d 9 3 O J R Y k x U\n".., 8192) = 8192
28890: read(7, " 0 p s B F t g F e r 0 7".., 8192) = 8192
28890: read(7, " x s A d s F s R R l T B".., 8192) = 8192
28890: read(7, " n A I A A L s I A A A e".., 8192) = 8192
28890: read(7, " c C 9 p b n R l c m 5 l".., 8192) = 8192
28890: read(7, " b H B o\n a S 9 p b n R".., 8192) = 8192
28890: read(7, " E A G R l b H B o a S 9".., 8192) = 8192
28890: read(7, " l b H B o a S 9 2 Y z M".., 8192) = 3196
28890: read(7, 0x0003F7B4, 8192) = 0
28890: lseek(7, 0, SEEK_END) = 1354876
28890: llseek(7, 0, SEEK_CUR) = 1354876
28890: llseek(6, 0, SEEK_CUR) = 0
28890: fcntl(6, F_SETLK, 0xEFFFEAA4) = 0
28890: llseek(6, 0, SEEK_CUR) = 0
28890: close(6) = 0
28890: fcntl(7, F_SETLKW, 0xEFFFEB08) = 0
28890: write(0, " + O K t e s t 0 1 0 1".., 66) = 66
28890: sigaction(SIGALRM, 0xEFFFF0C8, 0xEFFFF148) = 0
28890: alarm(120) = 0
28890: read(0, 0xEFFFF260, 1) (sleeping...)
--------------F2694D8C42B40CE315BCEA28--
--------------71BC951E4F9FF79DE55F70C0--
From: "Jack Barnett" <jbarnett at axil.netmate dot com>
Subject: secure pop3?
Date: Mon, 17 Jul 2000 08:55:32 -0500
I was wondering, if there is a way to do a secure pop3? For example, like
an httpd ssl connection but with pop3. so that everything transmitted and
receivied from the server is encyrpted like ssh?
thanks,
Jack
Date: Mon, 17 Jul 2000 16:05:05 +0200 (SAST)
From: "John M. Ostrowick" <jon at cs.wits.ac dot za>
Subject: Re: secure pop3?
apop?
On Mon, 17 Jul 2000, Jack Barnett wrote:
> I was wondering, if there is a way to do a secure pop3? For example, like
> an httpd ssl connection but with pop3. so that everything transmitted and
> receivied from the server is encyrpted like ssh?
>
> thanks,
> Jack
>
From: "Jack Barnett" <jbarnett at axil.netmate dot com>
Subject: Re: secure pop3?
Date: Mon, 17 Jul 2000 09:10:30 -0500
> apop?
>
> On Mon, 17 Jul 2000, Jack Barnett wrote:
>
> > I was wondering, if there is a way to do a secure pop3? For example,
like
> > an httpd ssl connection but with pop3. so that everything transmitted
and
> > receivied from the server is encyrpted like ssh?
> >
> > thanks,
> > Jack
> >
Does that encrypt the entire message after the user is authed? Or is the
user authed the all the messages are sent in clear text?
From: "James Raftery" <jrtest at spec.ch.man.ac dot uk>
Date: Mon, 17 Jul 2000 15:19:54 +0100
Subject: nis & user id
I have just compiled qpopper 3.0.2 under irix 6.2. If the user is explicitly in
/etc/passwd then there is no problem. If NIS is used then,with debug,:
'user X not in passwd file(pop_pass.c 886)'. The problem seems to be
'getpwnam'.
I know similar questions have popped up before but I haven't seen a
resolution.
TIA,
Jim
--
James Raftery
Structural Chemistry Department|E-Mail:jrtest at spec.ch.man.ac dot uk
Manchester University | FAX:0161-275-4734
Manchester M13 9PL | Tel.:0161-275-4700