User Tools

Site Tools


exim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
exim [2018/07/02 16:43] – [Log analysis] dreiggyexim [2018/10/12 10:38] – [Log analysis] dreiggy
Line 38: Line 38:
 Search who spam to hotmail, outlook, live.com: Search who spam to hotmail, outlook, live.com:
 <code bash> <code bash>
 +#DirectAdmin
 egrep 'hotmail|outlook|live.com' /var/log/exim/mainlog | grep 'Queued mail for delivery' | grep -o 'F=<[^>]*' | sort | uniq -c | sort -n egrep 'hotmail|outlook|live.com' /var/log/exim/mainlog | grep 'Queued mail for delivery' | grep -o 'F=<[^>]*' | sort | uniq -c | sort -n
 +#cpanel / whm
 +egrep 'hotmail|outlook|live.com' /var/log/exim_mainlog | grep 'Queued mail for deliver' | grep -o '=>.* R'
 </code> </code>
 +
  
 Search who mostly send to remote servers: Search who mostly send to remote servers:
 <code bash> <code bash>
-grep 'T=remote_smtp' mainlog | grep -o 'F=<.*>' | sort | uniq -c | sort -n+grep 'T=remote_smtp' /var/log/exim/mainlog | grep -o 'F=<.*>' | sort | uniq -c | sort -n
 </code> </code>
 ===== Usefull commands ===== ===== Usefull commands =====
exim.txt · Last modified: 2019/04/26 01:48 by dreiggy

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki