Mario,
On 18/07/2012 15:22, Mario Gzuk wrote:
I use the following option to set a releay host: <outgoing_mail_server>test.com</outgoing_mail_server> For SP1 it is working fine, but with SP2 the relay_host in the postfix main.cf isnt set any more.
I also found the same problem.
I am new to SLES but discovered that in /etc/sysconfig/postfix there is an option POSTFIX_NULLCLIENT that I wanted to set. So, I have the following in our SLES11 SP2 autoyast profile:
<sysconfig config:type="list"> <sysconfig_entry> <sysconfig_path>postfix</sysconfig_path> <sysconfig_key>POSTFIX_NULLCLIENT</sysconfig_key> <sysconfig_value>yes</sysconfig_value> </sysconfig_entry> </sysconfig>
<scripts> <init-scripts config:type="list"> <script> <source><![CDATA[ # rebuild postfix config after sysconfig changes /usr/sbin/SuSEconfig.postfix /sbin/service postfix restart ]]> </source> </script> </init-scripts> </scripts>
This will make the relayhost setting appear in postfix main.cf, with the value of outgoing_mail_server.
I hope it helps,
regards, oliver.