Got it, it was not the RDNS of the domain, but the SPF record. Adding both ip addresses to the SPF record solved the problem.
Thanks! [SOLVED] -Thadeus On Sun, Nov 1, 2009 at 9:54 AM, Thadeus Burgess <thade...@thadeusb.com>wrote: > the login name includes the @. > > This works perfectly on every computer except the one that the DNS is > pointing to, and it even worked on that one before the DNS got switched to > it. > > Its not a web2py issue, or a python issue, or a server config, its all in > the DNS, however RDNS, SPF records did not have any effect. When I point the > A record back at its old server, the script works again on the slicehost > (accessing from ip). > > -Thadeus > > > > > > On Sun, Nov 1, 2009 at 1:12 AM, ont.rif <ont....@gmail.com> wrote: > >> >> Did you try to change to: >> mail.settings.login = "thade...:mypass" >> (without @ and server name) >> >> This is because line in gluon/tools.py >> (username, password) = self.settings.login.split(':') >> >> On Oct 31, 2:25 am, Thadeus Burgess <thade...@thadeusb.com> wrote: >> > Would anybody know why I can send mail using SMTP through Evolution, yet >> > when using the exact same credentials for web2py Mail(), email does not >> get >> > sent? >> > >> > It is quite odd actually though. >> > >> > mail.settings.server = mail.example.com:25 >> > mail.settings.sender = "thade...@example.com" >> > mail.settings.login = "thade...@example.com:mypass" >> > >> > Now when I use a mail.send() to other email accounts within the >> > @example.comdomain, the emails get delivered, however when I use >> > mail.send() to outside >> > of the @example.com domain, liek @gmail and @yahoo, the emails never >> get >> > delievered. >> > >> > Using evolution to send, the emails get sent, using squirrelmail >> interface >> > works as well. Using gmail's smtp will not deliver emails outside of the >> @ >> > example.com domain either. >> > >> > This was working until I switched the DNS A record of the root domain to >> a >> > slicehost IP, yet leaving the mail subdomain A record pointing to the >> mail >> > server. >> > >> > example.com. A 123.456.789.012 >> > mail.example.com A 321.321.355.012 >> > >> > With evolution working correctly, I am baffled. >> > >> > Has anybody else ever run into this? Or have an idea on what is going on >> > here. >> > >> > -Thadeus >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---