smtp lastlogin

Pascal Volk user+dovecot at localhost.localdomain.org
Wed Oct 29 22:16:15 UTC 2014


On 10/29/2014 05:54 PM, Eduardo Ramos wrote:
> 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
>    }
> }
> 

A few months ago I asked Timo via IRC #doveot. His answer was:

	"no, it is done as mail plugin. smtp would require auth plugin."


Regards,
Pascal
-- 
The trapper recommends today: c01dcofe.1430223 at localdomain.org


More information about the dovecot mailing list