sendmail forwarding help

What i want to do is send an email notification to an address after sendmail receives a message to a mailbox. For example:

1. Server receives a message to something@domain.com.
2. Server sends a message to something@anotherdomain.com with a personalized message, such as, something@domain.com has mail.

Just a little reminder that you've received mail on another address so that you know to check it. Anyone know how I would do this with sendmail? I've looked at .forward options, but haven't found what I'm looking for. I just need to enable this for 1 email box. I dont want the whole message to be forwarded, just a simple personalized message.

 

 

 

 

Top