Thursday, February 10, 2011

Send Email out Finally

Finally, i use postfix to relay mail to another server
i use

relayhost = [other.host]:587 and mail server works perfectly on postfix.

don't forget to add ip address into other host server otherwise they will not refuse to send your email. :)
this is great example.
other server using exim (cpanel) and i use their function to add trusted server ip address into list.

now i want to use sendmail instead of postfix. keep searching and found this:

want to try 1st. :)

Edit (2Feb2012): working setting on Sendmail


define(`SMART_HOST', `relay:your.relay.comain.com')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
put this on 3 lines together ref: http://www.sendmail.org/faq/section3#3.39 http://www.elandsys.com/resources/sendmail/

No comments:

Related Posts Plugin for WordPress, Blogger...