Archive for the ‘Exim’ Category.

exiqgrep – searching the eixm queue

I’ve just had to delete a bunch of messages from an Exim queue and I found this to be useful:

# exiqgrep -f billg@microsoft.com

Will print out details for any messages from that address.

To delete any messages from a person use the f as well as the i flags to print out just the message id, this can neatly be piped to xargs:

# exiqgrep -i billg@microsoft.com | xargs exim -Mrm

protocol violation: synchronization error

If you receive a “synchronization error” it would likely mean that your smtp client/script is sending the data before exim has sent it’s welcome message. This is used to prevent script spammers from spamming you, as their scripts dont’ usually wait for the welcome message.

For more information look here

Possible workaround for your exim.conf, top section:

smtp_enforce_sync = false