Postfix to send email thru another relay host, mail server like an ISP’s mail server

There are a few links on the web that explain using postfix (search patiently)

Basic idea

  • setup postfix in ‘Satellite’ mode
  • relay host is your other/actual smtp mail server
  • enable smtp sasl for authentication and setup the parameters

Setting up Postfix to send mail thru another relay host, lil hard to find, Couple of them are

http://www.davidgrant.ca/setting_up_postfix_to_send_outgoing_mail_on_ubuntu – doesnt explain about how to specify username/passwd for authenticating with the relayhost
its covered here http://www.edafe.org/ubuntu/index.html (scroll down and look for Redirecting Mail for the Local Root User)

Other links on Setting up Postfix on Ubuntu

https://help.ubuntu.com/community/PostfixBasicSetupHowto
https://help.ubuntu.com/community/Postfix – explains setting up Postfix with SMTP AUTH and the end of the article has links to other articles

Advertisements