Search found 176 matches

by msquadrat
Wed Jun 05, 2019 2:05 pm
Forum: Developers
Topic: Zimbra extension adding lib
Replies: 3
Views: 3594

Re: Zimbra extension adding lib

The proper way is to just put the 3rd party jar next to your extension jar in the extensions folder. Each extension gets its own classloader so they don't step on each other toes. Maybe the code of our recently open sourced extension here https://github.com/silpion/zimbra-crowd-extension helps to un...
by msquadrat
Thu Mar 14, 2019 2:57 pm
Forum: Administrators
Topic: Why do distribution lists have a zimbraMailHost attribute?
Replies: 4
Views: 4111

Re: Why do distribution lists have a zimbraMailHost attribute?

I dug around until I found the definitive answer for your question, as it's been quite awhile and it was a little fuzzy even for me. Here's details from [bug]68033[/bug]: We now support user manageable groups ([bug]42912[/bug], [bug]48093[/bug]) . For data integrity, all mods and get of user owned ...
by msquadrat
Thu Mar 14, 2019 12:40 pm
Forum: Administrators
Topic: Why do distribution lists have a zimbraMailHost attribute?
Replies: 4
Views: 4111

Re: Why do distribution lists have a zimbraMailHost attribute?

Each distribution list has a zimbraMailHost attribute. Accounts and resources have these, as they store data on the mailbox servers. Distribution lists are, as far as I'm aware, completely implemented as ldap records with no data in mysql, lucene or the message store. However, if the zimbraMailHost...
by msquadrat
Fri Mar 01, 2019 2:49 pm
Forum: Administrators
Topic: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory
Replies: 16
Views: 17777

Re: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory

zimbra@:~$ bash -x /opt/zimbra/bin/zmjava com.zimbra.cs.account.ProvUtil exit ++ dirname /opt/zimbra/bin/zmjava + source /opt/zimbra/bin/zmshutil + zmsetvars -f + '[' x-f = x-f ']' + shift + zmlocalconfig=/opt/zimbra/bin/zmlocalconfig + '[' '!' -x /opt/zimbra/bin/zmlocalconfig ']' + export zmsetvar...
by msquadrat
Thu Feb 28, 2019 3:27 pm
Forum: Administrators
Topic: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory
Replies: 16
Views: 17777

Re: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory

This error: zimbra@:~$ exec ${zimbra_java_home}/bin/java ${java_options} -su: /bin/java: No such file or directory That is odd... I would investigate that 1) you haven't changed the default shell for zimbra and 2) that .bashrc is available. % su - zimbra % grep -i java .bashrc JAVA_HOME=/opt/zimbra...
by msquadrat
Wed Feb 27, 2019 4:43 pm
Forum: Administrators
Topic: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory
Replies: 16
Views: 17777

Re: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory

zmlocalconfig -q | grep '^zimbra.*home =' zimbra_home = /opt/zimbra zimbra_java_home = /opt/zimbra/common/lib/jvm/java That's very odd. The issue is that somehow zmjava tries to execude /bin/java instead of the proper Zimbra java. And the line 56 in /opt/zimbra/bin/zmjava should be exec ${zimbra_ja...
by msquadrat
Fri Feb 22, 2019 8:34 pm
Forum: Administrators
Topic: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory
Replies: 16
Views: 17777

Re: /opt/zimbra/bin/zmjava: line 56: /bin/java: No such file or directory

Looks like something is very broken/misconfigured in your setup. What does the command

Code: Select all

zmlocalconfig -q | grep '^zimbra.*home ='
return?
by msquadrat
Mon Feb 11, 2019 8:55 am
Forum: Administrators
Topic: Unable to display mail causing 100% CPU utilization
Replies: 3
Views: 3200

Re: Unable to display mail causing 100% CPU utilization

That info is exactly what we (well, I :-) need. It looks like a variant of one of the issues fixed in p2, some catastrophic backtracking in a regular expression in the defanger: at java.util.regex.Matcher.replaceAll(Matcher.java:951) at com.zimbra.cs.html.DefangFilter.sanitizeStyleValue(DefangFilter...
by msquadrat
Tue Jan 29, 2019 10:54 am
Forum: Administrators
Topic: Multiple addresses in From: Line
Replies: 5
Views: 4283

Re: Multiple addresses in From: Line

The latter should be enough already, even for base64 encoded From headers: From:.+<.*@+.*>.*<.*@+.*> I'd probably change it to ^From:.*<[^>]+> *<[^>]+> *$ though. Why? Unless I'm mistaken the spammers don't send us multiple From values but a single, invalid From value instead. Note the missing comma...
by msquadrat
Tue Jan 29, 2019 8:45 am
Forum: Administrators
Topic: Multiple addresses in From: Line
Replies: 5
Views: 4283

Re: Multiple addresses in From: Line

We're seeing this issue as well. Still pondering about the proper solution, probably either a SpamAssassin rule or a Postfix header check.