List top sender address emails in zimbra
How to List top sender address emails in zimbra from command line. From MTA zimbra I will run command to list 6 sender address email Zimbra.
The command as below:
$ cat /var/log/zimbra.log | awk -F 'from=<' '{print $2}' | awk -F'>' '{print $1}' | sed '/^$/d' | sort | uniq -c | sort -nk1 -r | sed -n '1,10p'
List top receivers:
$ cat /var/log/zimbra.log | awk -F 'to=<' '{print $2}' | awk
-F'>' '{print $1}' | sed '/^$/d' | sort | uniq -c | sort -nk1 -r |
sed -n '1,10p'
Note:
sed '/^$/d' : To delete only blank lines
sed -n '1,10p' : To print 1 line to 10 line.
awk -F 'from=<' '{print $2}' | awk -F'>' '{print $1}' : To print the email of sender address
Create pem certificate
Creating a .pem with the Private Key and Entire Trust Chain Log into your DigiCert Management Console and download your Intermediate (D...
Mais vistos
-
Java Keytool Command These commands allow you to generate a new Java Keytool keystore file, create a CSR, and import certificates. A...
-
Export full backup of one zimbra account zmmailbox -z -m user@domain -t 0 getRestURL "//?fmt=tgz" > /tmp/user@domain.tgz Exp...
-
This particular error is generally experienced when people attempt a non NTFS volume such as ReFS to a DFSR replication group as documented...