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.


Messages - sotero

Pages: [1] 2
1
SOLVED:

Add the line:

ssl_dh = </etc/dovecot/dh.pem

to the file /etc/dovecot/dovecot.conf ->> don't forget that on zentyal, you have to add it on the stub /etc/zentyal/stubs/mail/dovecot.conf.mas

then run:
openssl dhparam -out /etc/dovecot/dh.pem 4096

will take a while (15 min minimum)

Restart dovecot, and everything will work.


2
Hi all,

Since I've upgraded to Zentyal 7, all clients that try to connect using IMAPs provide the same error on the mail.log

dovecot: imap-login: Error: Failed to initialize SSL server context: Can't load DH parameters: error:1408518A:SSL routines:ssl3_ctx_ctrl:dh key too small: user=<>, rip=someIP, lip=someIP


I've tried to add ssl_dh = </usr/share/dovecot/dh.pem to my 10-ssl.conf file, but that didn't help.

Anone else having this issue?

Marcio

3
News and Announcements / Re: Zentyal 4.1 available!
« on: March 27, 2015, 04:40:01 pm »
No antivirus or mailfilter??

I only use Zentyal as my mail server... looks like I'm gonna have some problems now...  ???

4
Installation and Upgrades / Re: Upgrade zentyal 3.4 to 3.5
« on: September 05, 2014, 12:20:23 pm »
@ferthelet By upgrading I mean clicking on the "upgrade" button on zentyal admin, or on terminal sudo /usr/share/zentyal/release-upgrade, tryed both ways, both uninstall mail module, and I lose everything

@stevew When upgrading a few modules get removed, mail is one of them, I lose e-mails and users, and every other configuration I had. I'll check for that answer you mentioned.


5
Installation and Upgrades / Upgrade zentyal 3.4 to 3.5
« on: September 03, 2014, 11:23:27 pm »
Hi, I'm trying to upgrade zentyal community edition from 3.4.8 to 3.5, It's working on  a 12.04LTS, and the upgrade will put it on a 14.04, but everytime I try to upgrade it breaks my mail, users and webmail modules (and a few others), obviously it doesn't work for me, as all my users and their mailboxes are lost!!

Anyone encountered this problem?

Thanks

6
Installation and Upgrades / Re: Fresh install master-slave setup problem
« on: September 30, 2010, 03:34:00 pm »
I agree, I also believe this is the most common setup, I wonder if anybody got it working.

7
Installation and Upgrades / Re: Fresh install master-slave setup problem
« on: September 23, 2010, 05:55:01 pm »
Yes, I have PAM enabled, default shell, Bash.

Thank you.


EDIT: Just disabled pam, and configured mail server again, but, again, when I activated mail module, on the slave, the machine hangs.

8
Installation and Upgrades / Re: Fresh install master-slave setup problem
« on: September 23, 2010, 11:54:39 am »
I updated to 2.0.2 aswell, but the mail server keeps getting stuck at splash screen.

9
Installation and Upgrades / Fresh install master-slave setup problem
« on: September 20, 2010, 04:50:06 pm »
Hi,

I'm setting up a fresh installation of a master-slave setup, on my masyer I have only network and usersandgroups modules, on one of my slaves which will be mail server I have only network, usersandgroups, and mail, but as soon as I activate mail module, If I reboot my machine it stops responding. Tryed this several times, and it always stops responding after I activate mail module, anyone with this problem?

Is the problem caused because mail server is on a slave? I have two other slaves, a file server and a web server, all working fine.

10
Installation and Upgrades / Re: Upgrade from ebox 1.4.9 to 2.0 error
« on: September 20, 2010, 04:42:51 pm »
Yes I can, but be careful...

I upgraded from 8.04LTS to 10.04LTS

First of all BACKUP your E-box configuration, I opened my ebox and went to Sytem menu, then Backup and created a FULL backup, after your backup is made follow these steps to upgrade ubuntu:

1 - make sure all your packages are updated
# sudo apt-get update
# sudo apt-get upgrade

2- Install update-manager-core if it is not already installed:
sudo apt-get install update-manager-core

3 - edit /etc/update-manager/release-upgrades and set Prompt=lts

4 - Launch the upgrade tool:
# sudo do-release-upgrade

5 - Follow the on-screen instructions.

Your ubuntu is now upgraded to 10.04

Now let's upgrade ebox.

1 - Add new repository to /etc/apt/sources.list
deb http://ppa.launchpad.net/zentyal/2.0/ubuntu lucid main

2 - Import the public key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 10E239FF

3 - make sure all your packages are updated
# sudo apt-get update
# sudo apt-get upgrade

4 - upgrade ebox
# sudo apt-get dist-upgrade

5- Your ebox is now 2.0, go to your ebox, software and then backups, and apply your backup.

That's my step by step... on master-slave configuration not working properly...

11
Installation and Upgrades / Upgrade from ebox 1.4.9 to 2.0 error
« on: September 15, 2010, 03:50:13 pm »
Hi,

I had a master/slave configuration working, and decided to upgrade my ubuntu and also ebox, on my master it went ok, I made a Full backup of ebox, updated my ubuntu, then upgraded Ebox, then restored the backup, all is working. But on the slave the same process gives me an error on restoring the backup:

Code: [Select]
Some error has happened in Zentyal:

There wasn't a database connection, check if database exists\n
Click here to return to the Dashboard

Checked the log, on /var/log/ebox/ebox.log

Code: [Select]
2010/09/10 13:21:03 DEBUG> Backup.pm:1168 EBox::Backup::_restoreModule - Restoring logs from backup data
2010/09/10 13:21:03 DEBUG> GConfModule.pm:134 EBox::GConfModule::_load_from_file - Old gconf format detected
2010/09/10 13:21:03 ERROR> PgDBEngine.pm:100 EBox::PgDBEngine::_connect - Connection DB Error: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
2010/09/10 13:21:03 ERROR> PgDBEngine.pm:121 EBox::PgDBEngine::_disconnect - There wasn't a database connection, check if database exists\n
2010/09/10 13:21:03 ERROR> Backup.pm:1114 EBox::Backup::__ANON__ - Error while restoring: There wasn't a database connection, check if database exists\n
2010/09/10 13:21:03 DEBUG> Backup.pm:1187 EBox::Backup::_revokeRestore - revoking restore for all modules
2010/09/10 13:21:03 DEBUG> Backup.pm:1193 EBox::Backup::__ANON__ - Revoked changes in sysinfo module
2010/09/10 13:21:03 DEBUG> Backup.pm:1193 EBox::Backup::__ANON__ - Revoked changes in apache module

I could use some help, as I tryeds the process more than one time, just in case I did something wrong, and that error keeps showing up...

postgresql is version 8.4.4

12
Anybody seen this?
I get this error in /var/log/ebox/error.log

This happens under a ebox master-slave configuration, with 3 machines as slave, but it only shows up on one of the slaves

Code: [Select]
Use of uninitialized value in pattern match (m//) at /usr/share/perl5/SOAP/Transport/HTTP.pm line 605.
Use of uninitialized value in sprintf at /usr/share/perl5/SOAP/Lite.pm line 1004.
Cannot encode 'EBox__Exceptions__DataNotFound' element as 'hash'. Will be encoded as 'map' instead

What does it mean?

Thanks

13
Installation and Upgrades / Re: Services starting in wrong order
« on: May 25, 2010, 03:19:38 pm »
Hi, I have latest stable version of ebox installed, and mailfilter (1.4.3) is also starting before users, and because of that, it doesn't start. It fails. I'm in a master slave configuration, this happens on one of the slaves.

Code: [Select]
sudo /etc/init.d/ebox restart
 * Stopping eBox module: network                                                                                                                      [ OK ]
 * Stopping eBox module: firewall                                                                                                                     [ OK ]
 * Stopping eBox module: antivirus                                                                                                                    [ OK ]
 * Stopping eBox module: events                                                                                                                       [ OK ]
 * Stopping eBox module: logs                                                                                                                         [ OK ]
 * Stopping eBox module: mail                                                                                                                         [ OK ]
 * Stopping eBox module: mailfilter                                                                                                                   [ OK ]
 * Stopping eBox module: monitor                                                                                                                      [ OK ]
 * Stopping eBox module: ntp                                                                                                                          [ OK ]
 * Stopping eBox module: software                                                                                                                     [ OK ]
 * Stopping eBox module: usercorner                                                                                                                   [ OK ]
 * Stopping eBox module: users                                                                                                                        [ OK ]
 * Stopping eBox module: webmail                                                                                                                      [ OK ]
 * Stopping eBox module: webserver                                                                                                                    [ OK ]
 * Stopping eBox module: apache                                                                                                                       [ OK ]
 * Starting eBox module: network                                         [ OK ]
 * Starting eBox module: firewall                                        [ OK ]
 * Starting eBox module: antivirus                                       [ OK ]
 * Starting eBox module: events                                          [ OK ]
 * Starting eBox module: logs                                            [ OK ]
 * Starting eBox module: mailfilter                                      [fail]
 * Starting eBox module: monitor                                         [ OK ]
 * Starting eBox module: ntp                                             [ OK ]
 * Starting eBox module: software                                        [ OK ]
 * Starting eBox module: users                                           [ OK ]
 * Starting eBox module: webserver                                       [ OK ]
 * Starting eBox module: mail                                            [ OK ]
 * Starting eBox module: usercorner                                      [ OK ]
 * Starting eBox module: webmail                                         [ OK ]
 * Starting eBox module: apache                                          [ OK ]

I have to manually restart mailfilter module

Code: [Select]
sudo /etc/init.d/ebox mailfilter 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.
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 ]

Anyone with a solution?

14
I'm on hardy LTS and just got the same error, I have a Ebox master-slave config

15
On this post http://forum.ebox-platform.com/index.php?topic=569.0 I saw the configuration that should work to login to ssh with ebox users, but this doesn't work with an ebox master-slave configuration,

On my slave machine I:

Changed my /etc/pam.d/common-account

Code: [Select]
account sufficient      pam_ldap.so
account required pam_unix.so

Then Changed my /etc/pam.d/common-auth

Code: [Select]
auth    sufficient      pam_ldap.so
auth requisite pam_unix.so nullok_secure use_first_pass
auth optional pam_smbpass.so migrate missingok

Then I gave access to user

Code: [Select]
smbldap-usermod  -s /bin/bash username

And, can't login, on the log it keeps saying "invalid Credentials"

Can anyone help me? Thanks

PS: On master ebox I did not alter anything

Also,

We can verify that the user is configured.

Code: [Select]
$ ldapsearch -b "dc=Eboxmaster,dc=m-iti" -D "cn=ebox,dc=Eboxmaster,dc=m-iti" -W uid=mgouveia
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=Eboxmaster,dc=m-iti> with scope subtree
# filter: uid=mgouveia
# requesting: ALL
#

# mgouveia, Users, Eboxmaster.m-iti
dn: uid=mgouveia,ou=Users,dc=Eboxmaster,dc=m-iti
cn: Marcio Gouveia
uid: mgouveia
sn: Gouveia
uidNumber: 2001
gidNumber: 1901
homeDirectory: /home/samba/users/mgouveia
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: passwordHolder
objectClass: sambaSamAccount
givenName: Marcio
userPassword:: e1NIQX1IRWJCalJGdVgvZHJBbVVRdFU1Z05tREdsVXM9
eboxSha1Password: {SHA}HEbBjRFuX/drAmUQtU5gNmDGlUs=
eboxMd5Password: {MD5}ChTeWnbl4UdYsEwgnyZnJg==
eboxLmPassword: D46EA37E142777714A3B108F3FA6CB6D
eboxNtPassword: 511A3B262CB6D9320E9EB843158D8522
eboxDigestPassword: {MD5}xICM1cEysNH2mJrH2Ff16Q==
eboxRealmPassword: {MD5}c4808cd5c132b0d1f6989ac7d857f5e9
sambaLMPassword: D46EA37E142777714A3B108F3FA6CB6D
sambaNTPassword: 511A3B262CB6D9320E9EB843158D8522
loginShell: /bin/bash
sambaProfilePath: \\m-iti\profiles\mgouveia
sambaHomePath: \\m-iti\homes\mgouveia
sambaSID: S-1-5-21-3818554400-921237426-3143208535-5002
sambaPrimaryGroupSID: S-1-5-21-3818554400-921237426-3143208535-513
sambaPwdMustChange: 2147483647
sambaPwdLastSet: 1271861582
sambaPasswordHistory: 00000000000000000000000000000000000000000000000000000000
sambaKickoffTime: 2147483647
sambaAcctFlags: [U]
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaPwdCanChange: 0

# search result
search: 2
result: 0 Success

Pages: [1] 2