• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Question Postfix totalize per ip connect

If I correctly understood your task, you can try to do it with

# grep postfix /var/log/maillog | grep -o 'connect from unknown' | wc -l
 
I haven't production server with mail. I think you can adapt my example for your case.
Code:
[root@server log]# grep postfix /var/log/maillog | grep ' connect'
Nov  2 07:13:26 server postfix/smtpd[2194]: connect from localhost[::1]
[root@server log]# grep postfix /var/log/maillog | grep ' connect' | awk '{ print $8 }' | uniq -c | sort -n
      1 localhost[::1]
 
Back
Top