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

I've got a Ubuntu server set up with Postfix, it can send and receive emails just fine. However, I already have a widget on my computer which notifies me of new gmail emails. I'd like it to also notify me of mail to the server.

The easiest way (conceptually) I can see of doing this is to set the server to send a 'New Mail' message to my gmail account.

I don't want to just forward the mail, I want it to 'ping' in the same content-less kind of way facebook does.

Anyone have any ideas about how to do this?

share|improve this question
up vote 2 down vote accepted

Use Procmail.

Sample config:

* ^To.*account@domain.*
  :0 c

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.