Example #1
0
def deliver(key):
    count_delivered()
    wlelog.log(3, 'Unblocking mail with key %s' % key)
    return move_message_from_queue (key, 'mailbox',
                                    'Confirmed (%s)' % \
                                    time.ctime (time.time()),
                                    True)
Example #2
0
def deliver (key):
    count_delivered ()
    wlelog.log (3, 'Unblocking mail with key %s' % key)
    return move_message_from_queue (key, 'mailbox',
                                    'Confirmed (%s)' % \
                                    time.ctime (time.time()),
                                    True)
Example #3
0
def handle_ok(m):
    wlemail.add_magic(m)
    wlevacation.handle_incoming(m)
    wleconfirm.deliver_mail(m, 'mailbox')
    count_delivered()
    wleconfirm.check_discuss(m)
    if wlemail.from_mailinglist(m):
        if wleconfig.config.getboolean('DEFAULT', 'list_add_other'):
            wlelists.snoop_addresses(m)
    else:
        if wlemail.sent_by_myself(m):
            if wleconfig.config.getboolean('DEFAULT', 'confirm_recipients'):
                wlelists.add_confirmed(m.mrecipients)
        elif wleconfig.config.getboolean('DEFAULT', 'people_add_other'):
            wlelists.snoop_addresses(m)
Example #4
0
def handle_ok (m):
    wlemail.add_magic (m)
    wlevacation.handle_incoming (m)
    wleconfirm.deliver_mail (m, 'mailbox')
    count_delivered ()
    wleconfirm.check_discuss (m)
    if wlemail.from_mailinglist (m):
        if wleconfig.config.getboolean ('DEFAULT', 'list_add_other'):
            wlelists.snoop_addresses (m)
    else:
        if wlemail.sent_by_myself (m):
            if wleconfig.config.getboolean ('DEFAULT', 'confirm_recipients'):
                wlelists.add_confirmed (m.mrecipients)
        elif wleconfig.config.getboolean ('DEFAULT', 'people_add_other'):
            wlelists.snoop_addresses (m)