Re: Define new variables in local.cf

2016-11-10 Thread Pedro David Marco
Great! Thanks! Pedro. From: RW To: users@spamassassin.apache.org Sent: Tuesday, November 8, 2016 7:15 PM Subject: Re: Define new variables in local.cf On Tue, 8 Nov 2016 04:39:55 + (UTC) Pedro David Marco wrote: > Hi! > When you the same string repeated many ti

Re: Define new variables in local.cf

2016-11-08 Thread RW
On Tue, 8 Nov 2016 04:39:55 + (UTC) Pedro David Marco wrote: > Hi! > When you the same string repeated many times in a .cf file   is it > possible to use any kind of user-defined variable or constant to > avoid repetition and make it easier to maintain? thanks! -Pedro See https://spamass

Re: Define new variables in local.cf

2016-11-08 Thread Dave Wreski
Hi, having the regex into a variable would help maintenance. Something like: $BankList = "Bank1|Bank2|Bank3|Bank4" uri BANKURI /$BankList/i score BANKURI0.2 body BANKBODY /$BankList/i score BANKBODY0.1 is there any way to do this? You might try something like t

Re: Define new variables in local.cf

2016-11-08 Thread Pedro David Marco
" uri   BANKURI  /$BankList/i score   BANKURI    0.2 body   BANKBODY     /$BankList/iscore   BANKBODY    0.1 is there any way to do this? Thanks! Pedro From: Matus UHLAR - fantomas To: users@spamassassin.apache.org Sent: Tuesday, November 8, 2016 11:09 AM Subject: Re: Define new

Re: Define new variables in local.cf

2016-11-08 Thread Matus UHLAR - fantomas
On 08.11.16 04:39, Pedro David Marco wrote: When you the same string repeated many times in a .cf file   is it possible to use any kind of user-defined variable or constant to avoid repetition and make it easier to maintain? any example of what you mean? -- Matus UHLAR - fantomas, uh...@fanto

Define new variables in local.cf

2016-11-07 Thread Pedro David Marco
Hi! When you the same string repeated many times in a .cf file   is it possible to use any kind of user-defined variable or constant to avoid repetition and make it easier to maintain? thanks! -Pedro