The qpopper list archive ending on 15 Jun 2000


Topics covered in this issue include:

  1. Re: 
       "jmcintyr" <jmcintyr at i-plus dot net>
       Mon, 12 Jun 2000 19:41:17 -0400
  2. Re: 
       PM WONG <pmwong at power25t.hkbu.edu dot hk>
       Tue, 13 Jun 2000 12:20:35 +0800 (HKT)
  3. Re:
       Randall Gellens <randy at qualcomm dot com>
       Mon, 12 Jun 2000 22:41:37 -0700
  4. Re: How can I make qpopper create dot-lock file in different
       Randall Gellens <randy at qualcomm dot com>
       Mon, 12 Jun 2000 22:47:22 -0700
  5. Re:
       Qpopper Support <qpopper at qualcomm dot com>
       Mon, 12 Jun 2000 22:44:33 -0700
  6. 3.0.2 compile error.
       Alan Brown <alan at manawatu.gen dot nz>
       Tue, 13 Jun 2000 19:54:04 +1200 (NZST)
  7. Re: How to unsubscribe from Qpopper.
       Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
       Tue, 13 Jun 2000 11:03:41 +0200
  8. Re:
       "jmcintyr" <jmcintyr at i-plus dot net>
       Tue, 13 Jun 2000 08:30:12 -0400
  9. Re: How to unsubscribe from Qpopper.
       Randall Gellens <randy at qualcomm dot com>
       Tue, 13 Jun 2000 09:33:47 -0700
 10. enable-hash-spool=2
       Brad Groshok <bgroshok at odyssey.on dot ca>
       Tue, 13 Jun 2000 15:52:15 -0400
 11. Re: enable-hash-spool=2
       "Joseph W. Breu" <breu at cfu dot net>
       Tue, 13 Jun 2000 14:54:25 -0500 (CDT)
 12. Re: enable-hash-spool=2
       Rodrigo Luiz Anami <rodrigoa at bestway.com dot br>
       Tue, 13 Jun 2000 17:18:37 -0300
 13. Re: enable-hash-spool=2
       Kip Turk <kipt at wcc dot net>
       Tue, 13 Jun 2000 15:22:25 -0500 (CDT)
 14. Adding custom name to popper prompt
       kevin <kevin.p at taligent dot net>
       Tue, 13 Jun 2000 21:44:32 +0000 (GMT)
 15. Re: Adding custom name to popper prompt
       Steven Champeon <schampeo at hesketh dot com>
       Tue, 13 Jun 2000 17:54:53 -0400 (EDT)
 16. Re: enable-hash-spool=22
       Fergal Daly <fergal at esatclear dot ie>
       Tue, 13 Jun 2000 23:52:35 +0100
 17. Re: enable-hash-spool=2
       Stephen Samuel <samuel at bcgreen dot com>
       Tue, 13 Jun 2000 17:07:13 -0700
 18. Re: enable-hash-spool=2
       Forrest Aldrich <forrie at forrie dot com>
       Tue, 13 Jun 2000 20:09:37 -0400
 19. Re: Adding custom name to popper prompt
       Qpopper Support <qpopper at qualcomm dot com>
       Tue, 13 Jun 2000 18:06:43 -0700
 20. About to give up.
       Everette <everett at gloryroad dot net>
       Tue, 13 Jun 2000 23:43:05 -0400
 21. Re: About to give up.
       Stephen Samuel <samuel at bcgreen dot com>
       Tue, 13 Jun 2000 20:54:35 -0700
 22. Re: enable-hash-spool=2
       Brad Groshok <bgroshok at odyssey.on dot ca>
       Wed, 14 Jun 2000 03:55:11 -0400
 23. Login id with dot and underscore
       LO KAI CHEONG <t422792 at study.oli dot hk>
       Wed, 14 Jun 2000 17:46:46 +0800 (HKT)
 24. Re: enable-hash-spool=2
       Stephen Samuel <samuel at bcgreen dot com>
       Wed, 14 Jun 2000 02:58:48 -0700
 25. Re: enable-hash-spool=2
       "Michael D. Sofka" <sofkam at rpi dot edu>
       Wed, 14 Jun 2000 09:07:39 -0400
 26. I/O error no such file or directory
       "Jerry O'Brien" <jobrien at cuttingedge dot net>
       Wed, 14 Jun 2000 17:34:27 -0500
 27.  I am giving up
       "Geoff Wilson" <gwilson at cbnet.ns dot ca>
       Wed, 14 Jun 2000 19:51:09 -0300
 28. Re: I am giving up
       Peter Evans <peter at gol dot com>
       Thu, 15 Jun 2000 08:19:35 +0900
 29. Re: I am giving up
       John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
       Wed, 14 Jun 2000 18:10:13 -0600 (MDT)
 30. Rrepost for Peter 
       "Geoff Wilson" <gwilson at cbnet.ns dot ca>
       Wed, 14 Jun 2000 20:41:26 -0300
 31. Re: I am giving up
       "Geoff Wilson" <gwilson at cbnet.ns dot ca>
       Wed, 14 Jun 2000 20:55:18 -0300
 32. Re: Rrepost for Peter 
       John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
       Wed, 14 Jun 2000 18:43:02 -0600 (MDT)
 33. Re: I am giving up
       Jorge Kobeh <jkobeh at spin.com dot mx>
       Wed, 14 Jun 2000 19:09:59 -0500 (CDT)
 34. Re: I am giving up
       John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
       Wed, 14 Jun 2000 18:46:48 -0600 (MDT)
 35. Qpopper 3.1b2 available
       Qpopper Support <qpopper at qualcomm dot com>
       Wed, 14 Jun 2000 17:28:54 -0700
 36. Re: Rrepost for Peter 
       "Tracy L. Hinshaw" <tracy at dwx dot com>
       Wed, 14 Jun 2000 19:41:09 -0500
 37. Re: I am giving up
       Jorge Kobeh <jkobeh at spin.com dot mx>
       Wed, 14 Jun 2000 20:04:50 -0500 (CDT)
 38. Re: I am giving up
       Jorge Kobeh <jkobeh at spin.com dot mx>
       Wed, 14 Jun 2000 20:14:16 -0500 (CDT)
 39. Re: Rrepost for Peter
       Peter Evans <peter at gol dot com>
       Thu, 15 Jun 2000 10:23:48 +0900
 40. 3.1b2 Enable-shy
       Frank Pineau <frank at pineaus dot com>
       Wed, 14 Jun 2000 21:29:53 -0400
 41. Re: 3.1b2 Enable-shy
       "Geoff Wilson" <gwilson at cbnet.ns dot ca>
       Wed, 14 Jun 2000 23:14:16 -0300
 42. Re: Rrepost for Peter 
       "Geoff Wilson" <gwilson at cbnet.ns dot ca>
       Wed, 14 Jun 2000 23:00:43 -0300
 43. Re: 3.1b2 Enable-shy
       Frank Pineau <frank at pineaus dot com>
       Wed, 14 Jun 2000 22:49:10 -0400
 44. Re: 3.1b2 Enable-shy
       Frank Pineau <frank at pineaus dot com>
       Wed, 14 Jun 2000 23:36:23 -0400
 45. Re: Rrepost for Peter
       Stephen Samuel <samuel at bcgreen dot com>
       Thu, 15 Jun 2000 04:56:11 -0700
 46. Re: 3.1b2 Enable-shy
       "Kenneth Porter" <shiva at well dot com>
       Thu, 15 Jun 2000 06:04:56 -0700
 47. error, message does not exist
       Admin Mailing Lists <mlist at intergrafix dot net>
       Thu, 15 Jun 2000 09:06:00 -0400 (EDT)
 48. Please help...
       <psmith at cti dot ca>
       Thu, 15 Jun 2000 09:17:13 -0400
 49. Re: I am giving up [OT]
       Admin Mailing Lists <mlist at intergrafix dot net>
       Thu, 15 Jun 2000 09:22:10 -0400 (EDT)
 50. Message out of range error
       "Kenneth Porter" <shiva at well dot com>
       Thu, 15 Jun 2000 06:51:59 -0700

Date: Mon, 12 Jun 2000 19:41:17 -0400
From: "jmcintyr" <jmcintyr at i-plus dot net>
Subject: Re:

my performance problem was i compiled qpopper with debug. i then ran it without the -T, ie trace turned off. response was very slow. recompiled without debug, runs great. didn't realize compiling with debug-on and not generating a trace would take such ov
erhead. not sure what it was doing.

jim mc.....


---------- Original Message ----------------------------------
From: Kris Virtue <kvirtue at qualcomm dot com>
Date: Mon, 12 Jun 2000 15:06:02 -0700

>
>Didn't see any response to this one...
>
>Try moving up to 3.0.2.  We ran into the same performance problems with 
>3.0.1 moving mail to the .user.pop too slowly, causing the client to 
>give up.  Randy fixed this in 3.0.2.  I'm not sure about the 
>duplication issues, but 3.0.2 should fix the performance problems while 
>building the .user.pop files.
>
>-Kris
>
>
>> stephen:
>> 
>> the user in question originally had a 4 meg mail file. too large for my preference but he's my boss. his outlook client checks the mail every 10 minutes. it was taking almost that long to build the .pop file. this is on a little used d250 with 51
emo
>> ry. the temp mail dir is on a different controller and drive. so i have 2 problems, why did qpopper duplicate the mail file and why does it run so slow building the .pop ? it took less than a minute for qpopper to move the mail from .pop back to 
ail
>> .
>> 
>> thanks.....jim mc....
>> 
>> 
>>  ---------- Original Message ----------------------------------
>> From: Stephen Samuel <samuel at bcgreen dot com>
>> Date: Wed, 07 Jun 2000 15:55:43 -0700
>> 
>> >>From this, it looks like your client is checking for mail WAAAY
>> >to often.  (I hope that it was only for testing purposes).
>> >Make sure to set the check interval to something approaching sane
>> >(probably 2 minutes, or more) I've seen people with really large
>> >mail files (>100MB) that take over 10 minutes to complete he
>> >copy/look/return cycle with 'leave messages on server' turned on.
>> >
>> >jmcintyr wrote:
>> >> 
>> >> i am running hpux 10.20 on a d250. have ver 3.0.1b2 installed. the most wonderful thing happened to a user, using the outlook client he connected fine to qpopper and it started building the .user.pop file. after it built this file it,qpo
d t
>> h
>> >e
>> >> whole dam mail file and loaded into the .user.pop file. so now the user has duplicate everything. a really neat option that i would like to have turned off. anybody else experience this wonderful option and how do i turn it off ?
>> >> 
>> >> jim mc....
>> >> 
>> >> below is  a ll of the 2 files every 2 seconds:
>> >> 
>> >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       4333838 Jun  7 14:04 /tempmail/issneerin.pop
>> >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       4333838 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail             0 Jun  7 14:04 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail        425984 Jun  7 14:04 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail       2400256 Jun  7 14:04 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail       2613248 Jun  7 14:04 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail       3620864 Jun  7 14:04 /var/mail/ssneerin
>> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 /tempmail/.ssneerin.pop
>> >> -rw-rw----   1 ssneerin   mail       5288440 Jun  7 14:04 /var/mail/ssneerin
>> >> /tempmail/.ss* not found
>> >> -rw-rw----   1 ssneerin   mail       8668039 Jun  7 14:04 /var/mail/ssneerin
>> >> /tempmail/.ss* not found
>> >> -rw-rw----   1 ssneerin   mail       8668039 Jun  7 14:04 /var/mail/ssneerin
>> >> /tempmail/.ss* not found
>> >
>> >-- 
>> >Stephen Samuel +1(604)876-0426                samuel at bcgreen dot com
>> >		   (formerly samuel at result dot com)
>> >The question, for this world, is not "will I die?". 
>> >It is, rather, "how will I live?".
>> >
>> 
>
>
>

Date: Tue, 13 Jun 2000 12:20:35 +0800 (HKT)
From: PM WONG <pmwong at power25t.hkbu.edu dot hk>
Subject: Re:

On Mon, 12 Jun 2000, Kris Virtue wrote:
> Didn't see any response to this one...
> 
> Try moving up to 3.0.2.  We ran into the same performance problems with 
> 3.0.1 moving mail to the .user.pop too slowly, causing the client to 
> give up.  Randy fixed this in 3.0.2.  I'm not sure about the 
> duplication issues, but 3.0.2 should fix the performance problems while 
> building the .user.pop files.
I had the same problem (moving to .user.pop too slowly) and so i moved up 
to 3.0.2
After that, the performance looked better. But this time it created a
different problem (most probably becos of the large number of user.lock
files being created. Unlike in ver 2.x which we ran previously, there were
not so many lock files). The sendmail daemon was mostly in the state of
"Rejecting conenctions" 
So how to overcome this ?


Date: Mon, 12 Jun 2000 22:41:37 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re:

At 7:41 PM -0400 6/12/00, jmcintyr wrote:

>  my performance problem was i compiled qpopper with debug. i then 
> ran it without the -T, ie trace turned off. response was very slow. 
> recompiled without debug, runs great. didn't realize compiling with 
> debug-on and not generating a trace would take such ov
>  erhead. not sure what it was doing.

Was this with 3.0.1 or 3.0.2?

>
>  jim mc.....
>
>
>  ---------- Original Message ----------------------------------
>  From: Kris Virtue <kvirtue at qualcomm dot com>
>  Date: Mon, 12 Jun 2000 15:06:02 -0700
>
>>
>>Didn't see any response to this one...
>>
>>Try moving up to 3.0.2.  We ran into the same performance problems with
>>3.0.1 moving mail to the .user.pop too slowly, causing the client to
>>give up.  Randy fixed this in 3.0.2.  I'm not sure about the
>>duplication issues, but 3.0.2 should fix the performance problems while
>>building the .user.pop files.
>>
>>-Kris
>>
>>
>>>  stephen:
>>>
>>>  the user in question originally had a 4 meg mail file. too large 
>>> for my preference but he's my boss. his outlook client checks the 
>>> mail every 10 minutes. it was taking almost that long to build 
>>> the .pop file. this is on a little used d250 with 512meg m
>  emo
>>>  ry. the temp mail dir is on a different controller and drive. so 
>>> i have 2 problems, why did qpopper duplicate the mail file and 
>>> why does it run so slow building the .pop ? it took less than a 
>>> minute for qpopper to move the mail from .pop back to /var/m
>  ail
>>>  .
>>>
>>>  thanks.....jim mc....
>>>
>>>
>>>   ---------- Original Message ----------------------------------
>>>  From: Stephen Samuel <samuel at bcgreen dot com>
>>>  Date: Wed, 07 Jun 2000 15:55:43 -0700
>>>
>>>  >>From this, it looks like your client is checking for mail WAAAY
>>>  >to often.  (I hope that it was only for testing purposes).
>>>  >Make sure to set the check interval to something approaching sane
>>>  >(probably 2 minutes, or more) I've seen people with really large
>>>  >mail files (>100MB) that take over 10 minutes to complete he
>>>  >copy/look/return cycle with 'leave messages on server' turned on.
>>>  >
>>>  >jmcintyr wrote:
>>>  >>
>>>  >> i am running hpux 10.20 on a d250. have ver 3.0.1b2 installed. 
>>> the most wonderful thing happened to a user, using the outlook 
>>> client he connected fine to qpopper and it started building the 
>>> .user.pop file. after it built this file it,qpopper, re-rea
>  d t
>>>  h
>>>  >e
>>>  >> whole dam mail file and loaded into the .user.pop file. so now 
>>> the user has duplicate everything. a really neat option that i 
>>> would like to have turned off. anybody else experience this 
>>> wonderful option and how do i turn it off ?
>>>  >>
>>>  >> jim mc....
>>>  >>
>>>  >> below is  a ll of the 2 files every 2 seconds:
>>>  >>
>>>  >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       4333838 Jun  7 14:04 
>>> /tempmail/issneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       4333838 Jun  7 14:04 
>>> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail             0 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail        425984 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail       2400256 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail       2613248 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail       3620864 Jun  7 14:04 
>>> /var/mail/ssneerin
>   >> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
> /tempmail/.ssneerin.pop
>>>  >> -rw-rw----   1 ssneerin   mail       5288440 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> /tempmail/.ss* not found
>>>  >> -rw-rw----   1 ssneerin   mail       8668039 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> /tempmail/.ss* not found
>>>  >> -rw-rw----   1 ssneerin   mail       8668039 Jun  7 14:04 
>>> /var/mail/ssneerin
>>>  >> /tempmail/.ss* not found
>>>  >
>>>  >--
>>>  >Stephen Samuel +1(604)876-0426                samuel at bcgreen dot com
>>>  >		   (formerly samuel at result dot com)
>>>  >The question, for this world, is not "will I die?".
>>>  >It is, rather, "how will I live?".
>>>  >
>>>
>>
>>
>>

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
The brain is a wonderful organ; it starts working the moment you get
up in the morning, and does not stop until you get to work.
                                                      --Robert Frost

Date: Mon, 12 Jun 2000 22:47:22 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: How can I make qpopper create dot-lock file in different

At 5:49 PM +0800 6/7/00, Nurah Muhammad wrote:

>  Any of you know how to create username.lock file in different directory
>  other than mail directory.

You can't.  The .lock file must be in the same directory as the file 
being locked, or there is no point.

The .lock file prevents the delivery agent (or other processes) from 
accessing the spool while Qpopper is processing it.
-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Look out!  Behind you!

Date: Mon, 12 Jun 2000 22:44:33 -0700
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re:

At 8:40 AM -0400 6/8/00, jmcintyr wrote:

>  why did qpopper duplicate the mail file

Did you use SERVER_MODE and KEEP_TEMP_DROP?  There is a bug that can 
cause spool duplication if you use both options.  The fix will be in 
3.1b2.


Date: Tue, 13 Jun 2000 19:54:04 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: 3.0.2 compile error.

Anyone else getting this?

pop_pass.c: In function `auth_user':
pop_pass.c:567: warning: assignment makes pointer from integer without a cast
pop_pass.c:579: dereferencing pointer to incomplete type
pop_pass.c:579: dereferencing pointer to incomplete type
pop_pass.c:588: dereferencing pointer to incomplete type
pop_pass.c:588: dereferencing pointer to incomplete type
pop_pass.c:588: dereferencing pointer to incomplete type
pop_pass.c:594: dereferencing pointer to incomplete type
make[1]: *** [pop_pass.o] Error 1

./configure --enable-servermode
-enable-bulletins=/var/spool/popper/bulletins
--enable-bulldb=/var/spool/popper/bulletins/--with-new-bulls=5
--enable-specialauth --enable-apop=/etc/pop.apop-auth
--enable-scram=/etc/pop.apop-auth --enable-shy
--enable-temp-drop-dir=/var/spool/popper/dropfiles
--with-log-facility=LOG_LOCAL0 --enable-uw-kludge --enable-group-bulls

linux 2.2.14

-- 
How secure are hosts in _your_ network? Http://www.orbs.org/admins.html
ORBS - it's not just for filters.


Date: Tue, 13 Jun 2000 11:03:41 +0200
From: Magnus Krafft <Magnus.Krafft at hkv.mil dot se>
Subject: Re: How to unsubscribe from Qpopper.

>I have yet to see an MUA that didnt allow you to view the header contents
>in some way or another.
>
>However, the people that cant figure out how to unsubscribe from a mailing
>list are unlikely to be able to turn on that function....

In the headers I receive there is no trace of of unsubscribe information, This might have something to do with the firewall wich has some options of removing non-standard fields. (What you don't know can probably harm you... :-)


We used to have a X.400 system and after incoming mail was filtered through it, not much remained of the original headers.

Also when people quit their jobs all incoming mail of old users was sent to the postmaster so he could redirect the mail to the employe who replaced him...

Very good if you only get mail related to work but alas that was not the case and in that system it could be a real pain to unsubscribe users since the system prevented _everyone_ from faking their address, and some mailinglists required a *confirmation* 
of your unsubscription. The only thing left to do was to recreate the account before you could unsubscribe and it gets kind of tedious with more than 1000 users.

In thoose days there were mailinglists you really learned to hate due to several reasons. The friendly ones you could just go to a webpage and enter the emailaddress of the ones you wanted to be removed.




Cheers!

Date: Tue, 13 Jun 2000 08:30:12 -0400
From: "jmcintyr" <jmcintyr at i-plus dot net>
Subject: Re:

3.0.2. again this is on a hp d250 running 10.20. 

jim mc....

---------- Original Message ----------------------------------
From: Randall Gellens <randy at qualcomm dot com>
Date: Mon, 12 Jun 2000 22:41:37 -0700

>At 7:41 PM -0400 6/12/00, jmcintyr wrote:
>
>>  my performance problem was i compiled qpopper with debug. i then 
>> ran it without the -T, ie trace turned off. response was very slow. 
>> recompiled without debug, runs great. didn't realize compiling with 
>> debug-on and not generating a trace would take such ov
>>  erhead. not sure what it was doing.
>
>Was this with 3.0.1 or 3.0.2?
>
>>
>>  jim mc.....
>>
>>
>>  ---------- Original Message ----------------------------------
>>  From: Kris Virtue <kvirtue at qualcomm dot com>
>>  Date: Mon, 12 Jun 2000 15:06:02 -0700
>>
>>>
>>>Didn't see any response to this one...
>>>
>>>Try moving up to 3.0.2.  We ran into the same performance problems with
>>>3.0.1 moving mail to the .user.pop too slowly, causing the client to
>>>give up.  Randy fixed this in 3.0.2.  I'm not sure about the
>>>duplication issues, but 3.0.2 should fix the performance problems while
>>>building the .user.pop files.
>>>
>>>-Kris
>>>
>>>
>>>>  stephen:
>>>>
>>>>  the user in question originally had a 4 meg mail file. too large 
>>>> for my preference but he's my boss. his outlook client checks the 
>>>> mail every 10 minutes. it was taking almost that long to build 
>>>> the .pop file. this is on a little used d250 with 512meg m
>>  emo
>>>>  ry. the temp mail dir is on a different controller and drive. so 
>>>> i have 2 problems, why did qpopper duplicate the mail file and 
>>>> why does it run so slow building the .pop ? it took less than a 
>>>> minute for qpopper to move the mail from .pop back to /var/m
>>  ail
>>>>  .
>>>>
>>>>  thanks.....jim mc....
>>>>
>>>>
>>>>   ---------- Original Message ----------------------------------
>>>>  From: Stephen Samuel <samuel at bcgreen dot com>
>>>>  Date: Wed, 07 Jun 2000 15:55:43 -0700
>>>>
>>>>  >>From this, it looks like your client is checking for mail WAAAY
>>>>  >to often.  (I hope that it was only for testing purposes).
>>>>  >Make sure to set the check interval to something approaching sane
>>>>  >(probably 2 minutes, or more) I've seen people with really large
>>>>  >mail files (>100MB) that take over 10 minutes to complete he
>>>>  >copy/look/return cycle with 'leave messages on server' turned on.
>>>>  >
>>>>  >jmcintyr wrote:
>>>>  >>
>>>>  >> i am running hpux 10.20 on a d250. have ver 3.0.1b2 installed. 
>>>> the most wonderful thing happened to a user, using the outlook 
>>>> client he connected fine to qpopper and it started building the 
>>>> .user.pop file. after it built this file it,qpopper, re-rea
>>  d t
>>>>  h
>>>>  >e
>>>>  >> whole dam mail file and loaded into the .user.pop file. so now 
>>>> the user has duplicate everything. a really neat option that i 
>>>> would like to have turned off. anybody else experience this 
>>>> wonderful option and how do i turn it off ?
>>>>  >>
>>>>  >> jim mc....
>>>>  >>
>>>>  >> below is  a ll of the 2 files every 2 seconds:
>>>>  >>
>>>>  >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       4333838 Jun  7 14:04 
>>>> /tempmail/issneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       4333838 Jun  7 14:04 
>>>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail       4333967 Jun  7 13:53 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail             0 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail        425984 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail       2400256 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail       2613248 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>>>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail       3620864 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>   >> >> -rw-------   1 ssneerin   mail       8667805 Jun  7 14:04 
>> /tempmail/.ssneerin.pop
>>>>  >> -rw-rw----   1 ssneerin   mail       5288440 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> /tempmail/.ss* not found
>>>>  >> -rw-rw----   1 ssneerin   mail       8668039 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> /tempmail/.ss* not found
>>>>  >> -rw-rw----   1 ssneerin   mail       8668039 Jun  7 14:04 
>>>> /var/mail/ssneerin
>>>>  >> /tempmail/.ss* not found
>>>>  >
>>>>  >--
>>>>  >Stephen Samuel +1(604)876-0426                samuel at bcgreen dot com
>>>>  >		   (formerly samuel at result dot com)
>>>>  >The question, for this world, is not "will I die?".
>>>>  >It is, rather, "how will I live?".
>>>>  >
>>>>
>>>
>>>
>>>
>
>-- 
>Randall Gellens
>Opinions are personal;    facts are suspect;    I speak for myself only
>-------------- Randomly-selected tag: ---------------
>The brain is a wonderful organ; it starts working the moment you get
>up in the morning, and does not stop until you get to work.
>                                                      --Robert Frost
>

Date: Tue, 13 Jun 2000 09:33:47 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: How to unsubscribe from Qpopper.

At 11:03 AM +0200 6/13/00, Magnus Krafft wrote:

>  In the headers I receive there is no trace of of unsubscribe 
> information, This might have something to do with the firewall wich 
> has some options of removing non-standard fields. (What you don't 
> know can probably harm you... :-)

That's evil.  That's throwing away something with value (great value 
when problem-solving) because of a vague fear.


>  We used to have a X.400 system and after incoming mail was filtered 
> through it, not much remained of the original headers.

Gateways == corruption.  It's just a question of how much control you 
have over the corruption.

>  Also when people quit their jobs all incoming mail of old users was 
> sent to the postmaster so he could redirect the mail to the employe 
> who replaced him...
>
>  Very good if you only get mail related to work but alas that was 
> not the case and in that system it could be a real pain to 
> unsubscribe users since the system prevented _everyone_ from faking 
> their address, and some mailinglists required a *confirmation*
>  of your unsubscription. The only thing left to do was to recreate 
> the account before you could unsubscribe and it gets kind of 
> tedious with more than 1000 users.
>
>  In thoose days there were mailinglists you really learned to hate 
> due to several reasons. The friendly ones you could just go to a 
> webpage and enter the emailaddress of the ones you wanted to be 
> removed.

Many lists have been forced to move to less friendly systems that 
require confirmation because of abuses.  It's sad, and it makes 
things more inconvenient for everyone.


-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Good night to spend with family, but avoid arguments with your 
mate's new lover. 

Date: Tue, 13 Jun 2000 15:52:15 -0400
From: Brad Groshok <bgroshok at odyssey.on dot ca>
Subject: enable-hash-spool=2

Sorry to keep beating this issue to death but...

if I enable-hash-spool=2
The docs tell me mail will be read from:
/var/mail/m/a/maida (for example)

What does everybody use for a local mail
delivery agent that will put mail into that
directory?

I've tried procmail but it seems to have issues
creating the dirs if they don't already exist.

(Sun Sparc Solaris 2.8)

Or is anybody even using the hash-spool=2 option?

I currently have 10,000 accounts all in the /var/mail dir
and really think its well overdue to split this stuff up.


     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    _/ Regards: Brad Groshok (bgroshok at odyssey.on dot ca)             _/
   _/ President Odyssey Network Inc. http://www.odyssey.on.ca    _/
  _/ London Ontario Canada PH:(519)660-8883 Fax:(519)660-6111   _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


Date: Tue, 13 Jun 2000 14:54:25 -0500 (CDT)
From: "Joseph W. Breu" <breu at cfu dot net>
Subject: Re: enable-hash-spool=2

> What does everybody use for a local mail
> delivery agent that will put mail into that
> directory?

I use procmail.

> I've tried procmail but it seems to have issues
> creating the dirs if they don't already exist.

Just "pre-create" the directories using a shell script or whatever you
have handy.

-- 
	Thanks,
	-Joseph W. Breu

-----------------------------------------------------------------------
  Joseph W. Breu          Systems Administrator / Cedar Falls Utilities
  phone: (319) 268-5228        Utility Parkway, Cedar Falls, Iowa 50613 
  pager: (319) 235-4209  NIC: jwb96   breu at cfu.net   breu dot pager at cfu dot net
---- Al Gore: "...I took the initiative in creating the Internet. -----


Date: Tue, 13 Jun 2000 17:18:37 -0300
From: Rodrigo Luiz Anami <rodrigoa at bestway.com dot br>
Subject: Re: enable-hash-spool=2

Anyone knows if enabling hash spool there will be significant performance 
gain ?
Any numeric measurements ?

[]'s


At 14:54 13/06/00 -0500, Joseph W. Breu wrote:
> > What does everybody use for a local mail
> > delivery agent that will put mail into that
> > directory?
>
>I use procmail.
>
> > I've tried procmail but it seems to have issues
> > creating the dirs if they don't already exist.
>
>Just "pre-create" the directories using a shell script or whatever you
>have handy.
>
>--
>         Thanks,
>         -Joseph W. Breu
>
>-----------------------------------------------------------------------
>   Joseph W. Breu          Systems Administrator / Cedar Falls Utilities
>   phone: (319) 268-5228        Utility Parkway, Cedar Falls, Iowa 50613
>   pager: (319) 235-4209  NIC: jwb96   breu at cfu.net   breu dot pager at cfu dot net
>---- Al Gore: "...I took the initiative in creating the Internet. -----

-------------------------------------------------------------------------
Eng° Rodrigo Luiz Anami                           rodrigoa at bestway.com dot br
Voz: 736 3721   Cel: 9123 9995                     Atendimento ao cliente
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, 13 Jun 2000 15:22:25 -0500 (CDT)
From: Kip Turk <kipt at wcc dot net>
Subject: Re: enable-hash-spool=2

Here is the script we used to create the directories:

=========== Script Follows ==========================

#!/usr/bin/perl
@directories = ("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
"l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-", "_");
$main_dir = /var/spool/mail;	# no trailing slash
$ownership = "root:mail";	# chown:chgrp values
$loop1 = 0;
$loop2 = 0;
while ($loop1 <= $#directories)	{
   `mkdir $main_dir/$directories[$loop1]`;
   while ($loop2 <= $#directories)	{
	`mkdir $main_dir/$directories[$loop1]/$directories[$loop2]`;
	`chmod 1777 $main_dir/$directories[$loop1]/$directories[$loop2]`;
	++$loop2;
   }
   `chown -R $ownership $main_dir/$directories[$loop1]`;
   `chmod  1777 $main_dir/$directories[$loop1]`;
   ++$loop1;
   $loop2 = 0;
}

exit;

=========== End Script ================================

Remove any characters necessary from the @directories (we allow #s and
-_).  Change the main_dir and ownership if necessary.  Ownership is
recursive on all directories created.

-- 
===============================================
Kip Turk		    phone: 915.234.5678
Systems Administrator   	or 800.695.9016	
West Central Net	      fax: 915.656.0071
===============================================

On Tue, 13 Jun 2000, Joseph W. Breu wrote:

> > What does everybody use for a local mail
> > delivery agent that will put mail into that
> > directory?
> 
> I use procmail.
> 
> > I've tried procmail but it seems to have issues
> > creating the dirs if they don't already exist.
> 
> Just "pre-create" the directories using a shell script or whatever you
> have handy.
> 
> 


Date: Tue, 13 Jun 2000 21:44:32 +0000 (GMT)
From: kevin <kevin.p at taligent dot net>
Subject: Adding custom name to popper prompt

Hello,

I have recently seen a Qpopper server use a custom name
when telneting in. 

OK QPOP ****** (version ?) at XXXXX.XXX etc

I'm not sure whether name (******) was before QPOP part
or after. I think it was after

Anybody know how to do this?


Regards

Kevin


Date: Tue, 13 Jun 2000 17:54:53 -0400 (EDT)
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: Adding custom name to popper prompt

On Tue, 13 Jun 2000, kevin wrote:
> I have recently seen a Qpopper server use a custom name
> when telneting in. 
> 
> OK QPOP ****** (version ?) at XXXXX.XXX etc
> 
> I'm not sure whether name (******) was before QPOP part
> or after. I think it was after
> 
> Anybody know how to do this?

Well, let's see. A quick grep through the qpopper source shows:

example$ grep -n QPOP *.c
popper.c:161:              "QPOP%.*s%s (version %s) at %s starting.  %s",

So, just edit popper.c and add whatever you'd like to show up.

Steve

-- 
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: <http://hesketh.com/careers/>


From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: enable-hash-spool=22
Date: Tue, 13 Jun 2000 23:52:35 +0100

Not trying to turn this into a perl list but I think there are some
improvements to be made here

- using .. for sequences of letters/numbers
- using the builtins when possible (mkdir, chmod)
- using foreach when iterating over an array
- using system instead of `` when you're not actually going to catch
the output

not much point writing it in perl if you're going to do all
the work of a C programmer ;-)

#!/usr/bin/perl

@directories = ("a".."z", 0..9, "-", "_");

$main_dir = ".";        # no trailing slash
$ownership = "root:mail";       # chown:chgrp values

foreach $letter1 (@directories)  {
   mkdir("$main_dir/$letter1", 01777);

   foreach $letter2 (@directories)  {
        mkdir("$main_dir/$letter1/$letter2", 01777);
   }

   system("chown -R $ownership $main_dir/$letter1");
}

On Tue, 13 Jun 2000, you wrote: > Here is
the script we used to create the directories: >  > =========
=== Script
Follows =======================
==== > 
> #!/usr/bin/perl
> @directories = ("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k"=
,
> "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "=
z",
> "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-", "_");
> $main_dir = /var/spool/mail;=09# no trailing slash
> $ownership = "root:mail";=09# chown:chgrp values
> $loop1 = 0;
> $loop2 = 0;
> while ($loop1 <= $#directories)=09{
>    `mkdir $main_dir/$directories[$loop1]`;
>    while ($loop2 <= $#directories)=09{
> =09`mkdir $main_dir/$directories[$loop1]/$directories[$loop2]`;
> =09`chmod 1777 $main_dir/$directories[$loop1]/$directories[$loop2]`;
> =09++$loop2;
>    }
>    `chown -R $ownership $main_dir/$directories[$loop1]`;
>    `chmod  1777 $main_dir/$directories[$loop1]`;
>    ++$loop1;
>    $loop2 = 0;
> }
> 
> exit;
> 
> =========== End Script ==========
=======================
> 
> Remove any characters necessary from the @directories (we allow #s and
> -_).  Change the main_dir and ownership if necessary.  Ownership is
> recursive on all directories created.
> 
> -- 
> =========================
=======================
> Kip Turk=09=09    phone: 915.234.5678
> Systems Administrator   =09or 800.695.9016=09
> West Central Net=09      fax: 915.656.0071
> =========================
=======================
> 
> On Tue, 13 Jun 2000, Joseph W. Breu wrote:
> 
> > > What does everybody use for a local mail
> > > delivery agent that will put mail into that
> > > directory?
> > 
> > I use procmail.
> > 
> > > I've tried procmail but it seems to have issues
> > > creating the dirs if they don't already exist.
> > 
> > Just "pre-create" the directories using a shell script or whatever yo=
u
> > have handy.
> > 
> >

Date: Tue, 13 Jun 2000 17:07:13 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: enable-hash-spool=2

Yes it will, if you have more than a few thousand users.
What happens otherwise is that you spend LOTS of time scanning 
through the directory list every time you do a file operation.
(open, rename, link, etc.) At some point it becomes cheaper to 
simply go a couple of extra directories deep.

Simple empirical test:
  go: 'ls -f $MAILDIR'
  If you can notice the delay in getting the result back, then 
you can probably make good use of hash spools.

(on a tangent)
On a system with ~100K users, the hashspool principle was especially
useful when we had a backlog of messages. Once the spool dir hit about
10K files, you could REALLY see the system start to bog down.
This was before sendmail had hashing spools, so we did the hashing
with a script and started up multiple instances of Sendmail to 
deliver from the hashed spools.

Believe me, it made a BIG difference.

(we were too busy, at the time, to do any real measurements).

Rodrigo Luiz Anami wrote:
> 
> Anyone knows if enabling hash spool there will be significant performance
> gain ?
> Any numeric measurements ?
> 
> []'s
> 
> At 14:54 13/06/00 -0500, Joseph W. Breu wrote:
> > > I've tried procmail but it seems to have issues
> > > creating the dirs if they don't already exist.
> >
> >Just "pre-create" the directories using a shell script or whatever you
> >have handy.
Ditto. I'd say it's cheaper than testing for existence every time you 
go to deliver a message. Creating the dirs is only going to cost you
a couple hundred K at most -- less than one good-sized message.

-- 
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: Tue, 13 Jun 2000 20:09:37 -0400
From: Forrest Aldrich <forrie at forrie dot com>
Subject: Re: enable-hash-spool=2

Excuse my ignorance, but what is the hash-spool feature, and what does it 
buy you....

_F


Date: Tue, 13 Jun 2000 18:06:43 -0700
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Re: Adding custom name to popper prompt

At 9:44 PM +0000 6/13/00, kevin wrote:

>  I have recently seen a Qpopper server use a custom name
>  when telneting in.
>
>  OK QPOP ****** (version ?) at XXXXX.XXX etc
>
>  I'm not sure whether name (******) was before QPOP part
>  or after. I think it was after
>
>  Anybody know how to do this?

Just edit the file popper/banner.c, which is a new file in 3.x that 
is designed to make it easy to add your own string to the banner.

Date: Tue, 13 Jun 2000 23:43:05 -0400
From: Everette <everett at gloryroad dot net>
Subject: About to give up.

Hello again

I'm going to try this one last time before I give up.
A few months back I bought linux-mandrake 6.1 I installed a few progams
one being qpopper mail server, It worked fine.
A few weeks ago I downloaded and installed mandrake 7.0  I did a
complete install doing away with every thing I setup in 6.1 includeing
qpopper.
Well it looked like every thing setup OK so I reinstalled qpopper but it

want work now in fact I tried some other mail server software and can't
get any of thm to work.
When I use telnet it logs onto the mail server fine and tells me I have
0 massages, my mail client software logs in fine but tell's me I have no

new massages this afther I have sent about 20 or 30 test mail to it.

Please if any one has any idea what's going on please let me know I am
about to give up.

Thanks




Date: Tue, 13 Jun 2000 20:54:35 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: About to give up.

A couple of things that I can think to look at:
1: Has the mail spool moved (from the viewpoint of sendmail/procmail)?
2) Does QPopper's config think/know that the mail spool has moved?
3) are the two in agreement?
4) Is the mail actually being delivered??? (look in the spool directory,
   and make sure that everything looks OK..  VI/emacs/jove the file, and
   make sure that it's not mangled. (do NOT write the file back, unless
   you've turned off mail delivery).
5) What are the mail file/directory permissions like?
6) Compile procmail with full debugging on, run a couple of pickups 
   and take a close look at the output.  See if anything is
missing/wrong.

Everette wrote:
> 
> Hello again
> 
> I'm going to try this one last time before I give up.
> A few months back I bought linux-mandrake 6.1 I installed a few progams
> one being qpopper mail server, It worked fine.
> A few weeks ago I downloaded and installed mandrake 7.0  I did a
> complete install doing away with every thing I setup in 6.1 includeing
> qpopper.
> Well it looked like every thing setup OK so I reinstalled qpopper but it
> 
> want work now in fact I tried some other mail server software and can't
> get any of thm to work.
> When I use telnet it logs onto the mail server fine and tells me I have
> 0 massages, my mail client software logs in fine but tell's me I have no
> 
> new massages this afther I have sent about 20 or 30 test mail to it.
> 
> Please if any one has any idea what's going on please let me know I am
> about to give up.
> 
> Thanks

-- 
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: Wed, 14 Jun 2000 03:55:11 -0400
From: Brad Groshok <bgroshok at odyssey.on dot ca>
Subject: Re: enable-hash-spool=2

Great!, thanks to all that jumped in for this thread.
Helped me out a bunch!

Anybody have a script that will move all mail files that
are currently in /var/mail/username to /var/mail/u/s/username
(Well not specifically just that dir, but the entire hash
spool dir structure)

Brad

At 11:52 PM 6/13/00 +0100, you wrote:
>Not trying to turn this into a perl list but I think there are some
>improvements to be made here
>
>- using .. for sequences of letters/numbers
>- using the builtins when possible (mkdir, chmod)
>- using foreach when iterating over an array
>- using system instead of `` when you're not actually going to catch
>the output
>
>not much point writing it in perl if you're going to do all
>the work of a C programmer ;-)
>
>#!/usr/bin/perl
>
>@directories = ("a".."z", 0..9, "-", "_");
>
>$main_dir = ".";        # no trailing slash
>$ownership = "root:mail";       # chown:chgrp values
>
>foreach $letter1 (@directories)  {
>    mkdir("$main_dir/$letter1", 01777);
>
>    foreach $letter2 (@directories)  {
>         mkdir("$main_dir/$letter1/$letter2", 01777);
>    }
>
>    system("chown -R $ownership $main_dir/$letter1");
>}
>
>On Tue, 13 Jun 2000, you wrote: > Here is
>the script we used to create the directories: >  > =========== Script
>Follows ========================== >
> > #!/usr/bin/perl
> > @directories = ("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k",
> > "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
> > "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-", "_");
> > $main_dir = /var/spool/mail;  # no trailing slash
> > $ownership = "root:mail";     # chown:chgrp values
> > $loop1 = 0;
> > $loop2 = 0;
> > while ($loop1 <= $#directories)       {
> >    `mkdir $main_dir/$directories[$loop1]`;
> >    while ($loop2 <= $#directories)    {
> >       `mkdir $main_dir/$directories[$loop1]/$directories[$loop2]`;
> >       `chmod 1777 $main_dir/$directories[$loop1]/$directories[$loop2]`;
> >       ++$loop2;
> >    }
> >    `chown -R $ownership $main_dir/$directories[$loop1]`;
> >    `chmod  1777 $main_dir/$directories[$loop1]`;
> >    ++$loop1;
> >    $loop2 = 0;
> > }
> >
> > exit;
> >
> > =========== End Script ================================
> >
> > Remove any characters necessary from the @directories (we allow #s and
> > -_).  Change the main_dir and ownership if necessary.  Ownership is
> > recursive on all directories created.
> >
> > --
> > ===============================================
> > Kip Turk                  phone: 915.234.5678
> > Systems Administrator         or 800.695.9016
> > West Central Net            fax: 915.656.0071
> > ===============================================
> >
> > On Tue, 13 Jun 2000, Joseph W. Breu wrote:
> >
> > > > What does everybody use for a local mail
> > > > delivery agent that will put mail into that
> > > > directory?
> > >
> > > I use procmail.
> > >
> > > > I've tried procmail but it seems to have issues
> > > > creating the dirs if they don't already exist.
> > >
> > > Just "pre-create" the directories using a shell script or whatever you
> > > have handy.
> > >
> > >

     _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    _/ Regards: Brad Groshok (bgroshok at odyssey.on dot ca)             _/
   _/ President Odyssey Network Inc. http://www.odyssey.on.ca    _/
  _/ London Ontario Canada PH:(519)660-8883 Fax:(519)660-6111   _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


Date: Wed, 14 Jun 2000 17:46:46 +0800 (HKT)
From: LO KAI CHEONG <t422792 at study.oli dot hk>
Subject: Login id with dot and underscore

My Solaris box contain some user login id with dot and underscore(abc.c,
abc_c).  Is there any problem during pop authentication?


Date: Wed, 14 Jun 2000 02:58:48 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: enable-hash-spool=2

Brad Groshok wrote:
> 
> Great!, thanks to all that jumped in for this thread.
> Helped me out a bunch!
> 
> Anybody have a script that will move all mail files that
> are currently in /var/mail/username to /var/mail/u/s/username
> (Well not specifically just that dir, but the entire hash
> spool dir structure)


cd $MAILDIR
ls | awk '{printf "mv %s %s/%s/%s\n" ,$0,substr($0,1,1),substr($0,2,1),$0}' | sh

-- 
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: Wed, 14 Jun 2000 09:07:39 -0400
From: "Michael D. Sofka" <sofkam at rpi dot edu>
Subject: Re: enable-hash-spool=2

At 03:55 AM 6/14/00 -0400, Brad Groshok wrote:
>Great!, thanks to all that jumped in for this thread.
>Helped me out a bunch!
>
>Anybody have a script that will move all mail files that
>are currently in /var/mail/username to /var/mail/u/s/username
>(Well not specifically just that dir, but the entire hash
>spool dir structure)

This assumes the hashed directories are already made.  It also
assumes only a..z in hash values (since we only use these
characters when making accounts).

Mike


#!/usr/local/bin/perl


$usage = "hash-mboxs [options]

    -passwd      Print table of hashed passwd entries [default].
    -mboxes      Print table of hashed mbox entries.
    -move        Move (copy) the mboxes to hashed mboxes.
    -dir  <path> Use <path> for source spool.
    -dest <path> Use <path> for destination spool base.
    -help:       Print this message.

Note, mboxes without /etc/passwd entries are not moved!";

        
if ($#ARGV < 0) {
    print "$usage\n";
    exit 1;
}

$MBOX = 0; # print hashed passwd entries by default.
$MOVE = 0; # Don't move mboxes unless told to.
$DIR  = "/var/spool/mail";  # default source directory.
$DEST = "/var/spool/mail"; # default destination base.
$MAILGID = 6;

while (@ARGV) {
    $_ = shift;

    if (/^-passwd$/) {
        $MBOX = 0;
        next;
    }
    elsif (/^-mboxes$/) {
        $MBOX = 1;
        next;
    }
    elsif (/^-move$/) {
        $MOVE = 1;
        next;
    }
    elsif (/^-dir$/) {
        $DIR = shift;
        next;
    }
    elsif (/^-dest$/) {
        $DEST = shift;
        next;
    }
    elsif (/^-help$/) {
        print "$usage\n"; exit 1;
    }
    else {
        die "Unrecognized option: $_ \n\n $usage\n";
    }
}


# Prepopulate the table of hashes.
foreach $key1 ('a'..'z') {
    foreach $key2 ('a'..'z') {
        $hashes{"$key1/$key2"} = 0;
    }
}


# Increment table entries based on passwd file.
open PASSWD, "</etc/passwd" or die "Could not open passwd file: $!\n";

while (<PASSWD>) {

    $user = (split(/:/))[0];
    $user =~ tr/A-Z/a-z/;

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

    if (!$MOVE) {
        if ($MBOX) {
            $hashes{"$first/$second"}++ if -e "$DIR/$user";
        } else {
            $hashes{"$first/$second"}++;
        }
    } else {  # Copying mboxes to new hashed destination.

        if (-e "$DIR/$user") {
            print "Copying $user from $DIR to $DEST/$first/$second\n";

            # Get the uid of the file's owner, and look it up in passwd.
            $owneruid = (stat("$DIR/$user"))[4];

            open SRC, "<$DIR/$user" or die "Could not read $DIR/$user: $!\n";
            open SINK, ">>$DEST/$first/$second/$user"
                or die "Could not write $DEST/$first/$second/$user: $!\n";

            print SINK <SRC>;

            close SINK;
            close SRC;

            chown $owneruid, $MAILGID, "$DEST/$first/$second/$user";
            chmod 0660, "$DEST/$first/$second/$user";
        }

    }
}

close(PASSWD);


if (!$MOVE) {  # Printing summary of hash bins.

    print "  ";
    $separator="--";
    foreach $letter ('a'..'z') {
        print "   $letter";
        $separator .= "----";
    }

    print "\n$separator";

    $count = 0;
    $letter= 'a';

    foreach $key (sort keys %hashes) {

        if (($count % 26) == 0) {
            print "\n$letter|";
            $letter++;
        }

        print sprintf("%4d", $hashes{$key});
#       print sprintf("%4s", $key);

        $count++;
    }

    print "\n";
}

exit(0);

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


From: "Jerry O'Brien" <jobrien at cuttingedge dot net>
Subject: I/O error no such file or directory
Date: Wed, 14 Jun 2000 17:34:27 -0500

What do these qpopper messages mean?  (version 3.0) I get them from a few
Windoze clients running OE.

-ERR POP EOF or I/O error: No such file or directory (2) [popper.c:560]

-ERR [SYS/TEMP] maillock error 4: '/var/spool/mail/lmsully'
[pop_dropcopy.c:1411]

Jerry O'Brien
Cutting Edge Systems




From: "Geoff Wilson" <gwilson at cbnet.ns dot ca>
Date: Wed, 14 Jun 2000 19:51:09 -0300
Subject: I am giving up

Well I tried :) I have been using qpopper for years here and it has 
do it's job well. However I have version now that has security holes 
in it and the "new" secure one will not compile on my Sun box, 
looks like time to investigate other pop mail programs. <SIGH> I'm 
really gonna miss the pop bull feature :)

Geoff

_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
That money talks I don't deny
I heard it once, it said "goodbye"

Date: Thu, 15 Jun 2000 08:19:35 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: I am giving up

Geoff Wilson (gwilson at cbnet.ns dot ca) wrote:

> Well I tried :) I have been using qpopper for years here and it has 
> do it's job well. However I have version now that has security holes 
> in it and the "new" secure one will not compile on my Sun box, 
> looks like time to investigate other pop mail programs. <SIGH> I'm 
> really gonna miss the pop bull feature :)

	Which version, what flavour of sun?

	I have sun boxen floating around, I can compile it and
	bitch about typos and gcc'isms too.

	FYI, 3.0.1 was a dead loss on irix, that mime mangling
	stuff really needs an #ifdef to remove it completely.
	It's all very well adding wonderful new feeping creatures,
	but there should be a way to compile without them.

	P
 

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

Date: Wed, 14 Jun 2000 18:10:13 -0600 (MDT)
From: John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Subject: Re: I am giving up

Why dont you just patch your old version and fix the security hole if you
are not comfortable running the new version?


On Wed, 14 Jun 2000, Geoff Wilson wrote:

>Well I tried :) I have been using qpopper for years here and it has 
>do it's job well. However I have version now that has security holes 
>in it and the "new" secure one will not compile on my Sun box, 
>looks like time to investigate other pop mail programs. <SIGH> I'm 
>really gonna miss the pop bull feature :)
>
>Geoff
>
>_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
>That money talks I don't deny
>I heard it once, it said "goodbye"
>

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  6:05pm  up 34 days, 23:31,  3 users,  load average: 0.17, 0.29, 0.25


From: "Geoff Wilson" <gwilson at cbnet.ns dot ca>
Date: Wed, 14 Jun 2000 20:41:26 -0300
Subject: Rrepost for Peter

Peter here is my original query :

Folks:

	I have been trying to update qpopper on one of my servers. 
This machine runs Solaris 2.4 and I have been unable to get the 
compilation to finish for any of the versions available including the 
version in the subject line. I am using gcc and the compiler keeps 
barfing with this error :

 ../mmangle/libmangle.a ../common/libcommon.a
Undefined                       first referenced
 symbol                             in file
srandom                             popper.o
ld: fatal: Symbol referencing errors. No output written to popper
*** Error code 1

 Everything seems  to work fine up to this point, and then it dies. 
Has anyone seen this behaviour before and does anyone know 
how to fix it ???


Geoff

_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
That money talks I don't deny
I heard it once, it said "goodbye"

From: "Geoff Wilson" <gwilson at cbnet.ns dot ca>
Date: Wed, 14 Jun 2000 20:55:18 -0300
Subject: Re: I am giving up

Date sent:      	Wed, 14 Jun 2000 18:10:13 -0600 (MDT)
From:           	John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
To:             	Geoff Wilson <gwilson at cbnet.ns dot ca>
Copies to:      	Subscribers of Qpopper <qpopper at lists.pensive dot org>
Subject:        	Re: I am giving up

> Why dont you just patch your old version and fix the security hole if you
> are not comfortable running the new version?
> 
> 
 It's not a matter of comfort :) I would happily run the later version 
that Qualcomm has released IF it would compile but it dosen't on 
the machine I need it for. On a different  machine with a later 
version of Solaris, it compiles fine, just won't do so under 2.4. 
Maybe when I finally get some time to upgrade the OS on the box, I 
can look at it again, but in reality I probably a0 won't up grade the 
boxen and b) have time to look at it again 

Geoff

_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
That money talks I don't deny
I heard it once, it said "goodbye"

Date: Wed, 14 Jun 2000 18:43:02 -0600 (MDT)
From: John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Subject: Re: Rrepost for Peter

Geoff, if you find someone you trust, you should also be able to use their
machine and compile yourself a binary..... (assuming it's the same OS,
that is)

On Wed, 14 Jun 2000, Geoff Wilson wrote:

> Everything seems  to work fine up to this point, and then it dies. 
>Has anyone seen this behaviour before and does anyone know 
>how to fix it ???
>
>
>Geoff
>
>_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
>That money talks I don't deny
>I heard it once, it said "goodbye"
>

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  6:40pm  up 35 days, 6 min,  3 users,  load average: 0.10, 0.20, 0.24


Date: Wed, 14 Jun 2000 19:09:59 -0500 (CDT)
From: Jorge Kobeh <jkobeh at spin.com dot mx>
Subject: Re: I am giving up

Any one knows how to patch that hole? I've had trouble with the new version
but the old one works great with my system, I'm using BSD/OS 4.01.

-- 
Sincerely, Jorge Kobeh - Servicio SPIN

On Wed, 14 Jun 2000, John Gonzalez/netMDC admin wrote:

> Why dont you just patch your old version and fix the security hole if you
> are not comfortable running the new version?
> 
> 
> On Wed, 14 Jun 2000, Geoff Wilson wrote:
> 
> >Well I tried :) I have been using qpopper for years here and it has 
> >do it's job well. However I have version now that has security holes 
> >in it and the "new" secure one will not compile on my Sun box, 
> >looks like time to investigate other pop mail programs. <SIGH> I'm 
> >really gonna miss the pop bull feature :)
> >
> >Geoff
> >
> >_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
> >That money talks I don't deny
> >I heard it once, it said "goodbye"
> >
> 
> 


Date: Wed, 14 Jun 2000 18:46:48 -0600 (MDT)
From: John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Subject: Re: I am giving up

Yes, the fix is (quoting from original bugtraq post, IIRC)

 * Fix
        You can download Qpopper 3.1 at 
http://www.eudora.com/freeware/qpop.html#CURRENT which
        is not vulnerable to this problem.

        Or you can manually patch it by doing the following:

          At lines 150 and 62 from pop_msg.c, replace:
        - return (pop_msg (p,POP_SUCCESS, buffer));
          to:
        + return (pop_msg (p,POP_SUCCESS, "%s", buffer));

However, the poster made a mistake. The file that you need to patch is not
pop_msg.c but infact, pop_uidl.c

($:~/qpopper2.53)- grep -F "POP_SUCCESS, buffer" *
grep: doc: Is a directory
pop_uidl.c:     return (pop_msg (p,POP_SUCCESS, buffer));
pop_uidl.c:     return (pop_msg (p,POP_SUCCESS, buffer));

On Wed, 14 Jun 2000, Jorge Kobeh wrote:

>Any one knows how to patch that hole? I've had trouble with the new version
>but the old one works great with my system, I'm using BSD/OS 4.01.
>
>-- 
>Sincerely, Jorge Kobeh - Servicio SPIN
>
>On Wed, 14 Jun 2000, John Gonzalez/netMDC admin wrote:
>
>> Why dont you just patch your old version and fix the security hole if you
>> are not comfortable running the new version?
>> 
>> 
>> On Wed, 14 Jun 2000, Geoff Wilson wrote:
>> 
>> >Well I tried :) I have been using qpopper for years here and it has 
>> >do it's job well. However I have version now that has security holes 
>> >in it and the "new" secure one will not compile on my Sun box, 
>> >looks like time to investigate other pop mail programs. <SIGH> I'm 
>> >really gonna miss the pop bull feature :)
>> >
>> >Geoff
>> >
>> >_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
>> >That money talks I don't deny
>> >I heard it once, it said "goodbye"
>> >
>> 
>> 
>
>

-- 
  _    __   _____      __   _________      
______________  /_______ ___  ____  /______  John Gonzalez/Net.Tech
__  __ \ __ \  __/_  __ `__ \/ __  /_  ___/ MDC Computers/netMDC!
_  / / / `__/ /_  / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/  \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
  6:40pm  up 35 days, 6 min,  3 users,  load average: 0.10, 0.20, 0.24



Date: Wed, 14 Jun 2000 17:28:54 -0700
From: Qpopper Support <qpopper at qualcomm dot com>
Subject: Qpopper 3.1b2 available

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

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.1b1 to 3.1b2
---------------------------

  1.  Fixed case where buffer passed to pop_msg without format.
  2.  EUIDL no longer includes extra newline for single message.
  3.  --enable-shy now makes banner very brief and omits the
      IMPLEMENTATION tag from the CAPA response unless the user
      is authenticated.
  4.  Added DRAC support, based on patches by Mike McHenry,
      Forrest Aldrich, Steven Champeon, and others.
  5.  Applied patches from Jeffrey C. Honig at BSDI which:
      - Adds BSD/OS authentication support.
      - Adds the Kerberos K_GETSOCKINST define to enable a call to
        k_getsockinst().  It gets the IP address of the local end
        of a connection and looks up the host name and uses that
        for the instance.  This allows using different instances
        for different virtual addresses on the same machine.
      - Disables the check for the principal name being the same as
        the specified user name when KUSEROK is defined.  KUSEROK does
        all the necessary validation.  It's more work for the client
        to figure out what the principal name in the ticket is and it
        doesn't really matter since this userid is ignored.
      - Adds run-time flags: '-S' enables server mode; '-K' allows
        specification of the Kerberos service to use, same as the
        compile time KERBEROS_SERVICE define.
      - Changes references to the BSDI define to be __bsdi__ which is
        defined automatically on BSD/OS.
  6.  Allow password to be passed as extra parameter to popauth so it
      can be used in a scripted envirovment (based on patch by Dejan
      Ilic).
  7.  Added clear text handling options when APOP or SCRAM available:
      use '-p 0|1|2|3' run-time option; 0 is default; 1 means clear text
      passwords are never permitted for any user; 2 means they are
      always permitted (even if an APOP or SCRAM entry exists), which
      allows them to be used as a fallback; 3 means they are permitted
      on the local interface (127.*.*.*) only.
  8.  Fixed bug causing spool duplication in server mode when
      KEEP_TEMP_DROP defined.
  9.  maillock calls now show file and line number where called.
10.  UIDs now deterministic when NO_STATUS set.
11.  Removed '-Z' switch for old-style locking.
12.  Added '--enable-old-uidl' to encode UIDLs in old (pre-3.x)
      style.  This is only useful if you set NO_STATUS and you have
      existing users who keep mail on the server and have old spools.
13.  Added '--disable-status' to prevent Qpopper from writing 'Status'
      or 'X-UIDL' headers (--disable-status sets NO_STATUS).  This forces
      UIDs for each message to be recalculated in each session.
14.  Added '--keep-temp-drop' to prevent Qpopper from deleting the temp
      drop files.
15.  No longer accessing APOP datum ptr after closing db.
16.  Corrected blank padding for minimum-width '%s' in snprintf().
17.  Deleted spurious declarations from popper.h, fixing "multiple
      common" link errors.
18.  Cast value.dptr to char * when dereferencing to avoid errors on
      IRIX, using patch from Rick Troxel.
19.  Added '--disable-check-pw-max' to prevent Qpopper from checking
      for expired passwords.
20.  Added return values to pop_exit ring, pop_sendline.
21.  Various fixes for irix from Peter Evans.
22.  Now checking for spool in /var before /usr.
23.  AUTO_DELETE now checks if msg already deleted and updates
      bytes_deleted; also skips loop if msgs_deleted < msg_count (thanks
      to Roman Shterenzon for the suggestion).
24.  FillMangleInfo now returns 0 on success instead of random (patch
      by Neil Harkin).
25.  Applied patch by Clifton Royston to make XTND XMIT translate
      network EOL (CRLF) to local EOL ('\n').
26.  XTND XMIT now only recognizes initial ".\n' as end-of-msg (instead
      of any line which starts with and ends with ".").
27.  Added code to check for expired accounts on AIX (from Mathieu
      Legare).
28.  Added '-ls' to LIBS on AIX, updated INSTALL for AIX (suggestion by
      Kim Lewall).
30.  Added '-ls' to LIBS for IRIX.
31.  Added patch from Mathieu Legare to check for expired accounts on AIX.
32.  Fixed crash in rpop.
33.  Fixed APOP on OpenBSD.
34.  APOP keys no longer traced (unless TRACE_APOP_KEYS defined).
35.  Don't omit body lines that look like X-UIDL or STATUS headers.


Date: Wed, 14 Jun 2000 19:41:09 -0500
From: "Tracy L. Hinshaw" <tracy at dwx dot com>
Subject: Re: Rrepost for Peter

Greetings.
I was fortunate enough to encounter this problem as well, also on a Solaris 
2.4 box.

The fix, or rather, the work-around that I came up with was simply to 
comment out the references to srandom in the popper subdirectory (files 
pop_auth.c, popper.c, popauth.c).

The binary compiled just fine and worked flawlessly on a moderately busy 
machine (approx. 2000 users).

Obviously upgrading the OS is preferable but this work-around served my 
purposes very well.

I hope this helps.

Tracy Hinshaw


At 08:41 PM 6/14/00 -0300, Geoff Wilson wrote:
>Peter here is my original query :
>
>Folks:
>
>         I have been trying to update qpopper on one of my servers.
>This machine runs Solaris 2.4 and I have been unable to get the
>compilation to finish for any of the versions available including the
>version in the subject line. I am using gcc and the compiler keeps
>barfing with this error :
>
>  ../mmangle/libmangle.a ../common/libcommon.a
>Undefined                       first referenced
>  symbol                             in file
>srandom                             popper.o
>ld: fatal: Symbol referencing errors. No output written to popper
>*** Error code 1
>
>  Everything seems  to work fine up to this point, and then it dies.
>Has anyone seen this behaviour before and does anyone know
>how to fix it ???
>
>
>Geoff
>
>_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
>That money talks I don't deny
>I heard it once, it said "goodbye"


Date: Wed, 14 Jun 2000 20:04:50 -0500 (CDT)
From: Jorge Kobeh <jkobeh at spin.com dot mx>
Subject: Re: I am giving up

Thanks very much for your prompt reply, I will patch the code ASAP.

-- 
Sincerely, Jorge Kobeh - Servicio SPIN

On Wed, 14 Jun 2000, John Gonzalez/netMDC admin wrote:

> Yes, the fix is (quoting from original bugtraq post, IIRC)
> 
>  * Fix
>         You can download Qpopper 3.1 at 
> http://www.eudora.com/freeware/qpop.html#CURRENT which
>         is not vulnerable to this problem.
> 
>         Or you can manually patch it by doing the following:
> 
>           At lines 150 and 62 from pop_msg.c, replace:
>         - return (pop_msg (p,POP_SUCCESS, buffer));
>           to:
>         + return (pop_msg (p,POP_SUCCESS, "%s", buffer));
> 
> However, the poster made a mistake. The file that you need to patch is not
> pop_msg.c but infact, pop_uidl.c
> 
> ($:~/qpopper2.53)- grep -F "POP_SUCCESS, buffer" *
> grep: doc: Is a directory
> pop_uidl.c:     return (pop_msg (p,POP_SUCCESS, buffer));
> pop_uidl.c:     return (pop_msg (p,POP_SUCCESS, buffer));
> 
> On Wed, 14 Jun 2000, Jorge Kobeh wrote:
> 
> >Any one knows how to patch that hole? I've had trouble with the new version
> >but the old one works great with my system, I'm using BSD/OS 4.01.
> >
> >-- 
> >Sincerely, Jorge Kobeh - Servicio SPIN
> >
> >On Wed, 14 Jun 2000, John Gonzalez/netMDC admin wrote:
> >
> >> Why dont you just patch your old version and fix the security hole if you
> >> are not comfortable running the new version?
> >> 
> >> 
> >> On Wed, 14 Jun 2000, Geoff Wilson wrote:
> >> 
> >> >Well I tried :) I have been using qpopper for years here and it has 
> >> >do it's job well. However I have version now that has security holes 
> >> >in it and the "new" secure one will not compile on my Sun box, 
> >> >looks like time to investigate other pop mail programs. <SIGH> I'm 
> >> >really gonna miss the pop bull feature :)
> >> >
> >> >Geoff
> >> >
> >> >_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
> >> >That money talks I don't deny
> >> >I heard it once, it said "goodbye"
> >> >
> >> 
> >> 
> >
> >
> 
> 


Date: Wed, 14 Jun 2000 20:14:16 -0500 (CDT)
From: Jorge Kobeh <jkobeh at spin.com dot mx>
Subject: Re: I am giving up

John:

Thanks for your message, I'll take that into account.

-- 
Sincerely, Jorge Kobeh - Servicio SPIN

On Wed, 14 Jun 2000, John Gonzalez/netMDC admin wrote:

> Yes, the fix is (quoting from original bugtraq post, IIRC)
> 
>  * Fix
>         You can download Qpopper 3.1 at 
> http://www.eudora.com/freeware/qpop.html#CURRENT which
>         is not vulnerable to this problem.
> 
>         Or you can manually patch it by doing the following:
> 
>           At lines 150 and 62 from pop_msg.c, replace:
>         - return (pop_msg (p,POP_SUCCESS, buffer));
>           to:
>         + return (pop_msg (p,POP_SUCCESS, "%s", buffer));
> 
> However, the poster made a mistake. The file that you need to patch is not
> pop_msg.c but infact, pop_uidl.c
> 
> ($:~/qpopper2.53)- grep -F "POP_SUCCESS, buffer" *
> grep: doc: Is a directory
> pop_uidl.c:     return (pop_msg (p,POP_SUCCESS, buffer));
> pop_uidl.c:     return (pop_msg (p,POP_SUCCESS, buffer));
> 
> On Wed, 14 Jun 2000, Jorge Kobeh wrote:
> 
> >Any one knows how to patch that hole? I've had trouble with the new version
> >but the old one works great with my system, I'm using BSD/OS 4.01.
> >
> >-- 
> >Sincerely, Jorge Kobeh - Servicio SPIN
> >
> >On Wed, 14 Jun 2000, John Gonzalez/netMDC admin wrote:
> >
> >> Why dont you just patch your old version and fix the security hole if you
> >> are not comfortable running the new version?
> >> 
> >> 
> >> On Wed, 14 Jun 2000, Geoff Wilson wrote:
> >> 
> >> >Well I tried :) I have been using qpopper for years here and it has 
> >> >do it's job well. However I have version now that has security holes 
> >> >in it and the "new" secure one will not compile on my Sun box, 
> >> >looks like time to investigate other pop mail programs. <SIGH> I'm 
> >> >really gonna miss the pop bull feature :)
> >> >
> >> >Geoff
> >> >
> >> >_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
> >> >That money talks I don't deny
> >> >I heard it once, it said "goodbye"
> >> >
> >> 
> >> 
> >
> >
> 
> 


Date: Thu, 15 Jun 2000 10:23:48 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: Rrepost for Peter

Geoff Wilson (gwilson at cbnet.ns dot ca) wrote:
>  ../mmangle/libmangle.a ../common/libcommon.a
> Undefined                       first referenced
>  symbol                             in file
> srandom                             popper.o
> ld: fatal: Symbol referencing errors. No output written to popper
> *** Error code 1
 

	srandom is used o seed the random number generator
	you can probably comment references to it out.

	P
	----*

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

From: Frank Pineau <frank at pineaus dot com>
Subject: 3.1b2 Enable-shy
Date: Wed, 14 Jun 2000 21:29:53 -0400

Just noticed that the --enable-shy config tag appears to be broken in =
3.1b2.
Works fine in 3.0x

=46P


-- 
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
=46rank Pineau  ------------>

        frank at pineaus.IHATESPAM dot com
          http://www.pineaus.com

     Time is the best teacher.  Unfortunately,
           it kills all of its students.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
PGP Public Key:
http://www.pineaus.com/frankpineau.asc

No mail from web-based mail systems such as Hotmail
or Yahoo will be accepted.

From: "Geoff Wilson" <gwilson at cbnet.ns dot ca>
Date: Wed, 14 Jun 2000 23:14:16 -0300
Subject: Re: 3.1b2 Enable-shy

From:           	Frank Pineau <frank at pineaus dot com>
To:             	qpopper at lists.pensive dot org (Subscribers of Qpopper)
Subject:        	3.1b2 Enable-shy
Date sent:      	Wed, 14 Jun 2000 21:29:53 -0400

> Just noticed that the --enable-shy config tag appears to be broken in 3.1b2.
> Works fine in 3.0x
> 

I just finished compiling it here. First without --enable-shy and then 
with. The feature semms to work fine here although as you 
probably know I had othe problems compiling it that the good folk 
here helped me with :)

Geoff

_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
That money talks I don't deny
I heard it once, it said "goodbye"

From: "Geoff Wilson" <gwilson at cbnet.ns dot ca>
Date: Wed, 14 Jun 2000 23:00:43 -0300
Subject: Re: Rrepost for Peter

> Greetings.
> I was fortunate enough to encounter this problem as well, also on a Solaris 
> 2.4 box.
> 
> The fix, or rather, the work-around that I came up with was simply to 
> comment out the references to srandom in the popper subdirectory (files 
> pop_auth.c, popper.c, popauth.c).
> 

Tracy and Peter:

	Yes that worked !!! It now compiles and shows no errors doing 
so. I went and got the new version just announced and tried it to 
see if it would compile out of the tar ball. No such luck :( I recall 
commenting out the lines in popauth.c but missed the one in 
popper.c. A grep of the popper directory for srandom just returned 
these two files in Ver 3.1b2. Commenting the srandom lines allowed 
it to complete and generate the popper binary, which seems to be 
working just fine :)

Thanks for all the comments folks. Now I have only a small question 
:) did we break anything by commenting out the srandom 
statements in the source ???

Geoff

_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
That money talks I don't deny
I heard it once, it said "goodbye"

From: Frank Pineau <frank at pineaus dot com>
Subject: Re: 3.1b2 Enable-shy
Date: Wed, 14 Jun 2000 22:49:10 -0400

I use the same configuration script for each compile so I know I'm using =
the
same options between versions.  This is the first time --enable-shy =
hasn't
worked for me.  I did try recompiling it without that option and of =
course it
was not enabled.  Essentially, it seems to ignore the option.  However, I=
 will
try reconfiguring and recompiling just to make sure it's not something I =
did
wrong.

=46P


>
>I just finished compiling it here. First without --enable-shy and then 
>with. The feature semms to work fine here although as you 
>probably know I had othe problems compiling it that the good folk 
>here helped me with :)
>


-- 
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
=46rank Pineau  ------------>

        frank at pineaus.IHATESPAM dot com
          http://www.pineaus.com

     Time is the best teacher.  Unfortunately,
           it kills all of its students.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
PGP Public Key:
http://www.pineaus.com/frankpineau.asc

No mail from web-based mail systems such as Hotmail
or Yahoo will be accepted.

From: Frank Pineau <frank at pineaus dot com>
Subject: Re: 3.1b2 Enable-shy
Date: Wed, 14 Jun 2000 23:36:23 -0400

Ok, just tried it again and it definitely ignored the option.  When =
running
./configure, it enabled it ("Enabled SHY"), and there were no errors =
during
compile.  Everything looked fine, but my log file is quite definitely =
showing
the version number whenever mail is popped.

=46P


On Wed, 14 Jun 2000 22:49:10 -0400, you wrote:

>I use the same configuration script for each compile so I know I'm using=
 the
>same options between versions.  This is the first time --enable-shy =
hasn't
>worked for me.  I did try recompiling it without that option and of =
course it
>was not enabled.  Essentially, it seems to ignore the option.  However, =
I will
>try reconfiguring and recompiling just to make sure it's not something I=
 did
>wrong.
>
>FP
>
>
>>
>>I just finished compiling it here. First without --enable-shy and then 
>>with. The feature semms to work fine here although as you 
>>probably know I had othe problems compiling it that the good folk 
>>here helped me with :)
>>


-- 
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
=46rank Pineau  ------------>

        frank at pineaus.IHATESPAM dot com
          http://www.pineaus.com

     Time is the best teacher.  Unfortunately,
           it kills all of its students.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
PGP Public Key:
http://www.pineaus.com/frankpineau.asc

No mail from web-based mail systems such as Hotmail
or Yahoo will be accepted.

Date: Thu, 15 Jun 2000 04:56:11 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: Rrepost for Peter

Geoff Wilson wrote:

> > The fix, or rather, the work-around that I came up with was simply to
> > comment out the references to srandom in the popper subdirectory (files
> > pop_auth.c, popper.c, popauth.c).
> >
....
> these two files in Ver 3.1b2. Commenting the srandom lines allowed
> it to complete and generate the popper binary, which seems to be
> working just fine :)
> 
> Thanks for all the comments folks. Now I have only a small question
> :) did we break anything by commenting out the srandom
> statements in the source ???

Srandom is used to setup the random number generator.  What not
calling does depends on your OS.  Under Linux you get a default
seed of 1 -- always predictable numbers.

This is bad when you're creating encryption keys.

Under some OSes, the default key is the clock.

Try this little dittie... If you always get the same values
when you run it, you have a security problem... You probably
want to replace the commented out 'srandom' call with something
else.  ('man [23] random' for more info) . 
Even something as simple as :
  {int i,c=time(0)%100000; for(i=1;i++<c;){(void)random();};};
is better than nothing (the encryption key is no longer glaringly
repeatable)

--rndtst.c---------------
#include <stdlib.h>
#include <stdio.h>
main(){
int i;
        for (i=1; i<4;i++){
                printf("rand%d:  %d\n",i,random()%10000);
        };
printf("\n");
};
------------------------
-- 
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?".

From: "Kenneth Porter" <shiva at well dot com>
Date: Thu, 15 Jun 2000 06:04:56 -0700
Subject: Re: 3.1b2 Enable-shy

On Wed, 14 Jun 2000 23:36:23 -0400, Frank Pineau wrote:

>Ok, just tried it again and it definitely ignored the option.  When running
>./configure, it enabled it ("Enabled SHY"), and there were no errors during
>compile.  Everything looked fine, but my log file is quite definitely showing
>the version number whenever mail is popped.

Is it possible that it shows up in the log file but not at the client?
Have you tried manually connecting to port 110 with telnet to see what
banner it presents?

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



Date: Thu, 15 Jun 2000 09:06:00 -0400 (EDT)
From: Admin Mailing Lists <mlist at intergrafix dot net>
Subject: error, message does not exist

Can anyone explain what the last log line means..i mean, it's pretty
straight-forward. but, why would it come up, and is there a way i can fix
it or could it be a glitch in the code? 

Thanx.

Sat Jun  3 06:54:45 2000 [4542] (v3.0.1) STAT request from "gyro" at
(gyro at WILBA010-0022.splitrock dot net) 64.196.124.22 : 0 message(s)
Sat Jun  3 06:54:45 2000
Sat Jun  3 06:54:46 2000 [4542] gyro at WILBA010-0022.splitrock.net
(64.196.124.22): -ERR Message 1 does not exist.

-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
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.


From: <psmith at cti dot ca>
Date: Thu, 15 Jun 2000 09:17:13 -0400
Subject: Please help...

In the last few days our mail server has been giving these errors in the pop
log:
-ERR POP EOF or I/O Error: 2 (No such file or directory); 0 (Success)
-ERR Message 3 out of range.


I upgraded to qpopper 3.0.2 yesterday, and things have not changed. Can anyone
help me resolve this issue?

Thanks,

Paul W. Smith, MCP, CLA
Network Engineer
CTI Solutions Group
Office: (416) 778-1300 x7366
Mobile: (905) 741-3476
email: psmith at cti dot ca



Date: Thu, 15 Jun 2000 09:22:10 -0400 (EDT)
From: Admin Mailing Lists <mlist at intergrafix dot net>
Subject: Re: I am giving up [OT]

On Wed, 14 Jun 2000, Geoff Wilson wrote:

> Well I tried :) I have been using qpopper for years here and it has 
> do it's job well. However I have version now that has security holes 
> in it and the "new" secure one will not compile on my Sun box, 
> looks like time to investigate other pop mail programs. <SIGH> I'm 
> really gonna miss the pop bull feature :)
> 
> Geoff
> 

as Ani DiFranco would say, "maybe i'm just speaking for me"..
but aren't you taking the program for granted just a little bit. it serves
you well for years, it doesn't compile for you once, and you blatantly
threaten that you're gonna look for a new program? that's pretty
unappreciative. i'm sure i dont have to remind you that all
this time it's served you for FREE, WITH tech support from the
qualcomm people on the mailing list (let alone everyone else here)
dont mean to start any war, but just had to speak my mind. emails like
this really annoy me

-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
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.


From: "Kenneth Porter" <shiva at well dot com>
Date: Thu, 15 Jun 2000 06:51:59 -0700
Subject: Message out of range error

On Thu, 15 Jun 2000 09:17:13 -0400, psmith at cti dot ca wrote:

>-ERR POP EOF or I/O Error: 2 (No such file or directory); 0 (Success)
>-ERR Message 3 out of range.
>I upgraded to qpopper 3.0.2 yesterday, and things have not changed. Can anyone
>help me resolve this issue?

What client? With more verbose logging, you should be able to see what
client commands are causing this.

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