Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to filter (grep) exim_mainlog for emails that had attachments? I'm looking through a really long log for an email of which I don't have any information about other than the sender and that it had an attachment. Sender alone returned hundreds (POOMA) of entries. So I'd like to narrow it down.

share|improve this question
up vote 1 down vote accepted

The "S=" part of the log entry is the size of the message. Assuming the sender attached something more substantial than what was usually sent, you could try looking for a large email that way.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.