Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: k0r54 on May 25, 2007, 10:43:32 AM

Title: using sent folder in imap
Post by: k0r54 on May 25, 2007, 10:43:32 AM
Hi,


I have set up fetchmail and my email is collecting and sending fine through webmail. The only problem i have is in my folders I have Indox, Junk E-mail, junkmail, Sent and sent-mail. Firstly sent doesn't seem to be used but sent-mail does and what one is used in the junk folder?

Is there a way to in all the email accounts remove the useless folders and also when i have set it up in outlook the sent-mail is not in the list when it asks me to select my sent location. All i see is in outlook is Indox and Junk-Email.

Thanks
k0r54
Title: Re: using sent folder in imap
Post by: mrjhb3 on May 25, 2007, 04:29:34 PM
Quote from: "k0r54"
Hi,


I have set up fetchmail and my email is collecting and sending fine through webmail. The only problem i have is in my folders I have Indox, Junk E-mail, junkmail, Sent and sent-mail. Firstly sent doesn't seem to be used but sent-mail does and what one is used in the junk folder?

Is there a way to in all the email accounts remove the useless folders and also when i have set it up in outlook the sent-mail is not in the list when it asks me to select my sent location. All i see is in outlook is Indox and Junk-Email.

Thanks
k0r54

The folders are not useless.  Imp and Outlook use different folder naming conventions. Imp uses sent-mail and Outlook uses Sent Items.  Imp uses junkmail, because that is the default folder created when a new user is added to the system and where junkmail goes to by default with SME Server, and outlook uses Junk E-mail.  

The system can't be expected to know which mail client you are or might one day use.  Once you use a new client that uses differenct folder naming conventions, you will see that folder.  You can look at imp/config/prefs.php 135sent_mail_folder and see that you can change the default imp value.  Just create a custom-template for it.  Any users that have used horde, will probably need to manually update their options/mail/personal Information.  The two junkmail folders you are going to have to live with if you plan on using two different mail clients.  Outlook doesn't allow you to remove the Junk E-mail folder, and if you remove it from imp, it will show up after the next time you use outlook.

John
Title: using sent folder in imap
Post by: k0r54 on May 25, 2007, 05:06:45 PM
hey,

Thanks for the advice. I'm a little lost on what I need to do to get outlook and webmail using the same sent items folder. Im not worried about the junk e-mail at all but can you explain a little more about setting up the sent mail for outlook and webmail use for all my users.

Thanks
k0r54
Title: using sent folder in imap
Post by: mrjhb3 on May 25, 2007, 10:29:11 PM
Quote from: "k0r54"
hey,

Thanks for the advice. I'm a little lost on what I need to do to get outlook and webmail using the same sent items folder. Im not worried about the junk e-mail at all but can you explain a little more about setting up the sent mail for outlook and webmail use for all my users.

Thanks
k0r54


Create a custom-template and make the changes you want, then signal-event email-update for them to take effect.

mkdir -p /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/prefs.php

cd /etc/e-smith/templates-custom/home/httpd/html/horde/imp/config/prefs.php

cp /etc/e-smith/templates/home/httpd/html/horde/imp/config/prefs.php/135sent_mail_folder  .

pico -w (may have to use nano -w) 135sent_mail_folder

remark out the first value and remove the remarks from the second value.

This now changes your sent folder to 'Sent Items'

signal-event email-update

Test this by creating a new dummy user, then login to horde, options/mail/personal information and set you sent mail folder, you should see you new setting.

For existing users, you may have change the sent-mail folder to none, logout and back in, then set it to the new option.

HTH,

John
Title: using sent folder in imap
Post by: k0r54 on May 25, 2007, 10:50:33 PM
Thanks worked a treat!

k0r54