After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 254060 - Can drop any mail in outbox.
Can drop any mail in outbox.
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
1.5.x (obsolete)
Other All
: Normal major
: ---
Assigned To: Jeffrey Stedfast
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2004-02-09 07:26 UTC by Gerardo Marin
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gerardo Marin 2004-02-09 07:26:33 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
Drag a message from any mailbox and drop it into outbox.
Message seems to be sent, 

Steps to reproduce the problem:
1. Drag a message from i.e. your inbox to make things funnier
2. Drop it into outbox
3. 

Actual Results:
Server dealt with it, however Evolution was too ebedient:

sending : MAIL FROM:<federico@ximian.com> BODY=8BITMIME
received: 250 ok
sending : RCPT TO:<gerardo@ximian.com>
received: 250 ok
sending : DATA
received: 354 go ahead
sending : \r\n.\r\n
received: 250 ok 1076309043 qp 32183
sending : RSET
received: 250 flushed
sending : QUIT
received: 221 peabody.ximian.com


Expected Results:
Shouldn't be sent unless "From" matches any of my accounts and then send it
using the adequate SMTP server. Worst scenario is not allowing to drop in
Outbox.



How often does this happen? 
Every time.

Additional Information:
Wohoo! I'm a spammer impersonating Federico!
Comment 1 Gerardo Marin 2004-02-09 07:29:25 UTC
Leaving this as major since it can be confusing to say the least.
Assigning to fejj since he loves d&d pain.
Comment 2 Jeffrey Stedfast 2004-02-13 20:57:50 UTC
fwiw, Outlook allows this as well.

on the other hand, Mozilla doesn't allow dragging messages into Outbox
at all.
Comment 3 Jeffrey Stedfast 2004-02-13 22:53:55 UTC
Mozilla also doesn't allow Outbox as the destination for
folder/message copies and moves as well.

Outlook allows messages to be drag&dropped into the Outbox, but it
won't send them...
Outlook also allows one to create/move/copy folders into Outbox.

I now have a patch on my local system to do the following:

- don't allow drag & drop of messages to local Outbox (ie. only allow
x-folder to be dropped into local Outbox)
- don't allow Outbox to be drag-moved anywhere (drag-copy is forced)
- don't allow user to Move Outbox to another location using context
menu (consistancy is key)

this leaves:

- don't allow user to copy/move messages into Outbox via menus
- disable move/rename folder-tree context menu items for Outbox

to prevent this last one, I think what we really need is an extension
to the "pick a folder" dialogs to prevent the user from even being
able to choose Outbox. no sense allowing them to choose Outbox and
then after pressing OK, giving them an error dialog.
Comment 4 Not Zed 2004-02-17 04:31:05 UTC
i don't see this as a bug.

its a feature isn't it?

since you can just create any account name you want anyway, its hardly
a security issue or anything either (or spammer issue).

FWIW we need options to disable folder picking anyway, e.g. move to a
vfolder, import to a vfolder tree or a folder under trash/junk.
Comment 5 Jeffrey Stedfast 2004-02-17 21:13:44 UTC
yea, I think we should allow users to copy/move messages into Outbox
(via d&d or other means). I think that is actually kinda a cool feature.

I do think, tho, that Drafts/Inbox/Outbox/Sent need to be protected
from  being renamed/deleted as various bits of code rely on them
always existing, so I have applied a patch to do that.

I also have a #if 0 section to prevent d&d of messages into Outbox
which I can enable if The Powers That Be decide that is the way to go.

(committing what I have so far since either way that code needs to happen)
Comment 6 Jeffrey Stedfast 2004-02-20 21:09:11 UTC
I'm gonna consider this issue closed for now.