imap-uw and pam

Eduardo Viruena Silva mrspock at
Fri Apr 4 00:29:06 PST 2003

Hello pals!

I have installed FreeBSD 5.0-RELEASE and cvs-updated it to patch 7.
Everything ok.

Compiled imap-uw in the ports and it issued this message:

The ipop2d, ipop3d, and imapd daemons should be invoked by your
/etc/inetd.conf file with lines such as:

pop2    stream  tcp     nowait  root    /usr/local/libexec/ipop2d   ipop2d
pop3    stream  tcp     nowait  root    /usr/local/libexec/ipop3d   ipop3d
imap4   stream  tcp     nowait  root    /usr/local/libexec/imapd    imapd

If PAM authentication support has been compiled in you will need to add
something like the following lines to /etc/pam.conf (PAM authentication is

imap    auth    required
imap    account required
imap    session required
pop3    auth    required
pop3    account required
pop3    session required

The pam_unix module does not have session support, so we do not use it for
session management. Be sure to read up on pam.conf(5).

I think this is a little out of date remark.  pam.conf is not used
in FreeBSD-5.0 any more.

I found /etc/pam.d  and the files   imap and pop3, although they
are all comments.

I thought to add the following lines to  /etc/pam.d/imap:

auth    required
account required  try_first_pass
session required

But I cannot make imap work, /var/log/auth.log displays a messages:

pr  4 02:25:45 Gina imapd[26615]: Login disabled user=mrspock auth=mrspock []

Then, I don't know what to do.

Could you please help me?

Thanks in advance.

More information about the freebsd-questions mailing list