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
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')dnlput this on 3 lines together ref: http://www.sendmail.org/faq/section3#3.39 http://www.elandsys.com/resources/sendmail/
No comments:
Post a Comment