I am currently running my on debian wheezy with php5 installed. I was trying use the mail() function, and I realised that I will require a MTA/exim installed before it will be possible because the default installation does not come with any.

I was looking at a solution at: https://wiki.debian.org/GmailAndExim4

However, it says that This setting is for a typical desktop PC which has no resolvable host name.

Are there any good references for the settings I can use for a hosting server?

  • Do you just want this server to just be able to send mail or act as a mail server? – slm May 24 '14 at 17:52
  • @slm i just want it to be able to send mails. – toffee.beanns May 25 '14 at 1:09
  • If you're only intending to send mails from the server then you don't need a mail server, just a client and access to external servers. – slm May 25 '14 at 1:12
  • @slm While I was trying to find a solution to this problem, it seems that google compute engine oes not allow emails to be sent out through port 25. developers.google.com/compute/docs/sending-mail, perhaps that is the issue I am facing. Do you happen to know if there's anyway I can circumvent this issue without having the need to register with their partner site for additional service? – toffee.beanns May 25 '14 at 1:32
  • No sorry I'm not aware of anything. – slm May 25 '14 at 4:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.