Hi,

          When I put the following in my dovecot.conf instead of conf.d/
     10-
          auth.conf, it
          core dumps. I thought local changes should be made in
     dovecot.conf?

          service imap-login {
            executable = imap imap-postlogin
            inet_listener imap {
              port = 0
            }
            inet_listener imaps {
              port = 993
            }
            process_min_avail = 6
            service_count = 0
            vsz_limit = 512 M
          }
          service imap-postlogin {
            executable = script-login /usr/local/bin/postlogin.sh
            user = $default_internal_user
          }
          service pop3-login {
            inet_listener pop3 {
              port = 0
            }
            inet_listener pop3s {
              port = 995
            }
          }
     Hi Alex
     I notice you didn't define the listner socket. You're missing this
     inside your
     imap-postlogin service definition:
     unix_listener imap-postlogin {
       }

Okay, thanks. Although I have it working with the last_login plugin now, I'm
still interested in figuring out what went wrong with postlogin and how I can
use it for other things as well.

It no longer core dumps, but it also doesn't touch the ~/.last_login file in
the user's home directory either.

How can I troubleshoot this further? I thought I would see a postlogin socket
after adding the listener line, but I don't see anything with lsof.

Other ideas greatly appreciated.


_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to