Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail Rules

Status
Not open for further replies.

jrebola

IS-IT--Management
Aug 2, 2007
1
0
0
PT
Hi gurus,

We have a sendmail host that receive all my internet incoming mail and relay to our Internal mail Server (exchange).

How can I configure my sendmail to filter a incoming email and forward the mail to a gmail account for example.

The scenario is when I receive a mail to a xpto@internaldomain.com I want that my sendmail forward this mail to a gmail account.
 
Configure the /etc/mail/virtusertable
Code:
user@domain.com	user@gmail.com
Build the virtusertable .db file using makemap
Code:
makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable
Restart Sendmail



M. Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top