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 - itoperatorguy

Pages: [1]
1
Hi,

Did you find the answer? I am facing with the same problem here... And I did not find answer neither. I was able to configure the Zentyal (3.5) to receive mails with virtual mail domain names, but if I am replying then I can not choose and I can send from the main domain only.

2
Thank you very much. It is working now. I gave you an "applaud" :)

My only last question. Why this is not working with the POP3S and IMAPS only just with the non-secure POP3 and IMAP?

3
Sorry for the late reply, and thank you very much for your help. I still have issues, but here is what I done so far:
-enable both POP3 and IMAP in the Mail > General menu (so now normal imap and pop3 ports open as well)
-the ubuntu client machine now have a record its /etc/hosts with ip_adress mail.company.net company.net
-I gave the following info in thunderbird:
Your name: support --> this is the username in Zentyal
Your mail: support@company.net
Password: the_password
Hit "continue" button

After that now ThunderBird detect the following configuration:
Incoming: IMAP or POP3 (I can choose what I want) to use, -->) imap.company.net or pop3.company.net , STARTTLS
outgoing SMTP: smtp.jighi.net, STARTTLS
username: support

If I hit the Done button I got an error saying "Configuration can not be verified -- is the username or the password wrong"?

The result the same even I swich to manual config and try to gave:
Your name: support@company.net (at the top)
username: support@company.net (at the bottom)

I tried to use @company.net only 1 place after that the other but still not working. After this I also followed a  tutorial "how to add root certificate to Ubuntu":
commands:
sudo mkdir /usr/local/share/ca-certificates/cacert.org
sudo cp cacert.crt /usr/local/share/ca-certificates/cacert.org
sudo update-ca-certificates

result:
Updating certificates in /etc/ssl/certs... WARNING: Skipping duplicate certificate UbuntuOne-Go_Daddy_Class_2_CA.pem
WARNING: Skipping duplicate certificate UbuntuOne-Go_Daddy_Class_2_CA.pem
WARNING: Skipping duplicate certificate ValiCert_Class_2_VA.pem
WARNING: Skipping duplicate certificate ValiCert_Class_2_VA.pem
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....done.



But the overall result is still the same: wrong username or password. And I am sure I try with the good password.

This is what I see at the /var/log/mail.log on the Zentyal server:
Sep 25 22:06:15 mail dovecot: imap-login: Disconnected (no auth attempts in 14 secs): user=<>, rip=from_ip_address, lip=server_ip_address, TLS, session=<bJ5lAusDJAAu9nwU>
Sep 25 22:06:25 mail dovecot: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=from_ip_address, lip=server_ip_address, TLS, session=<vqz6AusDWAAu9nwU>
Sep 25 22:06:28 mail dovecot: imap-login: Disconnected (no auth attempts in 2 secs): user=<>, rip=from_ip_address, lip=server_ip_address, TLS, session=<pbMiA+sDXwAu9nwU>
Sep 25 22:06:43 mail postfix/smtpd[25292]: connect from unknown[from_ip_address]
Sep 25 22:06:43 mail postfix/smtpd[25292]: improper command pipelining after EHLO from unknown[from_ip_address]: QUIT\r\n
Sep 25 22:06:43 mail postfix/smtpd[25292]: disconnect from unknown[from_ip_address]
Sep 25 22:06:43 mail dovecot: imap-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=from_ip_address, lip=server_ip_address, session=<6icOBOsDiAAu9nwU>
Sep 25 22:06:47 mail dovecot: imap-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=from_ip_address, lip=server_ip_address, TLS, session=<R8hNBOsDkQAu9nwU>
Sep 25 22:07:03 mail postfix/pickup[24375]: 017CA20869: uid=0 from=<root>
Sep 25 22:07:03 mail postfix/cleanup[24585]: 017CA20869: message-id=<20140925220703.017CA20869@mail.company.net>
Sep 25 22:07:03 mail postfix/qmgr[24376]: 017CA20869: from=<root@mail.company.net>, size=604, nrcpt=1 (queue active)
Sep 25 22:07:03 mail postfix/pipe[24588]: 017CA20869: to=<root@company.net>, orig_to=<root>, relay=dovecot, delay=0.03, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Sep 25 22:07:03 mail postfix/cleanup[24585]: 07B53208B9: message-id=<20140925220703.07B53208B9@mail.company.net>
Sep 25 22:07:03 mail postfix/bounce[24591]: 017CA20869: sender non-delivery notification: 07B53208B9
Sep 25 22:07:03 mail postfix/qmgr[24376]: 07B53208B9: from=<>, size=2332, nrcpt=1 (queue active)
Sep 25 22:07:03 mail postfix/qmgr[24376]: 017CA20869: removed
Sep 25 22:07:03 mail postfix/pipe[24588]: 07B53208B9: to=<root@company.net>, orig_to=<root@mail.company.net>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (user unknown)
Sep 25 22:07:03 mail postfix/qmgr[24376]: 07B53208B9: removed


4
Installation and Upgrades / Re: E-Mail Adress to reach a bunch of user
« on: September 25, 2014, 07:08:20 pm »
Hi,

Which mail system do you use? The webmail (roundcube) or the OpenChange mail system?

If you are using the OpenChange mail system, then you probably can do the following:
-create a user called group, a, b, c with mail.com mail address for each.
-login to the group SOGo maul (https://your_zentyal_url/SOGo
-at the right top corner there is a bearing icon (second from right) click on it. A window will appear with multiple tabs. Usually the window is too small size so you can not see all of the tabs, but the last one is the "Forward" here you can enter all the users where you want to forward to your mail separated by a comma: ","
so: "a.mail.com, b@mail.com, c.mai.com" without the quotes will do the trick.

There is probably another way to do this with script or something, but I only know this method. Hope it helps.

5
Installation and Upgrades / How to connect Thunderbird to Exchange Mail?
« on: September 19, 2014, 10:13:06 pm »
Hi all,

I have a running Zentyal 3.5 on Ubuntu 14.04. I installed the ExchangeMail modul and configured it so it is working. It is available from browser on https://mail.company.net/SOGo

The server is located one of the server providers not in our lan.

I was able to connect Microsoft Outlook to the server with the help of this tutorial:  http://labs.zentyal.org/auto-configuring-outlook-anywhere-to-connect-to-zentyal-server/

Since our users have different OS (windows 7, 8 , Ubuntu, Mac) I would like to configure Thunderbird as well.  I tried the following from an Ubuntu 14.04 machine with a user called support:
1. create new mail account >> skipt this and use existing mail account
2. Your name: support, mail address: support@company.net; password : the_password
--> thunderbird thinking for a minute and try to find the server parameters automatically, then it gives up and gives me another window where I can setup everything and I literally tried every possible option with every combination.
Your name: tried support and support@company.net as well
mail: support@company.net
incoming : tried IMAP and POP3 as well; Server hostname .company.net and .mail.company.net as well; port 993 and 995 as well, SSL starttls and SSL/TLS as well; authentication: normal password, encrypted password, kerberos etc...

And nothing is worked. I checked with nmap. These are the ports what are open:
22/tcp  open  ssh
53/tcp  open  domain
80/tcp  open  http
88/tcp  open  kerberos-sec
389/tcp open  ldap
443/tcp open  https
444/tcp open  snpp
465/tcp open  smtps
587/tcp open  submission
993/tcp open  imaps
995/tcp open  pop3s

Can somebody help me out?

6
Hi,

Finally I was able to solve the problem. Probably not the nicest solution, but it works. Here is what I did:
1. reinstall Ubuntu 14.04 (probably I did not have to do that but since we did not start using Zentyal in production it was the easiest choice for me, because changing the hostname after samba already was configured crashed the zentyal and I do not want to waste to much time solving that issue)
2. hostname for the server = mail --> /etc/hostname
3. hostname in the hosts file --> /etc/hostname
4. Install only the network components forst for zentyal 3.5 (DNS, CA, Firewall)
5. configure firewall, to open ssh, http, https on port 443, and 444 from the internet
6. check hostname in zentyal = mail, domain = company.net, change webadmin page to port 444
7. at the DNS menu, create the domain company.net
8. install openchange mail server and its dependencies (so I did not install webmail (roundcube at all)) + webserver, do an update
9. creata CA, create users
10. in the Mail menu select POP3S and IMAPS only
11. created a virtual mail domain: company.net and a virtual mail alias for that mail.company.net
12.  In the Webserver menu: enable port 80 for http, port 443 for https, add virtual host with ssl disabled company.net
13. I added this lines into /etc/apache2/conf-enabled/zentyal-sogo.conf file under the line wich saying"RequestHeader set "x-webobjects-server-protocol" "HTTP/1.0"
":
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "server_hostname"
RequestHeader set "x-webobjects-server-url" "https://mail.company.net"

14. sudo service apache2 reload
15. create an index.html file in the /srv/www/company.net/ folder. This is redirect the normal http://company.net request to the http://company.com site
16. create an index.html file in the /var/www/ folder which is redirect the normal http://mail.company.net request to the https:/mail.company.net/SOGo url.

So I hope this will help others as well. And again. This is probably not the "best practice", but it works for me. :)


One "funny thing". The extra lines already gone from my "/etc/apache2/conf-enabled/zentyal-sogo.conf" , but the system still working, so I am not sure about that step 13. is necessary . But this is proved that Zentyal will rewrite your config modification based on its setting stored in the MySQL database.

7
Could it be the problem that my hostname and my domain name is different?

domain name = company.net
hostname = id_given_by_server_provider

?

8
Hello,

Thank you very much for your help. I followed the instructions, but for me it is still not working. But now it is "not working" differently.

So I midified in this file "/etc/apache2/conf-enabled/zentyal-sogo.conf":
changed this line: RequestHeader set "x-webobjects-server-url" "https://server_hostname.company.net:443"

to this 3:
RequestHeader set "x-webobjects-server-port" "443"
RequestHeader set "x-webobjects-server-name" "server_hostname"
RequestHeader set "x-webobjects-server-url" "https://mail.company.net"

then I gave the command:  sudo service apache2 reload

Previously I configured the webmail (roundcube) module and I created a virtual mail name to it: mail.company.net. The MX record is set at my registar and tt is working without any problem.

Now because I want to use the sogo modul with the mail.company.net url I disabled the webmail module both in the webadmin page and with the "sudo service zentyal webmail stop" command. But the webmail still working... on the same URL.

And now if I want to login to the sogo modul via browser I have to use the company.net/SOGo url. When I give the credentials it is redirects me to the mail.company.net/SOGo/so/username/Mail url where I can give my username and password again (but the css is broken so the page is quite ugly). If i give my credentials again I am staying this broken site. If I remove again manually the "mail." from the url I can enter the sogo modul without any problem...

So my questions:
-how can the webmail module still working even after I took the "pipe " out from the small box, saved the changes. And I even gave the order via command line to stop the service?
-Won't this changes in the file disappear back to the default value after a full apache service or full server restart? (somewhere I read that this will happen because Zentyal regenerates its own config files from the MySQL, but not sure it is true or not)

Thank you again your help.

9
Thank you very much for your suggestion. I updated my system but I still have the same problem :(

I can see on the OpenChange module at the "HTTP/HTTPS proxy access" that the "Host name" is hostname.company.net. But is it there any way to attached SOGo to a different url like the normal webmail (roundcube) module?

10
Hello all,

I also posted this question to somebody else topic, but his problem a little different this is why I created this new topic. I have Zentyal 3.5 running on an Ubuntu 14.04 server in one of the VPS providers. I installed the mail, webmail, and OpenChange modules. I was able to configure the webmail to not using the company.net/webmail url but to use mail.company.net instead. Now I would like to disable the webmail and attached the SOGo module to this url instead. But I also have problems at the basic level as well...

When I try to reach OpenChange webmail with the url https://company.net/SOGo, I enter the username and credential hit the connect button. After that the browser change the url to https://server_hostname.company.net/SOGo/so/username/Mail and the message is "This webpage is not available". If I delete manually the server_hostname from the url ( https://company.net/SOGo/so/username/Mail ) then I can access the correct webmail account without any further issue...

So right now I would like to learn how to solve this issue first. But my main goal is to use the SOGo module at the url: mail.company.net.

I hope somebody can point me to the right direction.

I am new to Zentyal so maybe I made a mistake when I configured it, but not sure what is the problem.

11
Hi.

I used this script when I played with in inside a virtualbox. Not perfect but this is do the trick for me. I hope you can use it:

Copy and paste the following to a file like install_zentyal.sh and run with the sudo command.

Code: [Select]
#!/bin/bash

# updatting system
sudo apt-get update
sudo apt-get -y upgrade

# adding zentyal repository into the repo list
sudo sh -c 'echo "deb http://archive.zentyal.org/zentyal 3.5 main" >> /etc/apt/sources.list'
wget -q http://keys.zentyal.org/zentyal-3.5-archive.asc -O- | sudo apt-key add -
sudo apt-get update

# install zentyal from the recently added repository
sudo apt-get -y install zentyal

# if the zentyal firewall starts, then the server no longer available via ssh
# or webpage from the external interface. This why we need to disable it
echo "Disableing zentyal firewall. After installation don't forget to delete this cronjob!"

sudo rm /root/disable_zentyal_firewall.sh
sudo sh -c 'echo "#!/bin/bash" >> /root/disable_zentyal_firewall.sh'
sudo sh -c 'echo "/etc/init.d/zentyal firewall stop" >> /root/disable_zentyal_firewall.sh'

sudo chmod 700 /root/disable_zentyal_firewall.sh
sudo sh -c 'echo "* * * * * root /root/disable_zentyal_firewall.sh" >> /etc/crontab'

Good luck.

12
I have kinda similar issue.

When I try to reach OpenChange webmail with the url https://company.net/SOGo, I enter the username and credential hit the connect button. After that the browser change the url to https://server_hostname.company.net/SOGo/so/username/Mail and the message is "This webpage is not available". If I delete manually the server_hostname from the url ( https://company.net/SOGo/so/username/Mail ) then I can access the correct webmail account without any further issue...

I am new to Zentyal so maybe I made a mistake when I configured it, but not sure what is the problem.

13
Sziasztok!

Még nagyon új vagyok Zentyal terén (csak virtuális gépekben tesztelgettem eddig) ezért szeretném tapasztaltabbak tanácsát véleményét kikérni. A problémám:
-van 3 irodánk (USA, Elefántcsontpart India), kb 60 munkatársunk és kb 20 szerverünk egy "felhő szolgáltatónál" (nem amazon, meg google).
-létre kellene hoznom egy SSO megoldást + openexchange file megosztást (esetleg owncloud-al). "A főnök" arra kért, hozzak létre egy Zentyal szervert a cloud szolgáltatóknál, de az angol Zentyal fórumon egyetlen egy bejegyzés volt erről és az sem végződött túl pozitívan ( https://forum.zentyal.org/index.php?topic=11463.0 ), mondjuk ez egy 2 éves topic és mi nem amazont használunk és tudok több mint 1 ip címet kérni szóval nem tudom...
-a levelező szerverünk valójában a google (csak mail címünk nem @gmail.com hanem @cegnev.com), de van 4-5 technikai e-mail cím (pl support@cegnev.com) amiért ugyanúgy fizetünk mintha személyekhez tartoznának. A vezetőség megkért, hogy találjak ki valamit, hogy ezek a címek ne a google-nél hanem a Zentyal szerverünkön landoljanak.

Szóval a kérdéseim:
-mi lenne a jobb megoldás szerintetek: mind3 irodában 1-1 Zentyal server (ebből 1 a Primary, a többi additional) és ezekhez ldap + kerberos segítségével megoldani az SSO-t, vagy csak simán Zentyal servert kellene felraknom a "felhőbe" 1 vagy 2 hálókártyával? Egyáltalán Microsoft AD-hez hasonló SSO-t csak Zentyal-al kialakítani vagy nagyon elvagyok tévedve ebben a dologban?
-megoldható szerintetek ez a mail-es ügy és ha igen mit érdemes olvasgatnom és hol a témában? (a google.com-nál egy fokkal pontosabb cím jól esne). Olyat még nem igazán láttam, hogy a céges levelek egy részét egy mail szerver szolgálja ki, másik részét egy másik, csak feltételezem, hogy valami "smarthost" megoldást kellene használni, de ebben még kevesebb tapasztalatom van.

Előre is köszönöm a segítségeteket.

Pages: [1]