Revision 7193ea94
Added by Marc Dequènes almost 16 years ago
- ID 7193ea94c804402239cc4e2ccc87113313b59733
postman | ||
---|---|---|
next
|
||
end
|
||
|
||
logger.debug "Proper signed content detected"
|
||
logger.debug "Signed content detected"
|
||
begin
|
||
order = mail.parse
|
||
rescue CyberError => e
|
||
... | ... | |
if order.nil?
|
||
logger.info "Mail is invalid, ignoring..."
|
||
next
|
||
elsif not order.ok
|
||
mail_reply = mail.create_reply
|
||
mail_reply.quoted_printable_body = "A message (ID: #{mail.message_id}) apparently from you was rejected for the following reason:\n #{order.msg}"
|
||
mail_reply.deliver
|
||
next
|
||
end
|
||
|
||
result_list = CommandParser.run(order)
|
Also available in: Unified diff
[evol] send reply for properly signed message with bad content + ensure setting custom headers in all cases