Enable Statistics Logging and pam.d

James Medley <[email protected]>
Newsgroups gmane.mail.qpopper
Message-ID <[email protected]>
I have been trying to Enable Statistics Logging for qpopper on a Mac  
OS 10.4.9 and one of the suggestions I received said to configure  
qpopper in standalone mode (see below). I thought that since I was  
going to re-configure qpopper I would just used the latest version  
(4.1a5). After configuring in standalone mode, I restarted everything  
and was unable to authenticate (pam). Looking at the pop3 file in  
pam.d I saw;

# pop3 : auth account
auth required pam_nologin.so
auth sufficient pam_unix.so
auth required pam_deny.so
account required pam_permit.so

I remembered from sometime back that I had taken one of the other  
files in pam.d and used it for pop3 to make it work. This time I used  
the imap file from pam.d and changed out imap with pop3. After doing  
this everything worked.

# pop3 : 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

Through the process of elimination I found that the "auth sufficient  
pam_securityserver.so" line had to be in there for it to work.

Thanks,
Jim

PS.  I still haven't gotten statistics logging to work.

> I had the same problem on MacOS X 10.3, it was resolved by using
> standalone mode rather than running popper from xinetd.
>
> Best wishes,
> Damon
>
> On 12/05/07, James Medley <[email protected]> wrote:
>
>> Hi All,
>>
>> I have a small mail server running on a Mac G5 desktop OS X  
>> 10.4.9, using
>> postfix 2.1.5 and qpopper 4.0.9. I am trying to enable statistics  
>> logging
>> and haven't had any luck. The earlier versions of OS X worked off  
>> of an
>> inetd.conf file where I put in;
>> #pop3   stream  tcp     nowait  root    /usr/libexec/tcpd
>> /usr/libexec/popper qpopper -s
>> But the newer OS uses xinetd and I'm not sure how to enable the  
>> logging. Can
>> someone please put me on the right path.
>>
>> Thanks Much,
>> Jim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.