mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Don't try to use mbox if it is not defined.
This commit is contained in:
@@ -56,7 +56,7 @@ class Command(BaseCommand):
|
||||
try:
|
||||
mbox = Mailbox.objects.get(address=address, domain__name=domain)
|
||||
except Mailbox.DoesNotExist:
|
||||
print "Unknown recipient %s" % (mbox)
|
||||
print "Unknown recipient %s" % (fulladdress)
|
||||
continue
|
||||
try:
|
||||
armessage = ARmessage.objects.get(mbox=mbox.id, enabled=True)
|
||||
|
||||
Reference in New Issue
Block a user