The qpopper list archive ending on 7 Jun 2000
Topics covered in this issue include:
1. RE: Can't connect to server
"Jeremy C. Reed" <reed at wcug.wwu dot edu>
Thu, 1 Jun 2000 10:44:53 -0700 (PDT)
2. Re: Messages with attachments
"Jeremy C. Reed" <reed at wcug.wwu dot edu>
Thu, 1 Jun 2000 11:01:27 -0700 (PDT)
3. qpopper vs. others
"=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Thu, 1 Jun 2000 20:13:33 +0200
4. Debian compile errors
"J.D. Bronson" <jdb at xpec dot com>
Thu, 01 Jun 2000 15:48:22 -0500
5. Re: Debian compile errors
Georg Sassen <georg at sassen dot de>
Thu, 1 Jun 2000 23:16:15 +0200
6. Re: Messages with attachments
Joel Laing <joel at scripps dot edu>
Thu, 01 Jun 2000 14:21:06 -0700
7. Re: Debian compile errors
Joel Laing <joel at scripps dot edu>
Thu, 01 Jun 2000 14:28:09 -0700
8. Re: Can't connect to server
Stephen Samuel <samuel at bcgreen dot com>
Thu, 01 Jun 2000 14:39:31 -0700
9. Re: qpopper vs. others
"Kenneth Porter" <shiva at well dot com>
Thu, 01 Jun 2000 15:56:22 -0700
10. Re: Debian compile errors
Fergal Daly <fergal at esatclear dot ie>
Fri, 02 Jun 2000 17:24:13 +0100
11. Bulletin
"=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Sat, 3 Jun 2000 06:09:42 +0200
12. Re: Bulletin
Stephen Samuel <samuel at bcgreen dot com>
Sat, 03 Jun 2000 00:50:08 -0700
13. Re: Bulletin
Alan Brown <alan at manawatu.gen dot nz>
Sat, 3 Jun 2000 20:12:35 +1200 (NZST)
14. Impact of -R option
"Judy Duffy" <judy at webalchemy dot net>
Sat, 3 Jun 2000 15:07:14 -0700
15. Re: Impact of -R option
John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Sat, 3 Jun 2000 18:45:38 -0600 (MDT)
16. Message may be forged
"Doc John" <doc at docjon dot com>
Sat, 3 Jun 2000 21:25:49 -0400
17. Re: Message may be forged
"Kenneth Porter" <shiva at well dot com>
Sat, 03 Jun 2000 18:54:55 -0700
18. searching for mechanism for mailbox quotas
Gplendon at aol dot com
Sat, 3 Jun 2000 22:02:47 EDT
19. Re: Message may be forged
"Julian Y. Koh" <kohster at mac dot com>
Sat, 3 Jun 2000 20:57:07 -0500
20. =?gb2312?B?u9i4tDogTWVzc2FnZSBtYXkgYmUgZm9yZ2Vk?=
"Jephe Wu" <jwu at globalsources dot com>
Sun, 4 Jun 2000 09:58:44 +0800
21. Re: searching for mechanism for mailbox quotas
Jim Sander <jim at federation.addy dot com>
Sat, 3 Jun 2000 23:18:25 -0400 (EDT)
22.
"Eric" <ericv at cpl dot net>
Sat, 3 Jun 2000 20:28:30 -0700
23. Re: searching for mechanism for mailbox quotas
Peter Evans <peter at gol dot com>
Sun, 4 Jun 2000 13:35:39 +0900
24. Re: --enable-hash-spool=2
Brad Groshok <bgroshok at odyssey.on dot ca>
Sat, 03 Jun 2000 19:12:35 -0400
25. CPU utilization?
Jonathan Benson <sysadmin at ocean.com dot au>
Mon, 05 Jun 2000 13:50:53 +1000
26. Bulletin DB optimization?
Jonathan Benson <sysadmin at ocean.com dot au>
Mon, 05 Jun 2000 13:48:52 +1000
27. (may be forged)
"Doc John" <doc at docjon dot com>
Sun, 4 Jun 2000 10:05:19 -0400
28. Qpopper + NetBSD
"J.D. Bronson" <jdb at xpec dot com>
Sun, 04 Jun 2000 08:39:26 -0500
29. Gotcha in 3.1b1 "NO_STATUS"
Peter Evans <peter at gol dot com>
Mon, 5 Jun 2000 21:43:12 +0900
30. Re: CPU utilization?
James Sneeringer <jvs at ocslink dot com>
Mon, 5 Jun 2000 11:41:03 -0500 (CDT)
31. performance questions for mail/pop server
rick pim <rick at post.queensu dot ca>
Mon, 5 Jun 2000 12:50:26 -0400 (EDT)
32. Re: performance questions for mail/pop server
Kris Virtue <kvirtue at qualcomm dot com>
Mon, 05 Jun 2000 10:41:59 -0700
33.
"jmcintyr" <jmcintyr at i-plus dot net>
Mon, 5 Jun 2000 14:37:08 -0400
34. Mailbox duplication, again
James Triplett <james at mail.th dot net>
Mon, 5 Jun 2000 16:02:28 -0400
35. RE: Mailbox duplication, again
"=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Mon, 5 Jun 2000 22:24:21 +0200
36. Re: Mailbox duplication, again
John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Mon, 5 Jun 2000 15:05:25 -0600 (MDT)
37. Re: Mailbox duplication, again
Butch Kemper <kemper at tstar dot net>
Mon, 05 Jun 2000 18:13:51 -0500
38. Re: Mailbox duplication, again
Peter Evans <peter at gol dot com>
Tue, 6 Jun 2000 08:35:50 +0900
39. Re: Mailbox duplication, again
Stephen Samuel <samuel at bcgreen dot com>
Mon, 05 Jun 2000 22:23:58 -0700
40. qpopper . DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
"Nico Wimmer" <nico at home.kurios dot at>
Tue, 6 Jun 2000 14:53:35 +0200
41. Mailbox Quotas and Moving Mailbox Location
Administrator <administrator at stmary.co dot za>
Tue, 6 Jun 2000 17:28:35 +0200
42. Re: Mailbox Quotas and Moving Mailbox Location
Steven Champeon <schampeo at hesketh dot com>
Tue, 6 Jun 2000 11:40:06 -0400 (EDT)
43. Re: Mailbox Quotas and Moving Mailbox Location
"Joseph W. Breu" <breu at cfu dot net>
Tue, 6 Jun 2000 10:38:36 -0500 (CDT)
44. Re: Mailbox Quotas and Moving Mailbox Location
Alan Brown <alan at manawatu.gen dot nz>
Wed, 7 Jun 2000 04:14:50 +1200 (NZST)
45. Re: qpopper . DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Joseph S D Yao <jsdy at cospo.osis dot gov>
Tue, 6 Jun 2000 12:03:31 -0400
46. Re:
Paul Robinson <paul at akitanet.co dot uk>
Tue, 06 Jun 2000 17:09:19 +0100
47. Re: Mailbox Quotas and Moving Mailbox Location
Vinay Bharel <vinay at bharel dot com>
Tue, 6 Jun 2000 09:34:23 -0700 (PDT)
48. Re: Mailbox Quotas and Moving Mailbox Location
Steven Champeon <schampeo at hesketh dot com>
Tue, 6 Jun 2000 12:54:02 -0400 (EDT)
49. Re:
"Michael D. Sofka" <sofkam at rpi dot edu>
Tue, 06 Jun 2000 13:06:16 -0400
50. How can I make qpopper create dot-lock file in different directory
Nurah Muhammad <nurah at mimos dot my>
Wed, 07 Jun 2000 17:49:11 +0800
Date: Thu, 1 Jun 2000 10:44:53 -0700 (PDT)
From: "Jeremy C. Reed" <reed at wcug.wwu dot edu>
Subject: RE: Can't connect to server
On Thu, 1 Jun 2000, Desmond J Lim wrote:
> When I at my pop3 server at work, I can telnet localhost 110 but
> can't do it from home. It says that host or gateway not found.
This really doesn't have anything to do with POP3 or qpopper. But what
commands are you doing on your home machine? Are you using "localhost"
instead of the real hostname?
Jeremy C. Reed
....................................................
BSD software, documentation, resources, news...
http://bsd.reedmedia.net
Date: Thu, 1 Jun 2000 11:01:27 -0700 (PDT)
From: "Jeremy C. Reed" <reed at wcug.wwu dot edu>
Subject: Re: Messages with attachments
On Thu, 1 Jun 2000, Ganizani Phiri wrote:
> Many of my clients are facing problems retrieving mail with attachments even
> 20KB. I have tried to increase
> Would someone over there know what could cause this. Or could it be memory
> or something to do with resources on my box.
You can check the memory and other resources by using vmstat. For example,
my mail/pop server shows:
mail:/web/home/jcr $ vmstat -c 5 -w 5
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr s0 s1 in sy cs us sy id
0 2 0 824080 133268 273 75 29 0 0 0 10 10 163 103 99 6 6 89
0 0 0 824524 133788 741 79 21 0 0 0 6 0 145 1022 56 1 7 92
0 0 0 825104 133128 363 57 7 0 0 0 2 0 124 445 25 1 3 97
0 0 0 826876 132284 1293 167 26 0 0 0 15 0 185 1543 90 3 11 86
2 2 0 829648 125264 1721 183 296 0 0 0 28 175 387 1771 314 4 15 82
Maybe this can help with your troubleshooting...
Jeremy C. Reed
....................................................
BSD software, documentation, resources, news...
http://bsd.reedmedia.net
From: "=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Subject: qpopper vs. others
Date: Thu, 1 Jun 2000 20:13:33 +0200
Hey....
Anyone knows some site where qpopper is compared to other POP3 deamons?
Or... why should one use qpopper?
thanks for any information,
-philipp
Date: Thu, 01 Jun 2000 15:48:22 -0500
From: "J.D. Bronson" <jdb at xpec dot com>
Subject: Debian compile errors
Any thoughts on this error during compile?
Debian Linux.......using APOP for compile...
-fpcc-struct-return -DHAVE_CONFIG_H -DLINUX -DUNIX pop_user.c -o pop_user.o
pop_user.c: In function `pop_user':
pop_user.c:85: `DBM' undeclared (first use in this function)
pop_user.c:85: (Each undeclared identifier is reported only once
pop_user.c:85: for each function it appears in.)
pop_user.c:85: `db' undeclared (first use in this function)
pop_user.c:87: parse error before `int'
pop_user.c:90: `datum' undeclared (first use in this function)
pop_user.c:117: `user_name_len' undeclared (first use in this function)
pop_user.c:160: `pw' undeclared (first use in this function)
pop_user.c:182: `st' undeclared (first use in this function)
pop_user.c:197: `fid' undeclared (first use in this function)
pop_user.c:222: `key' undeclared (first use in this function)
pop_user.c:227: `value' undeclared (first use in this function)
pop_user.c:234: `i' undeclared (first use in this function)
make[1]: *** [pop_user.o] Error 1
make[1]: Leaving directory `/junk/qpopper3.0.2/popper'
make: *** [popper_server] Error 2
--
J.D. Bronson // jeff at xpec.com // http://www.xpec dot com/jeff
Aurora Health Care // Information Systems // Telecom Site Manager
Milwaukee Wisconsin USA // Office: 414.978.8282 // Fax: 414.328.8282
Date: Thu, 1 Jun 2000 23:16:15 +0200
From: Georg Sassen <georg at sassen dot de>
Subject: Re: Debian compile errors
At 15:48 Uhr -0500 01.06.2000, J.D. Bronson wrote:
>Any thoughts on this error during compile?
>Debian Linux.......using APOP for compile...
>
>
> -fpcc-struct-return -DHAVE_CONFIG_H -DLINUX -DUNIX pop_user.c -o pop_user.o
>pop_user.c: In function `pop_user':
>pop_user.c:85: `DBM' undeclared (first use in this function)
It seems the gdbm libraries are not installed on your system, on mine
qpopper just compiles fine. Try this:
$ dpkg --list |grep dbm
ii libgdbmg1 1.7.3-25 GNU dbm database routines (runtime version).
ii libgdbmg1-dev 1.7.3-25 GNU dbm database routines
(development files)
If your machine doesn't show these libraries, you will have to
install them using dselect, then configure again in the qpopper
directory and try again.
Georg
--
Georg Sassen, Düsseldorf, Germany
georg at sassen.de or mailto:gsassen at web dot de
Date: Thu, 01 Jun 2000 14:21:06 -0700
From: Joel Laing <joel at scripps dot edu>
Subject: Re: Messages with attachments
Hi,
Also, may want to try iostat. Check the disk that /var/mail is on. If
you're often hitting 100% utilization, you will get a BIG preformance
gain if you split the temp-drop-dir off onto a seperate disk and
preferably seperate controller. Here's the iostat from our server (~2000
users)
mailserver # iostat -D sd16 sd32 4
sd0 sd1 sd16 sd32
rps wps util rps wps util rps wps util rps wps util
0 1 1.9 0 2 4.1 7 12 24.2 2 5 12.0
0 2 4.2 0 1 1.1 0 57 76.8 32 0 52.7
0 2 3.2 0 2 3.9 10 51 86.7 29 6 54.5
0 3 5.4 0 1 1.2 17 47 99.0 33 6 67.9
1 8 15.3 0 12 20.0 6 59 84.5 27 7 58.0
0 6 8.6 0 0 0.0 24 21 45.5 0 10 18.6
0 0 0.0 0 1 1.6 9 13 22.8 0 5 6.4
0 0 0.0 0 2 4.8 42 13 61.6 0 16 31.6
0 0 0.0 0 4 6.7 37 17 61.4 0 14 28.6
0 0 1.2 0 1 1.3 28 18 50.1 0 9 17.5
0 0 0.0 0 1 1.3 4 50 67.5 0 5 6.8
/var/mail is on sd16 and the temp-drop-dir is on sd32. Before this
config, sd16 was pegged at 100% most of the time and people waited a
long time for their mail...
Hope this helps,
Joel
"Jeremy C. Reed" wrote:
>
> On Thu, 1 Jun 2000, Ganizani Phiri wrote:
>
> > Many of my clients are facing problems retrieving mail with attachments even
> > 20KB. I have tried to increase
>
> > Would someone over there know what could cause this. Or could it be memory
> > or something to do with resources on my box.
>
> You can check the memory and other resources by using vmstat. For example,
> my mail/pop server shows:
> mail:/web/home/jcr $ vmstat -c 5 -w 5
> procs memory page disks faults cpu
> r b w avm fre flt re pi po fr sr s0 s1 in sy cs us sy id
> 0 2 0 824080 133268 273 75 29 0 0 0 10 10 163 103 99 6 6 89
> 0 0 0 824524 133788 741 79 21 0 0 0 6 0 145 1022 56 1 7 92
> 0 0 0 825104 133128 363 57 7 0 0 0 2 0 124 445 25 1 3 97
> 0 0 0 826876 132284 1293 167 26 0 0 0 15 0 185 1543 90 3 11 86
> 2 2 0 829648 125264 1721 183 296 0 0 0 28 175 387 1771 314 4 15 82
>
> Maybe this can help with your troubleshooting...
>
> Jeremy C. Reed
> ....................................................
> BSD software, documentation, resources, news...
> http://bsd.reedmedia.net
Date: Thu, 01 Jun 2000 14:28:09 -0700
From: Joel Laing <joel at scripps dot edu>
Subject: Re: Debian compile errors
Looks like you might not have dbm installed or the version you have is
incompatible. I had to grab the GNU dbm libs and stick them on the IRIX
box on which I was trying to compile qpopper.
-Joel
"J.D. Bronson" wrote:
>
> Any thoughts on this error during compile?
> Debian Linux.......using APOP for compile...
>
> -fpcc-struct-return -DHAVE_CONFIG_H -DLINUX -DUNIX pop_user.c -o pop_user.o
> pop_user.c: In function `pop_user':
> pop_user.c:85: `DBM' undeclared (first use in this function)
> pop_user.c:85: (Each undeclared identifier is reported only once
> pop_user.c:85: for each function it appears in.)
> pop_user.c:85: `db' undeclared (first use in this function)
> pop_user.c:87: parse error before `int'
> pop_user.c:90: `datum' undeclared (first use in this function)
> pop_user.c:117: `user_name_len' undeclared (first use in this function)
> pop_user.c:160: `pw' undeclared (first use in this function)
> pop_user.c:182: `st' undeclared (first use in this function)
> pop_user.c:197: `fid' undeclared (first use in this function)
> pop_user.c:222: `key' undeclared (first use in this function)
> pop_user.c:227: `value' undeclared (first use in this function)
> pop_user.c:234: `i' undeclared (first use in this function)
> make[1]: *** [pop_user.o] Error 1
> make[1]: Leaving directory `/junk/qpopper3.0.2/popper'
> make: *** [popper_server] Error 2
>
> --
> J.D. Bronson // jeff at xpec.com // http://www.xpec dot com/jeff
> Aurora Health Care // Information Systems // Telecom Site Manager
> Milwaukee Wisconsin USA // Office: 414.978.8282 // Fax: 414.328.8282
Date: Thu, 01 Jun 2000 14:39:31 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: Can't connect to server
Philipp Gaschütz wrote:
>
> your internet connection is fucked?!
>
> > -----Original Message-----
> > From: Desmond J Lim [mailto:d35 at mac dot com]
> > Sent: Donnerstag, 1. Juni 2000 17:24
> > To: Subscribers of Qpopper
> > Subject: RE: Can't connect to server
> >
> >
> > Okay I realised my problem and wonder how to go about solving it.
> >
> > When I at my pop3 server at work, I can telnet localhost 110 but
> > can't do it from home. It says that host or gateway not found.
> >
> > What's happening? How can I solve this problem.
Telneting to localhost indicates that the daemon is running. It
doesn't say much about where it's listening. Try
`telnet my-station.work.com 110 ` (with substitution). That
will tell you that qpopper is really listening where the world
can talk to it. Telnet localhost from home tries to connect
to you home machine. Unless you're using ssh and portforwarding
(or something similar) to encrypt the session between work and
home (something that I would STRONGLY suggest), that's simply
NOT going to work.
Now the other question is: Do you have a firewall at work? If
so have you asked your security admin to punch that hole for you?
if you're actually using the proper IP address from home, then
my guess is that this is going to be your REAL problem.
> > >> Both my sendmail and qpopper are set up and both work when I telnet
> > >>
> > >> telnet localhost 110 (for qpopper)
> > >> telnet localhost 25 (for sendmail)
> > >>
> > >> Sendmail can't be setup wrongly as I can sendmail on my mail server
> > >> (at the terminal itself).
> > >>
> > >> Is there something I must do to either qpopper or sendmail to make
> > >> them work together?
> > >> >> If I just want to use the mail server as an SMTP server,
> > >> do I need to
> > >> >> log in to do that?
At that point you're running into an issue with authentication.
If you don't limit the IP addresses that sendmail accepts for
forwarding email from, then you're just ASKING to get some
spammer using it as an open relay. That would probably get
a few hundred thousand random netizens (and your work) kinda
peeved at you.
Have you set up /etc/mail/access.db properly?
Why can't you use your ISP for sending and recieving email?
--
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?".
From: "Kenneth Porter" <shiva at well dot com>
Date: Thu, 01 Jun 2000 15:56:22 -0700
Subject: Re: qpopper vs. others
On Thu, 1 Jun 2000 20:13:33 +0200, Philipp Gaschtz wrote:
>Anyone knows some site where qpopper is compared to other POP3 deamons?=
>Or... why should one use qpopper?
Don't know of an existing comparison, but you could ask in
comp.mail.misc or comp.mail.imap. (The latter because some IMAP servers
(eg. UW, Cyrus) include a POP3 server.)
Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
Date: Fri, 02 Jun 2000 17:24:13 +0100
From: Fergal Daly <fergal at esatclear dot ie>
Subject: Re: Debian compile errors
At 22:16 01/06/00, Georg Sassen wrote:
>At 15:48 Uhr -0500 01.06.2000, J.D. Bronson wrote:
>>Any thoughts on this error during compile?
>>Debian Linux.......using APOP for compile...
>>
>>
>> -fpcc-struct-return -DHAVE_CONFIG_H -DLINUX -DUNIX pop_user.c -o
>> pop_user.o
>>pop_user.c: In function `pop_user':
>>pop_user.c:85: `DBM' undeclared (first use in this function)
>
>
>It seems the gdbm libraries are not installed on your system, on mine
>qpopper just compiles fine. Try this:
Wouldn't it be a good idea for this to show up at configure time? I thought
that was what configure scripts were for. Are there other libs etc that are
required that don't get checked by configure?
Fergal
From: "=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Subject: Bulletin
Date: Sat, 3 Jun 2000 06:09:42 +0200
Hey all!
maybe this is because my english is just too bad...
What exactly are the Qpopper Bulletin services?
Thanks for any help,
-philipp
Date: Sat, 03 Jun 2000 00:50:08 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: Bulletin
Qpopper Bulletins are messages that go to every user of Qpop.
(you can also deliver to specific group(8) members).
However, these messages are NOT delivered to every user's
mailbox. Much like the Usenet News system, they are stored
in a central directory. All that Qpopper then needs to do is
keep track of the last bulletin that a user has read.
Besides being easy to administer, this can make a big
difference in resource use. On one heavily used system with
100K+ people on it. Delivering a message to every user via
sendmail required about 250MB of storage and over 9 hours
do deliver on a sun E4000 with 8 CPUs and 2GB ram.
Making the same delivery using the Bulletin system would
have taken mere seconds and about 2K of disk. (plus ~5MB
for the database).
Now, you choose which method you wish to use....
Philipp Gaschütz wrote:
> maybe this is because my english is just too bad...
> What exactly are the Qpopper Bulletin services?
--
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: Sat, 3 Jun 2000 20:12:35 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: Bulletin
On Sat, 3 Jun 2000, Stephen Samuel wrote:
> Besides being easy to administer, this can make a big
> difference in resource use. On one heavily used system with
> 100K+ people on it. Delivering a message to every user via
> sendmail required about 250MB of storage and over 9 hours
> do deliver on a sun E4000 with 8 CPUs and 2GB ram.
>
> Making the same delivery using the Bulletin system would
> have taken mere seconds and about 2K of disk. (plus ~5MB
> for the database).
That's not quite true....
Bulletins are appended to the end of the user's mailbox as they check
mail. While the loading is a _lot_ less than mailing every user, the
messages are still added to the user spool.
The differences are that bulletins are usually added to the user's spool
just before being removed off the system, radically reducing storage
requirements and spreading delivery load over qpopper logins, rather
than bombing sendmail.
AB
From: "Judy Duffy" <judy at webalchemy dot net>
Subject: Impact of -R option
Date: Sat, 3 Jun 2000 15:07:14 -0700
Can someone tell me what the advantages/disadvantages are of using qpopper
(v3.0) with the -R option which is to disable reverse lookups on client IP
addresses?
I'm seeing a lot of qpopper messages in the maillog such as "Unable to get
canonical name of client: Unknown host(1)". These are just warnings, right,
which having the -R option would omit from log?
Will the behavior of qpopper (and subsequently sendmail) ever be different
because it can't get the canonical name of the sending client?
Judy Duffy
Web Alchemy
email: judy at webalchemy dot net
http://www.webalchemy.net/
Date: Sat, 3 Jun 2000 18:45:38 -0600 (MDT)
From: John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Subject: Re: Impact of -R option
The only downside i can see is that the log files will be harder for a
human to parse.
This will make the initial handshak (connection) faster as your server
wont have to do a reverse lookup.
You also shouldnt be relying on reverse lookups for any security method,
so there really isnt much of a downside (IMHO)... YMMV
On Sat, 3 Jun 2000, Judy Duffy wrote:
>Can someone tell me what the advantages/disadvantages are of using qpopper
>(v3.0) with the -R option which is to disable reverse lookups on client IP
>addresses?
>
>I'm seeing a lot of qpopper messages in the maillog such as "Unable to get
>canonical name of client: Unknown host(1)". These are just warnings, right,
>which having the -R option would omit from log?
>
>Will the behavior of qpopper (and subsequently sendmail) ever be different
>because it can't get the canonical name of the sending client?
>
>Judy Duffy
>Web Alchemy
>email: judy at webalchemy dot net
>http://www.webalchemy.net/
>
>
--
_ __ _____ __ _________
______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech
__ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC!
_ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
6:40pm up 24 days, 6 min, 2 users, load average: 0.13, 0.13, 0.09
From: "Doc John" <doc at docjon dot com>
Subject: Message may be forged
Date: Sat, 3 Jun 2000 21:25:49 -0400
New to Linux and set up a server on a computer connected through a cable
modem here.. trying to use outlook in windows 98 on another computer to
access the mail using qpopper.. seems to work fine except I get a (may be
forged) in the header when I send mail with outlook ... Is there any way to
prevent this..
Header looks like this
any help would be appreciated
----------------------- Headers --------------------------------
Return-Path: <doc at docjon dot com>
Received: from rly-yb01.mx.aol.com (rly-yb01.mail.aol.com [172.18.146.1])
by air-yb05.mail.aol.com (v74.10) with ESMTP; Sat, 03 Jun 2000
20:43:07 -0400
Received: from tabbs.docjon.com (tabbs.docjon.com [204.255.177.208]) by
rly-yb01.mx.aol.com (v74.10) with ESMTP; Sat, 03 Jun 2000 20:43:00 -0400
Received: from Tabbs4 (host770215.relex.com [204.255.177.215] (may be
forged))
by tabbs.docjon.com (8.9.3/8.8.7) with SMTP id UAA00581
for <docfang at aol dot com>; Sat, 3 Jun 2000 20:32:19 -0400
From: "Doc John" <doc at docjon dot com>
To: "Dentist" <docfang at aol dot com>
Subject: test
Date: Sat, 3 Jun 2000 20:42:26 -0400
Message-ID: <NEBBJCKNILCFHKAHNHPHIEDCCBAA.doc at docjon dot com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
From: "Kenneth Porter" <shiva at well dot com>
Date: Sat, 03 Jun 2000 18:54:55 -0700
Subject: Re: Message may be forged
On Sat, 3 Jun 2000 21:25:49 -0400, Doc John wrote:
>New to Linux and set up a server on a computer connected through a cable
>modem here.. trying to use outlook in windows 98 on another computer to
>access the mail using qpopper.. seems to work fine except I get a (may be
>forged) in the header when I send mail with outlook ... Is there any way to
>prevent this..
Wrong list. You need to ask in comp.mail.sendmail, as this is a
sendmail issue, and has nothing to do with qpopper. For mail clients,
qpopper handles *inbound* mail, sendmail handles outbound.
Before posting the question in comp.mail.sendmail, be sure to search
the FAQs on the sendmail website (http://www.sendmail.org), and then
search the newsgroup using Deja (http://www.deja.com/home_ps.shtml/) to
see if your question has already been answered.
Ken
mailto:shiva at well dot com
http://www.sewingwitch.com/ken/
http://www.harrybrowne2000.org/
From: Gplendon at aol dot com
Date: Sat, 3 Jun 2000 22:02:47 EDT
Subject: searching for mechanism for mailbox quotas
Hi,
I've read the faq. I've read messages of people discussing mailbox quotas.
How can I set mailbox account quota for ten meg?
What is involved in setting mailbox quotas?
Thank you in advance.
Date: Sat, 3 Jun 2000 20:57:07 -0500
From: "Julian Y. Koh" <kohster at mac dot com>
Subject: Re: Message may be forged
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 21:25 -0400 6/3/2000, Doc John wrote:
>New to Linux and set up a server on a computer connected through a
>cable modem here.. trying to use outlook in windows 98 on another
>computer to access the mail using qpopper.. seems to work fine except I
>get a (may be forged) in the header when I send mail with outlook ...
>Is there any way to prevent this..
>Header looks like this
>any help would be appreciated
>
>----------------------- Headers --------------------------------
>Return-Path: <doc at docjon dot com>
>Received: from rly-yb01.mx.aol.com (rly-yb01.mail.aol.com
>[172.18.146.1]) by air-yb05.mail.aol.com (v74.10) with ESMTP; Sat, 03
>Jun 2000
>20:43:07 -0400
>Received: from tabbs.docjon.com (tabbs.docjon.com [204.255.177.208])
>by rly-yb01.mx.aol.com (v74.10) with ESMTP; Sat, 03 Jun 2000 20:43:00
>-0400 Received: from Tabbs4 (host770215.relex.com [204.255.177.215]
>(may be
>forged))
> by tabbs.docjon.com (8.9.3/8.8.7) with SMTP id UAA00581
> for <docfang at aol dot com>; Sat, 3 Jun 2000 20:32:19 -0400
That header has nothing to do with qpopper. That warning is coming from
sendmail. nslookup on 204.255.177.208 reveals
[julian@snail ~]$ nslookup 204.255.177 dot 208
Name: tabbs.docjon.com
Address: 204.255.177.208
but
[julian@snail ~]$ nslookup tabbs.docjon dot com
*** accuvax.nwu.edu can't find tabbs.docjon.com: Non-existent
host/domain
You need to talk to whoever maintains your DNS tables to make sure the
forwards and reverses are accurate and consistent.
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.2
Comment: <http://charlotte.at.northwestern.edu/julian/pgppubkey.html>
iQA/AwUBOTm3cA5UB5zJHgFjEQK/awCeNXhmS1dygC8v7m0P+2dtEwMOc1QAniQc
FbbISVM9OqTfweyYH/ko4nIF
=j7j9
-----END PGP SIGNATURE-----
--
Julian Y. Koh
kohster at mac dot com
PGP Public Key:<http://charlotte.at.northwestern.edu/julian/pgppubkey.html>
From: "Jephe Wu" <jwu at globalsources dot com>
Subject: =?gb2312?B?u9i4tDogTWVzc2FnZSBtYXkgYmUgZm9yZ2Vk?=
Date: Sun, 4 Jun 2000 09:58:44 +0800
it is due to mismatch of normal DNS and reverse DNS result .
check your DNS setting , saying your windows machine IP is
192.168.0.2 , then setup your linux dns reverse PTR record to the
correct one. please give me a reply if it resolve your problem.
thanks :)
-----Original Message-----
¢º»À: Doc John <doc at docjon dot com>
¹º»À: Subscribers of Qpopper <qpopper at lists.pensive dot org>
»¹: 2000Í6¬4»¹ 9:29
÷Ã: Message may be forged
New to Linux and set up a server on a computer connected through
a cable
modem here.. trying to use outlook in windows 98 on another
computer to
access the mail using qpopper.. seems to work fine except I get a
(may be
forged) in the header when I send mail with outlook ... Is there
any way to
prevent this..
Header looks like this
any help would be appreciated
----------------------- Headers --------------------------------
Return-Path: <doc at docjon dot com>
Received: from rly-yb01.mx.aol.com (rly-yb01.mail.aol.com
[172.18.146.1])
by air-yb05.mail.aol.com (v74.10) with ESMTP; Sat, 03 Jun 2000
20:43:07 -0400
Received: from tabbs.docjon.com (tabbs.docjon.com
[204.255.177.208]) by
rly-yb01.mx.aol.com (v74.10) with ESMTP; Sat, 03 Jun 2000
20:43:00 -0400
Received: from Tabbs4 (host770215.relex.com [204.255.177.215]
(may be
forged))
by tabbs.docjon.com (8.9.3/8.8.7) with SMTP id UAA00581
for <docfang at aol dot com>; Sat, 3 Jun 2000 20:32:19 -0400
From: "Doc John" <doc at docjon dot com>
To: "Dentist" <docfang at aol dot com>
Subject: test
Date: Sat, 3 Jun 2000 20:42:26 -0400
Message-ID: <NEBBJCKNILCFHKAHNHPHIEDCCBAA.doc at docjon dot com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Date: Sat, 3 Jun 2000 23:18:25 -0400 (EDT)
From: Jim Sander <jim at federation.addy dot com>
Subject: Re: searching for mechanism for mailbox quotas
> What is involved in setting mailbox quotas?
'man quotaon' and 'man edquota' would be a good start, then asking again
on an appropriate list would help some too.
-=Jim=-
From: "Eric" <ericv at cpl dot net>
Subject:
Date: Sat, 3 Jun 2000 20:28:30 -0700
Does anyone have any input for me on this one. It will be much appreciated.
Thanks,
Eric
At 1:27 PM -0700 6/3/00, Eric Valentine wrote:
I am looking at I386 running RedHat Linux 6.X
4(up to 8) 866 Processors on a Compaq 8000
21 - 18.2GB SCSI Ultra 2 10,000rpm Drives
2 drives Raid 1 for OS
2 drives Raid 1 for temp dir
remainder set up in Raid 5 configuration
Server Mode -Yes
Hashed Mail SPools -Yes
Separate Temp Dir -Yes
We would like to set it up like a "hotmail" as free "Web browser" email. I
know that there is a lot of software to web enable pop3 servers. I just
want to verify that if I get a buttload of users on this thing, that it
doesn't die on me and I believe that if anyone knows, you will.
The config looks good to me, but you may want to ask on the public
Qpopper discussion list, as people there have more operational
experience with large servers.
Thanks for your help,
Eric
-----Original Message-----
From: Qpopper Support
To: Eric Valentine
Cc: qpopper at qualcomm dot com
Sent: 6/3/00 12:26 PM
Subject: Re: Qpopper Question
At 6:58 PM -0700 6/2/00, Eric Valentine wrote:
I am looking for a pop3 system that is highly scalable for
indusrtial strength email on the web.(500,000 - 1,000,000 users or more) I
use
qpopper at home with my personal mail server and like it very much. Do you
know any companies that have used Qpopper for this type of scaling and
would
you recommend it?
Thanks,
Eric Valentine
evalentine at usautonews dot com
Qpopper is used by a large number of ISPs and corporations. The
maximum number of users is dependent on usage patterns, hardware
platform, and configuration. I recommend Qpopper 3.0.2 in server
mode. Hashed mail spools, and a separate temporary directory can be
a big help.
Date: Sun, 4 Jun 2000 13:35:39 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: searching for mechanism for mailbox quotas
Gplendon at aol dot com (Gplendon at aol dot com) wrote:
> I've read the faq. I've read messages of people discussing mailbox quotas.
> How can I set mailbox account quota for ten meg?
> What is involved in setting mailbox quotas?
Apart from the fact that someone else says "wrong list, man quota"
If you are running a mail system with no real users, then
you need to play with your delivery agent to enforce the quota
there rather than using system quotas.
mail quotas are a function of the incoming side,
qpopper is for the outgoing side.
P
3.1b1 has some silly typo errors, I sent in patches. Its now running
on my userless mailbox. Though I make no guarantees as to whether the
mime munger works at all the rest of it has been tested by our users
about 100000 times. We shall see if there are any complaints on monday.
^_^!
--
Remember The 5 K's.
The Justified Agents of Munya-munya-muuuu ...
Date: Sat, 03 Jun 2000 19:12:35 -0400
From: Brad Groshok <bgroshok at odyssey.on dot ca>
Subject: Re: --enable-hash-spool=2
> Qpopper creates the directories on the fly if they don't already exist.
The local delivery agent should do the same.
Sorry to post this question to the popper list...
But I've tried posting to the procmail list, and not a peep
and its kinda related to the hash-spool=2 feature here anyway.
I'm having a problem getting procmail to create mail files if the
directories don't already exist. (probably a permissions problem)
running procmail-3.14 (Sparc Solaris 2.8)
in authenticate.c I have:
#define MAILSPOOLHASH 2
which will deliver to /var/mail/b/a/bar (for example)
The error I get when I send to bar at domain dot com is:
procmail: Lock failure on "/var/mail/b/a/bar.lock"
procmail: Couldn't create "/var/mail/b/a/bar"
550 5.0.0 <bar at domain dot com>... Can't create output
The permissions of the /var/mail dir are currently:
drwxrwxrwx 17 root mail 512 Jun 3 01:47 .
(but this may be wrong, and source of my problem)??
If I create the /var/mail/b/a directory mail gets delivered to
it as expected.
I suspect creating all the hashed dirs is prolly not the proper
solution here, so if someone could point me in the right direction...
and
what should the permissions and ownerships of the /var/mail/*/* dirs
look like?
If I create the /var/mail/b directory and set the permissions to 777
Then send a message to bar at domain dot com procmail creates the /var/mail/b/a
dir and puts the bar mail file in that dir, however the "a" directory is
owned by bar. So the next similar user "bar123" can not write to the "a"
directory.
Any/all help greatly appreciated!
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ 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: Mon, 05 Jun 2000 13:50:53 +1000
From: Jonathan Benson <sysadmin at ocean.com dot au>
Subject: CPU utilization?
Hi all
Can anyone suggest what the quickest way would be for me to determine
where qpopper is spending most of it's CPU time?
I quite often see a single popper process taking up 80% or more CPU on a
PII 450 and am just wondering what on earth it can be doing?
Thanks
Jon
--
Jonathan Benson
Systems Administrator
Ocean Internet
http://www.ocean.com.au/
Date: Mon, 05 Jun 2000 13:48:52 +1000
From: Jonathan Benson <sysadmin at ocean.com dot au>
Subject: Bulletin DB optimization?
Is there any reason why the code chunk in pop_dropcopy.c bound by #ifdef
BULLDB is not directly before the chunk which uses the bulletin
database?
Ie directly before this chunk?
if ( p->bulldir ) {
/*
* Recalculate offset
*/
It just seems to me that qpopper is doing various things (depending on
what options are set) in between locking the Bulletin database and
actually using it?
I'd REALLY like to stop getting the Bulletin DB locks and since my
randomising the sleep period on a lock failure didn't do it I thought it
might help if I could move that chunk of code. However I don't want to
just move it since I'm not entirely sure it shouldn't be where it is.
:(
Any feedback appreciated.
Thanks
Jon
--
Jonathan Benson
Systems Administrator
Ocean Internet
http://www.ocean.com.au/
From: "Doc John" <doc at docjon dot com>
Subject: (may be forged)
Date: Sun, 4 Jun 2000 10:05:19 -0400
Just want to thank everyone on the list who responded to help me out.
Sometimes ignorance is bliss, but I guess that's part of learning... Solved
the problem (which was sendmail/Linux) and not qpopper, by adding the other
machine to my hosts file. Don't know if its the correct or best way to do
it, but it worked... now to continue to learn and discover what the heck I'm
doing...
thanks again...
Date: Sun, 04 Jun 2000 08:39:26 -0500
From: "J.D. Bronson" <jdb at xpec dot com>
Subject: Qpopper + NetBSD
I am attempting to compile qpopper 3 on NetBSD. I have the DBM libraries
installed and I want to compile with APOP.
The configure when fine, but the make didnt: Any thoughts?
pop_user.c: In function `pop_user':
pop_user.c:233: warning: dereferencing `void *' pointer
pop_user.c:233: void value not ignored as it ought to be
pop_user.c:235: warning: dereferencing `void *' pointer
pop_user.c:235: void value not ignored as it ought to be
*** Error code 1
Stop.
*** Error code 1
--
J.D. Bronson // jeff at xpec.com // http://www.xpec dot com/jeff
Aurora Health Care // Information Systems // Telecom Site Manager
Milwaukee Wisconsin USA // Office: 414.978.8282 // Fax: 414.328.8282
Date: Mon, 5 Jun 2000 21:43:12 +0900
From: Peter Evans <peter at gol dot com>
Subject: Gotcha in 3.1b1 "NO_STATUS"
There is an interesting gotcha in 3.1b1 involving UIDLs as we
recently found out the hard way.
My normal testing didnt find it as I dont use UIDL for anything.
So my bad. But this major change doesnt appear to be documented
in INSTALL.
When you are using NO_STATUS, it doesnt write the UIDL to the mailbox,
which is something you probably don't want if you are running SERVER_MODE
to avoid all that unnecessary copying around.
The UIDL is calculated in the following manner: (I think. I dont want
to devote any more hours to studying qpopper code than necessary.)
For the entire mailbox
If this is a new message,
init the md5 key
calculate md5 based on the buffer so far
add a perturbation "unique_num", increment it.
loop.
the important part appears to be this perturbation, which is a function
of the time the mailbox was last locked. Resulting in each pop session
getting a different UIDL for each mail and thinking its a new message.
Doubtless a great way to force people to remove mail from server, but as
one poor eudora[1] user found out, 8143 identical mails is a bad thing.
A more sensible approach would give the same UIDL for the same message
no matter where it is in the mailbox, as 2.53 does. Too many programs
are relying on UIDL being constant for a given message.
**
So, until they do something with their UIDL calculation algorithm, be very
wary of 3.1. Or your users will be calling your support line screaming
for blood.
**
Peter
----*
[1] Yup, the broke their own client ^_^!
[2] Bonus extra in doc/Release.Notes:
UID bug fixed. Only a "From:" header was searched for before
X-UIDL insertion. Now "To:" is checked for with a fallback of
inserting UID before the Status header.
Changed the location and method of creating UID so that it is
now the first header after the message separator.
UIDs are now created by pushing headers through MD5. This makes
UIDs RFC complient to be consistant between sessions even if the popper
aborts.
--
Remember The 5 K's.
The Justified Agents of Munya-munya-muuuu ...
Date: Mon, 5 Jun 2000 11:41:03 -0500 (CDT)
From: James Sneeringer <jvs at ocslink dot com>
Subject: Re: CPU utilization?
On Mon, 5 Jun 2000, Jonathan Benson wrote:
| Can anyone suggest what the quickest way would be for me to determine
| where qpopper is spending most of it's CPU time?
Recompile it using your compilers debugging/profiling mode, and run it
under a debugger. For example, with gcc you would compile with -g or -g2,
and run qpopper from gdb. An alternate approach would be to attach to a
running process with strace or truss to see what it's up to.
| I quite often see a single popper process taking up 80% or more CPU on a
| PII 450 and am just wondering what on earth it can be doing?
In my experience, disk I/O is the biggest factor that people don't take
into account, especially if qpopper is not compiled in server mode. If
you have IDE disks, you will very likely see a significant performance
boost by switching to SCSI.
You can verify disk performance with iostat, if your system has it.
-James
From: rick pim <rick at post.queensu dot ca>
Date: Mon, 5 Jun 2000 12:50:26 -0400 (EDT)
Subject: performance questions for mail/pop server
In the light of some recent discussions about users supported with
qpopper, I have some performance questions; any wisdom that might be
shareable would be helpful.
System : Sun E3000/A5000, sendmail 8.10.1, qpopper 3.0.x
: about 20,000 users; they have mail access via shell, pop, imap,
and web.
: peak times, 50-100k messages per day, over 75k pop connections/day
: /var/mail is a flat directory on a ufs disk
On this system, "most" of the time there are no serious mail load
issues. At peak times during the year, however, there are serious
performance problems. The most obvious symptom is that the number of
popper processes increases (sometimes to over a thousand), response
time drops off, and eventually pretty much all aspects of mail delivery
and reading grind to a halt.
I've made some band-aids: I've put some load-limiting restrictions on
sendmail to try and level out the bursty nature of incoming mail. It'd
be nice to enforce a time interval between pop client checks, but
qpopper doesn't support that and we don't really have the programmer
time to write anything like that.
In short, we're hitting the wall with /var/mail on a flat ufs disk.
(I've tried moving from a bare drive to a stripeset with no significant
gains.) I can see several obvious things to try:
1: Make it not flat: do one of the /var/mail hashing options. On the
upside, this doesn't cost a lot. On the downside, we have a number
of pieces of software that would need to be reconfigured: procmail,
pine, uw imapd, qpopper, webexpress, and probably others. I've
done a quick scan of the docs, and it's far from clear how to make
some of them do this, and we have commercial software where it may
not even be possible. In addition, it's not clear how much of
a win this would be.
2: Make it not UFS: try a variant filesystem like Veritas' VxFS. The
trouble is, there aren't many of them (the only one I can name
is VxFS) and they're not claimed to be designed for this situation.
There would be significant costs and unclear benefits.
3: Make it not a disk. We could replace /var/mail with a solid state
disk of some sort. This should be fairly easy, but would come with
a significant price tag.
It may also be that there are performance gains that can be
made by changing software in one or more places in our configuration.
I'm assuming other people have fought with these issues before. I'd be
grateful to anyone who has experiences to share.
rick pim
queen's university
Subject: Re: performance questions for mail/pop server
Date: Mon, 05 Jun 2000 10:41:59 -0700
From: Kris Virtue <kvirtue at qualcomm dot com>
Hi Rick -
We've seen the same types of problems but on a smaller scale. The
first thing to do is to verify that disk I/O is your biggest problem.
I can almost guarantee that it is, but you may be low on memory. Use
iostat/vmstat, etc to determine if you are I/O bound.
Assuming you are, your best bet is to reconfigure popper to use a
separate group of disks for the temp area. I am assuming you are not
using popper in server mode since you are allowing access to the spool
via a shell and other programs.
You definitely want to spread the load over multiple drives and stay
away from Raid-5 on the mail areas because of the severe write penalty.
Two partitions each stripe-mirrored works well for us. Two partitions
will load balance the copies that popper does. If you allow large mail
spools, you may notice that several people checking a very large spool
at once will kill the disk performance. We've run into that situation
here since we don't enforce any quotas, so we've tuned the Raid to use
a larger stripe depth to quickly move large spool around. Just
changing the stripe depth from 8k to 64k helped considerably. If you
enforce quotas and small mail spools, then you should stick with a
smaller stripe depth.
We haven't used the UW Imap or Webexpress programs, so I can't
guarantee that this solution will benefit those programs, but it will
offload the I/O generated by popper to multiple spindles on different
sets of disks to avoid contention.
As for Veritas, we actually are using the Volume manager on one system
and VxFS on all systems quite successfully. I'm not convinced that
VxFS produces any great performance gains, but it is very nice if the
system goes down hard... :)
As for solid state disk....well, it's nice but I don't think you really
want to go there. Some well configured Raid disk should do just fine.
Hashing the spool directory is probably a good idea also with the
number of accounts you have. I don't have much experience with that
either, but from all the info I've gleaned, it should help you out.
We've profiled the performance of our Mail servers with Best/1 and the
I/O is about 99% qpopper and 1% sendmail. Tuning the servers for
qpopper's I/O pattern and not sendmail's is a good idea when not
running server mode with large spools...
Our systems are using hardware Raid arrays with about 1K people per
machine on U1's and U60's with only the spool and pop temp directories
on the Raid. The mqueue directory resides on a separate single disk
partition. Adding memory and CPU's made almost zero performance
difference. Changing qpopper to use a temporary drop dir and changing
the stripe depth on the area cut response time by an order of magnitude.
Hope this helps...
-Kris Virtue
> In the light of some recent discussions about users supported with
> qpopper, I have some performance questions; any wisdom that might be
> shareable would be helpful.
>
> System : Sun E3000/A5000, sendmail 8.10.1, qpopper 3.0.x
> : about 20,000 users; they have mail access via shell, pop, imap,
> and web.
> : peak times, 50-100k messages per day, over 75k pop connections/day
> : /var/mail is a flat directory on a ufs disk
>
> On this system, "most" of the time there are no serious mail load
> issues. At peak times during the year, however, there are serious
> performance problems. The most obvious symptom is that the number of
> popper processes increases (sometimes to over a thousand), response
> time drops off, and eventually pretty much all aspects of mail delivery
> and reading grind to a halt.
>
> I've made some band-aids: I've put some load-limiting restrictions on
> sendmail to try and level out the bursty nature of incoming mail. It'd
> be nice to enforce a time interval between pop client checks, but
> qpopper doesn't support that and we don't really have the programmer
> time to write anything like that.
>
> In short, we're hitting the wall with /var/mail on a flat ufs disk.
> (I've tried moving from a bare drive to a stripeset with no significant
> gains.) I can see several obvious things to try:
>
> 1: Make it not flat: do one of the /var/mail hashing options. On the
> upside, this doesn't cost a lot. On the downside, we have a number
> of pieces of software that would need to be reconfigured: procmail,
> pine, uw imapd, qpopper, webexpress, and probably others. I've
> done a quick scan of the docs, and it's far from clear how to make
> some of them do this, and we have commercial software where it may
> not even be possible. In addition, it's not clear how much of
> a win this would be.
>
> 2: Make it not UFS: try a variant filesystem like Veritas' VxFS. The
> trouble is, there aren't many of them (the only one I can name
> is VxFS) and they're not claimed to be designed for this situation.
> There would be significant costs and unclear benefits.
>
> 3: Make it not a disk. We could replace /var/mail with a solid state
> disk of some sort. This should be fairly easy, but would come with
> a significant price tag.
>
> It may also be that there are performance gains that can be
> made by changing software in one or more places in our configuration.
>
> I'm assuming other people have fought with these issues before. I'd be
> grateful to anyone who has experiences to share.
>
> rick pim
> queen's university
>
----------------------------------------------------------------------
Kris Virtue Staff Engineer
Qualcomm Inc. E-Mail: kvirtue at qualcomm dot com
5775 Morehouse Dr. Pager: kvirtue at pager.qualcomm dot com
San Diego, CA 92121 Voice: (858) 651-6529
Date: Mon, 5 Jun 2000 14:37:08 -0400
From: "jmcintyr" <jmcintyr at i-plus dot net>
i am having a problem compiling qpopper 3.0.2 on a hp/ux 10.2 d250 box. the previous 3 versions of qpopper compiled just fine. below are the last messages from the make. any suggestions what the problem is ?
thanks...jim mc....
cd ../mmangle && make all
cc -c -I.. -I. -I.. -I../popper -g -Ae -DHAVE_CONFIG_H -DHPUX -DHPUX10 -DUNIX mime.c -o mime.o
cc -c -I.. -I. -I.. -I../popper -g -Ae -DHAVE_CONFIG_H -DHPUX -DHPUX10 -DUNIX mangle.c -o mangle.o
cc -c -I.. -I. -I.. -I../popper -g -Ae -DHAVE_CONFIG_H -DHPUX -DHPUX10 -DUNIX utils.c -o utils.o
cc -c -I.. -I. -I.. -I../popper -g -Ae -DHAVE_CONFIG_H -DHPUX -DHPUX10 -DUNIX enriched.c -o enriched.o
cc -c -I.. -I. -I.. -I../popper -g -Ae -DHAVE_CONFIG_H -DHPUX -DHPUX10 -DUNIX striphtml.c -o striphtml.o
cc -c -I.. -I. -I.. -I../popper -g -Ae -DHAVE_CONFIG_H -DHPUX -DHPUX10 -DUNIX lineend.c -o lineend.o
-tpacCg -k "*" -N etags_lookup -H etags_hash -K enriched_tag etags.gperf > etags.c
sh: -tpacCg: not found.
*** Error exit code 127
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
Date: Mon, 5 Jun 2000 16:02:28 -0400
From: James Triplett <james at mail.th dot net>
Subject: Mailbox duplication, again
I'm still running into this problem. One of my users (he's not
the only one, just the noisiest, CEO of a San Francisco .com company)
continues to see his mails duplicated. I cleaned out his INBOX
last week; now every message has been duplicated again.
He keeps a large (~20mb) INBOX, and checks mail frequently both
from the office and from home.
[Solaris 2.6, popper 3.0/server mode, sendmail 8.9.x]
Going over the archives of the last few months, I see lots of
discussion and ideas for solutions- but no real definitive answers.
Has anyone figured out how to get around this problem yet?
A workaround, even?
thanks,
James
From: "=?iso-8859-1?Q?Philipp_Gaschütz?=" <philipp at gng dot de>
Subject: RE: Mailbox duplication, again
Date: Mon, 5 Jun 2000 22:24:21 +0200
I don't know, but.... this looks as if your customer aborts the POP
session sometimes. If on top of that his email client is sending the DELE
commands at the end of every POP session his mail stays on the server....
hope that helps,
-p
> -----Original Message-----
> From: James Triplett [mailto:james at mail.th dot net]
> Sent: Montag, 5. Juni 2000 22:02
> To: Subscribers of Qpopper
> Subject: Mailbox duplication, again
>
>
> I'm still running into this problem. One of my users (he's not
> the only one, just the noisiest, CEO of a San Francisco .com company)
> continues to see his mails duplicated. I cleaned out his INBOX
> last week; now every message has been duplicated again.
> He keeps a large (~20mb) INBOX, and checks mail frequently both
> from the office and from home.
> [Solaris 2.6, popper 3.0/server mode, sendmail 8.9.x]
>
> Going over the archives of the last few months, I see lots of
> discussion and ideas for solutions- but no real definitive answers.
>
> Has anyone figured out how to get around this problem yet?
> A workaround, even?
>
> thanks,
> James
>
>
Date: Mon, 5 Jun 2000 15:05:25 -0600 (MDT)
From: John Gonzalez/netMDC admin <ekool at ns1.netmdc dot com>
Subject: Re: Mailbox duplication, again
As someone mentioned, he's probably cancelling the downloads.
We've got most of our customers running on Maildir tho, and it makes it
easier to clean out the dupes.... perhaps you might think about going with
Maildir (will have to stop using qpopper tho)
On Mon, 5 Jun 2000, James Triplett wrote:
>I'm still running into this problem. One of my users (he's not
>the only one, just the noisiest, CEO of a San Francisco .com company)
>continues to see his mails duplicated. I cleaned out his INBOX
>last week; now every message has been duplicated again.
>He keeps a large (~20mb) INBOX, and checks mail frequently both
>from the office and from home.
>[Solaris 2.6, popper 3.0/server mode, sendmail 8.9.x]
>
>Going over the archives of the last few months, I see lots of
>discussion and ideas for solutions- but no real definitive answers.
>
>Has anyone figured out how to get around this problem yet?
>A workaround, even?
>
>thanks,
>James
>
>
--
_ __ _____ __ _________
______________ /_______ ___ ____ /______ John Gonzalez/Net.Tech
__ __ \ __ \ __/_ __ `__ \/ __ /_ ___/ MDC Computers/netMDC!
_ / / / `__/ /_ / / / / / / /_/ / / /__ (505)437-7600/fax-437-3052
/_/ /_/\___/\__/ /_/ /_/ /_/\__,_/ \___/ http://www.netmdc.com
[---------------------------------------------[system info]-----------]
3:00pm up 25 days, 20:26, 3 users, load average: 0.15, 0.17, 0.16
Date: Mon, 05 Jun 2000 18:13:51 -0500
From: Butch Kemper <kemper at tstar dot net>
Subject: Re: Mailbox duplication, again
I encountered this problem when I compiled 3.0.1 with both server mode and
keep temp drops. When I removed the keep temp drops option, the problem
went away.
Butch
At 03:02 PM 06/05/2000, you wrote:
>I'm still running into this problem. One of my users (he's not
>the only one, just the noisiest, CEO of a San Francisco .com company)
>continues to see his mails duplicated. I cleaned out his INBOX
>last week; now every message has been duplicated again.
>He keeps a large (~20mb) INBOX, and checks mail frequently both
>from the office and from home.
>[Solaris 2.6, popper 3.0/server mode, sendmail 8.9.x]
>
>Going over the archives of the last few months, I see lots of
>discussion and ideas for solutions- but no real definitive answers.
>
>Has anyone figured out how to get around this problem yet?
>A workaround, even?
>
>thanks,
>James
TSTAR Internet, Inc | Making the Network Work
Marble Falls, TX | Serving Blanco, Burnet,
830-693-6967 | Llano, and Mason Counties
Date: Tue, 6 Jun 2000 08:35:50 +0900
From: Peter Evans <peter at gol dot com>
Subject: Re: Mailbox duplication, again
James Triplett (james at mail.th dot net) wrote:
> I'm still running into this problem. One of my users (he's not
> the only one, just the noisiest, CEO of a San Francisco .com company)
> continues to see his mails duplicated. I cleaned out his INBOX
> last week; now every message has been duplicated again.
> He keeps a large (~20mb) INBOX, and checks mail frequently both
> from the office and from home.
> [Solaris 2.6, popper 3.0/server mode, sendmail 8.9.x]
>
> Going over the archives of the last few months, I see lots of
> discussion and ideas for solutions- but no real definitive answers.
I know we have this problem, it appears to occur with
qpopper 2.53 in the following situation.
incoming mail + deleting something.
endymion webmail (old version, japanese hacks) is a menace
for this, resulting in things like 400mb + spools with tens
of thousands of messages in.
we wrote a simple web pop thing wiht a "delete duplicates" button.
P
--
Remember The 5 K's.
The Justified Agents of Munya-munya-muuuu ...
Date: Mon, 05 Jun 2000 22:23:58 -0700
From: Stephen Samuel <samuel at bcgreen dot com>
Subject: Re: Mailbox duplication, again
Check the logs. If that doesn't show anything, compile with debug,
turn debug on and check the logs again. It'll tell you a lot about
what's going on (like whether or not he's aborting sessions, when
DELE's occur, etc.
There's a note in the config files about having 'delete on abort'
turned on. You may also want to look there.
Philipp Gaschütz wrote:
>
> I don't know, but.... this looks as if your customer aborts the POP
> session sometimes. If on top of that his email client is sending the DELE
> commands at the end of every POP session his mail stays on the server....
> > -----Original Message-----
> > From: James Triplett [mailto:james at mail.th dot net]
> > I'm still running into this problem. One of my users (he's not
> > the only one, just the noisiest, CEO of a San Francisco .com company)
> > continues to see his mails duplicated. I cleaned out his INBOX
> > last week; now every message has been duplicated again.
> > He keeps a large (~20mb) INBOX, and checks mail frequently both
.....
--
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?".
From: "Nico Wimmer" <nico at home.kurios dot at>
Subject: qpopper . DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
Date: Tue, 6 Jun 2000 14:53:35 +0200
Hi qpopper users
i have downloaded the qpopper version 3.0.2 because on the qpopper =
homepage there stands
"Qpopper now coexists with UW servers by ignoring the UW folder =
internal data message. "
but i get this message every day..
how can i disable this mails ?
and a second question:
how can i disable the EOF errors ?
thanks for your answers
Mit freundlichen Grüssen / kind regards
Nicolas Wimmer
--
http://www.kurios.at --> For a better life
From: Administrator <administrator at stmary.co dot za>
Subject: Mailbox Quotas and Moving Mailbox Location
Date: Tue, 6 Jun 2000 17:28:35 +0200
Hi All,
I have got qopper installed on a Redhat Linux 6.1 Machine. At the moment
the mailboxes for the users are being stored on /var/spool/mail/username.
This is on my first partition which is only 2GB and i have another partition
that is 6GB. How can i move the location of the mailboxes to the larger
partition. The reason is i am worried we will run out of space because the
pupils check there mail through a web interface and don't download it.
The other thing is how can i set mailbox quota's for the mailboxes. I am
thinking either 2mb or 5mb depending on how much this server gets used.
They only way i can think of would be by file system quota's, but even that
i wouldn't be able to do.
Thanks
Peter Clarke
Date: Tue, 6 Jun 2000 11:40:06 -0400 (EDT)
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: Mailbox Quotas and Moving Mailbox Location
On Tue, 6 Jun 2000, Administrator wrote:
> I have got qopper installed on a Redhat Linux 6.1 Machine. At the moment
> the mailboxes for the users are being stored on /var/spool/mail/username.
> This is on my first partition which is only 2GB and i have another partition
> that is 6GB. How can i move the location of the mailboxes to the larger
> partition. The reason is i am worried we will run out of space because the
> pupils check there mail through a web interface and don't download it.
So mv /var/spool/mail to /var/spool/_mail, mkdir /var/spool/mail with
appropriate permissions, mount your 6GB partition on /var/spool/mail,
and cp -rp /var/spool/_mail/* to /var/spool/mail. Voila.
Can't help with the quotas thing, though.
Steve
--
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: <http://hesketh.com/careers/>
Date: Tue, 6 Jun 2000 10:38:36 -0500 (CDT)
From: "Joseph W. Breu" <breu at cfu dot net>
Subject: Re: Mailbox Quotas and Moving Mailbox Location
On Tue, 6 Jun 2000, Administrator wrote:
> I have got qopper installed on a Redhat Linux 6.1 Machine. At the moment
> the mailboxes for the users are being stored on /var/spool/mail/username.
> This is on my first partition which is only 2GB and i have another partition
> that is 6GB. How can i move the location of the mailboxes to the larger
if your 2gb is on /dev/hdb and your 6gb is on /dev/hdc, just do the
following:
format the drive: e2fsck /dev/hdc
mount the drive temp: mount /dev/hdc /mnt
copy files: cd /var/spool/mail
cp -dpRv . /mnt
umount the drive: umount /dev/hdc
copy your spool dir: cd /var/spool
mv mail old-mail
mkdir mail
mount the new dir: mount /dev/hdc /var/spool/mail
These are guidelines. use at your own risk.
> The other thing is how can i set mailbox quota's for the mailboxes. I am
> thinking either 2mb or 5mb depending on how much this server gets used.
> They only way i can think of would be by file system quota's, but even that
> i wouldn't be able to do.
you can get quota information at
http://www.linuxdoc.org/HOWTO/mini/Quota.html
--
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: Wed, 7 Jun 2000 04:14:50 +1200 (NZST)
From: Alan Brown <alan at manawatu.gen dot nz>
Subject: Re: Mailbox Quotas and Moving Mailbox Location
On Tue, 6 Jun 2000, Steven Champeon wrote:
> So mv /var/spool/mail to /var/spool/_mail, mkdir /var/spool/mail with
> appropriate permissions, mount your 6GB partition on /var/spool/mail,
> and cp -rp /var/spool/_mail/* to /var/spool/mail. Voila.
mv would probably work as well. cp can have some nasty artifacts though,
so tar is better for that kind of purpose:
cd /var/spool/_mail/ ; tar Smlpcvf - . | tar -C../mail -xvf -
Or whatever variation on that theme you prefer.
AB
Date: Tue, 6 Jun 2000 12:03:31 -0400
From: Joseph S D Yao <jsdy at cospo.osis dot gov>
Subject: Re: qpopper . DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA
On Tue, Jun 06, 2000 at 02:53:35PM +0200, Nico Wimmer wrote:
> i have downloaded the qpopper version 3.0.2 because on the qpopper homepage there stands
> "Qpopper now coexists with UW servers by ignoring the UW folder internal data message. "
> but i get this message every day..
>
> how can i disable this mails ?
Re-configure using the "--enable-uw-kludge" flag to 'configure', and
then re-compile and re-install.
> and a second question:
> how can i disable the EOF errors ?
Apologies, I don't know.
> thanks for your answers
Bitte.
--
Joe Yao jsdy at cospo.osis dot gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
Date: Tue, 06 Jun 2000 17:09:19 +0100
From: Paul Robinson <paul at akitanet.co dot uk>
Subject: Re:
Sorry about the delay on this one, but I've been busy...
Eric wrote:
> I am looking at I386 running RedHat Linux 6.X
If you're looking for high-performance serving, I strongly advise you
take a look at something like Solaris that is more suited for this, or
at least a BSD with a decent stack. I've always been a bit wary of the
Linux stack when you're really hammering it... but then, I haven't used
it since about 2.0.* so who knows.
> 4(up to 8) 866 Processors on a Compaq 8000
> 21 - 18.2GB SCSI Ultra 2 10,000rpm Drives
This reads like an NNTP feed rather than a mail server. ;-)
> 2 drives Raid 1 for OS
> 2 drives Raid 1 for temp dir
> remainder set up in Raid 5 configuration
> Server Mode -Yes
Problem here, but I'll come back to that in a minute...
> Hashed Mail SPools -Yes
> Separate Temp Dir -Yes
>
> We would like to set it up like a "hotmail" as free "Web browser" email. I
> know that there is a lot of software to web enable pop3 servers. I just
> want to verify that if I get a buttload of users on this thing, that it
> doesn't die on me and I believe that if anyone knows, you will.
OK, in webmail people get to choose the mails they want to delete -
server-mode doesn't allow that - you delete all or none. Therefore,
you're going to have to not run qpopper in server mode.
I'd also suggest that this is perfectly fine especially if you're
running on a RAID and you're hashing the mail spools appropriately.
For this size of setup, don't run Apache (it'll die), use Zeus. Yes it
costs $$$ but it will give you far better performance especially on an
SMP box like this. As far as webmail software is concerned, I'd advocate
the use of acmemail which looks reasonable and will do everything you
need (including in-line MIME decodes).
Oh, and I've seen qpopper work in a similar setup like this but hacked
around to use Oracle on the back-end for auth handle upto 700,000
spools, so as long as you get the load-balancing sorted out it should
work. Putting everything on the one box is a bad idea though for lots of
reasons - you'd be better off with 8 seperate machines than 1 large
machine with 8 CPUs IMHO.
Hope that is of some use to you. ;-)
--
Paul Robinson - Developer/Admin @ Akitanet http://www.akitanet.co.uk
--------------------------------------------------------------------
Sale: T:+44(0)1869 337088 F:+44(0)1869 337488 E:sales at akitanet.co dot uk
Tech: T:+44(0)161 2286388 F:+44(0)161 2286387 E:root at akitanet.co dot uk
--------------------------------------------------------------------
Date: Tue, 6 Jun 2000 09:34:23 -0700 (PDT)
From: Vinay Bharel <vinay at bharel dot com>
Subject: Re: Mailbox Quotas and Moving Mailbox Location
I use this all the time:
(cd /src;tar cf - *) | (cd /dest;tar xpf -)
Whatever tar command you use, don't forget the "p". Otherwise it won't
preserve the permissions.
---
Vinay Bharel
vinay at bharel dot com
http://www.bharel.com
On Wed, 7 Jun 2000, Alan Brown wrote:
> On Tue, 6 Jun 2000, Steven Champeon wrote:
>
> > So mv /var/spool/mail to /var/spool/_mail, mkdir /var/spool/mail with
> > appropriate permissions, mount your 6GB partition on /var/spool/mail,
> > and cp -rp /var/spool/_mail/* to /var/spool/mail. Voila.
>
> mv would probably work as well. cp can have some nasty artifacts though,
> so tar is better for that kind of purpose:
>
> cd /var/spool/_mail/ ; tar Smlpcvf - . | tar -C../mail -xvf -
>
> Or whatever variation on that theme you prefer.
>
> AB
>
Date: Tue, 6 Jun 2000 12:54:02 -0400 (EDT)
From: Steven Champeon <schampeo at hesketh dot com>
Subject: Re: Mailbox Quotas and Moving Mailbox Location
On Wed, 7 Jun 2000, Alan Brown wrote:
> On Tue, 6 Jun 2000, Steven Champeon wrote:
> > So mv /var/spool/mail to /var/spool/_mail, mkdir /var/spool/mail with
> > appropriate permissions, mount your 6GB partition on /var/spool/mail,
> > and cp -rp /var/spool/_mail/* to /var/spool/mail. Voila.
>
> mv would probably work as well. cp can have some nasty artifacts though,
> so tar is better for that kind of purpose:
>
> cd /var/spool/_mail/ ; tar Smlpcvf - . | tar -C../mail -xvf -
Good point.
Oh, and BTW - it'd be best to shut down popper AND [insert MTA of choice]
BEFORE trying this. ;)
Steve
--
tired of being an underappreciated functionary in a soulless machine?
hesketh.com is hiring: <http://hesketh.com/careers/>
Date: Tue, 06 Jun 2000 13:06:16 -0400
From: "Michael D. Sofka" <sofkam at rpi dot edu>
Subject: Re:
At 05:09 PM 6/6/00 +0100, Paul Robinson wrote:
>OK, in webmail people get to choose the mails they want to delete -
>server-mode doesn't allow that - you delete all or none. Therefore,
>you're going to have to not run qpopper in server mode.
Unless something has changed with 3.0, server mode allows you
to selectively delete messages. Server mode assumes that the
only changes to a mailbox while popper is running are new appended
messages. If that's the case, and all mail is deleted or no mail is
deleted, popper can avoid copying the mailbox to temp space.
Mike
--
Michael D. Sofka sofkam at rpi dot edu
CIS/SSS Sr. Systems Programmer AFS/DFS, email, listproc, TeX, epistemology.
Rensselaer Polytechnic Institute, Troy, NY. http://www.rpi.edu/~sofkam/
Date: Wed, 07 Jun 2000 17:49:11 +0800
From: Nurah Muhammad <nurah at mimos dot my>
Subject: How can I make qpopper create dot-lock file in different directory
Hi,
I've set the user quota and enable the server mode. My problem is if my
user exceeded their quota they will encountered below message:
-ERR [SYS/TEMP] maillock error 3: '/var/mail/username'
Any of you know how to create username.lock file in different directory
other than mail directory.
Any help is appreciated. Thanks.
-Nurah-