Re: Asterisk problem in Sieve Script

2017-05-17 Thread Walter H. via Info-cyrus
Hello, with the, there is not any match ... '.*' would be a regular expression matching anything, but sieve filter language doesn't support regular expressions, or does it? I did a workaround on the other side, I did a reverse DNS lookup, and most times there is a DNS name instead of an IP add

Re: Asterisk problem in Sieve Script

2017-05-17 Thread Eric W. Bates
Try: elsif header :matches "subject" "[proxy] File-URL (.*) detected" On 5/16/2017 9:53 AM, Walter H. via Info-cyrus wrote: > Hello, > > I've got the following in the sieve script > > elsif header :matches "subject" "[proxy] File-URL (*) detected" > { > fileinto "INBOX._Info.ftpFileURLs"; >

Asterisk problem in Sieve Script

2017-05-16 Thread Walter H. via Info-cyrus
Hello, I've got the following in the sieve script elsif header :matches "subject" "[proxy] File-URL (*) detected" { fileinto "INBOX._Info.ftpFileURLs"; } else { fileinto "INBOX._Info"; } when the subject is e.g. [proxy] File-URL (Media-PC) detected then the if is true, this correct when