0
I have linux VPS with some of my unimportant services, but there is no mailserver installed. My mailserver is running on a much more reliable (and expensive) linux server.
In this situation, of course I'm not able to send an email from my VPS (php, cron, etc, the email is just echoed into /var/mail). If I want to send email from here, I had to manually specify the SMTP server. On the server with the mailserver, I don't have to deal with this. The mail just sends. I'm not sure if it's because of the mailserver is installed on this server, or if the guy befory me just configured some global mail setting (is there something like that?).
So, is there any way to make some global setting at the VPS that will tell everything what smtp server to use when sending email, instead of echoing it into /var/mail? Thanks.