configure standard sendmail install to accept outside connections and forward mail to gmail account

view full story

http://serverfault.com – I want to have some mail accounts on my domain (contact, webaster) redirected to my gmail account. In order to do this I installed sendmail. Default install (apt-get install sendmail on ubuntu server 10.04) has local daemon, and only accepts delivery to local accounts. To forward I activated virtusertable on sendmail.mc adding the line FEATURE(virtusertable)dnl, edited the file /etc/mail/virtusertable and added the lines: [email protected] [email protected] [email protected] [email protected] finally, I did m4 sendmail.mc > sendmail.cf and make virtusertable.db, and e (HowTos)