Displaying 1 result from an estimated 1 matches for "pxxxxxxxx".
Did you mean:
xxxxxxxx
2011 Oct 28
2
post login script
...stlogin {
executable = script-login /usr/local/bin/postlogin.sh
unix_listener imap-postlogin {
}
}
service pop3 {
executable = pop3 imap-postlogin
}
#/usr/local/bin/postlogin.sh
echo "UPDATE mailbox SET last_login = now() WHERE username = '$USER'"
| mysql -upostlogin -pXXXXXXXX postfixadmin
exec "$@"
Thanks in advance
Osvaldo