Well, really noboby interested in confirming or denying this behavior?
Am 14.05.2008 um 20:00 schrieb Florian Lindner: > > Hello, > > I'm experiencing some odd behavior with SMTP connections and the > functions to send mail. > > The relevant settings in my settings.py: > > ADMINS = ( > ('Florian Lindner', '[EMAIL PROTECTED]'), > ) > EMAIL_HOST = "xgm.de" > EMAIL_HOST_USER = "[EMAIL PROTECTED]" > EMAIL_HOST_PASSWORD = "xxx" > > I use the mail_admin function to send mail: > > mail_admins("Neues Kommentar", message) > > Using it this way produces an SMTPAuthenticationError at /blog/ > previewComment/(535, '5.7.0 authentication failed'). > > Since the mail server xgm.de is under my control I scanned the logs > and found no sign that my localhost even tried to connect. Using > tcpdump revealed that Django tried to connect to mail.dnsteam.de:SMTP > which is the second MX of xgm.de. > > - I would expect that EMAIL_HOST is being used as smarthost. This way > Django should not even care about MX or something like that. I just > logs in using EMAIL_HOST_USER / _PASSWORD and sends the mail. > > - Even if it cared about MX it would have used the wrong one, because > mail.dnsteam is the one with the less priority. > > Am I getting something completely wrong or is this a bug? > > Florian > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---