Hi Folks,
   
  I'm fairly new to linux so this message may reflect that.
   
  dovecot info (running on CentOS 5.0):
   
  
protocols: pop3s
listen:
ssl_cert_file: /etc/pki/dovecot/certs/dovecot.pem
ssl_key_file: /etc/pki/dovecot/private/dovecot.pem
login_dir: /usr/local/var/run/dovecot/login
login_executable: /usr/local/libexec/dovecot/pop3-login
mail_executable: /usr/local/libexec/dovecot/pop3
mail_plugin_dir: /usr/local/lib/dovecot/pop3
pop3_uidl_format: %v.%u
auth default:
  debug: yes
  debug_passwords: yes
  passdb:
    driver: pam
  userdb:
    driver: passwd
  If I select apop as one of the allowed protocols (in order to avoid having to
use ssl) I get this error message in the mail log :
   
  "APOP mechanism can't be supported with given passdbs"
   
  I tried fiddling with PAM by adding an /etc/pam.d/apop file with these
contents :
   
  auth required pam_unix.so nullok
  account required pam_unix.so
   
  makes no difference, in anycase as much reading as I;ve done to understand PAM
I still have not much clue: the docs are quite obscure.
   
  My /etc/pam.d/dovecot file looks like this :
   
  #%PAM-1.0
  auth required pam_nologin.so
  auth include system-auth
  account include system-auth
  session include system-auth
   
  At this point I seem to be out of options. I've been through the docs, and
trawled the internet.
   
  Anyone know what I'm doing wrong?
   
  Thanks,
   
  Greg
   
   
   
   
       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
Greg Lorriman, on 2/7/2008 12:32 AM, said the following:> Hi Folks, > > I'm fairly new to linux so this message may reflect that. > > dovecot info (running on CentOS 5.0):As with any software issues, you should always provide basic info for everything, not just platform - like, in this case, dovecot version & FULL dovecot -n output Also, you didn't say if this is a new installation or if you're migrating from something.> protocols: pop3s > listen: > ssl_cert_file: /etc/pki/dovecot/certs/dovecot.pem > ssl_key_file: /etc/pki/dovecot/private/dovecot.pem > login_dir: /usr/local/var/run/dovecot/login > login_executable: /usr/local/libexec/dovecot/pop3-login > mail_executable: /usr/local/libexec/dovecot/pop3 > mail_plugin_dir: /usr/local/lib/dovecot/pop3 > pop3_uidl_format: %v.%uLooks like you're using an old version... you'll need to upgrade. The new default format for POP3 is: pop3_uidl_format = %08Xu%08Xv Have you even read the wiki? I think thats where you need to start... http://wiki.dovecot.org/FrontPage -- Best regards, Charles
On Wed, 2008-02-06 at 21:32 -0800, Greg Lorriman wrote:> If I select apop as one of the allowed protocols (in order to avoid having to use ssl) I get this error message in the mail log : > > "APOP mechanism can't be supported with given passdbs" > > I tried fiddling with PAM by adding an /etc/pam.d/apop file with these contents :It's impossible to support anything but plaintext authentication with PAM. See http://wiki.dovecot.org/Authentication/Mechanisms and http://wiki.dovecot.org/Authentication/PasswordSchemes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080207/00fc8eb1/attachment-0002.bin>
> I tried fiddling with PAM by adding an /etc/pam.d/apop file with these contents :It's impossible to support anything but plaintext authentication with PAM. See http://wiki.dovecot.org/Authentication/Mechanisms and http://wiki.dovecot.org/Authentication/PasswordSchemes I'm not overly worried about PAM; I just want to get APOP working. But the wiki doesn't give me even the faintest idea, keeping in mind that I am relatively new to linux. The same applies to all the other authentication schemes. It only tells me how to change the conf file, which doesn't appear to be enough. Obviously I am missing something here. But I don't know what. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.