I am trying to secure access to my pop3 server using pam_listfile.so.

I think I have everything set up correctly.  When I attempt to log
into my pop3 server using an account not on the list I get the
following message in my log:
Aug 05 07:53:40 rich64 authdaemond: pam_listfile(pop3:auth):
Refused user rich for service pop3

However, my pop3 session gives me +OK logged in and it allows me to
run LIST/etc.

Here is my pam config:
auth            required        pam_listfile.so onerr=fail item=user
sense=allow file=/etc/courier-imap/pop_allow.pamlist
auth       required     pam_nologin.so
auth       include      system-auth
account    include      system-auth
session    include      system-auth

The same config with a different filename works fine for other
services, like ssh.

Any suggestions?

Rich

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to