smtp lastlogin

Eduardo Ramos eduardo at freedominterface.org
Wed Oct 29 17:54:10 UTC 2014


Hey guys!

I've been googling without success. Do anyone know if there is a way to 
track last login of a smtp authentication?

I've tried without success using:

service auth {
   executable = auth lastlogin
   unix_listener auth-userdb {
   }

   unix_listener /var/spool/postfix/private/auth {
     mode = 0660
     group = postfix
   }
}

service lastlogin {
   executable = script-login -d /usr/local/bin/lastlogin.sh
   unix_listener lastlogin {
     user = $default_internal_user
     mode = 0666
   }
}



More information about the dovecot mailing list