Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I just got a notification that I'm not allowed to send any more emails from my EC2 instance. Which is a bit perplexing since I wasn't aware that I was sending any. Is there some way for me to have a look at the emails, or at least check which applications tried to send emails? I'm on ubuntu.

share|improve this question
up vote 1 down vote accepted

On Linux, from and to addresses of mail are typically logged by the default settings of most mail packages.

Try looking in /var/log/mail.log, or /var/log/syslog, or, if that doesn't help, try:
grep 'to=<' /var/log/* | less

The actual mail itself may not be available.

Remember, mail is pretty easy to fake. It may not be coming from your machine. But if you are not sending mail from your machine and want to eliminate the possibility, consider uninstalling any mail software and/or blocking ports like smtp/25 in your firewall settings.

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.