« Return to Thread: 2 Messages in Sent Folder After Sending Email

Re: 2 Messages in Sent Folder After Sending Email

by metamorph :: Rate this Message:

Reply to Author | View in Thread

metamorph wrote:
Paul Lesniewski wrote:
On Tue, Jun 17, 2008 at 6:46 AM, metamorph <brown2235a@msn.com> wrote:
>
>
>
> Paul Lesniewski wrote:
>>
>>> I was wondering if someone could help me with an issue in my setup that
>>> places 2 copies of any sent email into the sent message folder (one
>>> marked
>>> as read and one marked as unread).
>>>
>>> My config:
>>> $default_folder_prefix          = 'INBOX/';
>>> $trash_folder                   = 'Trash';
>>> $sent_folder                    = 'Sent Items';
>>> $draft_folder                   = 'Drafts';
>>> $default_move_to_trash          = true;
>>> $default_move_to_sent           = true;
>>> $default_save_as_draft          = true;
>>> $show_prefix_option             = false;
>>> $list_special_folders_first     = true;
>>> $use_special_folder_color       = true;
>>> $auto_expunge                   = true;
>>> $default_sub_of_inbox           = true;
>>> $show_contain_subfolders_option = false;
>>> $default_unseen_notify          = 2;
>>> $default_unseen_type            = 1;
>>> $auto_create_special            = true;
>>> $delete_folder                  = false;
>>> $noselect_fix_enable            = false;
>>>
>>> setup:citadel/SM/Apache/PHP 5/Ubuntu
>>> citadel and all users are set to restrict access to internet mail.
>>
>> Please always state the SM version.  Use 1.4.15 if possible.
>>
>>> Any suggestions or requests for additional info are greatly appreciated-
>>> SM
>>> Rocks.
>>
>> Try to see if any sent messages are saved in the Sent folder if you
>> turn off your sent folder in your folder prefs.  *Make sure* to
>> disable all plugins (are you using "Sent Subfolders"?).  Otherwise,
>> I'd try inserting some exit statements near the bottom of
>> src/compose.php and seeing which parts of the code are adding multiple
>> copies.  Might be a Citadel bug too.
>
> Per your advice I turned off the sent folder option in folder prefs and now
> there is only one saved message in the sent folder-seems to be fixed.  Could
> you explain what was happening?
>
> Thanks for your help, you knew exactly what was going on--amazing!

I don't know what is going on.  I am wondering if Citadel tries to
outsmart the user by automatically saving sent messages for you when
you use its SMTP server to send something.  You should check the
SMTP/Sendmail server you are using to verify that this is or is not
the case.  You can also see if it is a SquirrelMail problem by putting
some output at the bottom of src/compose.php, near line 1654 you can
put something like "echo 'COPYING TO SENT FOLDER'; exit;".  Also you
did not follow up my informational requests: you have to state your SM
version and please verify that you have disabled all plugins.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
SM 1.4.15, plugins disabled--sorry, I got a little click happy.
I will try to add  some output at the bottom of src/compose.php, near line 1654 and as soon as I can I will post the results.

Thanks for your patience.
Test #1
I added echo 'COPYING TO SENT FOLDER'; exit; to line 1654 and reloaded SM.
Previously, I had changed a line in the config file to $sent_folder  =' ';, so I left it for the first test.  Sent an email and the mail was delivered correctly with only one copy in the sent items folder.  

Test #2
I left everything the same except for the config file which was changed to $sent_folder  ='Sent Items';  
The mail was delivered correctly except that two copies were placed in the sent items folder.

Did I do this right and complete everything you wanted?
I changed the config file back to config file to $sent_folder  =' ';.

Additional info:
$default_folder_prefix          = 'INBOX/'; was kept constant in both tests
When a draft is saved, it works correctly, ie only one copy is saved.

Thanks.  

 « Return to Thread: 2 Messages in Sent Folder After Sending Email

LightInTheBox - Buy quality products at wholesale price!