The qpopper list archive ending on 26 Sep 2008
Topics covered in this issue include:
1. qpopper and uw-mapd locking interaction in server mode
Joe Maimon <jmaimon at ttec dot com>
Mon, 12 May 2008 08:48:29 -0400
2. Qpopper 4.1b9 available
Randall Gellens <randy at qualcomm dot com>
Tue, 13 May 2008 23:16:24 -0700
3. install -d
Mailinglists <mailinglists at wso dot net>
Wed, 14 May 2008 09:30:13 -0400
4. Re: install -d
Randall Gellens <randy at qualcomm dot com>
Thu, 15 May 2008 15:09:56 -0700
5. Re: qpopper and uw-mapd locking interaction in server mode
Randall Gellens <randy at qualcomm dot com>
Fri, 16 May 2008 14:33:20 -0700
6. System resource
"Sasa" <sasa at shoponweb dot it>
Tue, 20 May 2008 14:05:59 +0200
7. Re: qpopper and uw-mapd locking interaction in server mode
Joe Maimon <jmaimon at ttec dot com>
Tue, 20 May 2008 09:08:32 -0400
8. Fw: System resource
"Sasa" <sasa at shoponweb dot it>
Wed, 21 May 2008 16:11:55 +0200
9. Re: System resource
Doug Hardie <bc979 at lafn dot org>
Wed, 21 May 2008 14:29:30 -0700
10. Re: System resource
Doug Hardie <bc979 at lafn dot org>
Wed, 21 May 2008 14:09:56 -0700
11. Re: System resource
Butch Kemper <kemper at tstar dot net>
Wed, 21 May 2008 17:33:40 -0500
12. Re: System resource
"Sasa" <sasa at shoponweb dot it>
Thu, 22 May 2008 17:06:40 +0200
13. RE: System resource
"Peter Bell" <pbell at laclinica dot org>
Fri, 23 May 2008 09:51:57 -0700
14. problems compiling qpopper 4.0.13 without -ldl in Makefile
"Giannis Mantzouranis" <jman at physics dot upatras dot gr>
Wed, 28 May 2008 07:09:50 +0300
15. RE: Qpopper failure while using with pam option enabled
"Ravindranath, Chavalam" <chavalam dot ravindranath at hp dot com>
Fri, 30 May 2008 10:54:21 +0000
16. qpopper and Solaris 10...
Gregory Hicks <ghicks at cadence dot com>
Wed, 4 Jun 2008 15:30:38 -0700 (PDT)
17. Re: qpopper and Solaris 10...
Clifton Royston <cliftonr at lava dot net>
Wed, 4 Jun 2008 13:49:48 -1000
18. Re: qpopper and Solaris 10...
Jerry K <qpopper at oryx dot cc>
Wed, 04 Jun 2008 22:44:49 -0500
19. RE: Qpopper failure while using with pam option enabled
"Ravindranath, Chavalam" <chavalam dot ravindranath at hp dot com>
Fri, 6 Jun 2008 11:11:57 +0000
20. Can't connect from non-localhost under Mac OS X 10.5.3?
Shay Telfer <shay at cygnus dot uwa dot edu dot au>
Thu, 12 Jun 2008 17:02:12 +0800
21. Re: Can't connect from non-localhost under Mac OS X 10.5.3?
Randall Gellens <randy at qualcomm dot com>
Mon, 16 Jun 2008 18:33:47 -0700
22. Qpopper 4.0.14b1 available
Randall Gellens <randy at qualcomm dot com>
Mon, 16 Jun 2008 18:30:53 -0700
23. Re: Can't connect from non-localhost under Mac OS X 10.5.3?
Shay Telfer <shay at cygnus dot uwa dot edu dot au>
Tue, 17 Jun 2008 23:33:31 +0800
24. Re: Can't connect from non-localhost under Mac OS X 10.5.3?
Randall Gellens <randy at qualcomm dot com>
Tue, 17 Jun 2008 17:27:17 -0700
25. Re: Can't connect from non-localhost under Mac OS X 10.5.3?
Shay Telfer <shay at cygnus dot uwa dot edu dot au>
Thu, 19 Jun 2008 13:10:29 +0800
26. Qpopper 4.1b11 available
Randall Gellens <randy at qualcomm dot com>
Fri, 27 Jun 2008 14:52:48 -0700
27. Qpopper 4.0.14 available
Randall Gellens <randy at qualcomm dot com>
Fri, 27 Jun 2008 15:39:43 -0700
28. Qpopper 4.1b12 available
Randall Gellens <randy at qualcomm dot com>
Sun, 29 Jun 2008 18:43:33 -0700
29. Standalone mode & performance
"Sasa" <sasa at shoponweb dot it>
Tue, 8 Jul 2008 22:45:35 +0200
30. Re: Standalone mode & performance
"Sasa" <sasa at shoponweb dot it>
Tue, 8 Jul 2008 23:25:31 +0200
31. Re: Standalone mode & performance
Randall Gellens <randy at qualcomm dot com>
Thu, 17 Jul 2008 09:55:17 -0700
32. Re: Standalone mode & performance
"Sasa" <sasa at shoponweb dot it>
Fri, 18 Jul 2008 16:03:53 +0200
33. Re: Standalone mode & performance
Doug Hardie <bc979 at lafn dot org>
Fri, 18 Jul 2008 20:15:07 -0700
34. Re: Standalone mode & performance
Randall Gellens <randy at qualcomm dot com>
Fri, 18 Jul 2008 11:41:08 -0700
35.
"Sasa" <sasa at shoponweb dot it>
36. Re:
Doug Hardie <bc979 at lafn dot org>
Wed, 23 Jul 2008 15:31:07 -0700
37. error in pop.log
Martin Kellermann <kellermann at sk-datentechnik dot com>
Thu, 04 Sep 2008 23:41:29 +0200
38. Re: error in pop.log
Butch Kemper <kemper at tstar dot net>
Thu, 04 Sep 2008 21:52:08 -0500
39. Weird SSL error
The Doctor <doctor at doctor dot nl2k dot ab dot ca>
Mon, 8 Sep 2008 16:19:10 -0600
40. Re: Weird SSL error
Doug Hardie <bc979 at lafn dot org>
Mon, 8 Sep 2008 17:53:52 -0700
41. Re: Weird SSL error
Butch Kemper <kemper at tstar dot net>
Mon, 08 Sep 2008 18:20:13 -0500
42. Re: Weird SSL error
The Doctor <doctor at doctor dot nl2k dot ab dot ca>
Mon, 8 Sep 2008 17:38:50 -0600
43. Re: Weird SSL error
Doug Hardie <bc979 at lafn dot org>
Tue, 9 Sep 2008 00:16:07 -0700
44. Re: {?} Re: Weird SSL error
The Doctor <doctor at doctor dot nl2k dot ab dot ca>
Tue, 9 Sep 2008 07:25:36 -0600
45. Re: {?} Re: Weird SSL error
Doug Hardie <bc979 at lafn dot org>
Tue, 9 Sep 2008 20:06:34 -0700
46. Re: Weird SSL error
Randall Gellens <randy at qualcomm dot com>
Fri, 12 Sep 2008 15:57:08 -0700
47. Mac question
James Medley <jmedley at aesrg dot tamu dot edu>
Wed, 24 Sep 2008 09:43:24 -0500
48. Re: Mac question
Randall Gellens <randy at qualcomm dot com>
Wed, 24 Sep 2008 13:34:17 -0700
49. Stuck processes from iPhone users
Kelson <kelson at speed dot net>
Wed, 24 Sep 2008 15:21:02 -0700
50. Re: Stuck processes from iPhone users
Randall Gellens <randy at qualcomm dot com>
Fri, 26 Sep 2008 17:36:42 -0700
Date: Mon, 12 May 2008 08:48:29 -0400
From: Joe Maimon <jmaimon at ttec dot com>
Subject: qpopper and uw-mapd locking interaction in server mode
I am looking to make them work together, Blackberry users corrupting
spool drops is becoming a real problem (easily fixed by removing top few
lines of spool file that appear to be a partially deleted msg).
I understand that there are possibly two patchsets for locking, the ntua
patch and one from Clifton Royston.
I would like to take a stab at these, so if anyone can point me at some
resources, I would apppreciate it.
Thanks,
Joe
Date: Tue, 13 May 2008 23:16:24 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 4.1b9 available
Qpopper 4.1b9 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/>.
The full list of changes is in the distribution.
Changes from 4.1.b8 to 4.1.b9:
------------------------------
1. Fix problems with 'make install'.
2. Doug Hardie's code to change the way tokens are extracted from
the input line to be able to properly handle quoted values and
non-quoted values.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Most of our so-called reasoning consists in finding arguments for going
on believing as we already do. --James Harvey Robinson
Date: Wed, 14 May 2008 09:30:13 -0400
From: Mailinglists <mailinglists at wso dot net>
Subject: install -d
Just a quick note to say that the change to add the -d flag to the install command breaks the installation on old BSD/OS machines (specifically 4.0.1). Yes, it is an old machine, but nonetheless the install program on this OS doesn't know about the -d fla
g.
Date: Thu, 15 May 2008 15:09:56 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: install -d
At 9:30 AM -0400 5/14/08, Mailinglists wrote:
> Just a quick note to say that the change to add the -d flag to the
> install command breaks the installation on old BSD/OS machines
> (specifically 4.0.1). Yes, it is an old machine, but nonetheless
> the install program on this OS doesn't know about the -d fla
> g.
Sorry about that. The '-d' flag was removed in 4.0.13 and 4.1.b9.
(Instead, 'make install' now checks for an creates subdirectories if
needed.)
If you tried it on 4.0.12, please try 4.0.13. If you did use 4.0.13
and it is failing, please let us know.
Thanks.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Frankly, facts have nothing to do with what people's opinions are
and will be.
--Jon Bond, president Bond + Partners (an ad agency), talking
about political commercials
Date: Fri, 16 May 2008 14:33:20 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: qpopper and uw-mapd locking interaction in server mode
At 8:48 AM -0400 5/12/08, Joe Maimon wrote:
> I am looking to make them work together, Blackberry users
> corrupting spool drops is becoming a real problem (easily fixed by
> removing top few lines of spool file that appear to be a partially
> deleted msg).
>
> I understand that there are possibly two patchsets for locking, the
> ntua patch and one from Clifton Royston.
>
> I would like to take a stab at these, so if anyone can point me at
> some resources, I would apppreciate it.
What locking method is uw-mapd using (and do you mean uw-imapd?).
Qpopper uses flock() and dot-lock, depending on the operation. On
some platforms, Qpopper has to emulate flock(), which can cause
interoperability problems with uw-imapd.
Assuming you run ./configure prior to make, the config.h file
produced should indicate if Qpopper needs to emulate flock(). If you
'fgrep HAVE_FLOCK config.h' what does it show?
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Any smoothly functioning technology will be
indistinguishable from a rigged demo. --Isaac Asimov
From: "Sasa" <sasa at shoponweb dot it>
Subject: System resource
Date: Tue, 20 May 2008 14:05:59 +0200
Hi, I have a critical problem with qpopper 4.0.9, when qpopper service is
running on mail server the queue increase and I have more 200 mails in spool
!! I think that qpopper daemon use a too much system resource (memory and
CPU), if qpopper daemon is stopped in a few minutes the queue is empty.
When qpopper daemon is running I have:
[root@mail ~]# ps -ax|grep popper
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.7/FAQ
5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
..how can I solve the problem ??
Thanks in advance.
------
Salvatore.
Date: Tue, 20 May 2008 09:08:32 -0400
From: Joe Maimon <jmaimon at ttec dot com>
Subject: Re: qpopper and uw-mapd locking interaction in server mode
Randall Gellens wrote:
> At 8:48 AM -0400 5/12/08, Joe Maimon wrote:
>
>> I am looking to make them work together, Blackberry users corrupting
>> spool drops is becoming a real problem (easily fixed by removing top
>> few lines of spool file that appear to be a partially deleted msg).
>>
>> I understand that there are possibly two patchsets for locking, the
>> ntua patch and one from Clifton Royston.
>>
>> I would like to take a stab at these, so if anyone can point me at
>> some resources, I would apppreciate it.
>
> What locking method is uw-mapd using (and do you mean uw-imapd?).
Yes, not quite certain, it looks like flock()
I am of the impression the problem is more of the duration of the lock
and what is locked.
While at this time you are not supposed to run in server mode if
anything else can modify the spool file, in practice the performance
costs require it.
So if all that is necessary is to make sure the spool file is locked for
the duration of the pop session, I can live with that.
> Qpopper uses flock() and dot-lock, depending on the operation. On some
> platforms, Qpopper has to emulate flock(), which can cause
> interoperability problems with uw-imapd.
>
> Assuming you run ./configure prior to make, the config.h file produced
> should indicate if Qpopper needs to emulate flock(). If you 'fgrep
> HAVE_FLOCK config.h' what does it show?
>
fgrep HAVE_FLOCK config.h
#define HAVE_FLOCK 1
From: "Sasa" <sasa at shoponweb dot it>
Subject: Fw: System resource
Date: Wed, 21 May 2008 16:11:55 +0200
Hi, sorry for my insistence...is possible to have a support for my request ?
Thanks in advance
------
Salvatore.
----- Original Message -----
From: "Sasa" <sasa@shoponweb.it>
To: "Subscribers of Qpopper" <qpopper@lists.pensive.org>
Sent: Tuesday, May 20, 2008 2:05 PM
Subject: System resource
> Hi, I have a critical problem with qpopper 4.0.9, when qpopper service is
> running on mail server the queue increase and I have more 200 mails in
> spool !! I think that qpopper daemon use a too much system resource
> (memory and CPU), if qpopper daemon is stopped in a few minutes the queue
> is empty.
> When qpopper daemon is running I have:
>
> [root@mail ~]# ps -ax|grep popper
> Warning: bad syntax, perhaps a bogus '-'? See
> /usr/share/doc/procps-3.2.7/FAQ
> 5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
> 5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
> 5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>
>
> ..how can I solve the problem ??
> Thanks in advance.
>
> ------
>
> Salvatore.
>
>
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re: System resource
Date: Wed, 21 May 2008 14:29:30 -0700
On May 20, 2008, at 05:05, Sasa wrote:
> Hi, I have a critical problem with qpopper 4.0.9, when qpopper
> service is running on mail server the queue increase and I have more
> 200 mails in spool !! I think that qpopper daemon use a too much
> system resource (memory and CPU), if qpopper daemon is stopped in a
> few minutes the queue is empty.
> When qpopper daemon is running I have:
>
> [root@mail ~]# ps -ax|grep popper
> Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/
> procps-3.2.7/FAQ
> 5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
> 5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
> 5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>
>
> ..how can I solve the problem ??
Some more thoughts. I suspect the problem you are encountering can be
caused by thrashing or a disk failing. You might want to use top and
vmstat (whatever its equivalent is for your system) to check for
excess swapping or disk I/O. Also check the system log for disk
errors. Remapping and retries on drives are quite slow and really
bottle up the system.
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re: System resource
Date: Wed, 21 May 2008 14:09:56 -0700
On May 20, 2008, at 05:05, Sasa wrote:
> Hi, I have a critical problem with qpopper 4.0.9, when qpopper
> service is running on mail server the queue increase and I have more
> 200 mails in spool !! I think that qpopper daemon use a too much
> system resource (memory and CPU), if qpopper daemon is stopped in a
> few minutes the queue is empty.
> When qpopper daemon is running I have:
>
> [root@mail ~]# ps -ax|grep popper
> Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/
> procps-3.2.7/FAQ
> 5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
> 5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
> 5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>
>
> ..how can I solve the problem ??
> Thanks in advance.
What does the qpopper log show for those messages and that user?
Date: Wed, 21 May 2008 17:33:40 -0500
From: Butch Kemper <kemper at tstar dot net>
Subject: Re: System resource
At 04:09 PM 5/21/2008, you wrote:
>On May 20, 2008, at 05:05, Sasa wrote:
>
>>Hi, I have a critical problem with qpopper 4.0.9, when qpopper
>>service is running on mail server the queue increase and I have more
>>200 mails in spool !! I think that qpopper daemon use a too much
>>system resource (memory and CPU), if qpopper daemon is stopped in a
>>few minutes the queue is empty.
>>When qpopper daemon is running I have:
>>
>>[root@mail ~]# ps -ax|grep popper
>>Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/
>>procps-3.2.7/FAQ
>>5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>>5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
>>5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>>
>>
>>..how can I solve the problem ??
>>Thanks in advance.
>
>
>What does the qpopper log show for those messages and that user?
I think the problem is caused because some user is choosing the
option of leaving the mail on the server and their mailbox has become
very large. This causes problem at close down when:
1. The mailbox is copied to the temporary .pop file.
2. The .pop file is copied back to the user mailbox
while eliminating any deleted messages.
All the file copying IO can be crippling specially if the temporary
files are not on a different disk spindle as the mailboxes.
Take a look at the size of you user's mailboxes when this problem is occurring.
Butch
From: "Sasa" <sasa at shoponweb dot it>
Subject: Re: System resource
Date: Thu, 22 May 2008 17:06:40 +0200
Hi and thank for your attention,I think that there are two problems:
- the first is in the mailbox size
- the second is that the timeout -T600 is is a value too much high
..now I have configured the qouta disk at 100MB and now I use the default
timeout value, today I haven't problems.
Thanks.
------
Salvatore.
----- Original Message -----
From: "Butch Kemper" <kemper@tstar.net>
To: "Subscribers of Qpopper" <qpopper@lists.pensive.org>
Cc: "Sasa" <sasa@shoponweb.it>
Sent: Thursday, May 22, 2008 12:33 AM
Subject: Re: System resource
> At 04:09 PM 5/21/2008, you wrote:
>
>>On May 20, 2008, at 05:05, Sasa wrote:
>>
>>>Hi, I have a critical problem with qpopper 4.0.9, when qpopper
>>>service is running on mail server the queue increase and I have more
>>>200 mails in spool !! I think that qpopper daemon use a too much
>>>system resource (memory and CPU), if qpopper daemon is stopped in a
>>>few minutes the queue is empty.
>>>When qpopper daemon is running I have:
>>>
>>>[root@mail ~]# ps -ax|grep popper
>>>Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/
>>>procps-3.2.7/FAQ
>>>5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>>>5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
>>>5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>>>
>>>
>>>..how can I solve the problem ??
>>>Thanks in advance.
>>
>>
>>What does the qpopper log show for those messages and that user?
>
> I think the problem is caused because some user is choosing the option of
> leaving the mail on the server and their mailbox has become very large.
> This causes problem at close down when:
>
> 1. The mailbox is copied to the temporary .pop file.
>
> 2. The .pop file is copied back to the user mailbox
> while eliminating any deleted messages.
>
> All the file copying IO can be crippling specially if the temporary files
> are not on a different disk spindle as the mailboxes.
>
> Take a look at the size of you user's mailboxes when this problem is
> occurring.
>
> Butch
>
>
From: "Peter Bell" <pbell at laclinica dot org>
Subject: RE: System resource
Date: Fri, 23 May 2008 09:51:57 -0700
Also, look at the switches and/or routers your box is talking to. I spent
time once replacing hardware inside a mailserver (which somewhat helped)
but was still not happy with my overall performance.
I isolated the issue to a switch which was not dead but was having
a lot of trouble; once I took that switch out of the equation, my insane
load dropped dramatically. If you're getting a lot of retransmission
anyplace, you can wind up with qpopper idling for very long periods of time
before finally erroring out.
-Peter
-----Original Message-----
From: Doug Hardie [mailto:bc979@lafn.org]
Sent: Wednesday, May 21, 2008 2:30 PM
To: Sasa
Cc: Subscribers of Qpopper
Subject: Re: System resource
On May 20, 2008, at 05:05, Sasa wrote:
> Hi, I have a critical problem with qpopper 4.0.9, when qpopper service
> is running on mail server the queue increase and I have more 200 mails
> in spool !! I think that qpopper daemon use a too much system resource
> (memory and CPU), if qpopper daemon is stopped in a few minutes the
> queue is empty.
> When qpopper daemon is running I have:
>
> [root@mail ~]# ps -ax|grep popper
> Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/
> procps-3.2.7/FAQ
> 5026 ? S 0:00 /usr/local/sbin/popper -s -R -T600
> 5276 ? R 0:00 /usr/local/sbin/popper -s -R -T600
> 5277 ? S 0:00 /usr/local/sbin/popper -s -R -T600
>
>
> ..how can I solve the problem ??
Some more thoughts. I suspect the problem you are encountering can be
caused by thrashing or a disk failing. You might want to use top and vmstat
(whatever its equivalent is for your system) to check for excess swapping or
disk I/O. Also check the system log for disk errors. Remapping and retries
on drives are quite slow and really bottle up the system.
From: "Giannis Mantzouranis" <jman at physics dot upatras dot gr>
Subject: problems compiling qpopper 4.0.13 without -ldl in Makefile
Date: Wed, 28 May 2008 07:09:50 +0300
Hello All Hello Randall
As I promised I am back to write whats wrong when I dont use the -ldl option
in the makefile in the popper directory.
I have 2 slackwares here a 10.20 and an 8.10 and they show the same
behaviour. Both have openssl 0.9.8g intalled in /usr/local/ssl and i
configure qpopper with these options
./configure --with-openssl --enable-specialauth --enable-timing --enable-home-dir-mail=Mailbox
--enable-keep-temp-drop -enable-log-facility=LOG_LOCAL1 --enable-log-login
--enable-shy --enable-temp-drop-dir=/var/spool/mail/
when I type make it compiles ok but the problem is with linking. Here it
goes
gcc -c -I.. -I. -I.. -I../popper \
-I../common -g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX charmangle.c -o
charmangle.o
ar -r libmangle.a mime.o mangle.o enriched.o striphtml.o lineend.o etags.o
charmangle.o
ar: creating libmangle.a
make[2]: Leaving directory `/home/src/qpopper4.0.13/mmangle'
cd ../common && make all
make[2]: Entering directory `/home/src/qpopper4.0.13/common'
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX flock.c -o flock.o
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX maillock.c -o maillock.o
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX logit.c -o logit.o
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX snprintf.c -o snprintf.o
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX string_util.c -o string_util.o
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX check_group.c -o check_group.o
gcc -c -I.. -I. -I.. -I../popper \
-g -O2 -DHAVE_CONFIG_H -DLINUX -DUNIX utils.c -o utils.o
ar -r libcommon.a flock.o maillock.o logit.o snprintf.o string_util.o
check_group.o utils.o
ar: creating libcommon.a
make[2]: Leaving directory `/home/src/qpopper4.0.13/common'
gcc pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o
pop_init.o pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o pop_parse.o
pop_pass.o pop_quit.o pop_rset.o pop_send.o pop_stat.o pop_updt.o pop_user.o
pop_xtnd.o pop_xmit.o popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o
pop_rpop.o pop_apop.o md5.o pop_auth.o pop_pope.o pop_extend.o scram.o
hmac.o base64.o pop_util.o get_sub_opt.o msg_ptr.o drac.o pop_config.o
pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o main.o
pop_cache.o genpath.o -o popper ../mmangle/libmangle.a \
-I../common ../common/libcommon.a \
-lcrypt -L/usr/local/ssl/lib -lssl -lcrypto
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x35): In function
`dlfcn_load':
: undefined reference to `dlopen'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x95): In function
`dlfcn_load':
: undefined reference to `dlclose'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0xbc): In function
`dlfcn_load':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x147): In function
`dlfcn_bind_var':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x172): In function
`dlfcn_bind_var':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x237): In function
`dlfcn_bind_func':
: undefined reference to `dlsym'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x262): In function
`dlfcn_bind_func':
: undefined reference to `dlerror'
/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50b): In function
`dlfcn_unload':
: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [popper] Error 1
make[1]: Leaving directory `/home/src/qpopper4.0.13/popper'
make: *** [popper_server] Error 2
When I go to the popper directory, thats .../qpopper/4.0.13/popper and I vi
the Makefile there in the LIBS section and I add -ldl switch it works
fluently. make
cd ./popper && make all
make[1]: Entering directory `/home/src/qpopper4.0.13/popper'
cd ../mmangle && make all
make[2]: Entering directory `/home/src/qpopper4.0.13/mmangle'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/src/qpopper4.0.13/mmangle'
cd ../common && make all
make[2]: Entering directory `/home/src/qpopper4.0.13/common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/src/qpopper4.0.13/common'
gcc pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o
pop_init.o pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o pop_parse.o
pop_pass.o pop_quit.o pop_rset.o pop_send.o pop_stat.o pop_updt.o pop_user.o
pop_xtnd.o pop_xmit.o popper.o pop_bull.o xtnd_xlst.o pop_uidl.o mktemp.o
pop_rpop.o pop_apop.o md5.o pop_auth.o pop_pope.o pop_extend.o scram.o
hmac.o base64.o pop_util.o get_sub_opt.o msg_ptr.o drac.o pop_config.o
pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o main.o
pop_cache.o genpath.o -o popper ../mmangle/libmangle.a \
-I../common ../common/libcommon.a \
-lcrypt -L/usr/local/ssl/lib -lssl -lcrypto -ldl
make[1]: Leaving directory `/home/src/qpopper4.0.13/popper
Thats the problem. If you can solve it or if you want more infomation about
the systems I administrate please tell me
Thanks in advance
Giannis Mantzouranis
From: "Ravindranath, Chavalam" <chavalam dot ravindranath at hp dot com>
Date: Fri, 30 May 2008 10:54:21 +0000
Subject: RE: Qpopper failure while using with pam option enabled
--_000_9C7EF3538272C1469E834EFA2D2378A403C179E09CG3W0067americ_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Randell,
This is my observaion,but I am not sure.Can you confirm me about this.
The new version of qpopper-4.0.13 is having this function "pam_setcred (pam
h, PAM_DELETE_CRED)" at line 564 in popper/pop_pass.c file.If we commment t
his line then qpopper with pam is working on all platforms.The pam_sercred
function of pam is trying to return message array of three(that is the reas
on why num_msg =3),whereas the qpopper conversation function is handling
when num_msg=1 and cribbing when num_msg is more than 1.That is the reaso
n why (char *) msg[0]->msg is showing the "Removing root credentials would
break the rpc services that" message whereas (char *) msg[1]->msg is showin
g bad address
Thanks & Regards,
Ravindranath
________________________________
From: Randall Gellens [mailto:randy@qualcomm.com]
Sent: Wednesday, April 09, 2008 6:54 AM
To: Ravindranath, Chavalam
Cc: qpopper@lists.pensive.org
Subject: Re: Qpopper failure while using with pam option enabled
At 9:21 AM +0000 4/8/08, Chavalam Ravindranath wrote:
Hi,
I have built qpopper(4.0.9) on hpux 11.11 using --with-pam option.
But when I try to test this I am getting the following o/p.
# telnet localhost 110
Trying...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.
user test
+OK Password required for test.
pass test
Connection closed by foreign host.
when I debugged with gdb backtrace looks like this
#0 0x1bf50 in PAM_qpopper_conv (num_msg=3, msg=0x7f7f6598, resp=0x7f
7f6520,
appdata_ptr=0x7f7f0bb8) at pop_pass.c:442
#1 0x7aeb5f10 in __pam_input_output+0x128 () from /usr/lib/libpam.1
#2 0x7aeb5d90 in __pam_display_msg+0x24 () from /usr/lib/libpam.1
#3 0x7ad89fb8 in pam_sm_setcred+0x2e8 () from /usr/lib/security/libpam_uni
x.1
#4 0x7aeb3a90 in pam_setcred+0xec () from /usr/lib/libpam.1
#5 0x1c754 in auth_user (p=0x7f7f0bb8, pw=0x7f7f1d24) at pop_pass.c:56
4
#6 0x1ca68 in pop_pass (p=0x7f7f0bb8) at pop_pass.c:1261
#7 0x237f0 in qpopper (argc=1, argv=0x7f7f09ec) at popper.c:349
#8 0x30d1c in main (argc=1, argv=0x7f7f09ec) at main.c:168
the msg structure(second argument for PAM_qpopper_conv) is generated withi
n __pam_input_output with num_msg=3 .msg[1] is showing bad address
(gdb) p (char *) msg[0]->msg
$26 = 0x7f7f2498 "Removing root credentials would break the rpc services
that"
(gdb) p (char *) msg[1]->msg
Error accessing memory address 0x4: Bad address.
In libpam library,msg structure is created properly but PAM_qpopper_conv is
unable to access the msg memory structure
When I gave wrong password I am getting this error
# telnet localhost 110
Trying...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.
user test
+OK Password required for test.
pass test1
-ERR [AUTH] PAM authentication failed for user "test": Authentication faile
d (9)
+OK Pop server at skoda.ind.hp.com signing off.
Connection closed by foreign host.
Seems it is authenticating but not able to read the msg structure
Hope you can help me to fix this issue or do I need to send any additional
information regard this issue.
Thanks & Regards,
Ravindranath
I'm puzzled. Did you build from the original 4.0.9 sources or from a packa
ge?
I'm wondering if perhaps there is a problem with a library mismatch from a
precompiled or intermediate file?
You could try building 4.0.11 to see if it is better.
I'd also suggest getting a Qpopper trace just to see what it shows.
To enable tracing in Qpopper:
1. Do a 'make clean'
2. Re-run ./configure, adding '--enable-debugging'.
3. Edit the inetd.conf line for Qpopper, adding '-d' or '-t <tracefile-pat
h>'.
4. Send inetd (or xinetd) a HUP signal.
(Steps 3 and 4 are only needed if you use inetd (or xinetd). In standalone
mode, you can add '-d' or '-t <tracefile-path>' to the command line direct
ly.)
(In either standalone or inetd mode, if you use a configuration file you ca
n add 'set debug' or 'set tracefile = <tracefile>' to either a global or
user-specific configuration file instead of steps 3 and 4.)
This causes detailed tracing to be written to the syslog or to the file spe
cified as 'tracefile'.
If you're still getting a crash, I'd suggest a kernel trace using ktrace(1)
or whatever is the HPUX tool. Normally, the way to do this is to modify t
he inetd or xinetd line to run qpopper via ktrace, usually on a different p
ort so as to not affect production users (unless this is on a test system).
For standalone on a test system, also run qpopper from ktrace.
--_000_9C7EF3538272C1469E834EFA2D2378A403C179E09CG3W0067americ_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Qpopper failure while using with pam option enabled<
/TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left>
<P>Hi Randell,</P>
<P><SPAN class=087254710-30052008>This is my observaion,but I am not
sure.Can you confirm me about this.</SPAN></P>
<P>The new version of qpopper-4.0.13 is having this function "pam_setcred (
pamh,
PAM_DELETE_CRED)" at line 564 in popper/pop_pass.c file.If we commment this
line
then qpopper with pam is working on all platforms.The pam_sercred function
of
pam is trying to return message array of three(that is the reason why num_m
sg
=3<SPAN class=087254710-30052008>),whereas the qpopper conversation fun
ction is
handling when num_msg=1 and cribbing when num_msg is more than 1.That is
the
reason why (char *) msg[0]->msg is showing the "Removing root credential
s
would break the rpc services that" message whereas (char *) msg[1]->msg
is
showing bad address</SPAN></P>
<P><SPAN class=087254710-30052008>Thanks & Regards,</SPAN></P>
<P><SPAN class=087254710-30052008>Ravindranath</SPAN></P>
<P>
<HR tabIndex=-1>
</P>
<P><FONT face=Tahoma size=2><B>From:</B> Randall Gellens
[mailto:randy@qualcomm.com] <BR><B>Sent:</B> Wednesday, April 09, 2008 6:54
AM<BR><B>To:</B> Ravindranath, Chavalam<BR><B>Cc:</B>
qpopper@lists.pensive.org<BR><B>Subject:</B> Re: Qpopper failure while usin
g
with pam option enabled<BR></FONT><BR></P></DIV>
<DIV></DIV>
<DIV>At 9:21 AM +0000 4/8/08, Chavalam Ravindranath wrote:</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE cite=""
type="cite">Hi,<BR> I have bu
ilt
qpopper(4.0.9) on hpux 11.11 using --with-pam option.<BR>But when I try t
o
test this I am getting the following o/p.<BR><BR># telnet localhost
110<BR>Trying...<BR>Connected to localhost.<BR>Escape character is
'^]'.<BR>+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.<BR>use
r
test<BR>+OK Password required for test.<BR>pass test<BR>Connection closed
by
foreign host.<BR><BR>when I debugged with gdb backtrace looks like
this<BR><BR>#0 0x1bf50 in PAM_qpopper_conv (num_msg=3, msg=0x7f
7f6598,
resp=0x7f7f6520,<BR> appdata_ptr=0x7f7f0bb8) at
pop_pass.c:442<BR>#1 0x7aeb5f10 in __pam_input_output+0x128 () from
/usr/lib/libpam.1<BR>#2 0x7aeb5d90 in __pam_display_msg+0x24 () fro
m
/usr/lib/libpam.1<BR>#3 0x7ad89fb8 in pam_sm_setcred+0x2e8 () from
/usr/lib/security/libpam_unix.1<BR>#4 0x7aeb3a90 in pam_setcred+0xe
c ()
from /usr/lib/libpam.1<BR>#5 0x1c754 in auth_user (p=0x7f7f0bb8,
pw=0x7f7f1d24) at pop_pass.c:564<BR>#6 0x1ca68 in pop_pass
(p=0x7f7f0bb8) at pop_pass.c:1261<BR>#7 0x237f0 in qpopper (argc
=1,
argv=0x7f7f09ec) at popper.c:349<BR>#8 0x30d1c in main (argc=1,
argv=0x7f7f09ec) at main.c:168<BR><BR>the<B> msg</B> structure(second a
rgument
for PAM_qpopper_conv) is generated within __pam_input_output with
num_msg=3 .msg[1] is showing bad address<BR><BR>(gdb) p (char *)
msg[0]->msg<BR>$26 = 0x7f7f2498 "Removing root credentials would bre
ak the
rpc services that"<BR>(gdb) p (char *) msg[1]->msg<BR>Error accessing
memory address 0x4: Bad address.<BR><BR>In libpam library,<B>msg</B> stru
cture
is created properly but PAM_qpopper_conv is unable to access the<B> msg</
B>
memory structure<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><BR><BR>When I gave wrong password
I
am getting this error<BR><BR><BR># telnet localhost
110<BR>Trying...<BR>Connected to localhost.<BR>Escape character is
'^]'.<BR>+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.<BR>use
r
test<BR>+OK Password required for test.<BR>pass test1<BR>-ERR [AUTH] PAM
authentication failed for user "test": Authentication failed (9)<BR>+OK P
op
server at skoda.ind.hp.com signing off.<BR>Connection closed by foreign
host.<BR><BR><BR>Seems it is authenticating but not able to read th
e<B>
msg</B> structure<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite">Hope you can help me to fix this
issue or do I need to send any additional information regard th
is
issue.<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite">Thanks & Regards,<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite">Ravindranath</BLOCKQUOTE>
<DIV><BR><BR></DIV>
<DIV>I'm puzzled. Did you build from the original 4.0.9 sources or fr
om a
package?</DIV>
<DIV><BR></DIV>
<DIV>I'm wondering if perhaps there is a problem with a library mismatch fr
om a
precompiled or intermediate file?</DIV>
<DIV><BR></DIV>
<DIV>You could try building 4.0.11 to see if it is better.</DIV>
<DIV><BR></DIV>
<DIV>I'd also suggest getting a Qpopper trace just to see what it shows.</D
IV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>To enable tracing in Qpopper:<BR><BR>1. Do a 'make clean'<BR>2.&
nbsp;
Re-run ./configure, adding '--enable-debugging'.<BR>3. Edit the inetd
.conf
line for Qpopper, adding '-d' or '-t <tracefile-path>'.<BR>4. S
end
inetd (or xinetd) a HUP signal.<BR><BR>(Steps 3 and 4 are only needed if yo
u use
inetd (or xinetd). In standalone mode, you can add '-d' or '-t
<tracefile-path>' to the command line directly.)<BR><BR>(In either
standalone or inetd mode, if you use a configuration file you can add 'set
debug' or 'set tracefile = <tracefile>' to either a global or
user-specific configuration file instead of steps 3 and 4.)<BR><BR>This cau
ses
detailed tracing to be written to the syslog or to the file specified as
'tracefile'.</DIV>
<DIV><BR></DIV>
<DIV>If you're still getting a crash, I'd suggest a kernel trace using ktra
ce(1)
or whatever is the HPUX tool. Normally, the way to do this is to modi
fy
the inetd or xinetd line to run qpopper via ktrace, usually on a different
port
so as to not affect production users (unless this is on a test system).&nbs
p;
For standalone on a test system, also run qpopper from
ktrace.</DIV></BODY></HTML>
--_000_9C7EF3538272C1469E834EFA2D2378A403C179E09CG3W0067americ_--
Date: Wed, 4 Jun 2008 15:30:38 -0700 (PDT)
From: Gregory Hicks <ghicks at cadence dot com>
Subject: qpopper and Solaris 10...
Greetings:
I'm trying to bring up a new (replacement) mail server. I've copied
the old, Solaris 7 qpopper to the new machine and have inetd starting
it.
However, I cannot login. But CAN login via telnet. But not via telnet
to pop3... I get the following error:
metis% telnet mailhub-2 pop3
Trying 158.140.128.174...
Connected to mailhub-2.cadence.com.
Escape character is '^]'.
+OK Qpopper (version 4.0.5) at mailhub-2.cadence.com starting.
user ghicks
+OK Password required for ghicks.
pass XxxxxxxX
-ERR [AUTH] Password supplied for "ghicks" is incorrect.
Any thoughts on what is not configured correctly? I get the same
approximate error when trying to connect to the uw-imapd daemon...
Assist will be appreciated.
Regards,
Gregory hicks
Date: Wed, 4 Jun 2008 13:49:48 -1000
From: Clifton Royston <cliftonr at lava dot net>
Subject: Re: qpopper and Solaris 10...
On Wed, Jun 04, 2008 at 03:30:38PM -0700, Gregory Hicks wrote:
> Greetings:
>
> I'm trying to bring up a new (replacement) mail server. I've copied
> the old, Solaris 7 qpopper to the new machine and have inetd starting
> it.
>
> However, I cannot login. But CAN login via telnet. But not via telnet
> to pop3... I get the following error:
>
> metis% telnet mailhub-2 pop3
> Trying 158.140.128.174...
> Connected to mailhub-2.cadence.com.
> Escape character is '^]'.
> +OK Qpopper (version 4.0.5) at mailhub-2.cadence.com starting.
> user ghicks
> +OK Password required for ghicks.
> pass XxxxxxxX
> -ERR [AUTH] Password supplied for "ghicks" is incorrect.
>
> Any thoughts on what is not configured correctly? I get the same
> approximate error when trying to connect to the uw-imapd daemon...
>
> Assist will be appreciated.
Probably your PAM is not configured for these services on the new
machine. I'm not familiar with the Solaris dir structure, but at a wild
guess, I'd look at /etc/pam.d or similar for the two machines.
-- Clifton
--
Clifton Royston -- cliftonr@iandicomputing.com / cliftonr@lava.net
President - I and I Computing * http://www.iandicomputing.com/
Custom programming, network design, systems and network consulting services
Date: Wed, 04 Jun 2008 22:44:49 -0500
From: Jerry K <qpopper at oryx dot cc>
Subject: Re: qpopper and Solaris 10...
I have always done well on Solaris 10 with this :
./configure --disable-apop \
--enable-specialauth \
--enable-uw-kludge \
--disable-check-pwmax \
--enable-log-login \
--without-pam \
--enable-temp-drop-dir=/var/tmp
Jerry K
On 06/04/08 17:30, Gregory Hicks wrote:
> Greetings:
>
> I'm trying to bring up a new (replacement) mail server. I've copied
> the old, Solaris 7 qpopper to the new machine and have inetd starting
> it.
>
> However, I cannot login. But CAN login via telnet. But not via telnet
> to pop3... I get the following error:
>
> metis% telnet mailhub-2 pop3
> Trying 158.140.128.174...
> Connected to mailhub-2.cadence.com.
> Escape character is '^]'.
> +OK Qpopper (version 4.0.5) at mailhub-2.cadence.com starting.
> user ghicks
> +OK Password required for ghicks.
> pass XxxxxxxX
> -ERR [AUTH] Password supplied for "ghicks" is incorrect.
>
> Any thoughts on what is not configured correctly? I get the same
> approximate error when trying to connect to the uw-imapd daemon...
>
> Assist will be appreciated.
>
> Regards,
> Gregory hicks
From: "Ravindranath, Chavalam" <chavalam dot ravindranath at hp dot com>
Date: Fri, 6 Jun 2008 11:11:57 +0000
Subject: RE: Qpopper failure while using with pam option enabled
--_000_9C7EF3538272C1469E834EFA2D2378A403C3713C5BG3W0067americ_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Randall,
The memory dump issue is solved by changing the qpopper source code.In
valid pointer manipulation is done the conversation function PAM_qpopper_co
nv
Changing this sigle line is solving the issues
In qpopper-4.0.13/popper/pop_pass.c
line 442:
Before:switch (msg[replies]->msg_style)
After :switch ((*msg)[replies].msg_style)
Thanks & Regards,
Ravindranath
________________________________
From: Randall Gellens [mailto:randy@qualcomm.com]
Sent: Wednesday, April 09, 2008 6:54 AM
To: Ravindranath, Chavalam
Cc: qpopper@lists.pensive.org
Subject: Re: Qpopper failure while using with pam option enabled
At 9:21 AM +0000 4/8/08, Chavalam Ravindranath wrote:
Hi,
I have built qpopper(4.0.9) on hpux 11.11 using --with-pam option.
But when I try to test this I am getting the following o/p.
# telnet localhost 110
Trying...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.
user test
+OK Password required for test.
pass test
Connection closed by foreign host.
when I debugged with gdb backtrace looks like this
#0 0x1bf50 in PAM_qpopper_conv (num_msg=3, msg=0x7f7f6598, resp=0x7f
7f6520,
appdata_ptr=0x7f7f0bb8) at pop_pass.c:442
#1 0x7aeb5f10 in __pam_input_output+0x128 () from /usr/lib/libpam.1
#2 0x7aeb5d90 in __pam_display_msg+0x24 () from /usr/lib/libpam.1
#3 0x7ad89fb8 in pam_sm_setcred+0x2e8 () from /usr/lib/security/libpam_uni
x.1
#4 0x7aeb3a90 in pam_setcred+0xec () from /usr/lib/libpam.1
#5 0x1c754 in auth_user (p=0x7f7f0bb8, pw=0x7f7f1d24) at pop_pass.c:56
4
#6 0x1ca68 in pop_pass (p=0x7f7f0bb8) at pop_pass.c:1261
#7 0x237f0 in qpopper (argc=1, argv=0x7f7f09ec) at popper.c:349
#8 0x30d1c in main (argc=1, argv=0x7f7f09ec) at main.c:168
the msg structure(second argument for PAM_qpopper_conv) is generated withi
n __pam_input_output with num_msg=3 .msg[1] is showing bad address
(gdb) p (char *) msg[0]->msg
$26 = 0x7f7f2498 "Removing root credentials would break the rpc services
that"
(gdb) p (char *) msg[1]->msg
Error accessing memory address 0x4: Bad address.
In libpam library,msg structure is created properly but PAM_qpopper_conv is
unable to access the msg memory structure
When I gave wrong password I am getting this error
# telnet localhost 110
Trying...
Connected to localhost.
Escape character is '^]'.
+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.
user test
+OK Password required for test.
pass test1
-ERR [AUTH] PAM authentication failed for user "test": Authentication faile
d (9)
+OK Pop server at skoda.ind.hp.com signing off.
Connection closed by foreign host.
Seems it is authenticating but not able to read the msg structure
Hope you can help me to fix this issue or do I need to send any additional
information regard this issue.
Thanks & Regards,
Ravindranath
I'm puzzled. Did you build from the original 4.0.9 sources or from a packa
ge?
I'm wondering if perhaps there is a problem with a library mismatch from a
precompiled or intermediate file?
You could try building 4.0.11 to see if it is better.
I'd also suggest getting a Qpopper trace just to see what it shows.
To enable tracing in Qpopper:
1. Do a 'make clean'
2. Re-run ./configure, adding '--enable-debugging'.
3. Edit the inetd.conf line for Qpopper, adding '-d' or '-t <tracefile-pat
h>'.
4. Send inetd (or xinetd) a HUP signal.
(Steps 3 and 4 are only needed if you use inetd (or xinetd). In standalone
mode, you can add '-d' or '-t <tracefile-path>' to the command line direct
ly.)
(In either standalone or inetd mode, if you use a configuration file you ca
n add 'set debug' or 'set tracefile = <tracefile>' to either a global or
user-specific configuration file instead of steps 3 and 4.)
This causes detailed tracing to be written to the syslog or to the file spe
cified as 'tracefile'.
If you're still getting a crash, I'd suggest a kernel trace using ktrace(1)
or whatever is the HPUX tool. Normally, the way to do this is to modify t
he inetd or xinetd line to run qpopper via ktrace, usually on a different p
ort so as to not affect production users (unless this is on a test system).
For standalone on a test system, also run qpopper from ktrace.
--_000_9C7EF3538272C1469E834EFA2D2378A403C3713C5BG3W0067americ_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Re: Qpopper failure while using with pam option enabled<
/TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2>Hi Randall,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008> &n
bsp; <FONT
face=Arial color=#0000ff size=2>The memory dump issue is solved by
changing the qpopper source code.Invalid pointer manipulation is
done
the conversation function<STRONG> PAM_qpopper_conv </STRONG></FONT></SPAN><
/DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><STRONG><FONT
face=Arial
color=#0000ff size=2></FONT></STRONG></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2>Changing this sigle line is solving the
issues</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008></SPAN> <
/DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2>In qpopper-4.0.13/popper/pop_pass.c</FONT></SPAN><
/DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2>line 442:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class6300511-06062008><FONT face=A
rial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class6300511-06062008>Before<STRONG>:</STRONG></SPAN>switch
(msg[replies]->msg_style)</FONT></FONT></FONT></DIV>
<DIV><SPAN class6300511-06062008></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT size=2>A<SPAN class6300511-06062008>fter
:</SPAN></FONT></FONT></FONT><FONT face=Arial color=#0000ff size=2>sw
itch
((*msg)[replies].msg_style)</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class6300511-06062008><FONT face=Arial color=#0000ff si
ze=2>Thanks
& Regards,<BR>Ravindranath</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Randall Gellens
[mailto:randy@qualcomm.com] <BR><B>Sent:</B> Wednesday, April 09, 2008 6:54
AM<BR><B>To:</B> Ravindranath, Chavalam<BR><B>Cc:</B>
qpopper@lists.pensive.org<BR><B>Subject:</B> Re: Qpopper failure while usin
g
with pam option enabled<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>At 9:21 AM +0000 4/8/08, Chavalam Ravindranath wrote:</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE cite=""
type="cite">Hi,<BR> I have bu
ilt
qpopper(4.0.9) on hpux 11.11 using --with-pam option.<BR>But when I try t
o
test this I am getting the following o/p.<BR><BR># telnet localhost
110<BR>Trying...<BR>Connected to localhost.<BR>Escape character is
'^]'.<BR>+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.<BR>use
r
test<BR>+OK Password required for test.<BR>pass test<BR>Connection closed
by
foreign host.<BR><BR>when I debugged with gdb backtrace looks like
this<BR><BR>#0 0x1bf50 in PAM_qpopper_conv (num_msg=3, msg=0x7f
7f6598,
resp=0x7f7f6520,<BR> appdata_ptr=0x7f7f0bb8) at
pop_pass.c:442<BR>#1 0x7aeb5f10 in __pam_input_output+0x128 () from
/usr/lib/libpam.1<BR>#2 0x7aeb5d90 in __pam_display_msg+0x24 () fro
m
/usr/lib/libpam.1<BR>#3 0x7ad89fb8 in pam_sm_setcred+0x2e8 () from
/usr/lib/security/libpam_unix.1<BR>#4 0x7aeb3a90 in pam_setcred+0xe
c ()
from /usr/lib/libpam.1<BR>#5 0x1c754 in auth_user (p=0x7f7f0bb8,
pw=0x7f7f1d24) at pop_pass.c:564<BR>#6 0x1ca68 in pop_pass
(p=0x7f7f0bb8) at pop_pass.c:1261<BR>#7 0x237f0 in qpopper (argc
=1,
argv=0x7f7f09ec) at popper.c:349<BR>#8 0x30d1c in main (argc=1,
argv=0x7f7f09ec) at main.c:168<BR><BR>the<B> msg</B> structure(second a
rgument
for PAM_qpopper_conv) is generated within __pam_input_output with
num_msg=3 .msg[1] is showing bad address<BR><BR>(gdb) p (char *)
msg[0]->msg<BR>$26 = 0x7f7f2498 "Removing root credentials would bre
ak the
rpc services that"<BR>(gdb) p (char *) msg[1]->msg<BR>Error accessing
memory address 0x4: Bad address.<BR><BR>In libpam library,<B>msg</B> stru
cture
is created properly but PAM_qpopper_conv is unable to access the<B> msg</
B>
memory structure<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><BR><BR>When I gave wrong password
I
am getting this error<BR><BR><BR># telnet localhost
110<BR>Trying...<BR>Connected to localhost.<BR>Escape character is
'^]'.<BR>+OK Qpopper (version 4.0.9) at skoda.ind.hp.com starting.<BR>use
r
test<BR>+OK Password required for test.<BR>pass test1<BR>-ERR [AUTH] PAM
authentication failed for user "test": Authentication failed (9)<BR>+OK P
op
server at skoda.ind.hp.com signing off.<BR>Connection closed by foreign
host.<BR><BR><BR>Seems it is authenticating but not able to read th
e<B>
msg</B> structure<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite">Hope you can help me to fix this
issue or do I need to send any additional information regard th
is
issue.<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite">Thanks & Regards,<BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite">Ravindranath</BLOCKQUOTE>
<DIV><BR><BR></DIV>
<DIV>I'm puzzled. Did you build from the original 4.0.9 sources or fr
om a
package?</DIV>
<DIV><BR></DIV>
<DIV>I'm wondering if perhaps there is a problem with a library mismatch fr
om a
precompiled or intermediate file?</DIV>
<DIV><BR></DIV>
<DIV>You could try building 4.0.11 to see if it is better.</DIV>
<DIV><BR></DIV>
<DIV>I'd also suggest getting a Qpopper trace just to see what it shows.</D
IV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>To enable tracing in Qpopper:<BR><BR>1. Do a 'make clean'<BR>2.&
nbsp;
Re-run ./configure, adding '--enable-debugging'.<BR>3. Edit the inetd
.conf
line for Qpopper, adding '-d' or '-t <tracefile-path>'.<BR>4. S
end
inetd (or xinetd) a HUP signal.<BR><BR>(Steps 3 and 4 are only needed if yo
u use
inetd (or xinetd). In standalone mode, you can add '-d' or '-t
<tracefile-path>' to the command line directly.)<BR><BR>(In either
standalone or inetd mode, if you use a configuration file you can add 'set
debug' or 'set tracefile = <tracefile>' to either a global or
user-specific configuration file instead of steps 3 and 4.)<BR><BR>This cau
ses
detailed tracing to be written to the syslog or to the file specified as
'tracefile'.</DIV>
<DIV><BR></DIV>
<DIV>If you're still getting a crash, I'd suggest a kernel trace using ktra
ce(1)
or whatever is the HPUX tool. Normally, the way to do this is to modi
fy
the inetd or xinetd line to run qpopper via ktrace, usually on a different
port
so as to not affect production users (unless this is on a test system).&nbs
p;
For standalone on a test system, also run qpopper from
ktrace.</DIV></BODY></HTML>
--_000_9C7EF3538272C1469E834EFA2D2378A403C3713C5BG3W0067americ_--
Date: Thu, 12 Jun 2008 17:02:12 +0800
From: Shay Telfer <shay at cygnus dot uwa dot edu dot au>
Subject: Can't connect from non-localhost under Mac OS X 10.5.3?
Hi...
I've compiled qpopper 4.1b9 under Mac OS X 10.5.3 (Leopard).
I can connect to the server fine from localhost:
>> telnet localhost 110
> Trying ::1...
> telnet: connect to address ::1: Connection refused
> Trying fe80::1...
> telnet: connect to address fe80::1: Connection refused
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK Qpopper (version 4.1b9) at botrytis-local.local starting.
> QUIT
> +OK Pop server at botrytis-local.local signing off.
> Connection closed by foreign host.
However, attempting the same from a different machine on the local
network gives:
>> telnet 192.168.0.12 110
> Trying 192.168.0.12...
> telnet: connect to address 192.168.0.12: Connection refused
> telnet: Unable to connect to remote host
I'm thinking the problem might be IPv6 related?
qpopper is being launched by launchd
Previously appfirewall.log was recording
> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Unable to get
>canonical name of client 0.0.0.0: Unknown host (1)
> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Servicing
>request from "0.0.0.0" at 0.0.0.0
> Jun 9 00:59:14 botrytis-local popper[5131]: (v4.0.8) Timing for
>@0.0.0.0 (normal) auth=0 init=0 clean=0
however I'm now running qpopper with '-R' to not require reverse
lookup, but the problem still persists
The firewall configuration seems to be ok:
>>ipfw list
>65535 allow ip from any to any
Any suggestions appreciated. There doesn't seem to be anything useful
in the logfiles that I can see.
Same problem occurs with version 4.0.8
Thanks,
Shay
--
=========================== Shay Telfer ===============================
Perth, Western Australia Technomancer The love of liberty is the love
Opinions for hire [POQ] of others; the love of power is
http://newtonslore.com/ fnord the love of ourselves - Hazlitt
Date: Mon, 16 Jun 2008 18:33:47 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Can't connect from non-localhost under Mac OS X 10.5.3?
At 5:02 PM +0800 6/12/08, Shay Telfer wrote:
> Hi...
>
> I've compiled qpopper 4.1b9 under Mac OS X 10.5.3 (Leopard).
>
> I can connect to the server fine from localhost:
>
>>> telnet localhost 110
>> Trying ::1...
>> telnet: connect to address ::1: Connection refused
>> Trying fe80::1...
>> telnet: connect to address fe80::1: Connection refused
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> +OK Qpopper (version 4.1b9) at botrytis-local.local starting.
>> QUIT
>> +OK Pop server at botrytis-local.local signing off.
>> Connection closed by foreign host.
>
> However, attempting the same from a different machine on the local
> network gives:
>
>>> telnet 192.168.0.12 110
>> Trying 192.168.0.12...
>> telnet: connect to address 192.168.0.12: Connection refused
>> telnet: Unable to connect to remote host
>
> I'm thinking the problem might be IPv6 related?
>
> qpopper is being launched by launchd
>
> Previously appfirewall.log was recording
>
>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Unable to
>> get canonical name of client 0.0.0.0: Unknown host (1)
>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Servicing
>> request from "0.0.0.0" at 0.0.0.0
>> Jun 9 00:59:14 botrytis-local popper[5131]: (v4.0.8) Timing for
>> @0.0.0.0 (normal) auth=0 init=0 clean=0
>
> however I'm now running qpopper with '-R' to not require reverse
> lookup, but the problem still persists
>
> The firewall configuration seems to be ok:
>>> ipfw list
>> 65535 allow ip from any to any
>
> Any suggestions appreciated. There doesn't seem to be anything
> useful in the logfiles that I can see.
>
> Same problem occurs with version 4.0.8
What if you disable the firewall, just to see if that fixes it?
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
I hate mankind, for I think myself one of the best of them,
and I know how bad I am. --Samuel Johnson
Date: Mon, 16 Jun 2008 18:30:53 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 4.0.14b1 available
Qpopper 4.0.14b1 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/>.
I believe this is good to go as 4.0.14, but I want to hear some
feedback before releasing it.
Please try this out and let me know. Thanks!
The full list of changes is in the distribution.
Changes from 4.0.13 to 4.0.14b1:
-------------------------------
1. Extra information in PAM trace code.
2. Fix warnings for duplicate strlcpy/strlcat symbols.
3. Fix duplicate 'install:' rule in password/Makefile.in.
4. Patch from Chavalam Ravindranath to fix crash using PAM.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
I loathe people who keep dogs. They are cowards who haven't got the
guts to bite people themselves. --August Strindberg
Date: Tue, 17 Jun 2008 23:33:31 +0800
From: Shay Telfer <shay at cygnus dot uwa dot edu dot au>
Subject: Re: Can't connect from non-localhost under Mac OS X 10.5.3?
Randall Gellens wrote:
> At 5:02 PM +0800 6/12/08, Shay Telfer wrote:
>
>> Hi...
>>
>> I've compiled qpopper 4.1b9 under Mac OS X 10.5.3 (Leopard).
>>
>> I can connect to the server fine from localhost:
>>
>>>> telnet localhost 110
>>> Trying ::1...
>>> telnet: connect to address ::1: Connection refused
>>> Trying fe80::1...
>>> telnet: connect to address fe80::1: Connection refused
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> +OK Qpopper (version 4.1b9) at botrytis-local.local starting.
>>> QUIT
>>> +OK Pop server at botrytis-local.local signing off.
>>> Connection closed by foreign host.
>>
>> However, attempting the same from a different machine on the
>>local network gives:
>>
>>>> telnet 192.168.0.12 110
>>> Trying 192.168.0.12...
>>> telnet: connect to address 192.168.0.12: Connection refused
>>> telnet: Unable to connect to remote host
>>
>> I'm thinking the problem might be IPv6 related?
>>
>> qpopper is being launched by launchd
>>
>> Previously appfirewall.log was recording
>>
>>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Unable to
>>>get canonical name of client 0.0.0.0: Unknown host (1)
>>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Servicing
>>>request from "0.0.0.0" at 0.0.0.0
>>> Jun 9 00:59:14 botrytis-local popper[5131]: (v4.0.8) Timing
>>>for @0.0.0.0 (normal) auth=0 init=0 clean=0
>>
>> however I'm now running qpopper with '-R' to not require reverse
>>lookup, but the problem still persists
>>
>> The firewall configuration seems to be ok:
>>>> ipfw list
>>> 65535 allow ip from any to any
>>
>> Any suggestions appreciated. There doesn't seem to be anything
>>useful in the logfiles that I can see.
>>
>> Same problem occurs with version 4.0.8
>
> What if you disable the firewall, just to see if that fixes it?
The same thing happens when the firewall is disabled (ipfw disable firewall)
Even with an explicitly granted rule (00100 allow ip from any to any
dst-port 110) only localhost can connect.
Thanks,
Shay
--
=========================== Shay Telfer ===============================
Perth, Western Australia Technomancer The love of liberty is the love
Opinions for hire [POQ] of others; the love of power is
http://newtonslore.com/ fnord the love of ourselves - Hazlitt
Date: Tue, 17 Jun 2008 17:27:17 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Can't connect from non-localhost under Mac OS X 10.5.3?
At 11:33 PM +0800 6/17/08, Shay Telfer wrote:
> Randall Gellens wrote:
>> At 5:02 PM +0800 6/12/08, Shay Telfer wrote:
>>
>>> Hi...
>>>
>>> I've compiled qpopper 4.1b9 under Mac OS X 10.5.3 (Leopard).
>>>
>>> I can connect to the server fine from localhost:
>>>
>>>>> telnet localhost 110
>>>> Trying ::1...
>>>> telnet: connect to address ::1: Connection refused
>>>> Trying fe80::1...
>>>> telnet: connect to address fe80::1: Connection refused
>>>> Trying 127.0.0.1...
>>>> Connected to localhost.
>>>> Escape character is '^]'.
>>>> +OK Qpopper (version 4.1b9) at botrytis-local.local starting.
>>>> QUIT
>>>> +OK Pop server at botrytis-local.local signing off.
>>>> Connection closed by foreign host.
>>>
>>> However, attempting the same from a different machine on the
>>> local network gives:
>>>
>>>>> telnet 192.168.0.12 110
>>>> Trying 192.168.0.12...
>>>> telnet: connect to address 192.168.0.12: Connection refused
>>>> telnet: Unable to connect to remote host
>>>
>>> I'm thinking the problem might be IPv6 related?
>>>
>>> qpopper is being launched by launchd
>>>
>>> Previously appfirewall.log was recording
>>>
>>>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Unable
>>>> to get canonical name of client 0.0.0.0: Unknown host (1)
>>>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8)
>>>> Servicing request from "0.0.0.0" at 0.0.0.0
>>>> Jun 9 00:59:14 botrytis-local popper[5131]: (v4.0.8) Timing
>>>> for @0.0.0.0 (normal) auth=0 init=0 clean=0
>>>
>>> however I'm now running qpopper with '-R' to not require
>>> reverse lookup, but the problem still persists
>>>
>>> The firewall configuration seems to be ok:
>>>>> ipfw list
>>>> 65535 allow ip from any to any
>>>
>>> Any suggestions appreciated. There doesn't seem to be anything
>>> useful in the logfiles that I can see.
>>>
>>> Same problem occurs with version 4.0.8
>>
>> What if you disable the firewall, just to see if that fixes it?
>
> The same thing happens when the firewall is disabled (ipfw disable firewall)
>
> Even with an explicitly granted rule (00100 allow ip from any to
> any dst-port 110) only localhost can connect.
I'm running 10.4 on my Macs, and they run Qpopper just fine,
including connecting from other hosts. With 4.1, they also accept
IPv6 connections.
As a test, please download the latest 4.1 distribution and try the following:
1. make realclean
2. ./configure --enable-debugging --enable-standalone
3. make
4. popper/popper -v
5. < verify that the output from the above is "Qpopper version
4.1b10 (standalone)" >
6. sudo popper/popper 8888 -t /tmp/pop.log
7. < from another machine > telnet 192.168.0.12 8888
After the test:
8. sudo killall popper
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Democracy is a form of government that substitutes election by the
incompetent many for appointment by the corrupt few.
--G. B. Shaw
Date: Thu, 19 Jun 2008 13:10:29 +0800
From: Shay Telfer <shay at cygnus dot uwa dot edu dot au>
Subject: Re: Can't connect from non-localhost under Mac OS X 10.5.3?
At 1:07 PM +0800 19/06/2008, Shay Telfer wrote:
>Randall Gellens wrote:
>> At 5:02 PM +0800 6/12/08, Shay Telfer wrote:
>>
>>> Hi...
>>>
>>> I've compiled qpopper 4.1b9 under Mac OS X 10.5.3 (Leopard).
>>>
>>> I can connect to the server fine from localhost:
>>>
>>>>> telnet localhost 110
>>>> Trying ::1...
>>>> telnet: connect to address ::1: Connection refused
>>>> Trying fe80::1...
>>>> telnet: connect to address fe80::1: Connection refused
>>>> Trying 127.0.0.1...
>>>> Connected to localhost.
>>>> Escape character is '^]'.
>>>> +OK Qpopper (version 4.1b9) at botrytis-local.local starting.
>>>> QUIT
>>>> +OK Pop server at botrytis-local.local signing off.
>>>> Connection closed by foreign host.
>>>
>>> However, attempting the same from a different machine on the
>>>local network gives:
>>>
>>>>> telnet 192.168.0.12 110
>>>> Trying 192.168.0.12...
>>>> telnet: connect to address 192.168.0.12: Connection refused
>>>> telnet: Unable to connect to remote host
>>>
>>> I'm thinking the problem might be IPv6 related?
>>>
>>> qpopper is being launched by launchd
>>>
>>> Previously appfirewall.log was recording
>>>
>>>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8) Unable
>>>>to get canonical name of client 0.0.0.0: Unknown host (1)
>>>> Jun 9 00:59:04 botrytis-local popper[5131]: (v4.0.8)
>>>>Servicing request from "0.0.0.0" at 0.0.0.0
>>>> Jun 9 00:59:14 botrytis-local popper[5131]: (v4.0.8) Timing
>>>>for @0.0.0.0 (normal) auth=0 init=0 clean=0
>>>
>>> however I'm now running qpopper with '-R' to not require reverse
>>>lookup, but the problem still persists
>>>
>>> The firewall configuration seems to be ok:
>>>>> ipfw list
>>>> 65535 allow ip from any to any
>>>
>>> Any suggestions appreciated. There doesn't seem to be anything
>>>useful in the logfiles that I can see.
>>>
>>> Same problem occurs with version 4.0.8
>>
>> What if you disable the firewall, just to see if that fixes it?
>
>The same thing happens when the firewall is disabled (ipfw disable firewall)
>
>Even with an explicitly granted rule (00100 allow ip from any to any
>dst-port 110) only localhost can connect.
>
>Thanks,
>Shay
Found the solution to my problem, I had
<key>SockNodeName</key>
<string>127.0.0.1</string>
in my launchd plist file (which I'd got from DarwinPorts). Removing
it allows me to connect on port 110 from other than localhost (yes,
obvious in retrospect!).
With much thanks to Randall Gellens for his assistance!
Have fun,
Shay
--
=========================== Shay Telfer ===============================
Perth, Western Australia Technomancer The love of liberty is the love
Opinions for hire [POQ] of others; the love of power is
http://newtonslore.com/ fnord the love of ourselves - Hazlitt
Date: Fri, 27 Jun 2008 14:52:48 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 4.1b11 available
Qpopper 4.1b11 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/>.
The full list of changes is in the distribution.
Changes from 4.1.b10 to 4.1.b11:
-------------------------------
1. Patch from Chavalam Ravindranath to fix crash using PAM.
2. Fix UINT4 definition when system md5.h is used.
Changes from 4.1.b9 to 4.1.b10:
------------------------------
1. Extra information in PAM trace code.
2. Fix warnings for duplicate strlcpy/strlcat symbols.
3. Fix duplicate 'install:' rule in password/Makefile.in.
4. Don't compile mktemp.c, md5.c, or base64.c unless needed.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Democracy is the theory that the common people know what they want and
deserve to get it good and hard.
--H. L. Mencken
Date: Fri, 27 Jun 2008 15:39:43 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 4.0.14 available
Qpopper 4.0.14 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/>.
There are no changes from 4.0.14b1.
The full list of changes is in the distribution.
Changes from 4.0.13 to 4.0.14:
-------------------------------
1. Extra information in PAM trace code.
2. Fix warnings for duplicate strlcpy/strlcat symbols.
3. Fix duplicate 'install:' rule in password/Makefile.in.
4. Patch from Chavalam Ravindranath to fix crash using PAM.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
[P]olitics, as a practice, whatever its professions, has always been
the systematic organization of hatreds.
--American historian Henry Adams
Date: Sun, 29 Jun 2008 18:43:33 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Qpopper 4.1b12 available
Qpopper 4.1b12 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/>.
The full list of changes is in the distribution.
Changes from 4.1.b11 to 4.1.b12:
-------------------------------
1. Patch from Doug Hardie to fix FreeBSD compilation problems.
2. use cache even if new mail arrived (based on patch from A'rpi).
3. New "conservative-cache" configuration file option to not use cache
if its modtime is older than that of the mail spool.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
It's the menace that everyone loves to hate but can't seem to
live without.
--Paddy Chayevsky, quoted in _Newsweek_, Nov. 22, 1976
From: "Sasa" <sasa at shoponweb dot it>
Subject: Standalone mode & performance
Date: Tue, 8 Jul 2008 22:45:35 +0200
Hi, I use Qpopper 4.0.9 on Fedora Core 5 and hardware resource are:
CPU: Intel Xeon 3.00 GHz
Memory: 3 GB RAM
Disk: two hard disk from 72.8 GB/10.000 RPM/WIDE ULTRA320 SCSI in RAID 1
I have about 700 users and from a few days I have a dramatic perfomace
problem because in some hours the queue increase in excess mode and I have
more 800 mails in spool directory !I use qpopper in standalone mode and I
use -s -R options:
[root@mail ~]# ps -ax|grep popper
19147 ? S 0:00 /usr/local/sbin/popper -s -R
..if popper service is stopped the queue are emptied in a few minutes.
I have read the documentation about 'Perfomance' but I haven't solution for
my problem, What can I do to solve my problem ?
Thanks in advance.
------
Salvatore.
From: "Sasa" <sasa at shoponweb dot it>
Subject: Re: Standalone mode & performance
Date: Tue, 8 Jul 2008 23:25:31 +0200
..my /etc/rc.d/init.d/popper is:
#!/bin/sh
. /etc/rc.d/init.d/functions
. /etc/sysconfig/network
[ ${NETWORKING} = "no" ] && exit 0
qpopper=/usr/local/sbin/popper
start() {
action $"Starting POP3 daemon:" $qpopper -s -R
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/qpopper
}
stop() {
action $"Stopping POP3 daemon:" killall popper
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/qpopper
}
RETVAL=0
case "$1" in
start)
# Start daemons.
start
;;
stop)
# Stop daemons.
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $prog {start|stop|restart}"
exit 1
esac
exit $RETVAL
Thanks.
------
Salvatore.
----- Original Message -----
From: "Sasa" <sasa@shoponweb.it>
To: "Subscribers of Qpopper" <qpopper@lists.pensive.org>
Sent: Tuesday, July 08, 2008 10:45 PM
Subject: Standalone mode & performance
> Hi, I use Qpopper 4.0.9 on Fedora Core 5 and hardware resource are:
>
> CPU: Intel Xeon 3.00 GHz
> Memory: 3 GB RAM
> Disk: two hard disk from 72.8 GB/10.000 RPM/WIDE ULTRA320 SCSI in RAID 1
>
> I have about 700 users and from a few days I have a dramatic perfomace
> problem because in some hours the queue increase in excess mode and I have
> more 800 mails in spool directory !I use qpopper in standalone mode and I
> use -s -R options:
>
> [root@mail ~]# ps -ax|grep popper
> 19147 ? S 0:00 /usr/local/sbin/popper -s -R
>
> ..if popper service is stopped the queue are emptied in a few minutes.
> I have read the documentation about 'Perfomance' but I haven't solution
> for my problem, What can I do to solve my problem ?
> Thanks in advance.
>
> ------
>
> Salvatore.
>
>
>
Date: Thu, 17 Jul 2008 09:55:17 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Standalone mode & performance
At 10:45 PM +0200 7/8/08, Sasa wrote:
> Hi, I use Qpopper 4.0.9 on Fedora Core 5 and hardware resource are:
>
> CPU: Intel Xeon 3.00 GHz
> Memory: 3 GB RAM
> Disk: two hard disk from 72.8 GB/10.000 RPM/WIDE ULTRA320 SCSI in RAID 1
>
> I have about 700 users and from a few days I have a dramatic
> perfomace problem because in some hours the queue increase in
> excess mode and I have more 800 mails in spool directory !I use
> qpopper in standalone mode and I use -s -R options:
>
> [root@mail ~]# ps -ax|grep popper
> 19147 ? S 0:00 /usr/local/sbin/popper -s -R
>
> ..if popper service is stopped the queue are emptied in a few minutes.
> I have read the documentation about 'Perfomance' but I haven't
> solution for my problem, What can I do to solve my problem ?
> Thanks in advance.
When you say you are experiencing "queue increase" you mean that
incoming mail builds up and is not delivered?
Is your system CPU-limited, memory-limited, or I/O-limited? That is,
if you use any kind of performance monitor, even just 'top', do you
see high load average and no idle CPU? Or, are you seeing excessive
pageouts?
Also, have you tried enabling server mode? As long as your users
don't access their mail using any sort of local program, it should be
OK. You can try also setting fast-update. See the "Performance" and
"Server Mode" text in the GUIDE.pdf file.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
Experience is that marvelous thing that enables you recognize a
mistake when you make it again.
From: "Sasa" <sasa at shoponweb dot it>
Subject: Re: Standalone mode & performance
Date: Fri, 18 Jul 2008 16:03:53 +0200
Hi,
I have read the GUIDE.pdf file about Performance and Server Mode but I did
not understand how can I make a fast upgrade to server mode, I have some
doubts also because it is a production server.
Thanks in advance.
------
Salvatore.
----- Original Message -----
From: "Randall Gellens" <randy@qualcomm.com>
To: "Sasa" <sasa@shoponweb.it>; "Subscribers of Qpopper"
<qpopper@lists.pensive.org>
Sent: Thursday, July 17, 2008 6:55 PM
Subject: Re: Standalone mode & performance
> At 10:45 PM +0200 7/8/08, Sasa wrote:
>
>> Hi, I use Qpopper 4.0.9 on Fedora Core 5 and hardware resource are:
>>
>> CPU: Intel Xeon 3.00 GHz
>> Memory: 3 GB RAM
>> Disk: two hard disk from 72.8 GB/10.000 RPM/WIDE ULTRA320 SCSI in RAID 1
>>
>> I have about 700 users and from a few days I have a dramatic perfomace
>> problem because in some hours the queue increase in excess mode and I
>> have more 800 mails in spool directory !I use qpopper in standalone mode
>> and I use -s -R options:
>>
>> [root@mail ~]# ps -ax|grep popper
>> 19147 ? S 0:00 /usr/local/sbin/popper -s -R
>>
>> ..if popper service is stopped the queue are emptied in a few minutes.
>> I have read the documentation about 'Perfomance' but I haven't solution
>> for my problem, What can I do to solve my problem ?
>> Thanks in advance.
>
> When you say you are experiencing "queue increase" you mean that incoming
> mail builds up and is not delivered?
>
> Is your system CPU-limited, memory-limited, or I/O-limited? That is, if
> you use any kind of performance monitor, even just 'top', do you see high
> load average and no idle CPU? Or, are you seeing excessive pageouts?
>
> Also, have you tried enabling server mode? As long as your users don't
> access their mail using any sort of local program, it should be OK. You
> can try also setting fast-update. See the "Performance" and "Server Mode"
> text in the GUIDE.pdf file.
>
> --
> Randall Gellens
> Opinions are personal; facts are suspect; I speak for myself only
> -------------- Randomly-selected tag: ---------------
> Experience is that marvelous thing that enables you recognize a
> mistake when you make it again.
>
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re: Standalone mode & performance
Date: Fri, 18 Jul 2008 20:15:07 -0700
On Jul 18, 2008, at 07:03, Sasa wrote:
> Hi,
> I have read the GUIDE.pdf file about Performance and Server Mode but
> I did not understand how can I make a fast upgrade to server mode, I
> have some doubts also because it is a production server.
> Thanks in advance.
Update the configuration file to the desired values. If you have it
running from inet it will just read the new values the next time it is
called and use them. There is no real down time.
Date: Fri, 18 Jul 2008 11:41:08 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Standalone mode & performance
At 4:03 PM +0200 7/18/08, Sasa wrote:
> I have read the GUIDE.pdf file about Performance and Server Mode
> but I did not understand how can I make a fast upgrade to server
> mode, I have some doubts also because it is a production server.
> Thanks in advance.
If all of your users only retrieve mail through Qpopper, then you
simply enable server mode in your configuration. That's all there is
to it. No upgrade needed.
If you have some users who access their mail using other programs
(such as UW IMAP or shell programs), then you can enable server mode
by default, and use a per-user configuration file to turn off server
mode for just those users.
If you'd feel more comfortable easing into server mode, then use a
per-user configuration file and enable server mode for just a few
users at a time and satisfy yourself that all is well. Although
there is not any need to do this, as server mode is just a way for
Qpopper to access the mail, it isn't something that requires an
upgrade. But it is an option if you are nervous.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
I find that a great part of the information I have was acquired by
looking up something and finding something else on the way.
--Franklin P. Adams (1881-1960)
From: "Sasa" <sasa at shoponweb dot it>
ive.org>
Subject: Re: Standalone mode & performance
Date: Wed, 23 Jul 2008 13:54:28 +0200
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Virus-Scanned: Maia Mailguard 1.0.1
"Randall Gellens" wrote:
> If all of your users only retrieve mail through Qpopper, then you simply
> enable server mode in your configuration. That's all there is to it. No
> upgrade needed.
When I have installed qpopper I have used --enable-standalone option:
./configure --enable-standalone
..and qpopper on boot is started with this script:
#!/bin/sh
#
. /etc/rc.d/init.d/functions
. /etc/sysconfig/network
[ ${NETWORKING} = "no" ] && exit 0
qpopper=/usr/local/sbin/popper
start() {
action $"Starting POP3 daemon:" $qpopper -s -R
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/qpopper
}
stop() {
action $"Stopping POP3 daemon:" killall popper
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/qpopper
}
RETVAL=0
case "$1" in
start)
# Start daemons.
start
;;
stop)
# Stop daemons.
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $prog {start|stop|restart}"
exit 1
esac
exit $RETVAL
start
..and I have:
[root@mail ~]# ps -ax|grep popper
19147 ? S 0:00 /usr/local/sbin/popper -s -R
..now for to enable server-mode in my configuration what parameter I must
modify ?
Thanks in advance.
------
Salvatore.
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re:
Date: Wed, 23 Jul 2008 15:31:07 -0700
<239426881718400531900@lists.pensive.org>
X-Mailer: Apple Mail (2.926)
X-Virus-Scanned: ClamAV 0.92.1/7805/Wed Jul 23 14:27:56 2008 on zoom.lafn.org
X-Virus-Status: Clean
Add -S to the start line: $qpopper -s -R
On Jul 23, 2008, at 04:57, Sasa wrote:
>
> ive.org>
> Subject: Re: Standalone mode & performance
> Date: Wed, 23 Jul 2008 13:54:28 +0200
> MIME-Version: 1.0
> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-
> type=response
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2900.5512
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
> X-Virus-Scanned: Maia Mailguard 1.0.1
>
> "Randall Gellens" wrote:
>> If all of your users only retrieve mail through Qpopper, then you
>> simply
>> enable server mode in your configuration. That's all there is to
>> it. No
>> upgrade needed.
>
> When I have installed qpopper I have used --enable-standalone option:
>
> ./configure --enable-standalone
>
> ..and qpopper on boot is started with this script:
>
> #!/bin/sh
> #
> . /etc/rc.d/init.d/functions
> . /etc/sysconfig/network
> [ ${NETWORKING} = "no" ] && exit 0
> qpopper=/usr/local/sbin/popper
> start() {
> action $"Starting POP3 daemon:" $qpopper -s -R
> RETVAL=$?
> [ $RETVAL -eq 0 ] && touch /var/lock/subsys/qpopper
> }
> stop() {
> action $"Stopping POP3 daemon:" killall popper
> RETVAL=$?
> [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/qpopper
> }
>
> RETVAL=0
> case "$1" in
> start)
> # Start daemons.
> start
> ;;
> stop)
> # Stop daemons.
> stop
> ;;
> restart)
> stop
> start
> ;;
> *)
> echo $"Usage: $prog {start|stop|restart}"
> exit 1
> esac
> exit $RETVAL
> start
>
> ..and I have:
>
> [root@mail ~]# ps -ax|grep popper
> 19147 ? S 0:00 /usr/local/sbin/popper -s -R
>
> ..now for to enable server-mode in my configuration what parameter I
> must
> modify ?
> Thanks in advance.
>
> ------
>
> Salvatore.
>
>
>
Date: Thu, 04 Sep 2008 23:41:29 +0200
From: Martin Kellermann <kellermann at sk-datentechnik dot com>
Subject: error in pop.log
hi,
this is the first time i see this error - i've been using qpopper for
many years on
lots of different machines. it only has come up one single time:
-ERR [SYS/TEMP] maillock error 'Max tries exceeded' (4) on
'/var/mail/xxx': File exists (17)
what does this mean?
why the "file exists" ???
same mailbox was polled 2 minutes later without an error... :-|
thanks
MK
Date: Thu, 04 Sep 2008 21:52:08 -0500
From: Butch Kemper <kemper at tstar dot net>
Subject: Re: error in pop.log
When the mail program goes to deliver the message, the mailbox is
locked to avoid multiple programs concurrently updating the box.
Qpopper attempts to gain control of the mailbox using the locking
procedure. If Qpopper is unable to acquire the lock, a number of
retries is attempted. If control is not obtained, the error message
is issued and the Qpopper session is terminated.
Later Qpopper was able to get the lock and the download was completed.
Sounds like the some program acquired the mail lock and then was slow
about updating the file and releasing the lock.
Butch
At 04:41 PM 9/4/2008, you wrote:
>hi,
>
>this is the first time i see this error - i've been using qpopper
>for many years on
>lots of different machines. it only has come up one single time:
>
> -ERR [SYS/TEMP] maillock error 'Max tries exceeded' (4) on
> '/var/mail/xxx': File exists (17)
>
>what does this mean?
>why the "file exists" ???
>same mailbox was polled 2 minutes later without an error... :-|
>
>thanks
>
>MK
>
Date: Mon, 8 Sep 2008 16:19:10 -0600
From: The Doctor <doctor at doctor dot nl2k dot ab dot ca>
Subject: Weird SSL error
Right, I have to use a backup server, however
I have configured accordingly but I am getting:
Sep 8 16:18:21 doctor popper[21244]: Expected comment or end of line; found "" at line 3 of config file /etc/mail/pop/qpopper.config [pop_config.c:1637]
What is the cause of this?
--
Member - Liberal International
This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising! Canada vote anything but
Conservative on 14 OCt 2008, join us at http://www.harpocrit.ca .
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re: Weird SSL error
Date: Mon, 8 Sep 2008 17:53:52 -0700
On Sep 8, 2008, at 15:19, The Doctor wrote:
> Right, I have to use a backup server, however
> I have configured accordingly but I am getting:
>
> Sep 8 16:18:21 doctor popper[21244]: Expected comment or end of
> line; found "" at line 3 of config file /etc/mail/pop/qpopper.config
> [pop_config.c:1637]
>
>
> What is the cause of this?
Depends on what is in the qpopper.config file.
Date: Mon, 08 Sep 2008 18:20:13 -0500
From: Butch Kemper <kemper at tstar dot net>
Subject: Re: Weird SSL error
The error message tell you that the line 3 of the config file
contains an error.
So what does the config file look like?
Butch
At 05:19 PM 9/8/2008, The Doctor wrote:
>Right, I have to use a backup server, however
>I have configured accordingly but I am getting:
>
>Sep 8 16:18:21 doctor popper[21244]: Expected comment or end of
>line; found "" at line 3 of config file /etc/mail/pop/qpopper.config
>[pop_config.c:1637]
>
>
>What is the cause of this?
>
>--
>Member - Liberal International
>This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
>God, Queen and country! Beware Anti-Christ rising! Canada vote anything but
>Conservative on 14 OCt 2008, join us at http://www.harpocrit.ca .
>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
Date: Mon, 8 Sep 2008 17:38:50 -0600
From: The Doctor <doctor at doctor dot nl2k dot ab dot ca>
Subject: Re: Weird SSL error
On Mon, Sep 08, 2008 at 06:20:13PM -0500, Butch Kemper wrote:
>
> The error message tell you that the line 3 of the config file contains an
> error.
>
> So what does the config file look like?
>
> Butch
>
> At 05:19 PM 9/8/2008, The Doctor wrote:
>> Right, I have to use a backup server, however
>> I have configured accordingly but I am getting:
>>
>> Sep 8 16:18:21 doctor popper[21244]: Expected comment or end of line;
>> found "" at line 3 of config file /etc/mail/pop/qpopper.config
>> [pop_config.c:1637]
>>
>>
>> What is the cause of this?
>>
>> --
>> Member - Liberal International
>> This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
>> God, Queen and country! Beware Anti-Christ rising! Canada vote anything but
>> Conservative on 14 OCt 2008, join us at http://www.harpocrit.ca .
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
/etc/mail/pop/qpopper.config
--
set tls-support = alternate-port
set tls-options = 0x00000800
set tls-server-cert-file = /etc/mail/pop/pop3.nk.ca.2008.crt
set tls-private-key-file = /etc/mail/pop/pop3.nk.ca.2008.key
set config-file = /etc/mail/pop/qpopper-tls.config
--
Member - Liberal International
This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising! Canada vote anything but
Conservative on 14 OCt 2008, join us at http://www.harpocrit.ca .
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re: Weird SSL error
Date: Tue, 9 Sep 2008 00:16:07 -0700
On Sep 8, 2008, at 16:38, The Doctor wrote:
> On Mon, Sep 08, 2008 at 06:20:13PM -0500, Butch Kemper wrote:
>>
>> The error message tell you that the line 3 of the config file
>> contains an
>> error.
>>
>> So what does the config file look like?
>>
>> /etc/mail/pop/qpopper.config
> --
>
>
> set tls-support = alternate-port
> set tls-options = 0x00000800
> set tls-server-cert-file = /etc/mail/pop/pop3.nk.ca.2008.crt
> set tls-private-key-file = /etc/mail/pop/pop3.nk.ca.2008.key
> set config-file = /etc/mail/pop/qpopper-tls.config
Version 4.0 and earlier have an issue with spaces and quotes around
file names. I no longer remember the specifics on which work and
which do not (It appears to be corrected in 4.1). Remove the spaces
around the file names first and if that doesn't solve it, add double
quotes around the file name. Also, I don't find any reference to the
tls-options entry in the qpopper admin guide. Are you sure thats a
valid config command?
Date: Tue, 9 Sep 2008 07:25:36 -0600
From: The Doctor <doctor at doctor dot nl2k dot ab dot ca>
Subject: Re: {?} Re: Weird SSL error
On Mon, Sep 08, 2008 at 05:53:52PM -0700, Doug Hardie wrote:
>
> On Sep 8, 2008, at 15:19, The Doctor wrote:
>
>> Right, I have to use a backup server, however
>> I have configured accordingly but I am getting:
>>
>> Sep 8 16:18:21 doctor popper[21244]: Expected comment or end of line;
>> found "" at line 3 of config file /etc/mail/pop/qpopper.config
>> [pop_config.c:1637]
>>
>>
>> What is the cause of this?
>
> Depends on what is in the qpopper.config file.
>
Again /etc/mail/pop/qpopper.config
--
set tls-support = alternate-port
set tls-options = 0x00000800
set tls-server-cert-file = /etc/mail/pop/pop3.nk.ca.2008.crt
set tls-private-key-file = /etc/mail/pop/pop3.nk.ca.2008.key
set config-file = /etc/mail/pop/qpopper-tls.config
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
--
Member - Liberal International
This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising! Canada vote anything but
Conservative on 14 OCt 2008, join us at http://www.harpocrit.ca .
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
From: Doug Hardie <bc979 at lafn dot org>
Subject: Re: {?} Re: Weird SSL error
Date: Tue, 9 Sep 2008 20:06:34 -0700
On Sep 9, 2008, at 06:25, The Doctor wrote:
> On Mon, Sep 08, 2008 at 05:53:52PM -0700, Doug Hardie wrote:
>>
>> On Sep 8, 2008, at 15:19, The Doctor wrote:
>>
>>> Right, I have to use a backup server, however
>>> I have configured accordingly but I am getting:
>>>
>>> Sep 8 16:18:21 doctor popper[21244]: Expected comment or end of
>>> line;
>>> found "" at line 3 of config file /etc/mail/pop/qpopper.config
>>> [pop_config.c:1637]
>>>
>>>
>>> What is the cause of this?
>>
>> Depends on what is in the qpopper.config file.
>>
>
> Again /etc/mail/pop/qpopper.config
> --
>
>
> set tls-support = alternate-port
> set tls-options = 0x00000800
> set tls-server-cert-file = /etc/mail/pop/pop3.nk.ca.2008.crt
> set tls-private-key-file = /etc/mail/pop/pop3.nk.ca.2008.key
> set config-file = /etc/mail/pop/qpopper-tls.config
Again I don't find any indications of a tls-options variable in the
qpopper guide. Also, spaces and quotes may be causing the problem
with the file name. Try removing the spaces and adding double quotes
around the file names. There are issues with the current qpopper with
file names that I believe are corrected in 4.1 which has not been
released yet.
Date: Fri, 12 Sep 2008 15:57:08 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Weird SSL error
At 12:16 AM -0700 9/9/08, Doug Hardie wrote:
> On Sep 8, 2008, at 16:38, The Doctor wrote:
>
>> On Mon, Sep 08, 2008 at 06:20:13PM -0500, Butch Kemper wrote:
>>>
>>> The error message tell you that the line 3 of the config file contains an
>>> error.
>>>
>>> So what does the config file look like?
>>>
>>> /etc/mail/pop/qpopper.config
>> --
>>
>>
>> set tls-support = alternate-port
>> set tls-options = 0x00000800
>> set tls-server-cert-file = /etc/mail/pop/pop3.nk.ca.2008.crt
>> set tls-private-key-file = /etc/mail/pop/pop3.nk.ca.2008.key
>> set config-file = /etc/mail/pop/qpopper-tls.config
>
> Version 4.0 and earlier have an issue with spaces and quotes around
> file names. I no longer remember the specifics on which work and
> which do not (It appears to be corrected in 4.1). Remove the
> spaces around the file names first and if that doesn't solve it,
> add double quotes around the file name.
Hi Doug,
This is good advice.
To "The Doctor": please try what Doug suggests and let us know if you
still have a problem. Or, upgrade to Qpopper 4.1, which fixed the
problem.
> Also, I don't find any reference to the tls-options entry in the
> qpopper admin guide. Are you sure thats a valid config command?
It's in the /current/ Admin Guide, but hasn't made it to the 4.1
branch yet, sorry about that. It's also the samples/qpopper.config
file for all three branches:
# This option allows various OpenSSL options to be set. OpenSSL
# options are individual bits that control various work-arounds.
#
# The bit values are listed in openssl/ssl.h, and start with SSL_OP_.
# You must specify the actual value of the bit(s) you want to set,
# not the OpenSSL mnemonic.
#
# For example, to set SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS, set
# tls-options to 0x00000800.
#
# Note that unlike other options, if you set this option more than
# once, the values are added together. For example, if you set
# tls-options to 0x01, and then later set it to 0x10, it gets set to
# 0x11. This makes is somewhat more convenient to set various SSL
# options without having to manually add them together.
#
# Only valid if '--with-openssl' used with ./configure
#
# Default: 0
#
# set tls-options = 0
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
History is strewn thick with evidence that truth is not hard to kill,
but a lie, well told, is immortal.
--Mark Twain
From: James Medley <jmedley at aesrg dot tamu dot edu>
Subject: Mac question
Date: Wed, 24 Sep 2008 09:43:24 -0500
My last install of qpopper (v. 4.0.9) was on a Mac PowerPC G5 - 1.8
GHz - OS 10.4.9. All is fine with that system, but I am now looking to
setup an Intel Mac with Postfix/Qpopper. Any suggestions on which
version of qpopper will run best on an Intel Mac, or is there any
difference? Oh, and where do download the latest version. Thanks Much,
Jim
Date: Wed, 24 Sep 2008 13:34:17 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Mac question
At 9:43 AM -0500 9/24/08, James Medley wrote:
> My last install of qpopper (v. 4.0.9) was on a Mac PowerPC G5 - 1.8
> GHz - OS 10.4.9. All is fine with that system, but I am now looking
> to setup an Intel Mac with Postfix/Qpopper. Any suggestions on
> which version of qpopper will run best on an Intel Mac, or is there
> any difference? Oh, and where do download the latest version.
> Thanks Much, Jim
I'd recommend 4.1 unless you're really uncomfortable with a beta.
4.1 has IPv6 and other new features, a rewritten configuration file
parsing, and better support for more versions of Unix.
Regardless of whether you run 4.1 or 4.0, I'd advice using the latest
release of either.
Qpopper 4.0 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/>.
Qpopper 4.1 is available at
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/>.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
The first ninety percent of the task takes ninety percent of
the time, and the last ten percent takes the other ninety percent.
Date: Wed, 24 Sep 2008 15:21:02 -0700
From: Kelson <kelson at speed dot net>
Subject: Stuck processes from iPhone users
Lately I've been seeing popper processes sticking around on our server
for days. Always the same few users, often several processes per user.
Their .pop files have already been deleted, so they aren't preventing
new connections, but they have been cluttering things up.
I tracked them to iPhone users. It doesn't happen on every POP, maybe
once every day or two.
We're using popper via xinetd so that we can run both STARTTLS and the
alternate-port SSL connection. At first I thought it was specific to
the alternate-port SSL, since those were the only ones that showed up,
but after asking one user to switch to STARTTLS, it's still happening.
Qpopper 4.0.14 on x86 Linux. server-mode and fast-update enabled. I'm
reluctant to install the 4.1 beta, since it's working otherwise, but
I'll consider it if there's a relevant fix.
Has anyone else seen this sort of thing? Any suggestions?
--
Kelson Vibber
SpeedGate Communications <www.speed.net>
Date: Fri, 26 Sep 2008 17:36:42 -0700
From: Randall Gellens <randy at qualcomm dot com>
Subject: Re: Stuck processes from iPhone users
At 3:21 PM -0700 9/24/08, Kelson wrote:
> Lately I've been seeing popper processes sticking around on our
> server for days. Always the same few users, often several
> processes per user. Their .pop files have already been deleted, so
> they aren't preventing new connections, but they have been
> cluttering things up.
>
> I tracked them to iPhone users. It doesn't happen on every POP,
> maybe once every day or two.
>
> We're using popper via xinetd so that we can run both STARTTLS and
> the alternate-port SSL connection. At first I thought it was
> specific to the alternate-port SSL, since those were the only ones
> that showed up, but after asking one user to switch to STARTTLS,
> it's still happening.
>
> Qpopper 4.0.14 on x86 Linux. server-mode and fast-update enabled.
> I'm reluctant to install the 4.1 beta, since it's working
> otherwise, but I'll consider it if there's a relevant fix.
>
> Has anyone else seen this sort of thing? Any suggestions?
I'd be interested to know what state these processes are in, and what
they did up to the point where they hang.
How heavy is the activity from any of the affected users? If it's
feasible, I'd really like to see Qpopper tracing and kernel tracing
(e.g., ktrace) of an affected session. You can use a per-user
configuration file to enable tracing for just one user, for example.
Kernal tracing is harder to do per-user, unless you can get a user to
switch to a different port.
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly-selected tag: ---------------
The forceps of our mind are clumsy things and crush the truth a little
in the course of taking hold of it.
--H.G. Wells
Last updated on 26 Sep 2008 by Pensive Mailing List Admin