FastNetMon

Saturday, 1 May 2010

Очистка очереди exim от сообщений, попадающих под определенный reg exp

grep -HiR 'SMTP error from remote mail server after RCPT TO:...' /var/spool/exim4/* |tr '/:' ' ' | awk '{print $5}' | xargs exim -Mrm

No comments :

Post a Comment

Note: only a member of this blog may post a comment.