Page 3 of 3

Re: Questions from a beginner

Posted: Thu May 23, 2013 2:29 am
by WillemDH
Ok, I can understand the reason, but how do I change the smtp server used by the notify-by-email used bu contacts / core?

Re: Questions from a beginner

Posted: Thu May 23, 2013 1:58 pm
by abrist
This would require configuring your local mta. To find out which mta you are using, check what the mta symlinks to:

Code: Select all

ls -la /etc/alternatives/mta
Usually it is postfix, but every so often I have seen exim or sendmail as well. One you know your mta, you will have to configure it to send through smtp. Refer to google if necessary.

Re: Questions from a beginner

Posted: Fri May 24, 2013 7:56 am
by WillemDH
[root@srvnagios01 ~]# ls -la /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 Jun 6 2012 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix

I tried editing the relayhost in /etc/postfix/main.cf , but after a /etc/init.d/postfix reload email fro contacts still won't be sent. Looking in Google mainly results in procedures how to set up mailservers with postfix. I really don't get why it isn't easier to configure an internal smtp server.

Re: Questions from a beginner

Posted: Fri May 24, 2013 11:10 am
by slansing
Moving to ticketing system.