29 Oct
2014
29 Oct
'14
6:54 p.m.
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 } }