

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
12 messages in net.sourceforge.lists.courier-sqwebmailRe: [sqwebmail] Disabling autorenames...| From | Sent On | Attachments |
|---|---|---|
| Paweł Tęcza | Jan 10, 2008 5:13 am | |
| Sam Varshavchik | Jan 10, 2008 4:49 pm | |
| Paweł Tęcza | Jan 11, 2008 1:18 am | |
| Milan Obuch | Jan 14, 2008 11:29 am | |
| Paweł Tęcza | Jan 31, 2008 1:52 am | .gz |
| Paweł Tęcza | Jan 31, 2008 2:09 am | |
| Sam Varshavchik | Feb 3, 2008 7:32 am | |
| Paweł Tęcza | Feb 4, 2008 12:49 am | |
| Sam Varshavchik | Feb 4, 2008 4:05 am | |
| Paweł Tęcza | Feb 4, 2008 4:48 am | |
| Julie S. Lin | Feb 4, 2008 9:07 am | |
| Rainer Duffner | Feb 4, 2008 10:23 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [sqwebmail] Disabling autorenamesent per user? | Actions... |
|---|---|---|
| From: | Milan Obuch (cour...@dino.sk) | |
| Date: | Jan 14, 2008 11:29:07 am | |
| List: | net.sourceforge.lists.courier-sqwebmail | |
On Friday 11 January 2008, Paweł Tęcza wrote:
Sam Varshavchik <mrs...@courier-mta.com> writes:
Paweł Tęcza writes:
Hi Sam,
What do you think about disabling autorenamesent per user?
One of my user asked me how to disable autorenamesent feature in webmail, because it is confusing and unuseful for him. I think that it's interesting idea, but I would like to know what your opinion about it is. Probably the feature is not hard to code it.
Sounds like a plan. Go for it. The tricky part is that this setting must now be a per-account setting, which, if not set at all -- either way -- defaults to the global setting.
Hello,
Thanks for the green light! :) Yes, I was thinking about adding AUTORENAMESENT setting to user Maildir/sqwebmail-config file and checking its value when AUTORENAMESENT feature was globally enabled in the webmail.
Have a nice day,
Pawel
I was tracking this a bit - I couldn't disable it (globally) with neither --disable-autorenamesent argument given to configure while building nor SQWEBMAIL_AUTORENAMESENT setting in sqwebmaild config file... until I found I had SQWEBMAIL_AUTORENAMESENT="NO" in config file... and there is
(void)maildir_create(INBOX "." DRAFTS); { const char *autorenamesent=AUTORENAMESENT; const char *p=getenv("SQWEBMAIL_AUTORENAMESENT"); if (p && *p) autorenamesent = p; if ( strncmp(autorenamesent, "no", 2) != 0 ) (void)rename_sent_folder(); } (void)maildir_create(INBOX "." SENT);
in courier-0.58.0/webmail/sqwebmail.c file. The problem was case sensitivity... anyway, I think this finding may help you in coding. You need just add small number of lines to achive what you want. Maybe you already know that.
On the other side, most settings in config files are case insensitive, could strncmp be replaced with strncasecmp? What do you think? Maybe there are others confused as was I...
Regards, Milan
-- This address is used only for mailing list response. Do not send any personal messages to it, use milan in address instead.








.gz