qpopper-request | 1 Aug 2005 09:02
Favicon

Qpopper Monthly Help File

         M O N T H L Y   Q P O P P E R   L I S T   H E L P

Addresses:
----------

Email addresses for this particular list server:

  List server:           qpopper-request <at> lists.pensive.org
  Everyone on the list:  qpopper <at> lists.pensive.org
  Human in charge:       listmaster <at> lists.pensive.org

Virtually,
The List Server Admin <listmaster <at> lists.pensive.org>

Randall Gellens | 3 Aug 2005 18:37

Re: PAM Authentication - For the record

At 3:01 PM -0500 5/19/05, James Medley wrote:

Hello All: Earlier today I sent the email shown below and thanks to Daniel's advise of comparing the pam.d/pop3 file with other pam.d files, I found a solution. The file qpopper4.0.7/doc/mac said...

Now you need an entry in /etc/pam.d/ for pop3.  Copy the sample pam
configuration file from the 'samples' directory to the '/etc/pam.d'
directory by entering the following commands.  Or skip these commands
and use 'make install' do it for you.
 sudo sh -c 'umask 0077; cp samples/qpopper.pam /etc/pam.d/pop3'

This did not work.

What specific errors did you get?  What did the Qpopper debug trace show?


 I instead copied the file pam.d/imap (which already included pop3) and added the word 'login' on the top line so it reads....

# pop3, imap, smtp, login : auth account password session
auth       required       pam_nologin.so
auth       sufficient     pam_securityserver.so
auth       sufficient     pam_unix.so
auth       required       pam_deny.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_uwtmp.so

I'm glad to say qpopper4.0.7 is up and running on an iMac G5, OS 10.4. Thanks to all, Jim


At 9:00 AM -0500 5/19/05, James Medley wrote:
Hello All: I have installed Qpopper4.0.7 (enable-standalone) on an iMac G5 (OS 10.4). I followed the instructions giving in doc/mac and am having a problem with PAM authentication. I can start qpopper and give my user name but when trying my password I get; PAM authentication failed for user "jmedley" : Authentication failure (7) +OK Pop server at bmt-002.tamu.edu signing off.
Connection closed by foreign host. It acts as if I am using the wrong password. How do I setup users and passwords for qpopper? In the past I just use system prefs 'accounts'. Thanks for the help, Jim

--


-- --
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
There are some micro-organisms that exhibit characteristics of
both plants and animals.  When exposed to light they undergo
photosynthesis; and when the lights go out, they turn into
animals.  But then again, don't we all?
Luciana Regina Lemos | 3 Aug 2005 20:01
Picon
Picon

remove


Randall Gellens | 3 Aug 2005 18:43

Qpopper 4.1a2 available

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

The full list of changes from one release to the next is on the FTP 
site, at 
<ftp://ftp.qualcomm.com/eudora/servers/unix/popper/beta/Changes>.

Note that this is an alpha release, and contains all code which has 
gone into the main codeline (/current/) that didn't make it into 4.0.

Everyone is encouraged to play with it, contribute more code, etc.
--

-- 
Randall Gellens
Opinions are personal;    facts are suspect;    I speak for myself only
-------------- Randomly-selected tag: ---------------
Far out in the uncharted backwaters of the unfashionable end of
the Western Spiral arm of the Galaxy lies a small unregarded
yellow sun.  Orbiting this at a distance of roughly ninety-eight
million miles is an utterly insignificant little blue-green
planet whose ape-descended life forms are so amazingly primitive
that they still think digital watches are a pretty neat idea....
        --Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

Martin Kellermann | 12 Aug 2005 17:59

qpopper 4.0.8 + mysql

hi list,

is there a patch for qpopper 4.0.8 to support mysql auth?
what i found is: 
http://www.asteroid-b612.org/software/qpopper-mysql/qpopper-mysql-0.14.patch
but unfortunately it is for version 4.0.5 ...
or, does it work for 4.0.8 ?

i use qpopper for lots of years now....simply wonderful.
but some mysql support would be fine...

thanks for you hints..

MK

Daniel Senie | 12 Aug 2005 18:44

Re: qpopper 4.0.8 + mysql

At 11:59 AM 8/12/2005, Martin Kellermann wrote:
>hi list,
>
>is there a patch for qpopper 4.0.8 to support mysql auth?
>what i found is: 
>http://www.asteroid-b612.org/software/qpopper-mysql/qpopper-mysql-0.14.patch
>but unfortunately it is for version 4.0.5 ...
>or, does it work for 4.0.8 ?
>
>i use qpopper for lots of years now....simply wonderful.
>but some mysql support would be fine...
>
>thanks for you hints..

That patch set appears to add more than just mysql. I'd like to have 
a discussion and invite the patch author, preferably on the 
developers list, about integrating such support. I agree it would be 
useful, and would prefer to see the capabilities merged into the 
mainline code once it's been integrated and tested.

Dan 

Ken A | 13 Aug 2005 00:36
Favicon

Re: qpopper 4.0.8 + mysql

An alternative to patching qpopper is pam_mysql, which works fine with 
4.08. Just configure qpopper --with-pam and setup /etc/pam.d/pop3 to use 
pam_mysql.so. This makes upgrades a bit less painful.

Ken

Martin Kellermann wrote:
> hi list,
> 
> is there a patch for qpopper 4.0.8 to support mysql auth?
> what i found is: 
> http://www.asteroid-b612.org/software/qpopper-mysql/qpopper-mysql-0.14.patch 
> 
> but unfortunately it is for version 4.0.5 ...
> or, does it work for 4.0.8 ?
> 
> i use qpopper for lots of years now....simply wonderful.
> but some mysql support would be fine...
> 
> thanks for you hints..
> 
> MK
> 
> 

Daniel Senie | 13 Aug 2005 01:47

Re: qpopper 4.0.8 + mysql

At 06:36 PM 8/12/2005, Ken A wrote:
>An alternative to patching qpopper is pam_mysql, which works fine 
>with 4.08. Just configure qpopper --with-pam and setup 
>/etc/pam.d/pop3 to use pam_mysql.so. This makes upgrades a bit less painful.

I like the sound of that!

Perhaps all we need at this point is some text for the documentation, 
rather than software work :)

>Dan
>
>Martin Kellermann wrote:
>>hi list,
>>is there a patch for qpopper 4.0.8 to support mysql auth?
>>what i found is: 
>>http://www.asteroid-b612.org/software/qpopper-mysql/qpopper-mysql-0.14.patch
>>but unfortunately it is for version 4.0.5 ...
>>or, does it work for 4.0.8 ?
>>i use qpopper for lots of years now....simply wonderful.
>>but some mysql support would be fine...
>>thanks for you hints..
>>MK

Martin Kellermann | 15 Aug 2005 13:40

Re: qpopper 4.0.8 + mysql

thanks for the hint, i will try pam_mysql the next days...

another question:
is there a known way/patch to get qpopper 4.0.8 work with the cyrus-sasl2 lib?

thank you

MK

At 01:47 13.08.2005, you wrote:
>At 06:36 PM 8/12/2005, Ken A wrote:
>>An alternative to patching qpopper is pam_mysql, which works fine 
>>with 4.08. Just configure qpopper --with-pam and setup 
>>/etc/pam.d/pop3 to use pam_mysql.so. This makes upgrades a bit less painful.
>
>I like the sound of that!
>
>Perhaps all we need at this point is some text for the 
>documentation, rather than software work :)
>
>>Dan
>>
>>Martin Kellermann wrote:
>>>hi list,
>>>is there a patch for qpopper 4.0.8 to support mysql auth?
>>>what i found is: 
>>>http://www.asteroid-b612.org/software/qpopper-mysql/qpopper-mysql-0.14.patch
>>>but unfortunately it is for version 4.0.5 ...
>>>or, does it work for 4.0.8 ?
>>>i use qpopper for lots of years now....simply wonderful.
>>>but some mysql support would be fine...
>>>thanks for you hints..
>>>MK

Martin Kellermann | 15 Aug 2005 15:48

Re: qpopper 4.0.8 + mysql

hi Ken,

i was too curious and tried qpopper/PAM/mysql.
it is up and running... thanks!

but there is one strange behaviour which i cant explain...
users are ONLY authentivated if they have a local account (etc/passwd)!?

so, maybe my question is a bit offtopic, but i think it is maybe a 
qpopper or config problem.

case 1:
- local user named "test" has local password "test"
- mysql database has username "test" and password "otherthantest"
- qpopper/pam authenticates the user correct when logging in with 
user "test" and pass "otherthantest"
- pam_mysql syslogs without errors, everything is fine

case 2:
- no local user test exists
- mysql database has username "test" and password "otherthantest"
- qpopper/pam DOES NOT authenticate the user logging in with user 
"test" and pass "otherthantest"
- pam_mysql syslogs shows NOTHING !
it appears that, when there is no corresponding local user, the whole 
PAM mechanism isnt started...

i configured qpopper with:
./configure --prefix=/usr --sysconfdir=/etc --enable-shy --with-pam=pop3

my /etc/pam.conf is this:
pop3 auth required pam_mysql.so verbose=1 host=localhost db=* table=* 
user=* passwd=* usercolumn=* passwdcolumn=* where=active=1 crypt=0
pop3 account required pam_mysql.so verbose=1 host=localhost db=* 
table=* user=* passwd=* usercolumn=* passwdcolumn=* where=active=1 crypt=0

any ideas?
is there a way to tell qpopper to ONLY use PAM for authentication?

thanks in advance

MK

At 00:36 13.08.2005, you wrote:
>An alternative to patching qpopper is pam_mysql, which works fine 
>with 4.08. Just configure qpopper --with-pam and setup 
>/etc/pam.d/pop3 to use pam_mysql.so. This makes upgrades a bit less painful.
>
>Ken
>
>
>Martin Kellermann wrote:
>>hi list,
>>is there a patch for qpopper 4.0.8 to support mysql auth?
>>what i found is: 
>>http://www.asteroid-b612.org/software/qpopper-mysql/qpopper-mysql-0.14.patch
>>but unfortunately it is for version 4.0.5 ...
>>or, does it work for 4.0.8 ?
>>i use qpopper for lots of years now....simply wonderful.
>>but some mysql support would be fine...
>>thanks for you hints..
>>MK


Gmane