4 Jan 2011 09:15
Aliasing Question & PDF Reports
Hello, first of all happy new year to the list.
Im currently trying to implement Baruwa with Mailscanner and migrate away from my current DSPAM Setup.
One thing thats really bugging me right now is the way aliases are treated.
i.e. Mail comes in via alias1-9IKiO1iGCm/QT0dZR+AlfA@public.gmane.org gets routed trough Mailscanner and then processed.
Afterwards on the way out it gets rewritten to the correct mailboxname-9IKiO1iGCm9hl2p70BpVqQ@public.gmane.orgm.
Is there any known way to do this prior to the Mail passing Mailscanner/Baruwa?
I also have problems generating pdf reports:
manage.py sendpdfreports
=================== Processing reports ======================
Traceback (most recent call last):
File "/usr/bin/manage.py", line 11, in <module>
execute_manager(settings)
File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/usr/lib/pymodules/python2.6/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/pymodules/python2.6/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/usr/lib/pymodules/python2.6/baruwa/reports/management/commands/sendpdfreports.py", line 341, in handle
user = profile.user
File "/usr/lib/pymodules/python2.6/django/db/models/fields/related.py", line 302, in __get__
rel_obj = QuerySet(self.field.rel.to).using(db).get(**params)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py", line 341, in get
% self.model._meta.object_name)
django.contrib.auth.models.DoesNotExist: User matching query does not exist.
Kind Regards
Christian Keil
_______________________________________________ Baruwa mailing list Baruwa@... http://lists.baruwa.org/mailman/listinfo/baruwa
RSS Feed