Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

Use Procmail.

Sample config:

:0:
* ^To.*account@domain.*
{
  :0 c
  ! account@gmail.com

  :0
  username
}
share|improve this answer

Your Answer

 
discard

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.