graq wrote:
deadwalrus wrote:
http://aws.amazon.com/ses/
Sorry, I don't see how that is relevant?
Deadwalrus is saying that the best way to handle outgoing e-mail is to outsource it.
But if you want to handle it yourself, what you're doing right now seems to be OK for the most part.
No, you don't need to relay all mail through a single IP address. You just need to make sure that each node that sends mail have a valid rDNS, which it would do by default. Exim should also identify itself using a correct fully-qualified hostname that actually points to the respective node's IP address. (Until recently I thought that the hostname should also match the rDNS, but it seems that this is not necessary.)
It does not matter if the hostname or rDNS of your node is different from the domain(s) of your web site(s). ISPs don't care about this part. (Otherwise, nobody on shared hosting would be able to send mail. They've got hundreds of domains pointing at the same server, you know.)
What does matter is to have a SPF record for each domain that explicitly permits the node to send mail on behalf of the domain. An SPF record is a special type of TXT record in a domain's DNS that lists which machines are allowed to send mail on behalf of the domain. Read up on it, and add the hostname(s) of any server(s) that might send mail on behalf of each domain. If you have a lot of domains and servers, you might want to use the "include:" syntax to simplify your life.
After that, it all depends on the receiving server. Some ISPs have ridiculous policies about mail sent from private servers, and you might not be able to fix that no matter what you do. But most ISPs are sane, and they'll accept your mail as long as the content doesn't look spammy. (Don't use all-caps in the subject; don't use external images in the body; don't use too many links in the body; don't pretend to be a Nigerian prince's nephew; provide an unsubscribe link if possible, etc.)
If your mail still goes into the spam bin, ask a few users to click "not spam". This definitely helps, especially with Gmail.