Skip to main content

Fighting spam by mail queue monitoring

Comments

4 comments

  • HostingH
    Try following cmds, [root]#exim -bpr | grep "<*@*>" | awk '{print $4}'|grep -v "<>" |awk -F "@" '{ print $2}' | sort | uniq -c | sort -n [root]#exim -bpr | grep "<*@*>" | awk '{print $4}'|grep -v "<>" | sort | uniq -c | sort -n [root]#awk '{ if ($0 ~ "cwd" && $0 ~ "home") {print $3} }' /var/log/exim_mainlog | sort | uniq -c | sort -nk 1 Very easy to catch the spammer.
    0
  • cPanelMichael
    Hello, Thanks for sharing!
    0
  • Sarangi Tech Solution
    @willsborrow thank for the solution, what is the extention for this script files ?
    0
  • Sarangi Tech Solution
    @willsborrow i am new one with linux commanding . so i ask you the extension of the file . and i have tried the above solution with cron job but when the cron excecute the .sh file content is sending to the mail not the expected output. how can i overcome this situation ? i hope you have understand what i say, i am waiting for your kind support thank you
    0

Please sign in to leave a comment.