Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias identifier alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Num keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword Call NameLoad Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str ClassDef bases body Assign NameStore TupleLoad TupleLoad Str Str Assign NameStore ListLoad Str Assign NameStore TupleLoad TupleLoad Str Str Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return Str Assign NameStore AttributeLoad NameLoad attr If CompareGt NameLoad Num body Return BinOpMod Str SubscriptLoad NameLoad Index Num Return SubscriptLoad NameLoad Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareGt NameLoad Num body Return Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr body Return Str Return Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Return ListLoad Dict Str Str Str NameLoad SubscriptLoad NameLoad Index NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body ImportFrom alias Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body If UnaryOpNot NameLoad body Continue If Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr body Continue Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call NameLoad Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore Dict Str Str NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIs Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpMod Str TupleLoad NameLoad NameLoad attr If CompareIs NameLoad NameLoad body Raise Call NameLoad Call AttributeLoad Call NameLoad Str attr NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str If CompareLt Call NameLoad NameLoad NameLoad body Raise Call NameLoad Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad Call NameLoad BinOpMod Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword Str If Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr body Raise NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr CompareIn Call AttributeLoad SubscriptLoad NameLoad Index Num attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AugAssignAdd NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad keyword NameLoad ClassDef bases body Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list NameLoad
N/A N/A Models related to aliases management. django.db models django.utils.encoding python_2_unicode_compatible smart_text django.utils.translation ugettext _ ugettext_lazy reversion revisions reversion modoboa.core signals core_signals modoboa.lib.email_utils split_mailbox modoboa.lib.exceptions PermDeniedException BadRequest Conflict NotFound base AdminObject domain Domain mailbox Mailbox N/A signals Alias N/A AdminObject N/A N/A Mailbox alias. N/A address N/A N/A models CharField N/A ugettext_lazy address max_length 254 help_text N/A ugettext_lazy The alias address. N/A domain N/A N/A models ForeignKey Domain null True N/A enabled N/A N/A models BooleanField N/A ugettext_lazy enabled help_text N/A ugettext_lazy Check to activate this alias default True N/A internal N/A N/A models BooleanField default False N/A _objectname MailboxAlias Meta N/A N/A N/A permissions N/A N/A view_aliases View aliases N/A ordering N/A address N/A unique_together N/A N/A address internal N/A app_label admin N/A __str__ N/A N/A self N/A N/A N/A N/A smart_text N/A self address N/A identity N/A N/A self N/A N/A N/A N/A self address N/A property name_or_rcpt N/A N/A self N/A N/A N/A rcpts_count N/A self recipients_count N/A N/A rcpts_count N/A N/A --- N/A rcpts N/A self recipients N/A N/A rcpts_count 1 N/A N/A N/A %s, ... N/A rcpts N/A 0 N/A N/A rcpts N/A 0 N/A property type N/A N/A self N/A N/A N/A cpt N/A self recipients_count N/A N/A cpt 1 N/A N/A dlist N/A qset N/A N/A N/A self aliasrecipient_set filter r_mailbox__isnull True r_alias__isnull True N/A N/A N/A qset exists N/A N/A forward N/A alias N/A property tags N/A N/A self N/A N/A N/A labels N/A dlist forward alias N/A _ distribution list N/A _ forward N/A _ alias N/A altype N/A self type N/A N/A N/A name label type altype N/A labels N/A altype idt N/A property post_create N/A N/A self creator N/A N/A modoboa.lib.permissions grant_access_to_object N/A N/A N/A N/A super Alias self post_create creator N/A N/A creator is_superuser N/A N/A admin N/A N/A self domain admins N/A N/A N/A grant_access_to_object admin self N/A set_recipients N/A N/A self address_list N/A N/A N/A Set recipients for this alias. Special recipients:

        * local mailbox + extension: r_mailbox will be set to local mailbox
        * alias address == recipient address: valid only to keep local copies
          (when a forward is defined) and to create exceptions when a catchall
          is defined on the associated domain

         N/A to_create N/A N/A address N/A set address_list N/A N/A N/A address N/A N/A N/A N/A N/A N/A N/A N/A self aliasrecipient_set filter address address exists N/A N/A N/A N/A local_part domname extension N/A split_mailbox address return_extension True N/A N/A domname None N/A N/A N/A BadRequest N/A %s %s N/A N/A _ Invalid address address N/A domain N/A N/A N/A N/A N/A Domain objects filter name domname first N/A kwargs N/A address alias address self N/A N/A N/A domain None N/A N/A any N/A N/A r N/A 1 N/A r N/A N/A N/A signals use_external_recipients send self recipients address False N/A N/A rcpt N/A N/A N/A N/A N/A Mailbox objects filter domain domain address local_part first N/A N/A rcpt None N/A N/A rcpt N/A N/A N/A N/A N/A Alias objects filter address N/A %s@%s N/A local_part domname first N/A N/A rcpt None N/A N/A N/A NotFound N/A N/A N/A _ Local recipient {}@{} not found format local_part domname N/A N/A N/A rcpt address N/A self address N/A N/A Conflict N/A N/A kwargs N/A r_alias rcpt N/A N/A N/A kwargs N/A r_mailbox rcpt N/A N/A N/A to_create append N/A AliasRecipient kwargs N/A N/A N/A N/A AliasRecipient objects bulk_create to_create N/A N/A N/A N/A N/A N/A self aliasrecipient_set exclude address__in address_list delete N/A recipients N/A N/A self N/A N/A N/A Return the recipient list. N/A N/A N/A N/A N/A N/A self aliasrecipient_set order_by address values_list address flat True N/A property recipients_count N/A N/A self N/A N/A N/A Return the number of recipients of this alias. N/A N/A N/A N/A self aliasrecipient_set count N/A property from_csv N/A N/A self user row expected_elements N/A 5 N/A N/A Create a new alias from a CSV file entry

         N/A N/A N/A len row expected_elements N/A N/A N/A BadRequest N/A _ N/A Invalid line: %s row N/A address N/A N/A N/A row N/A 1 strip N/A N/A localpart domname N/A split_mailbox address N/A N/A N/A domain N/A N/A N/A Domain objects get name domname N/A N/A N/A N/A Domain DoesNotExist N/A N/A N/A BadRequest N/A _ N/A Domain '%s' does not exist domname N/A N/A N/A N/A user can_access domain N/A N/A PermDeniedException N/A N/A N/A N/A core_signals can_create_object send sender import context user object_type mailbox_aliases N/A N/A N/A N/A core_signals can_create_object send sender import context domain object_type mailbox_aliases N/A N/A N/A N/A N/A N/A Alias objects filter address address exists N/A N/A Conflict N/A N/A self address address N/A N/A self domain domain N/A N/A self enabled N/A N/A N/A N/A row N/A 2 strip N/A True 1 yes y N/A N/A N/A self save N/A N/A N/A self set_recipients N/A N/A N/A raddress strip N/A raddress N/A row N/A 3 N/A N/A N/A self post_create user N/A to_csv N/A N/A self csvwriter N/A N/A N/A row N/A N/A self type N/A N/A N/A self address encode utf-8 N/A self enabled N/A row N/A self recipients N/A N/A N/A csvwriter writerow row N/A N/A python_2_unicode_compatible N/A N/A N/A reversion register Alias AliasRecipient N/A N/A models Model N/A N/A An alias recipient. N/A address N/A N/A models EmailField N/A alias N/A N/A models ForeignKey Alias N/A r_mailbox N/A N/A models ForeignKey Mailbox blank True null True N/A r_alias N/A N/A models ForeignKey Alias related_name alias_recipient_aliases blank True null True Meta N/A N/A N/A app_label admin N/A db_table modoboa_admin_aliasrecipient N/A unique_together N/A N/A alias r_mailbox N/A alias r_alias N/A __str__ N/A N/A self N/A N/A N/A Return alias and recipient. N/A N/A smart_text N/A N/A {} -> {} format N/A N/A self alias address N/A self address N/A N/A python_2_unicode_compatible