Sistemas‎ > ‎Linux‎ > ‎Scripts Linux‎ > ‎Postfix / Qmail‎ > ‎

filtraLogMaillog.sh

# Filtra por IMAP
# cat /var/log/maillog | grep LOGIN | grep imap | cut -d ' ' -f7 | sort | uniq

# Filtra por POP
# cat /var/log/maillog | grep LOGIN | grep pop | cut -d ' ' -f7 | sort | uniq
Comments