I don't think you have a way around getting an SMTP account on each of your users' servers. James would still have to use those SMTP servers to relay the emails. Otherwise, again, you run the risk of being classified as spam. Another option would be to have the users set SPF (and possibly DKIM) records in their DNS, but I'm not sure that would be easier for your users than just setting up SMTP.
Either way, the benefit you'd get from James would be moving the complexity away from your code and into James config. Regarding your ISP, you're using outgoing SMTP already, so setting up James as a relay will not change anything as far as they're concerned. Israel Tsadok On Sat, Oct 16, 2010 at 7:24 AM, Jim Pinkham <[email protected]> wrote: > I wrote a Java system to help non-profits manage fundraising auctions - > more > info here <http://togetherauction.com/> - and I need it to be able to > send emails from a few different domains. I'm hosting it on an Ubuntu > server running Tomcat. > > I'm wondering it it would make sense to run a local James SMTP server? > > I store member databases for each of my clients with a few dozen or so > emails. > > The way it works now is hard to configure and hard to expand when I > add clients, since they typically don't know how to find their own > smtp settings and add an account for my system to use. I use java > mail API to connect to each client's SMTP server in order to be > allowed to send as auct...@that_client_domain. > > I've learned that domains of these must match the smtp domain in order > not to be rejected as spam. > > I was hoping to just authenticate once to a local James SMTP server > and use it as a relay - as long as I don't open 25 or 587, that should > effectively prevent its public abuse, right? > > I do have a business-class ISP whose terms of service permit web > hosting, but I'm not sure about SMTP - I know theirs certainly won't > allow mail sent as being from any other domain. > > I know that's a lot of info to swallow, but I don't want to forget any > relevant info. > > Am I thinking about this the 'right way'? Is there a simpler way to > set this up? I'm > good with Java, but know less about mail protocols. > > Thanks for any help to point me in the right direction. > > Sincerely, > Jim Pinkham > http://TogetherAuction.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
