The qpopper list archive ending on 21 Apr 1999
Topics covered in this issue include:
1. (no subject)
Asrul Effendi <asrul at skali.com dot my>
Wed, 14 Apr 1999 17:13:57 +0800
2. Re: (no subject)
"Webmaster" <webmaster at daxis dot nl>
Wed, 14 Apr 1999 11:27:52 +0200
3. out of memory
"Steven Roach" <sroach at ael dot com>
Wed, 14 Apr 1999 09:06:54 -0400
4. Re: (no subject)
Matthew Ritenburg <matthew.ritenburg at opensite dot com>
Wed, 14 Apr 1999 09:19:24 -0400
5. Re: out of memory
Josh Richards <jrichard at fix dot net>
Wed, 14 Apr 1999 11:26:00 -0700 (PDT)
6. user doesn't get mail
Vicki Brown <vlb at cfcl dot com>
Wed, 14 Apr 1999 16:15:06 -0700
7. What have I done?! Log is logging _lines_ of messages!
Vicki Brown <vlb at cfcl dot com>
Wed, 14 Apr 1999 16:16:25 -0700
8. Disable qpopper2.53' reverse lookup on C code?
Lufan Chen <lchen at Rational dot Com>
Wed, 14 Apr 1999 16:59:39 -0700 (PDT)
9. (no subject)
Woon Yung Chung <chungw at rnd.sec.samsung.co dot kr>
Thu, 15 Apr 1999 09:30:20 +0900
10. Re: What have I done?! Log is logging _lines_ of messages!
Vicki Brown <vlb at cfcl dot com>
Wed, 14 Apr 1999 18:31:03 -0700
11. Re: user doesn't get mail
Fergal Daly <fergal at esatclear dot ie>
Thu, 15 Apr 1999 09:50:48 +0000
12. bulletins bug and patch
Fergal Daly <fergal at esatclear dot ie>
Thu, 15 Apr 1999 10:17:25 +0000
13. Re: user doesn't get mail
James E Gaynor <gaynor at avalon.eng.ohio-state dot edu>
Thu, 15 Apr 1999 08:29:39 -0400 (EDT)
14. RE: user doesn't get mail
"Evan Erwin" <obiwan at frag dot com>
Thu, 15 Apr 1999 08:55:34 -0400
15. unsubscribe
zili zhang <zilizhang at netscape dot net>
15 Apr 99 22:19:20 CST
16. Re: user doesn't get mail
Vicki Brown <vlb at cfcl dot com>
Thu, 15 Apr 1999 08:47:34 -0700
17.
Woon Yung Chung <chungw at rnd.sec.samsung.co dot kr>
Fri, 16 Apr 1999 09:44:05 +0900
18. unsubscribe
"T.Ueda" <ueda at power.elec.kitami-it.ac dot jp>
Fri, 16 Apr 1999 13:56:13 +0900
19. (no subject)
Giovanni Moroni <g.moroni at mclink dot it>
Fri, 16 Apr 1999 10:23:52 +0200
20. change recognition modes
Barry Treahy <treahy at mmaz dot com>
Fri, 16 Apr 1999 14:20:06 -0700
21. Re: change recognition modes
Alan Brown <alan at manawatu.gen dot nz>
Sat, 17 Apr 1999 15:00:55 +1200 (NZST)
22.
Kenny Tse <kenny at nip.net dot hk>
Sat, 17 Apr 1999 14:41:07 +0800
23. Re: change recognition modes
Neil Sakuma <unifex at digital dot net>
Sat, 17 Apr 1999 12:22:15 -0400 (EDT)
24. popper: unrecognized file type
Pritish Shah <pshah at iocenter dot net>
Sat, 17 Apr 1999 13:21:58 -0400
25. Re: change recognition modes
Earle Ake <earle.ake at hcst dot com>
Sat, 17 Apr 1999 13:54:11 -0400 (EDT)
26. Re: change recognition modes
Barry Treahy <treahy at mmaz dot com>
Mon, 19 Apr 1999 08:31:30 -0700
27. qpopper bulletins patch
Fergal Daly <fergal at esatclear dot ie>
Wed, 21 Apr 1999 12:08:54 +0000
28. popper and sticky bit
Tadeusz Wiewiorowski <twiewior at toronto.cbc dot ca>
Wed, 21 Apr 1999 14:18:42 -0400
29. Need to create email (POP BOXES) via Perl script
"New Hope Hostmaster" <hostmaster at newhope dot com>
Wed, 21 Apr 1999 13:18:43 -0600
30. Looking for either a AFS or PAM Solaris patched qpopper
Patrick Lathrop <patrick at sfsu dot edu>
Wed, 21 Apr 1999 13:18:31 -0700
31. RE: Need to create email (POP BOXES) via Perl script
Charles Galpin <cgalpin at lighthouse-software dot com>
Wed, 21 Apr 1999 20:03:33 -0400 (EDT)
32. APOP
Vicki Brown <vlb at cfcl dot com>
Wed, 21 Apr 1999 18:53:23 -0700
33. poppassd
Vicki Brown <vlb at cfcl dot com>
Wed, 21 Apr 1999 18:59:07 -0700
34. Re: Need to create email (POP BOXES) via Perl script
Vicki Brown <vlb at cfcl dot com>
Wed, 21 Apr 1999 19:13:12 -0700
35. Re: Need to create email (POP BOXES) via Perl script
Chuck Mead <chuck at moongroup dot com>
Wed, 21 Apr 1999 22:40:34 -0400 (EDT)
36. POP auth. trough a database
"Maarten Moerman" <webmaster at agroweb dot nl>
Thu, 22 Apr 1999 06:21:09 +0200
37. Re: POP auth. trough a database
Laurent.Pellissier at ema dot fr
Thu, 22 Apr 1999 09:21:17 +0200
38. Re: POP auth. trough a database
<unknown at riverstyx dot net>
Thu, 22 Apr 1999 00:50:20 -0700 (PDT)
39. Re: Need to create email (POP BOXES) via Perl script
Fergal Daly <fergal at esatclear dot ie>
Thu, 22 Apr 1999 08:01:20 +0000
40. Re: Need to create email (POP BOXES) via Perl script
Richard Rager <kb8rln at actech dot net>
Thu, 22 Apr 1999 07:48:52 -0400 (EDT)
41. Re: poppassd
Pedro Alves <pedro at momentus.com dot br>
Thu, 22 Apr 1999 08:51:49 -0300
42. poplocks that exceed a user's quota
jtm at shore dot net
Thu, 22 Apr 1999 08:11:55 -0400 (EDT)
43. patch availability to assure daemon binding to a single IP
M Ferreira <mfer at leirianet dot pt>
Thu, 22 Apr 1999 12:40:19 +0100
44. RE: poplocks that exceed a user's quota
"Evan Erwin" <obiwan at frag dot com>
Thu, 22 Apr 1999 09:10:02 -0400
45. RE: poplocks that exceed a user's quota
Troy Ablan <chaser at shore dot net>
Thu, 22 Apr 1999 10:11:34 -0400 (EDT)
46. Re: poplocks that exceed a user's quota
Fergal Daly <fergal at esatclear dot ie>
Thu, 22 Apr 1999 14:33:36 +0000
47. RE: poplocks that exceed a user's quota
Eric Hester <eric at carol dot net>
Thu, 22 Apr 1999 10:50:08 -0400
48. Re: poppassd
"Karlos Z. Smith" <kazen at viptx dot net>
Thu, 22 Apr 1999 09:58:32 -0500 (CDT)
49.
administrator <scott at netinfosvcs dot com>
Thu, 22 Apr 1999 12:12:21 -0400 (EDT)
50. Re: poppassd
Pedro Alves <pedro at momentus.com dot br>
Thu, 22 Apr 1999 13:28:51 -0300
Date: Wed, 14 Apr 1999 17:13:57 +0800
From: Asrul Effendi <asrul at skali.com dot my>
Subject: (no subject)
unsubscribe
From: "Webmaster" <webmaster at daxis dot nl>
Subject: Re: (no subject)
Date: Wed, 14 Apr 1999 11:27:52 +0200
unsubscribe
From: "Steven Roach" <sroach at ael dot com>
Subject: out of memory
Date: Wed, 14 Apr 1999 09:06:54 -0400
Hello,
I have about 400-500 users, using mostly Outlook or windows messaging. since
I started using Qpopper, I noticed every once in a while I have a user that
can't get their mail, they get and error "not enough memory to receive mail"
now if I look at the mailbox, it's only 200k and as soon as I delete the
mail box everything works fine. I was using version 2.2 I upgraded to
version 2.53 last night.
I hope this takes care of it. but I was wondering if anyone else had this
problem, or might know what causes it.
-Steve
Date: Wed, 14 Apr 1999 09:19:24 -0400
From: Matthew Ritenburg <matthew.ritenburg at opensite dot com>
Subject: Re: (no subject)
unsubscribe
Date: Wed, 14 Apr 1999 11:26:00 -0700 (PDT)
From: Josh Richards <jrichard at fix dot net>
Subject: Re: out of memory
On Wed, 14 Apr 1999, Steven Roach wrote:
> I have about 400-500 users, using mostly Outlook or windows messaging. since
> I started using Qpopper, I noticed every once in a while I have a user that
> can't get their mail, they get and error "not enough memory to receive mail"
> now if I look at the mailbox, it's only 200k and as soon as I delete the
> mail box everything works fine. I was using version 2.2 I upgraded to
> version 2.53 last night.
>
> I hope this takes care of it. but I was wondering if anyone else had this
> problem, or might know what causes it.
I've been running 2.53 on a POP3 server here for months and just in the
last week starting getting this as well. So far no clue what is causing
it...only a handful of users are having the problem (out of 4000+) but it
is definitely not just a fluke user or two. Something is up the last week
or so.
Usually if I open up the mailbox with mutt/pine/mail the oldest message is
marked as Read, with the remainder still as Unread....about 95% of the
time if I delete just the message that is marked Read and have them check
their mailbox again things start working, although in several cases this
hasn't helped.
Anybody got some thoughts? :)
-jr
----
Josh Richards - <jrichard at fix dot net> - [Director of Network Operations]
The FIX Network, Inc. - San Luis Obispo, CA - <URL:http://www.fix.net/>
Date: Wed, 14 Apr 1999 16:15:06 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: user doesn't get mail
I have a user who keeps getting "You have no new mail" from Eudora.
I've looked. He has mail. He has a 113093 byte mailbox on the server. (OK,
I even checked with mail -f /var/mail/username; every message in his
mailbox is marked as New).
Server is running qpopper 2.53. Client is running Eudora 4.0.1.
All users have the shell /POPPER/SHELL; all users have home directories. I
compiled qpopper in server mode so there are no .user.pop files in the mail
spool.
Is there a file that logs which messages were read?
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Wed, 14 Apr 1999 16:16:25 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: What have I done?! Log is logging _lines_ of messages!
Yipes. Help!!
My popper log is logging the text of each message, line per line!
I recently rebuilt the qpopper to turn off looking for the Bulletin
directory. Did I do something stupid by accident?
- Vicki
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Wed, 14 Apr 1999 16:59:39 -0700 (PDT)
From: Lufan Chen <lchen at Rational dot Com>
Subject: Disable qpopper2.53' reverse lookup on C code?
Folks,
Does anyone know where to get reverse name lookup disabled
by hacking the C code? I could not find the code related
to the reverse lookup for _remote_ hostname. Though you
can find reverse lookup for pop server's hostname in
pop_init.c. Your pointers will be greatly appreciated.
-----------------------------
Lufan Chen
Sr. Unix System Administrator
IBM
lchen at rational dot com
*****************************
Date: Thu, 15 Apr 1999 09:30:20 +0900
From: Woon Yung Chung <chungw at rnd.sec.samsung.co dot kr>
Subject: (no subject)
unsubscribe
Date: Wed, 14 Apr 1999 18:31:03 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: Re: What have I done?! Log is logging _lines_ of messages!
At 16:16 -0700 4/14/99, Vicki Brown wrote:
> Yipes. Help!!
>
> My popper log is logging the text of each message, line per line!
>
> I recently rebuilt the qpopper to turn off looking for the Bulletin
>directory. Did I do something stupid by accident?
At 20:46 -0400 4/14/99, Edward Siewick wrote:
> If you happen to have debugging set at some very high level this can
>happen
Hmm. Not intentionally but it's been a long time since I built this; I may
have debugging turned on.
So apparently if I set
qpopper -s -t /var/log/poplog
I get a LOT more information than if I just set
qpopper -s
and lest the messages go to /var/log/messages
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Thu, 15 Apr 1999 09:50:48 +0000
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: user doesn't get mail
Vicki Brown wrote:
>
> I have a user who keeps getting "You have no new mail" from Eudora.
>
> I've looked. He has mail. He has a 113093 byte mailbox on the server. (OK,
> I even checked with mail -f /var/mail/username; every message in his
> mailbox is marked as New).
>
> Server is running qpopper 2.53. Client is running Eudora 4.0.1.
>
> All users have the shell /POPPER/SHELL; all users have home directories. I
> compiled qpopper in server mode so there are no .user.pop files in the mail
> spool.
>
> Is there a file that logs which messages were read?
Each message has a status line which records whether it was read or not
but the problem should be solved if they turn off the "leave mail on
server" option (or turn on the "delete mail from server" option, I don't
have Eudora 4 so I don't know how they phrase it),
Fergal
Date: Thu, 15 Apr 1999 10:17:25 +0000
From: Fergal Daly <fergal at esatclear dot ie>
Subject: bulletins bug and patch
I don't know if anyone has hit this bug but on our pop server when we
turn on bulletins and server mode we hit a bug.
If a user who is due a bulletin has not got a mail box (eg someone who
has never received mail) then when they try to pop their mail, qpopper
just dies silently (even in debug mode).
The problem is line 923 of pop_dropcopy.c . If the file doesn't
exist then the open fails and the error is not handled.
replacing
if ((mfd = open(p->drop_name, O_RDWR)) > 0) {
with
if ((mfd = open(p->drop_name, O_RDWR | O_CREAT, 0600)) > 0) {
means the file will be created if it doesn't exist already before
proceeding. There is still no code there to handle an error if open
fails for some other reason.
Has anyone else run into this?
Fergal
Date: Thu, 15 Apr 1999 08:29:39 -0400 (EDT)
From: James E Gaynor <gaynor at avalon.eng.ohio-state dot edu>
Subject: Re: user doesn't get mail
If you have quotas enabled on the the volume which keeps /var/mail, then
make sire that his disk quota is 2x his mailspool (one for the spool, one
for the temp file the popper makes). Otherwise the creation of the temp
file will fail, and user will appear to have no mail.
-jg
On Thu, 15 Apr 1999, Fergal Daly wrote:
> Vicki Brown wrote:
> >
> > I have a user who keeps getting "You have no new mail" from Eudora.
> >
> > I've looked. He has mail. He has a 113093 byte mailbox on the server. (OK,
> > I even checked with mail -f /var/mail/username; every message in his
> > mailbox is marked as New).
> >
> > Server is running qpopper 2.53. Client is running Eudora 4.0.1.
> >
> > All users have the shell /POPPER/SHELL; all users have home directories. I
> > compiled qpopper in server mode so there are no .user.pop files in the mail
> > spool.
> >
> > Is there a file that logs which messages were read?
>
> Each message has a status line which records whether it was read or not
> but the problem should be solved if they turn off the "leave mail on
> server" option (or turn on the "delete mail from server" option, I don't
> have Eudora 4 so I don't know how they phrase it),
>
> Fergal
>
--
Jim Gaynor - gaynor.4 at osu dot edu
http://eewww.eng.ohio-state.edu/~gaynor
System Administrator - OSU Electrical Engineering
From: "Evan Erwin" <obiwan at frag dot com>
Subject: RE: user doesn't get mail
Date: Thu, 15 Apr 1999 08:55:34 -0400
Or just recompile in server mode, and you shouldn't have to worry about
it...
Evan Erwin
Systems Administrator
The Citizens Bank of East Tennessee
-----Original Message-----
From: James E Gaynor [mailto:gaynor at avalon.eng.ohio-state dot edu]
Sent: Thursday, April 15, 1999 8:30 AM
To: Fergal Daly
Cc: Vicki Brown; Subscribers of Qpopper
Subject: Re: user doesn't get mail
If you have quotas enabled on the the volume which keeps /var/mail, then
make sire that his disk quota is 2x his mailspool (one for the spool, one
for the temp file the popper makes). Otherwise the creation of the temp
file will fail, and user will appear to have no mail.
-jg
On Thu, 15 Apr 1999, Fergal Daly wrote:
> Vicki Brown wrote:
> >
> > I have a user who keeps getting "You have no new mail" from Eudora.
> >
> > I've looked. He has mail. He has a 113093 byte mailbox on the server.
(OK,
> > I even checked with mail -f /var/mail/username; every message in his
> > mailbox is marked as New).
> >
> > Server is running qpopper 2.53. Client is running Eudora 4.0.1.
> >
> > All users have the shell /POPPER/SHELL; all users have home directories.
I
> > compiled qpopper in server mode so there are no .user.pop files in the
mail
> > spool.
> >
> > Is there a file that logs which messages were read?
>
> Each message has a status line which records whether it was read or not
> but the problem should be solved if they turn off the "leave mail on
> server" option (or turn on the "delete mail from server" option, I don't
> have Eudora 4 so I don't know how they phrase it),
>
> Fergal
>
--
Jim Gaynor - gaynor.4 at osu dot edu
http://eewww.eng.ohio-state.edu/~gaynor
System Administrator - OSU Electrical Engineering
Date: 15 Apr 99 22:19:20 CST
From: zili zhang <zilizhang at netscape dot net>
Subject: unsubscribe
unsubscribe
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webm=
ail.netscape.com.
Date: Thu, 15 Apr 1999 08:47:34 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: Re: user doesn't get mail
At 09:50 +0000 04/15/1999, Fergal Daly wrote:
>Vicki Brown wrote:
> >
> > I have a user who keeps getting "You have no new mail" from Eudora.
>
>Each message has a status line which records whether it was read or not
>but the problem should be solved if they turn off the "leave mail on
>server" option (or turn on the "delete mail from server" option, I don't
>have Eudora 4 so I don't know how they phrase it),
I replaced the entire Eudora application and all files and the user
is now getting mail.
The status lines in the mail spool file were unread; the mail was all
New. Somehow it was never asking for a password, just diving in and
failing instantly. Odd appearances of "quit with 1" in the Log. Most
mysterious.
Eudora 4.0.1. No other users had this problem. Probably not reproducible.
- Vicki
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Fri, 16 Apr 1999 09:44:05 +0900
From: Woon Yung Chung <chungw at rnd.sec.samsung.co dot kr>
unsubsribe
Date: Fri, 16 Apr 1999 13:56:13 +0900
From: "T.Ueda" <ueda at power.elec.kitami-it.ac dot jp>
Subject: unsubscribe
unsubscribe
Date: Fri, 16 Apr 1999 10:23:52 +0200
From: Giovanni Moroni <g.moroni at mclink dot it>
Subject: (no subject)
unsubscribe
Date: Fri, 16 Apr 1999 14:20:06 -0700
From: Barry Treahy <treahy at mmaz dot com>
Subject: change recognition modes
This error is really a bother... Has there been any progress to add
additional debug data to qpopper or to fix this problem?
Apr 16 14:45:27 sharks popper[11947]: treahy at dell400.mmaz dot com: -ERR
Unable to process From lines (envelopes), change recognition modes.
TIA
Barry
Date: Sat, 17 Apr 1999 15:00:55 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: change recognition modes
On Fri, 16 Apr 1999, Barry Treahy wrote:
> This error is really a bother... Has there been any progress to add
> additional debug data to qpopper or to fix this problem?
>
> Apr 16 14:45:27 sharks popper[11947]: treahy at dell400.mmaz dot com: -ERR
> Unable to process From lines (envelopes), change recognition modes.
This is covered in the FAQ. It's a corrupted mailbox. Truncate the top
of the file until you reach a valid From_ line.
AB
Date: Sat, 17 Apr 1999 14:41:07 +0800
From: Kenny Tse <kenny at nip.net dot hk>
unsubscribe
Date: Sat, 17 Apr 1999 12:22:15 -0400 (EDT)
From: Neil Sakuma <unifex at digital dot net>
Subject: Re: change recognition modes
Has anyone created a script (Perl, C, or shell) to truncate a mail file
until a valid "From" line is reached? Willing to share? :) Thank you.
Neil Sakuma
Technical Support Administrator, Florida Online
On Sat, 17 Apr 1999, Alan Brown wrote:
> On Fri, 16 Apr 1999, Barry Treahy wrote:
>
> > This error is really a bother... Has there been any progress to add
> > additional debug data to qpopper or to fix this problem?
> >
> > Apr 16 14:45:27 sharks popper[11947]: treahy at dell400.mmaz dot com: -ERR
> > Unable to process From lines (envelopes), change recognition modes.
>
> This is covered in the FAQ. It's a corrupted mailbox. Truncate the top
> of the file until you reach a valid From_ line.
>
> AB
>
Date: Sat, 17 Apr 1999 13:21:58 -0400
From: Pritish Shah <pshah at iocenter dot net>
Subject: popper: unrecognized file type
Hi,
I compiled qpopper with virtual email support. However, whenever I try
to get the email, the following is what I get. I can't figure out what
is going on. I have compiled the virtusers.db file with the command
"makemap -v hash /etc/mail/virtusers.db < /etc/mail/virtusers"
The makemap is an old version (sendmail 8.8.4).
What do I need to do to solve the problems.
Regards,
Pritish
Connected to dialup1.iocconnect.com.
Escape character is '^]'.
+OK QPOP (version 3.0b14) at dialup1.iocconnect.com starting.
user test at test dot com
popper: unrecognized file type
Connection closed by foreign host.
From: Earle Ake <earle.ake at hcst dot com>
Subject: Re: change recognition modes
Date: Sat, 17 Apr 1999 13:54:11 -0400 (EDT)
According to Neil Sakuma:
>
> Has anyone created a script (Perl, C, or shell) to truncate a mail file
> until a valid "From" line is reached? Willing to share? :) Thank you.
perl -e 'while(($line=<>)!~/^From /){}print $line;while(<>){print $_;}'
Redirect stdin as the mail file and stdout to the file you want to keep. This
looks for the first "From " line in the file and assumes that is valid. It
drops any lines up until that point.
Here is an example:
perl -e 'while(($line=<>)!~/^From /){}print $line;while(<>){print $_;}' \
<input_mailfile >output_mailfile
-Earle
--
Earle Ake Manager, Internet Services Earle.Ake at HCST dot com
Hassler Communication Systems Technology, Inc. http://www.hcst.net
Date: Mon, 19 Apr 1999 08:31:30 -0700
From: Barry Treahy <treahy at mmaz dot com>
Subject: Re: change recognition modes
This may be covered in the FAQ, but it is not a solution! What about the
situation, like mine, where the mail file for a typical morning has 500
messages and after a weekend my mbox is easily 2-3MB in size AND the bad
envelope is NOT the first or last messages of the file.
Other's popd's and older versions of qpopper do not have this problem.
What I'm suggesting is that the software provide better diags so that you
know where in the mbox the bad envelope is or better, that popper forward
the bad envelope either to the local postmaster or bit-bucket...
Barry
Alan Brown wrote:
> On Fri, 16 Apr 1999, Barry Treahy wrote:
>
> > This error is really a bother... Has there been any progress to add
> > additional debug data to qpopper or to fix this problem?
> >
> > Apr 16 14:45:27 sharks popper[11947]: treahy at dell400.mmaz dot com: -ERR
> > Unable to process From lines (envelopes), change recognition modes.
>
> This is covered in the FAQ. It's a corrupted mailbox. Truncate the top
> of the file until you reach a valid From_ line.
>
> AB
Date: Wed, 21 Apr 1999 12:08:54 +0000
From: Fergal Daly <fergal at esatclear dot ie>
Subject: qpopper bulletins patch
This is a multi-part message in MIME format.
--------------CD9AB2A8BCFD84A432B90C60
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi,
I have a patch for qpopper to make bulletins more flexible. If the
option is defined at compile time, qpopper follow it's normal bulletin
procedure (ie checking the .pop_bull file against the bulletin numbers,
delivering bulletin and increasing .pop_bull file) but now if qpopper
decides a user hasn't received a bulletin it first calls an external
program (set at compile time) for confirmation that the user should get
it.
This allows you to use bulletins as an efficient list-serv for your pop
users. Say you have 3 bulletin lists - service, competitions and offers.
Some users have asked to be removed from some of the lists which makes
it impossible to handle with standard bulletins.
You write a program in perl (or whatever you want) which when given the
username and the bulletin filename is able to tell whether the user
should receive it. Then when qpopper is just about to deliver the
bulletin it calls the perl program which tells it whether to deliver or
not. If the perl program says don't deliver then qpopper counts this as
a successfully delivered bulletin and will never try to deliver it
again.
Any feedback appreciated,
Fergal
INSTRUCTIONS
POPPER
The instructions are a little more complicated than I'd like, I don't
know anything about autoconf - any help appreciated.
extract qpopper2.53 source code
save the attached patch file
cd into the qpopper2.53 directory
now do
patch < patch.wantbull
./configure --enable-bulletins
include any other options you want with configure
Now open the Makefile in an editor and find the line that begins with
"DEFS =" and add in the following
-DWANTBULL=\"/the/program/you/want/to/call\"
the \ before the quotes are essential
now do a make
PROGRAM
The program you specify gets called with the username as the first
argument and the bulletin as the second - like this
/usr/bin/wantbull fergal 00004.newsletter2
The exit code of the program should be 0 if the bulletin should be
delivered or 1 if it shouldn't.
--------------CD9AB2A8BCFD84A432B90C60
Content-Type: text/plain; charset=us-ascii;
name="patch.wantbull"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch.wantbull"
--- pop_bull.c 1999/04/20 16:19:43 1.1.1.1
+++ pop_bull.c 1999/04/21 10:57:17 1.2
@@ -43,6 +43,16 @@
#include <popper.h>
#include <flock.h>
+#ifdef WANTBULL
+int WantBull (char*, char*, char*, POP*);
+
+# include <errno.h>
+# include <unistd.h>
+# include <sys/wait.h>
+#endif
+
+
+
static int sequence = 0;
static time_t timestamp;
static char *errmesg = "Unable to copy Bulletin %s to pop dropbox %s (%d)";
@@ -289,6 +299,36 @@
char bullName[256];
MsgInfoList *mp; /* Pointer to message info list */
+#ifdef WANTBULL
+ #ifdef DEBUG
+ if(p->debug)
+ pop_log(p,POP_DEBUG,
+ "Calling '%s' with '%s', '%s'.",
+ WANTBULL, p->user, name);
+ #endif
+
+/*
+ this user hasn't had this bulletin yet so ask the WANTBULL program if we should
+ deliver it
+*/
+
+ if (WantBull(WANTBULL, p->user, name, p))
+ {
+ #ifdef DEBUG
+ if(p->debug)
+ pop_log(p,POP_DEBUG, "Bulletin not delivered");
+ #endif
+ return POP_SUCCESS;
+ }
+ #ifdef DEBUG
+ else
+ {
+ if(p->debug)
+ pop_log(p,POP_DEBUG, "Bulletin delivered");
+ }
+ #endif
+#endif
+
msg_num = p->msg_count;
p->msg_count = (((p->msg_count - 1) / ALLOC_MSGS) + 1) * ALLOC_MSGS;
@@ -410,12 +450,45 @@
return POP_SUCCESS;
}
-
-
-
-
-
+#ifdef WANTBULL
+/*
+this takes a program name, and runs it with 2 arguments:
+these should be the username and the bulletin
+*/
-
+int WantBull (char *program, char *uname, char* bulletin, POP *p)
+{
+ int pid, status;
+ char *args[4];
+ int result;
+
+ args[0] = program;
+ args[1] = uname;
+ args[2] = bulletin;
+ args[3] = NULL;
+
+ pid = fork();
+ if (pid == -1)
+ return -1;
+ if (pid == 0)
+ {
+ result = execv(program, args);
+ exit(127);
+ }
+ do
+ {
+ if (waitpid(pid, &status, 0) == -1)
+ {
+ if (errno != EINTR)
+ return -1;
+ }
+ else
+ {
+ return status;
+ }
+ }
+ while(1);
+}
+#endif
--------------CD9AB2A8BCFD84A432B90C60--
Date: Wed, 21 Apr 1999 14:18:42 -0400
From: Tadeusz Wiewiorowski <twiewior at toronto.cbc dot ca>
Subject: popper and sticky bit
My mail server is running at 100% CPU all day and many Eudora mail
check connect are timing out, so I am looking for any possible way
to do things more efficiently ...
Q. Does anybody know if I can set sticky bit for popper v 2.53 ?
[it should save time on next popper process initialization]
Anybody does it ?
BTW I am running dedicated sendmail/POP HP server with HP-UX 10.20 .
Tad Wiewiorowski
CBC - Canada
From: "New Hope Hostmaster" <hostmaster at newhope dot com>
Subject: Need to create email (POP BOXES) via Perl script
Date: Wed, 21 Apr 1999 13:18:43 -0600
I am setting up a web based email system, like Hotmail. I think I will be
using The Obsidian Communication Server (OCS) http://www.obsidian.co.za, as
the server (Red Hat).
The above program works great, except I need to be able to create the pop
boxes on the Linux machine via a cgi-script. OCS has a whole set up scripts
that allows the Administrator to completely setup users, groups, shell and
FTP programs, create web space, etc. (This is much more than I need, and
editing it seems like the wrong way to go.) I need a simple program that
will allow me to pass a username and password to it, and it will create the
POP accounts.
Any help most appreciated.
Thanks,
Peter Janett
New Media One Web Services
~Professional results with a personal touch~
http://www.newmediaone.com
webmaster at newmediaone dot com
Date: Wed, 21 Apr 1999 13:18:31 -0700
From: Patrick Lathrop <patrick at sfsu dot edu>
Subject: Looking for either a AFS or PAM Solaris patched qpopper
Good afternoon,
I am new to this list so please forgive me if this question is old-hat and
repetitive.
We use a Solaris 2.6 with AFS and I am looking for a already patched version=
of
the Qpopper.
I was hoping not to have to recode yet another server for AFS or for PAM.
Thanks
Patrick Lathrop
Internet Systems Coordinator
San Francisco State University
Computing Services
1600 Holloway Avenue, San Francisco, Ca.=A0 USA 94132-4031
(415)338-1909 Fax (415)338-0954
Email to:=A0 patrick at sfsu dot edu
«Le pire est toujours certain.»
Date: Wed, 21 Apr 1999 20:03:33 -0400 (EDT)
From: Charles Galpin <cgalpin at lighthouse-software dot com>
Subject: RE: Need to create email (POP BOXES) via Perl script
sounds like you want to use useradd/adduser
or did you mean a simpler web based solution?
On 21-Apr-99 New Hope Hostmaster wrote:
> I am setting up a web based email system, like Hotmail. I think I will be
> using The Obsidian Communication Server (OCS) http://www.obsidian.co.za, as
> the server (Red Hat).
>
> The above program works great, except I need to be able to create the pop
> boxes on the Linux machine via a cgi-script. OCS has a whole set up scripts
> that allows the Administrator to completely setup users, groups, shell and
> FTP programs, create web space, etc. (This is much more than I need, and
> editing it seems like the wrong way to go.) I need a simple program that
> will allow me to pass a username and password to it, and it will create the
> POP accounts.
>
> Any help most appreciated.
>
> Thanks,
>
> Peter Janett
>
> New Media One Web Services
> ~Professional results with a personal touch~
> http://www.newmediaone.com
> webmaster at newmediaone dot com
--Charles Galpin <cgalpin at lighthouse-software dot com> 21-Apr-99 20:02:38
Drive D: is the first dos partition in hdb. The rest of
the drives follow in a sequence that only a Microsoft madman
can figure out (there is a semblance of logic to it, but it
does not concern us here!).
-- Ramon Gandia
Date: Wed, 21 Apr 1999 18:53:23 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: APOP
Does anyone run APOP?
The README file is a little shy on clarity :-)
My impression is that users are _still_ added to /etc/passwd, but
they will also need apop entries.
Is there a convenient way to make apop entries from my existing
/etc/passwd file? Do I need to "popauth" each user one at a time?!
That would be a bother; I don't know their current passwords.
Is there any better documentation... besides the source (I loathe C).
- Vicki
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Wed, 21 Apr 1999 18:59:07 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: poppassd
I have a RedHat Linux (specifically MkLinux) system. I have qpopper
2.5.3. My users all have Eudora. They do not have Linux shell
accounts. They do not _want_ shell accounts.
I want the users to be able to change their passwords.
I have located a half dozen different versions of poppassd. Most are
in C. One is in Perl.
The one in Perl writes to a file in ~pop/POP that looks like the
password file (same format) but isn't the password file. I don't
think it uses popauth. But qpopper is not going to go look for
passwords in a funny file in ~pop/POP.
The C programs, by and large, do not build for RedHat Linux. They get
warnings. The resulting binaries do not run.
I finally got one to build and start a conversation with /etc/passwd.
The conversation hangs until it eventually times out. Password is
unchanged.
I'm getting disgusted.
Do I really need to go write this in Perl myself, with setuid
permission to edit the actual password file? Or write to another
file and have cron come by every so often and update /etc/passwd?
I'm subscribed to half a dozen MkLinux mailing lists and no one has
heard of poppassd. Someone kindly checked the RedHat archives; no
poppassd.
How do other people allow their user communities to change passwords?
- Vicki
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Wed, 21 Apr 1999 19:13:12 -0700
From: Vicki Brown <vlb at cfcl dot com>
Subject: Re: Need to create email (POP BOXES) via Perl script
At 13:18 -0600 04/21/1999, Qpopper list wrote:
>I am setting up a web based email system, like Hotmail. I think I will be
>using The Obsidian Communication Server (OCS) http://www.obsidian.co.za, as
>the server (Red Hat).
>
>The above program works great, except I need to be able to create the pop
>boxes on the Linux machine via a cgi-script. OCS has a whole set up scripts
>that allows the Administrator to completely setup users, groups, shell and
>FTP programs, create web space, etc. (This is much more than I need, and
>editing it seems like the wrong way to go.) I need a simple program that
>will allow me to pass a username and password to it, and it will create the
>POP accounts.
I have written a newuser.cgi script (based on Lincoln Stein's
guestbook example from the CGI.pm book). Perhaps needless to say
(now), it uses CGI.pm.
At the recommendation of several people on old mailing lists (I
looked far and wide for an adduser CGI script!) the CGI script does
not run as root and thus does not try to do the useradd itself. That
is, the script does not actually create the user account; instead,
it writes the appropriate useradd command lines to a commands file
which can then be run through sh, i.e.:
useradd -m -d /homes -g 102 -s /bin/tcsh -c "Vicki Brown,Office," vlb
# passwd vlb 6Kl3LUGwLXYnc (abc)
It has been suggested that I set up a crontab entry to run the
resulting command lines through sh every so often.
If using APOP, the script could of course generate popauth commands
as well as useradd commands. For example, I have the script also
append the new user's name and email address to an appropriate set of
closed-subscription internal mailing lists.
The password is a tad more problematic. At the moment, the script
creates an encrypted password entry which can be pasted into
/etc/passwd. (At the moment it saves clear passwords too, allowing
the admin to run the password command interactively as well.
Eventually, I'll probably take that out but it's been convenient).
Unfortunately, RedHat Linux (at least the one I have) has a weird
password command and I am finding it difficult to communicate with it
noninteractively. I have turned off the "Good Password" logic (PAM)
[yes, I know, but we're inside a firewall and good passwords for
email are not our highest security priority).
By the way - If anyone has successfully held a scripted conversation
with RedHat's passwd command, via Tcl/expect, C, or Perl... I'd love
to hear what you did. As mentioned in another message, poppassd is
driving me nuts trying to get it working!
- Vicki
---
|\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
|,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
'---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
Date: Wed, 21 Apr 1999 22:40:34 -0400 (EDT)
From: Chuck Mead <chuck at moongroup dot com>
Subject: Re: Need to create email (POP BOXES) via Perl script
On Wed, 21 Apr 1999, New Hope Hostmaster wrote:
> I am setting up a web based email system, like Hotmail. I think I will be
> using The Obsidian Communication Server (OCS) http://www.obsidian.co.za, as
> the server (Red Hat).
>
> The above program works great, except I need to be able to create the pop
> boxes on the Linux machine via a cgi-script. OCS has a whole set up scripts
> that allows the Administrator to completely setup users, groups, shell and
> FTP programs, create web space, etc. (This is much more than I need, and
> editing it seems like the wrong way to go.) I need a simple program that
> will allow me to pass a username and password to it, and it will create the
> POP accounts.
I don't understand... is this supposed to be automated... i.e. can be
set-up by the user... like yahoo and hotmail etc.? Otherwise... OCS
allows you to create accounts and if you have /bin/false in your
/etc/shells then they can be pop only.
Cheers!
--
Chuck Mead, CEO - Moongroup Consulting, Inc. <chuck at moongroup dot com>
http://www.moongroup.com/
Need help with sendmail/fetchmail/procmail or MUA's?
Join the mailhelp mailing list.
Send Subject: subscribe to mailhelp-request at moongroup dot com to subscribe.
"Lead, follow, or get the hell out of the way!"
-- me (not reputed as original!)
From: "Maarten Moerman" <webmaster at agroweb dot nl>
Subject: POP auth. trough a database
Date: Thu, 22 Apr 1999 06:21:09 +0200
Hi everyone,
I was wondering if there is a way, (or a mailserver)
that can authenticate users, en get his values for that
from a database like MySql. I want to build a userfriendly
way to manage the users on an linux machine, so that they
do not have to telnet to the linux machine, and manually
walk trough some scripts... because I authorize
those users from the same database with an radius server
when they dial in.
Anyone knows what the possibilities are for this 'problem'??
thanks in advance,
Maarten Moerman
PS. Sorry for my poor english, it is not my first language
----------------------------------------------------
M.G.Moerman Tel. 0321-389212
Agrotel B.V. Fax. 0321-318562
http://www.agroweb.nl Mob. 06-51327087
e-mail: mailto:webmaster at agroweb dot nl
----------------------------------------------------
Date: Thu, 22 Apr 1999 09:21:17 +0200
From: Laurent.Pellissier at ema dot fr
Subject: Re: POP auth. trough a database
À (At) 6:21 +0200 22/04/99, Qpopper list écrivait (wrote) :
>I was wondering if there is a way, (or a mailserver)
>that can authenticate users, en get his values for that
>from a database like MySql.
Yes, a patch of qpopper is available, try to locate it with a Web
based search engine with keywords : qpopper mysql.
--
Laurent PELLISSIER @ Ecole des Mines d'Ales
Date: Thu, 22 Apr 1999 00:50:20 -0700 (PDT)
From: <unknown at riverstyx dot net>
Subject: Re: POP auth. trough a database
Actually, you can check out
http://www.riverstyx.net/products/qpopmysql/
It applies cleanly to 3.0b12 I believe, you'll have to modify it for
anything past that. I haven't had time or reason to update it. Lets you
do all your POP3 authentication from a MySQL database. Also allows you to
set the spool location in the database. You can use UNIX crypt'd
passwords, plaintext passwords, or both. I've got a web interface
somewhere, but I haven't seen it in a while -- probably in some forgotten
tarball.
---
tani hosokawa
river styx internet
On Thu, 22 Apr 1999, Qpopper list wrote:
> Hi everyone,
>
> I was wondering if there is a way, (or a mailserver)
> that can authenticate users, en get his values for that
> from a database like MySql. I want to build a userfriendly
> way to manage the users on an linux machine, so that they
> do not have to telnet to the linux machine, and manually
> walk trough some scripts... because I authorize
> those users from the same database with an radius server
> when they dial in.
>
> Anyone knows what the possibilities are for this 'problem'??
>
> thanks in advance,
> Maarten Moerman
>
> PS. Sorry for my poor english, it is not my first language
> ----------------------------------------------------
> M.G.Moerman Tel. 0321-389212
> Agrotel B.V. Fax. 0321-318562
> http://www.agroweb.nl Mob. 06-51327087
> e-mail: mailto:webmaster at agroweb dot nl
> ----------------------------------------------------
>
>
>
>
>
>
>
Date: Thu, 22 Apr 1999 08:01:20 +0000
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: Need to create email (POP BOXES) via Perl script
Qpopper list wrote:
>
> At 13:18 -0600 04/21/1999, Qpopper list wrote:
> >I am setting up a web based email system, like Hotmail. I think I will be
> >using The Obsidian Communication Server (OCS) http://www.obsidian.co.za, as
> >the server (Red Hat).
> >
> >The above program works great, except I need to be able to create the pop
> >boxes on the Linux machine via a cgi-script. OCS has a whole set up scripts
> >that allows the Administrator to completely setup users, groups, shell and
> >FTP programs, create web space, etc. (This is much more than I need, and
> >editing it seems like the wrong way to go.) I need a simple program that
> >will allow me to pass a username and password to it, and it will create the
> >POP accounts.
>
> I have written a newuser.cgi script (based on Lincoln Stein's
> guestbook example from the CGI.pm book). Perhaps needless to say
> (now), it uses CGI.pm.
>
> At the recommendation of several people on old mailing lists (I
> looked far and wide for an adduser CGI script!) the CGI script does
> not run as root and thus does not try to do the useradd itself. That
> is, the script does not actually create the user account; instead,
> it writes the appropriate useradd command lines to a commands file
> which can then be run through sh, i.e.:
>
> useradd -m -d /homes -g 102 -s /bin/tcsh -c "Vicki Brown,Office," vlb
> # passwd vlb 6Kl3LUGwLXYnc (abc)
>
> It has been suggested that I set up a crontab entry to run the
> resulting command lines through sh every so often.
>
> If using APOP, the script could of course generate popauth commands
> as well as useradd commands. For example, I have the script also
> append the new user's name and email address to an appropriate set of
> closed-subscription internal mailing lists.
>
> The password is a tad more problematic. At the moment, the script
> creates an encrypted password entry which can be pasted into
> /etc/passwd. (At the moment it saves clear passwords too, allowing
> the admin to run the password command interactively as well.
> Eventually, I'll probably take that out but it's been convenient).
>
> Unfortunately, RedHat Linux (at least the one I have) has a weird
> password command and I am finding it difficult to communicate with it
> noninteractively. I have turned off the "Good Password" logic (PAM)
> [yes, I know, but we're inside a firewall and good passwords for
> email are not our highest security priority).
>
> By the way - If anyone has successfully held a scripted conversation
> with RedHat's passwd command, via Tcl/expect, C, or Perl... I'd love
> to hear what you did. As mentioned in another message, poppassd is
> driving me nuts trying to get it working!
I have a system like this working, I gave up trying to control the
passwd command using perl/expect and used
chpasswd -e
which allows you to provide a number of lines with a username and
encrypted passwd for each user and it will change the passwds for all
these users. Say in perl you have a hash who's keys are usernames and
who's values are encrypted passwds, then the following should do the
trick
open(PIPE, "|/usr/sbin/chpasswd -e");
foreach $user (keys %users)
{
print PIPE "$user:$users{$user}\n";
}
close(PIPE):
if you'd rather provide the plain text version of the passwd, just drop
the -e, but this means that you'll have to store the plain text passwd
in your temporary file which would be a bad idea,
Fergal
Date: Thu, 22 Apr 1999 07:48:52 -0400 (EDT)
From: Richard Rager <kb8rln at actech dot net>
Subject: Re: Need to create email (POP BOXES) via Perl script
On Wed, 21 Apr 1999, Vicki Brown wrote:
> useradd -m -d /homes -g 102 -s /bin/tcsh -c "Vicki Brown,Office," vlb
> # passwd vlb 6Kl3LUGwLXYnc (abc)
>
>
> By the way - If anyone has successfully held a scripted conversation
> with RedHat's passwd command, via Tcl/expect, C, or Perl... I'd love
> to hear what you did. As mentioned in another message, poppassd is
> driving me nuts trying to get it working!
>
Ok just do this:
echo username:password_plain_text | /usr/sbin/chpasswd
Enjoy,
Richard
Date: Thu, 22 Apr 1999 08:51:49 -0300
From: Pedro Alves <pedro at momentus.com dot br>
Subject: Re: poppassd
Qpopper list wrote:
> I have a RedHat Linux (specifically MkLinux) system. I have qpopper
> 2.5.3. My users all have Eudora. They do not have Linux shell
> accounts. They do not _want_ shell accounts.
>
> I want the users to be able to change their passwords.
>
> I have located a half dozen different versions of poppassd. Most are
> in C. One is in Perl.
>
> The one in Perl writes to a file in ~pop/POP that looks like the
> password file (same format) but isn't the password file. I don't
> think it uses popauth. But qpopper is not going to go look for
> passwords in a funny file in ~pop/POP.
>
> The C programs, by and large, do not build for RedHat Linux. They get
> warnings. The resulting binaries do not run.
>
> I finally got one to build and start a conversation with /etc/passwd.
> The conversation hangs until it eventually times out. Password is
> unchanged.
>
> I'm getting disgusted.
>
> Do I really need to go write this in Perl myself, with setuid
> permission to edit the actual password file? Or write to another
> file and have cron come by every so often and update /etc/passwd?
>
> I'm subscribed to half a dozen MkLinux mailing lists and no one has
> heard of poppassd. Someone kindly checked the RedHat archives; no
> poppassd.
>
> How do other people allow their user communities to change passwords?
>
> - Vicki
> ---
> |\ _,,,---,,_ Vicki Brown <vlb at cfcl dot com>
> ZZZzz /,`.-'`' -. ;-;;,_ Journeyman Sourceror: Scripts & Philtres
> |,4- ) )-,_. ,\ ( `'-' P.O. Box 1269 San Bruno CA 94066
> '---''(_/--' `-'\_) http://www.cfcl.com/~vlb http://www.macperl.org
I've build an rpm binary package. It's at
http://www.momentus.com.br/pedro/poppassd-1.2-1.i386.rpm
Be carefully:
In this version it expects the following dialog with "/usr/bin/passwd" :
$ passwd
Changing password for pedro
Old password:
Enter the new password (minimum of 8, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
New password:
Re-enter new password:
Need More?
pedro at momentus.com dot br
Subject: poplocks that exceed a user's quota
Date: Thu, 22 Apr 1999 08:11:55 -0400 (EDT)
From: jtm at shore dot net
I am using QPOP ver 2.5 and have a problem where it seems
that poplocks do not prevent new pop sessions.
It seems that the locks can get large enough to exceed a
user's quota which then prevents the lock from moving
back to the user's home dir mail file.
I believe that once a poplock can not be moved back into
the user's home dir because of over quota, that new mail
can still arrive in the user's acct and that each new POP
session simply appends more mail to the poplock.
I strongly suspect that this is a RTFM error but would
appreciate ny tips you may be able to give.
Thanks
John
--
_________________________________________________________
John T. Mahoney jtm at shore dot net
Shore.Net
System Administrator
781/593-3110 xt 158
Date: Thu, 22 Apr 1999 12:40:19 +0100
From: M Ferreira <mfer at leirianet dot pt>
Subject: patch availability to assure daemon binding to a single IP
I was wondering if anyone's got a patch to assure that qpopper binds to a
single specified eth alias instead of it's default behaviour of binding to
all interfaces (mailserver.pop3 instead of *.pop3 in netstat).
--
M Ferreira <mfer at leirianet dot pt>
From: "Evan Erwin" <obiwan at frag dot com>
Subject: RE: poplocks that exceed a user's quota
Date: Thu, 22 Apr 1999 09:10:02 -0400
Run Qpopper in Server Mode. It doesn't copy the entire spool into the users
home directory.
./configure -enable-server-mode
make
Have fun..
Evan Erwin
Systems Administrator
The Citizens Bank of East Tennessee
-----Original Message-----
From: Qpopper list [mailto:qpopper at lists.pensive dot org]
Sent: Thursday, April 22, 1999 8:12 AM
To: Subscribers of Qpopper
Subject: poplocks that exceed a user's quota
I am using QPOP ver 2.5 and have a problem where it seems
that poplocks do not prevent new pop sessions.
It seems that the locks can get large enough to exceed a
user's quota which then prevents the lock from moving
back to the user's home dir mail file.
I believe that once a poplock can not be moved back into
the user's home dir because of over quota, that new mail
can still arrive in the user's acct and that each new POP
session simply appends more mail to the poplock.
I strongly suspect that this is a RTFM error but would
appreciate ny tips you may be able to give.
Thanks
John
--
_________________________________________________________
John T. Mahoney jtm at shore dot net
Shore.Net
System Administrator
781/593-3110 xt 158
Date: Thu, 22 Apr 1999 10:11:34 -0400 (EDT)
From: Troy Ablan <chaser at shore dot net>
Subject: RE: poplocks that exceed a user's quota
I don't think this is permitted because
1) server mode assumes the user doesn't have any other access to the mail
(pine, imap, elm) that could change the state of the mailbox out from
under qpopper, since the .mail file isn't kept locked.
2) from the FAQ: "SERVER_MODE makes an assumption that only /bin/mail is
being used as a Delivery agent." procmail is often the delivery agent as
well as exim, although I'm not sure what effect that would have.
It sounds to me like a limitation in the locking mechanism of qpopper.
On Thu, 22 Apr 1999, Qpopper list wrote:
> Run Qpopper in Server Mode. It doesn't copy the entire spool into the users
> home directory.
>
> ./configure -enable-server-mode
>
> make
>
> Have fun..
>
> Evan Erwin
> Systems Administrator
> The Citizens Bank of East Tennessee
--
***********************************************************
Troy Ablan Shore.Net network support and development
chaser at shore dot net Shift Leader
781-593-3110 VM x102 support at shore dot net
My Hours: Monday through Friday night 11pm-7am
***********************************************************
Date: Thu, 22 Apr 1999 14:33:36 +0000
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: poplocks that exceed a user's quota
We had the quota problem here too and --enable-servermode fixed it,
although it does still happen every now and again, can't figure out why
though,
Fergal
Qpopper list wrote:
>
> I don't think this is permitted because
>
> 1) server mode assumes the user doesn't have any other access to the mail
> (pine, imap, elm) that could change the state of the mailbox out from
> under qpopper, since the .mail file isn't kept locked.
>
> 2) from the FAQ: "SERVER_MODE makes an assumption that only /bin/mail is
> being used as a Delivery agent." procmail is often the delivery agent as
> well as exim, although I'm not sure what effect that would have.
>
> It sounds to me like a limitation in the locking mechanism of qpopper.
>
> On Thu, 22 Apr 1999, Qpopper list wrote:
>
> > Run Qpopper in Server Mode. It doesn't copy the entire spool into the users
> > home directory.
> >
> > ./configure -enable-server-mode
> >
> > make
> >
> > Have fun..
> >
> > Evan Erwin
> > Systems Administrator
> > The Citizens Bank of East Tennessee
>
> --
> ***********************************************************
> Troy Ablan Shore.Net network support and development
> chaser at shore dot net Shift Leader
> 781-593-3110 VM x102 support at shore dot net
> My Hours: Monday through Friday night 11pm-7am
> ***********************************************************
Date: Thu, 22 Apr 1999 10:50:08 -0400
From: Eric Hester <eric at carol dot net>
Subject: RE: poplocks that exceed a user's quota
The other thing you could do is change the location of where the poplocks
are stored. I think it is a constant called POPTEMP. For example I have it
set to /var/spool/poptemp. You could then just turn off quota's in that directory.
This also helps if you have a spool directory with a lot of files in it.
File (poplock) creation/deletion takes less time.
Eric Hester eric at carol dot net
Senior Systems Administrator 1-800-460-1101 x304
Carolina Online, Inc.
"Real programmers don't comment. If it was hard to write,
it should be hard to understand" - unknown
> I don't think this is permitted because
>
> 1) server mode assumes the user doesn't have any other access to the mail
> (pine, imap, elm) that could change the state of the mailbox out from
> under qpopper, since the .mail file isn't kept locked.
>
> 2) from the FAQ: "SERVER_MODE makes an assumption that only /bin/mail is
> being used as a Delivery agent." procmail is often the delivery agent as
> well as exim, although I'm not sure what effect that would have.
>
> It sounds to me like a limitation in the locking mechanism of qpopper.
>
> On Thu, 22 Apr 1999, Qpopper list wrote:
>
> > Run Qpopper in Server Mode. It doesn't copy the entire spool into the users
> > home directory.
> >
> > ./configure -enable-server-mode
> >
> > make
> >
> > Have fun..
> >
> > Evan Erwin
> > Systems Administrator
> > The Citizens Bank of East Tennessee
>
> --
> ***********************************************************
> Troy Ablan Shore.Net network support and development
> chaser at shore dot net Shift Leader
> 781-593-3110 VM x102 support at shore dot net
> My Hours: Monday through Friday night 11pm-7am
> ***********************************************************
>
>
Date: Thu, 22 Apr 1999 09:58:32 -0500 (CDT)
From: "Karlos Z. Smith" <kazen at viptx dot net>
Subject: Re: poppassd
On Wed, 21 Apr 1999, Qpopper list wrote:
> I have a RedHat Linux (specifically MkLinux) system. I have qpopper
> 2.5.3. My users all have Eudora. They do not have Linux shell
> accounts. They do not _want_ shell accounts.
>
> I want the users to be able to change their passwords.
As pathetic as it is, I added /usr/bin/passwd to /etc/shells, then setup
users as having /usr/bin/passwd as a shell, to change their password they
have to telnet to the server.
There are quite a few issues with doing it this way. Be sure to setup
/etc/hosts.deny and /etc/hosts.allow, and ipchains (or ipfw). Then you
have to explain to people what telnet is....
It works for us but YMMV.
--
"To err is human, to forgive is beyond the scope of the Operating System"
Date: Thu, 22 Apr 1999 12:12:21 -0400 (EDT)
From: administrator <scott at netinfosvcs dot com>
when I attempt to Install qopper3.0 on a sparc 20 (sol 7) it get this
msg.
I reinstalled gcc several times and the error still appears ,
./configure
loading cache ./config.cache
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler
cannot creat
e executables.
Date: Thu, 22 Apr 1999 13:28:51 -0300
From: Pedro Alves <pedro at momentus.com dot br>
Subject: Re: poppassd
Qpopper list wrote:
> On Wed, 21 Apr 1999, Qpopper list wrote:
>
> > I have a RedHat Linux (specifically MkLinux) system. I have qpopper
> > 2.5.3. My users all have Eudora. They do not have Linux shell
> > accounts. They do not _want_ shell accounts.
> >
> > I want the users to be able to change their passwords.
>
> As pathetic as it is, I added /usr/bin/passwd to /etc/shells, then setup
> users as having /usr/bin/passwd as a shell, to change their password they
> have to telnet to the server.
>
> There are quite a few issues with doing it this way. Be sure to setup
> /etc/hosts.deny and /etc/hosts.allow, and ipchains (or ipfw). Then you
> have to explain to people what telnet is....
>
> It works for us but YMMV.
>
> --
> "To err is human, to forgive is beyond the scope of the Operating System"
It's very nice and clever.
There is one minor drawback only.
There is problem if the server only allows anonymous login to ftp server.
Depending on the ftp server and the
server administration, it allows user/password login to ftp.