Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - auerhaan

Pages: [1]
1
Download the webapp files from:
http://download.zarafa.com/zarafa/webapp-1.0.tar.gz

Extract the files:
sudo tar -xvf webapp-1.0.tar.gz

Open the 'packages\debian' directory

Issue the following command to install:
sudo dpkg -i zarafa-webapp*.deb

And change the ownership of /var/lib/zarafa-webapp/tmp/ to www-data
sudo chown www-data:www-data /var/lib/zarafa-webapp/tmp/

Restart apache
sudo /etc/init.d/apache2 reload

The webapp interface can now be reached at:
http://<zentyal-server-ip>/webapp

and/or

https://<zentyal-server-ip>/webapp

if https is configured on your server.

To be able to use the spreed-meeting functionality, CURL has te be enabled in PHP.
http://www.spreed.com/eu/Features/webmeeting/

sudo apt-get install php5-curl

Restart apache
sudo /etc/init.d/apache2 reload

Good luck

2
Installation and Upgrades / Change timeout for duplicity
« on: March 18, 2010, 03:55:58 pm »
The backup in EBox 1.4 fails because duplicity times out on retrieving the filelist.

On the commandline I can add '--timeout=180' to increase the timeout to 180 seconds instead of the standard 30 seconds.

Which file (stubs?) do I have to change in my EBox configuration to change this timeout ?

/usr/share//ebox-ebackup/ebox-duplicity-wrapper maybe ?


3
Installation and Upgrades / Sieve and ManageSieve in egroupware (HOWTO)
« on: February 17, 2010, 06:21:38 pm »
I've got Sieve to work in egroupware on ebox 1.4

To enable ManageSieve in eBox you have to turn on the service in Mail ‣ General ‣ Mail server options -> Retrieval services

Configure egroupware
Login as an user with admin privileges
Click Admin --> emailadmin --> site configuration
Click default profile (created by setup) (or the description you have entered instead of the default)
Within the popup window choose the tab IMAP and set:
Type of IMAP server: Cyrus IMAP Server
Enable Sieve: activate the checkbox
Sieve server port: 4190
Save these settings
Click eMail --> Preferences --> Forced Preferences
Enter some name at sieve script name and save it

You have to logout and login again to see the new settings working...

Now you should be able to see some more settings within the egroupware eMail application:
- filter rules
- vacation notice
- email notification

I'm only not sure if these settings will survive in case of configuration changes in ebox. Maybe the ebox-team can tell me if there are any templates to be changed or they could implement this in an upcoming revision.

4
Installation and Upgrades / Slapd errors? in syslog
« on: February 15, 2010, 09:57:25 pm »
I have this error in my syslog from time to time:
Quote
Feb 15 21:38:08 ubuntu01 slapd[7927]: conn=57599 op=17 do_search: invalid dn: "sambaDomainName=,sambaDomainName=AUERHAAN-WG,dc=ebox"

Looks like there is a request that isn't build up properly sambaDomainName=,sambaDomainName=

There are also a lot messages like these:
Quote
Feb 15 08:03:45 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (domainMailPortion) not indexed
Feb 15 08:03:46 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (mail) not indexed
Feb 15 08:03:46 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (dc) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (sambaSID) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (sambaGroupType) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (sambaGroupType) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (sambaSIDList) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (sambaSID) not indexed
Feb 15 08:04:30 ubuntu01 slapd[7927]: <= bdb_equality_candidates: (gidNumber) not indexed

5
A lot of the logs in the webinterface aren't available anymore after upgrade to 1.4

Checking out /var/log/ebox/ebox.log I found errors like these:
Quote
2010/02/05 19:32:24 ERROR> PgDBEngine.pm:167 EBox::PgDBEngine::insert - Error inserting data: INSERT INTO mail_message ( from_address, message_id, message_type, message_size, status, event, message, to_address, client_host_name, relay, timestamp, client_host_ip) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
ERROR:  column "message_type" of relation "mail_message" does not exist
LINE 1: ...ERT INTO mail_message ( from_address, message_id, message_ty...
                                                             ^
 
Values: $VAR1 = [
          'xxx@xxx.xxx',
          '7f087a431002051032p3a72ba0cscc13a29b90302f6a@xxx.xxx.xxx',
          'received',
          '2555',
          'sent',
          'msgsent',
          'delivered via dovecot service',
          'xxx@xxx.xx',
          'localhost',
          'dovecot',
          '2010-Feb-5 19:32:22',
          '127.0.0.1'
        ];

And:
Quote
2010/02/10 08:17:04 ERROR> PgDBEngine.pm:167 EBox::PgDBEngine::insert - Error inserting data: INSERT INTO samba_virus_report ( client, date, virus) VALUES ( ?, ?, ?)
ERROR:  relation "samba_virus_report" does not exist
 
Values: $VAR1 = [
          '192.168.192.50',
          '2010-2-01',
          '9'
        ];

There are lots of errors like this in /var/log/ebox/ebox.log

This is in ebox.log about the migration of logs
Quote
2010/02/05 17:48:56 DEBUG> Base.pm:61 EBox::Migration::Base::executeGConf - Skipping migration to 1 in logs
2010/02/05 17:48:56 DEBUG> Base.pm:61 EBox::Migration::Base::executeGConf - Skipping migration to 2 in logs
2010/02/05 17:48:56 DEBUG> Base.pm:56 EBox::Migration::Base::executeGConf - Migrating logs to 3

6
Out of the blue (maybe upgrade from 1.2 tot 1.4 ?) user can't mail pdf files anymore.

They get the following reply-mail from the ebox-server:
Quote
BANNED CONTENTS ALERT

Our content checker found
    banned name: multipart/mixed | application/pdf,.pdf,kosten
      infrastructuur.pdf

in email presumably from you <xxx@xxx.xx>
to the following recipient:
->xxx.xxx@xxx.xx

Our internal reference code for your message is 30657-05/stHFw58Cw4pA

According to a 'Received:' trace, the message originated at: [127.0.0.1],
  ubuntu01 localhost [127.0.0.1]

Return-Path: <xxx@xxx.xx>
Message-ID: <4c65d58d59c4a73b4400aab07e2f63d2@ubuntu01>
Subject: Facturen telefonie Auerhaan

Delivery of the email was stopped!

The message has been blocked because it contains a component
(as a MIME part or nested within) with declared name
or MIME type or contents type violating our access policy.

To transfer contents that may be considered risky or unwanted
by site policies, or simply too large for mailing, please consider
publishing your content on the web, and only sending an URL of the
document to the recipient.

Depending on the recipient and sender site policies, with a little
effort it might still be possible to send any contents (including
viruses) using one of the following methods:

- encrypted using pgp, gpg or other encryption methods;

- wrapped in a password-protected or scrambled container or archive
  (e.g.: zip -e, arj -g, arc g, rar -p, or other methods)

Note that if the contents is not intended to be secret, the
encryption key or password may be included in the same message
for recipient's convenience.

We are sorry for inconvenience if the contents was not malicious.

The purpose of these restrictions is to cut the most common propagation
methods used by viruses and other malware. These often exploit automatic
mechanisms and security holes in more popular mail readers (Microsoft
mail readers and browsers are a common target). By requiring an explicit
and decisive action from the recipient to decode mail, the danger of
automatic malware propagation is largely reduced.

In UTM -> Mail filter -> Files ACL I have added application/pdf and multipart/mixed as allowed.

Looks like this changed after upgrade to 1.4 from 1.2

Any ideas ?

Update: I have the same problem with incoming mail now    :(

7
The ebox squid module gives me this output with a restart:

Quote
administrator@ubuntu01:~$ sudo /etc/init.d/ebox squid restart
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34.
 * Restarting eBox module: squid                                         [ OK ]
administrator@ubuntu01:~$

The ebox users module gives me this output with a restart:

Quote
administrator@ubuntu01:~$ sudo /etc/init.d/ebox users restart
 * Restarting eBox module: users                                         [fail]
read_file '/var/lib/ebox/conf/ssl/ssl.cert' - sysopen: Permission denied at /usr/share/perl5/EBox/UsersAndGroups.pm line 272.

administrator@ubuntu01:~$

8
After upgrading from 1.2 to 1.4 using the repository and sudo apt-get update and sudo apt-get dist-upgrade I have this error in my ebox.log everytime a mailmessage comes in.

Quote
2010/02/05 19:32:24 WARN> Loggerd.pm:144 EBox::Loggerd::__ANON__ - Error processing line Feb  5 19:32:22 ubuntu01 postfix/qmgr[22313]: C39F519E2AA: removed of /var/log/mail.log: Error inserting data: INSERT INTO mail_message ( from_address, message_id, message_type, message_size, status, event, message, to_address, client_host_name, relay, timestamp, client_host_ip) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
ERROR:  column "message_type" of relation "mail_message" does not exist
LINE 1: ...ERT INTO mail_message ( from_address, message_id, message_ty...

Pages: [1]