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.
Pages: [1]
1
Installation and Upgrades / [SOLVED] Clamav-daemon doesn't start after upgrade
« on: June 10, 2009, 11:27:28 am »
Hi, I upgraded to the latest version of eBox and I've got a problem. Clamav-daemon doesn't start automatically. In the postfix log I see:
Jun 10 11:22:00 mail amavis[29298]: (29298-02) (!!)Clam Antivirus-clamd av-scanner FAILED: CODE(0x81544a4) Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 84) line 310. at (eval 84) line 511.
Jun 10 11:22:00 mail amavis[29298]: (29298-02) (!!)WARN: all primary virus scanners failed, considering backups
If I do:
# /etc/init.d/clamav-daemon start
the problem is solved.
If I do:
# /etc/init.d/ebox mailfilter restart
I got:
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.
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.
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: mailfilter [ OK ]
But clamav-daemon doesn't start:
# ls -l /var/run/clamav/
total 0
How can I fix the problem?
Tanks
Jun 10 11:22:00 mail amavis[29298]: (29298-02) (!!)Clam Antivirus-clamd av-scanner FAILED: CODE(0x81544a4) Too many retries to talk to /var/run/clamav/clamd.ctl (Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or directory) at (eval 84) line 310. at (eval 84) line 511.
Jun 10 11:22:00 mail amavis[29298]: (29298-02) (!!)WARN: all primary virus scanners failed, considering backups
If I do:
# /etc/init.d/clamav-daemon start
the problem is solved.
If I do:
# /etc/init.d/ebox mailfilter restart
I got:
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.
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.
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: mailfilter [ OK ]
But clamav-daemon doesn't start:
# ls -l /var/run/clamav/
total 0
How can I fix the problem?
Tanks
2
Installation and Upgrades / ebox-egroupware interface language
« on: March 25, 2009, 03:42:21 pm »
Helo, I've installed ebox with the new ebox-egroupware. I think It's great! But I cannot change le language for the interface. It's only in english. How can I do this? Thanks
3
Installation and Upgrades / Groupware server for eBox
« on: June 30, 2008, 03:17:11 pm »
I think It could be wonderfull to integrate a groupware server in eBox.
The best solution for me could be SoGO (http://sogo.opengroupware.org/).
It use LDAP for authentication and PostgreSQL for data managment.
I find a script made by Mark Pavlichuk, for installation on Ubuntu and it is self documented:
http://mail.opengroupware.org/pipermail/sogo/2008-May/001000.html
The best solution for me could be SoGO (http://sogo.opengroupware.org/).
It use LDAP for authentication and PostgreSQL for data managment.
I find a script made by Mark Pavlichuk, for installation on Ubuntu and it is self documented:
http://mail.opengroupware.org/pipermail/sogo/2008-May/001000.html
4
Installation and Upgrades / Add-On: Razor and Pyzor
« on: June 06, 2008, 05:39:24 pm »
Usefull could be an add-on for Razor and Pyzor, to use Razor and Pyzor in Ebox just edit /usr/share/ebox/stubs/mailfilter/local.cf.mas and add:
#pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor
#razor
use_razor2 1
razor_config /etc/razor/razor-agent.conf
Then:
# apt-get install razor pyzor
Then restart mailfilter:
/etc/init.d/ebox mailfilter restart
#pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor
#razor
use_razor2 1
razor_config /etc/razor/razor-agent.conf
Then:
# apt-get install razor pyzor
Then restart mailfilter:
/etc/init.d/ebox mailfilter restart
5
Installation and Upgrades / Add-On: amavisd quarantine on postgresql
« on: June 06, 2008, 12:20:43 pm »
It could be not so hard to implement a quarantine system Ebox; I use this method:
I create the database on postgresql using the guide on http://www.ijs.si/software/amavisd/README.sql-pg
The tables necessaries for quarantine are: maddr, mailaddr, msgrcpt, msgs, quarantine.
In /etc/amavis/conf.d you must add:
$spam_quarantine_method = 'sql:';
@storage_sql_dsn = (['DBI:Pg:database=spam;host=localhost', 'user', 'pass']);
$policy_bank{'AM.PDP'} = {
log_level => 3,
protocol=>'AM.PDP', # Amavis policy delegation protocol (new milter helper)
inet_acl=>[qw( 127.0.0.1 [::1] 192.168.X.XXX )]
};
$interface_policy{'9998'} = 'AM.PDP';
Then I use MailZu (http://www.mailzu.net/) as a web interface for release.
I create the database on postgresql using the guide on http://www.ijs.si/software/amavisd/README.sql-pg
The tables necessaries for quarantine are: maddr, mailaddr, msgrcpt, msgs, quarantine.
In /etc/amavis/conf.d you must add:
$spam_quarantine_method = 'sql:';
@storage_sql_dsn = (['DBI:Pg:database=spam;host=localhost', 'user', 'pass']);
$policy_bank{'AM.PDP'} = {
log_level => 3,
protocol=>'AM.PDP', # Amavis policy delegation protocol (new milter helper)
inet_acl=>[qw( 127.0.0.1 [::1] 192.168.X.XXX )]
};
$interface_policy{'9998'} = 'AM.PDP';
Then I use MailZu (http://www.mailzu.net/) as a web interface for release.
6
Installation and Upgrades / Add-On: LDAP shared address book
« on: June 06, 2008, 11:43:06 am »
I think It could be a great idea to implement a shared address book trough LDAP. I've implemented It by adding an organizational unit (ou=abook,dc=ebox) to LDAP. Then I use this software written by Andrew Dolgov (http://bah.org.ru/download/ldapmgr/ldapmgr-0.5.tar.gz) to edit the address book. This address book is readable by Thunderbird (that we use as mail client).
7
Installation and Upgrades / Add-On: support for postgrey
« on: June 05, 2008, 05:44:20 pm »
Graylisting is one of the better way to fight again spam. I Think I's no hard to add.
It's possible to implement by now by comment out in main.cf.mas the line smtpd_recipient_restrictions and replace that line with:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
permit_tls_clientcerts,
reject_unlisted_recipient,
reject_unauth_destination,
reject_non_fqdn_hostname,
reject_non_fqdn_recipient,
reject_non_fqdn_sender,
check_policy_service inet:127.0.0.1:60000,
permit
It's possible to implement by now by comment out in main.cf.mas the line smtpd_recipient_restrictions and replace that line with:
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
permit_tls_clientcerts,
reject_unlisted_recipient,
reject_unauth_destination,
reject_non_fqdn_hostname,
reject_non_fqdn_recipient,
reject_non_fqdn_sender,
check_policy_service inet:127.0.0.1:60000,
permit
8
Installation and Upgrades / Create alias mail account to group
« on: June 03, 2008, 04:06:18 pm »
In the Edit Group options I want to create an'alias for a group by I get the message: "There are no users in the group or the users do not have a mail account, so an alias account cannot be created". The users in the group have an'email account. How can I create an alias for a group?
Pages: [1]