[Bug 267214] New: Filter Action "Send Fake MDN" Bug? (MDN Not sent.)

Carl Sopchak carl.sopchak at cegis123.com
Sat Feb 26 23:12:20 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=267214

           Summary: Filter Action "Send Fake MDN" Bug?  (MDN Not sent.)
           Product: kmail2
           Version: unspecified
          Platform: Fedora RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: filtering
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: carl.sopchak at cegis123.com


Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

I am trying to send an MDN for emails with a blank subject.  I have the filter
defined, and the message is being marked as read, and moved to the Trash
folder, but the Send Fake MDN action does not seem to be executed.

I have the configuration for MDN's set to ASK, as I want the choice for
incoming emails requesting an MDN.

To me, this appears to be a bug in the KMFilterAction::sendMDN logic:

 KMMessage * mdn = msg->createMDN( KMime::MDN::AutomaticAction, d, false, m );

(The “false” parameter is allowGUI.)

whereas early on in createMDN, you have 

  if ( mode == 1 /* ask */ && !allowGUI )
    return 0; // don't setMDNSentState here!

Since allowGUI is false in the sendMDN call, and my configuration is set to
ASK, my requested fake MDN will never be sent.

Both of these configurations (for the filter to send the MDN, and to ASK before
sending MDN's) are my choice, and therefore should be allowed instead of being
silently ignored.

Assuming createMDN is called elsewhere (makes sense), I'd suggest that the
simplest solution would be that the call from sendMDN send a true for the
allowGUI parameter.

Or, add another parameter to createMDN, perhaps named “forced” or “requested”,
that causes createMDN to ignore the general MDN configuration setting.  (If I'm
telling a filter to send an MDN, I want the MDN to be sent, regardless of the
general MDN setting!)

As an aside, I tried using Forward To in the filter, but that didn't work
because I couldn't configure it to “forward” to the sender of the email.

Carl

Reproducible: Always

Steps to Reproduce:
Set general MDN response to ASK.
Create a filter to send a fake MDN.
Send email that matches filter criteria.


Actual Results:  
No MDN is sent

Expected Results:  
MDN Sent as requested.

I'm somewhat confused as to which version of kmail I'm using.  Bugzilla states
"kmail prior to anakonda" should be filed under "kamil", and anakonda version
is kmail2, but the version I am using (Fedora 12) uses anakonda, but Help ->
About Kamil shows 1.13.5, which is not in the dropdown above.  (KDE 4.4.5) 
Sorry if this if filed under the wrong kmail, but may apply to kmail2 as
well...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list