On Wed, Feb 10, 2010 at 10:01 AM, Nick Booker <n...@clocksoft.com> wrote:
> Sorry I correct myself -- I meant it always has a from address of > r...@localhost, which the customer's relay rejects. SERVER_EMAIL is the setting that control the from address on server-generated error emails, not DEFAULT_FROM_ADDRESS. See: http://docs.djangoproject.com/en/dev/ref/settings/#server-email Karen > On 10/02/10 14:54, Nick Booker wrote: > >> Hi all. >> >> Django keeps sending out emails with the subject: >> [Django] Error (EXTERNAL IP): /path_to_some_file.css >> >> The problem I have is they are producing Non Delivery Reports (example >> below) on the customer's mail relay and never getting to me as they're >> always sent to r...@localhost. >> >> This is despite the DEFAULT_FROM_EMAIL being set correctly to a >> globally-valid address and working elsewhere. >> >> How do I get Django to use a from address of my choice when sending >> these error emails? >> >> Nick Booker >> Clockwork Software Systems >> >> these are still getting dropped >>> >>>> >>>> you need to set your from address to something like >>>> >>>> dja...@clocksoft.com >>>> >>>> _____________________________________________ >>>> *******From:* System Administrator >>>> *******Sent:* 01 February 2010 16:11 >>>> *******To:* Administrator >>>> *******Subject:* Undeliverable: [Django] Error (EXTERNAL IP): >>>> /sortable_tables.css >>>> >>>> Your message did not reach some or all of the intended recipients. >>>> >>>> Subject: [Django] Error (EXTERNAL IP): /sortable_tables.css >>>> >>>> Sent: 01/02/2010 14:12 >>>> >>>> The following recipient(s) cannot be reached: >>>> >>>> n...@clocksoft.com on 01/02/2010 16:11 >>>> >>>> Your mail system could not find a way to successfully communicate with >>>> the destination system. Please notify your administrator. >>>> >>>> <mx-1.----------------.co.uk #5.5.2 smtp;504 5.5.2 <r...@localhost>: >>>> Sender address rejected: need fully-qualified address> >>>> >>> >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.