Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web app "" that users can use to set up their own websites. Our application is written in php and should be able to do the following:

  • send mails to our own users "from:"
  • send mails from our clients to their clients "from:"

We don't need to take care of incoming mails, just send out mails with the correct from and reply-to addresses.

We cannot make this work using Google Apps (limited to our own domain in the from-field) and we cannot make google apps or google apps domains for all our clients, so we are looking for another simple to manage and set up solution.

Does anyone have experience with this, please let me know! Thanks

share|improve this question
what MTA are you using, postfix/sendmail etc – seanl Jun 8 '10 at 16:24
we haven't settled on a solution yet, but we are looking for the easiest solution to maintain, as we only want mails to get out for all domains. We won't be handling incoming emails – solsol Jun 8 '10 at 21:44

Where is your web app hosted? Your hosting provider will probably have their own outgoing SMTP servers that you can relay out through. If they don't and you're running on your own server, you can install an SMTP relay server (such as sendmail for Linux or the IIS SMTP engine for Windows) and send the mail out directly. If you go the direct route, ensure you have proper reverse DNS in place (there's a bunch of things to consider if you send out from your own server, but reverse DNS is usually a show-stopper if it's not in place).

share|improve this answer
we are hosting our own server – solsol Jun 8 '10 at 21:43

You may also need to get you clients to add/alter the SPF record for their domain to allow you to send mail on their behalf.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.