On 07/04/2015 05:59, John Lewis wrote:
Every time a user logs into Dovcot's IMAP service PAM closes the session 
immediately after it opens. I would like a user to have a session open long 
enough to read some emails.
I don't know if it is still the case for no super user login to imap servers ?
Apr  6 21:57:29 drakeclasher su[2346]: pam_unix(su:session): session
opened for user mailtest by dictator(uid=0)
But according to this old thread it would seem that dovecot is hard coded to not allow login as root (uid=0) to the imap server.

http://www.dovecot.org/list/dovecot/2011-September/078467.html

Can't say for the current version, as the wiki2 doesn't currently have the config files <shrug>. I would be suprised if it had changed though...

The doc page : http://wiki.dovecot.org/MainConfig

Search for : first_valid_uid


--
Tel:
  + 33 6 50 14 39 34

email:
  david.myers.24...@gmail.com

Addres:
   22 Rue de L'Eglise 77700 Coupvray.
   77700
   France

Reply via email to