Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a web app "myapp.com" 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: me@myapp.com"
  • send mails from our clients to their clients "from: our@clientsdomain.com"

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
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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.