docs: def handle(self, *args, **options):
          """Main command method."""
  
          # Already running, so quit
          if os.path.exists(self.lock_file):
              self.log(("This script is already running. "
                        "(If your are sure it's not please "
                        "delete the lock file in {}')").format(self.lock_file))
              sys.exit(0)
  
          if not os.path.exists(os.path.dirname(self.lock_file)):
              os.mkdir(os.path.dirname(self.lock_file), 0755)
  
          archives_path = options.get('archives_path')
          self.log('Using archives_path `%s`' % settings.SUPER_ARCHIVES_PATH)
  
          if not os.path.exists(archives_path):
              msg = 'archives_path ({}) does not exist'.format(archives_path)
              raise CommandError(msg)
          run_lock = file(self.lock_file, 'w')
          run_lock.close()
  
          try:
              self.import_emails(
                  archives_path,
                  options.get('all'),
                  options.get('exclude_lists'),
              )
          except Exception as e:
              logging.exception(e)
              raise
          finally:
              os.remove(self.lock_file)
  
          for mlist in MailingList.objects.all():
              mlist.update_privacy()
              mlist.save()