search for: upperfirst

Displaying 6 results from an estimated 6 matches for "upperfirst".

2011 Apr 24
2
Using replaceable variables in sieve
I am not even sure if this is possible. I cannot find an example of it anywhere. I am in the process of setting up a "plus" addressing system. The addresses would be addresses to accounts like <sales+USERNAME at domain.com>. there are presently 50 such names in sales. This is the one line entry I presently have in the sieve script: if envelope :detail "To"
2011 Apr 25
0
Using replaceable variables in sieve
...ot;]; if envelope :is :user "to" "sales" { if envelope :matches :detail "to" "*" { /* Save name in ${name} in all lowercase except for the first letter. * Joe, joe, jOe thus all become 'Joe'. */ set :lower :upperfirst "name" "${1}"; } if string :is "${name}" "" { /* Default case if no detail is specified */ fileinto "sales"; } else { /* For sales+joe@ this will become users/Joe */ fileinto "users/${name}&qu...
2013 Jul 25
2
Case-insensitive "detail" mailboxes?
We're using sieve with LMTP. We want to have lda_mailbox_autocreate and lmtp_save_to_detail_mailbox. Is there a way to make the "detail" case-insensitive? If so I have not found it yet. I suppose we could lowercase the input string for the SQL userdb query, but that's not what is wanted. The idea being that if a user makes a mailbox called "Test" is that user+test
2016 Nov 17
2
Generalized looping possible in pigeonhole sieve?
I'm struggling to achieve the kind of filtering with sieve that I was able to do with procmail. TL;DR I'd like a way to loop through a set of (address, destination) pairs in sieve so that I can maintain the (address, destination) pairs in one place and not have to explicitly write scores of nearly identical [...] if address :matches ["From", "Sender",
2014 Oct 25
1
Dynamic tags in email address
I'm trying to get dynamic tagging (user+sometag at example.com) to work on a mail server I'm setting up, however it only works as long as it's sent to the main user and not to aliases. virtual-alias-maps query: SELECT get_email_alias_dyn('%s') virtual-mailbox-domains query: SELECT 1 FROM domain WHERE name='%s' virtual-mailbox-maps query: SELECT 1 FROM user_alias
2014 May 27
3
[LLVMdev] Guidance on using pointers vs. references for function arguments
On May 26, 2014, at 5:02 PM, Chandler Carruth <chandlerc at google.com> wrote: > > On Mon, May 26, 2014 at 4:43 PM, Andrew Trick <atrick at apple.com> wrote: > This has been discussed before but I can’t find a reference to it. I could have sworn this was in the coding convention at some point. Here’s what I remember: during early LLVM development there was an effort to