Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 47870

Re: How to internally disable client pop3/imap/smtp for webmail only?

$
0
0
camel1cz wrote:

Dominique, the || is string concatenation, not logical OR... it will evaluate to the pattern '%ip.address%' - at least in postgresql

OK, it's postgresql specific code, it would be better to use universal CONCAT function:

remote_webmail_ips_attribute like CONCAT('%', '%r', '%')

I see, I didnt' know that as I'm not familiar with postgresql... it seems to be different than all SQLs I used in the past.  As I do understand that every language can choose its own syntax, it's weird to use double pipes for anything else than what the world considers it to mean, which is an logical OR... IMHO wink


Viewing all articles
Browse latest Browse all 47870

Trending Articles