#73 Option to allow from us without mailkey

open
nobody
None
5
2003-08-28
2003-08-28
No

Overview:
We receive mail from third party tools / outsourced
apps that use our ASK recipient e-mail as the from and
to addresses. We cannot include our mailkey in these
e-mails, therefore ASK currently queues them as junk.

Solution:

Add option (true/false) to allow mail from us without
mailkey. Default would be false (current behavior).

% diff askmain.py askmain.py.new
219,221c219,227
< self.log.write(1, "Message
comes from us but does not contain our key. Delivering
to Junk")
< self.msg.junk_mail("(Junk)
Message from self without the mailkey")
<
return(self.config.RET_PROCMAIL_STOP)
---
>
> if
self.config.rc_allow_from_us_without_mailkey:
> self.log.write(1,
"Message comes from us but does not contain our key.
Delivering...")
>
self.msg.deliver_mail("Message from self without the
mailkey")
>
return(self.config.RET_PROCMAIL_CONTINUE)
> else:
> self.log.write(1,
"Message comes from us but does not contain our key.
Delivering to Junk")
>
self.msg.junk_mail("(Junk) Message from self without
the mailkey")
>
return(self.config.RET_PROCMAIL_STOP)

Discussion


Log in to post a comment.