| Linode Forum https://forum.linode.com/ |
|
| Send-only solution for multiple domains https://forum.linode.com/viewtopic.php?f=11&t=6700 |
Page 1 of 1 |
| Author: | adam [ Sun Feb 13, 2011 12:46 pm ] |
| Post subject: | Send-only solution for multiple domains |
I'm working on a couple of web applications that I want to be able to send email from, for forum PMs and other site alerts. I like tinkering with databases and whatnot, but I generally consider email to be a pain, so I want something I can set up and forget about The simplest solution for one domain seems to be to use Google Apps for pretty much everything, and install a send-only MTA on the app server. However, all of the guides I've seen for this only apply to single-domain servers. What do I do if I want each app to be able to send email from its own domain? (In case it matters, I'm using Ubuntu 10.10 and my apps are Rails 3...I'm also using Redmine, which requires Rails 2) |
|
| Author: | hoopycat [ Sun Feb 13, 2011 3:58 pm ] |
| Post subject: | |
As long as the e-mail is coming from inside the system, exim (and other MTAs) don't care what address is used by the sender. So -- unless you're relaying outgoing mail through Google Apps instead of sending it directly -- the MTA configuration is the same. I don't know how Rails would be set up to send outgoing mail, but I'd assume there's some application-specific default for the From: address. |
|
| Author: | adam [ Sun Feb 13, 2011 5:26 pm ] |
| Post subject: | |
hoopycat wrote: As long as the e-mail is coming from inside the system, exim (and other MTAs) don't care what address is used by the sender. So -- unless you're relaying outgoing mail through Google Apps instead of sending it directly -- the MTA configuration is the same.
I don't know how Rails would be set up to send outgoing mail, but I'd assume there's some application-specific default for the From: address. Interesting...Rails does allow you to use an arbitrary From: address, so that should work. Maybe I should have tried this before posting... Will I run into any issues with spam filters due to the fact that reverse DNS won't necessarily resolve to the right thing on my outgoing messages? I think that's what I was really worried about. |
|
| Author: | Stever [ Sun Feb 13, 2011 11:15 pm ] |
| Post subject: | |
adam wrote: Will I run into any issues with spam filters due to the fact that reverse DNS won't necessarily resolve to the right thing on my outgoing messages?
It is not important for the DNS of your mailserver to match the From address of the email that is sends. It is extremely common for these to be mismatched, for example when google sends mail for your domain. What IS important is that your server has a reverse DNS entry. Less important, but still maybe checked by some systems is that the reverse DNS matches the forward DNS and the name the mailserver announces itself as. If there are SPF records for the domains you are sending for, make sure they include (through some mechanism) the IP address of your server. |
|
| Author: | adam [ Mon Feb 14, 2011 12:04 pm ] |
| Post subject: | |
My servers do have the default Linode RDNS, which should be fine if they're just checking that one exists. I haven't bothered with SPF records, but it doesn't seem that difficult, so if that's all I need to do, consider this question answered! |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|