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

Pages: [1]
1
Hello all,

I'm implementing 2FA to strengthen my webmail security using this great project - https://github.com/clems4ever/authelia

Following https://sogo.nu/nc/support/faq/article/how-to-use-webauth-with-sogo-2.html login is working and the user gets passed into the SOGo webmail with access to contacts and calendar, however no emails show as the IMAP login fails as no password is passed, however no password is available as the authentication has been handled before reaching SOGo.

The SOGo logs shows;

Oct 15 12:03:36 sogod [7]: [ERROR] <0x0x56494a8b8b30[NGImap4ConnectionManager]> IMAP4 login failed:
  host=10.10.1.101, user=user@domain.email, pwd=no
  url=imaps://user%40domain.email@10.10.1.101/?tls=YES
  base=(null)
  base-class=(null))
  = <0x0x56494a9ffba0[NGImap4Client]: login=user@domain.email(pwd) socket=<NGActiveSSLSocket[0x0x56494acc7130]: mode=rw address=(null)>>
Oct 15 12:03:36 sogod [7]: <0x56494aba22f0[SOGoMailAccount]:0> renewing imap4 password
Oct 15 12:03:36 sogod [7]: [ERROR] <0x56494aba22f0[SOGoMailAccount]:0> no IMAP4 password available
Oct 15 12:03:36 sogod [7]: [ERROR] <0x56494aba22f0[SOGoMailAccount]:0> Could not connect IMAP4

And in the mail.log

Oct 15 12:07:29 zentyal dovecot: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<user@domail.email>, method=PLAIN, rip=10.10.1.105, lip=10.10.1.101, TLS: Disconnected, session=<qFww5ZNbUgAKCgFp>
Oct 15 12:07:32 zentyal dovecot: imap(user@domain.email): Disconnected: Logged out in=24114 out=752986

Any ideas if it's possible to authenticate dovecote with just the username etc?

Thanks.

2
Installation and Upgrades / nginx-auth-ldap with Zentyal 4.0
« on: February 14, 2015, 04:36:50 pm »
Hello,

Has anyone manged to get this working, authentication of nginx against Zentyal 4.0?

I think my issue is with the LDAP configuration in the nginx.config file......

Does anyone have a working example?

Please help!

Thanks.

3
Hello all and hopefully this will help some of you out.....

So, sticking with Zentyal 4.0 I exported my 3.2 mail box via offlineimap in to a Maildir changed the owner to ebox:ebox and then moved to my /var/vmail/user/Maildir

My offlineimap config file to generate the .INBOX and rename and omit a few folders;

*******

# Sample minimal config file.  Copy this to ~/.offlineimaprc and edit to
# get started fast.

[general]
accounts = zentyal

[Account zentyal]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = ~/your mail folder
sep = .

[Repository Remote]
type = IMAP
remotehost = xx.xx.xx.xx
remoteuser = user
remotepass = password #can comment out and it will prompt
createfolders = false

nametrans = lambda folder: re.sub('(^.{1})', '.\\1', re.sub('.*Deleted Items$', 'Trash', re.sub('.*Sent Items$', 'Sent', re.sub('.*Sent Items/20*', 'Sent.20', re.sub('.*INBOX$', '', folder)))))

folderfilter = lambda folder: folder not in ['Trash', 'Outbox', 'Public folders', 'Junk E-mail', 'Sync Issues', 'Sync Issues/Conflicts','Sync Issues/Local Failures', 'Sync Issues/Server Failures']

********

chown -R ebox:ebox xxxxx whatever you called your mail folder

Copy including hidden folders / files with -    tar pcf - .| (cd /destination/folder/; tar pxf -)

All went well, and my emails (thousands of) could be accessed from webmail.

I then tried to use my phone….. ow no, no longer syncing and everything was stuck.

After a bit of googleing about I found adding these parameters into the config files solved the problem and now everything is working again. I have no idea if these are optimum settings, but they work;

/etc/sogo/sogo.conf
    WOListenQueueSize = 32;
    SxVMemLimit = 1000;

/etc/init.d/sogo
    PREFORK=10

Then;
/etc/init.d/sogo restart

Now, here's the next issue. Obviously if I restart Zentyal these settings get overridden. Please, please, please can someone tell me where to enter them so Zentyal puts them in the config files when it auto-generates them on startup.

I understand it is something to do with ~/GNUstep/Defaults/.GNUstepDefaults but I don’t have one, well not that I can find anyway……

Thanks.

4
Installation and Upgrades / Zentyal 4.0, is it time to go back to 3.3?
« on: November 18, 2014, 12:52:42 pm »
Hello all,

So after wanting to reset up my small home domain I though 4.0 was the perfect opportunity………

I wasn’t too sad to see most of the modules go as I have a visualized set up with FreeNAS (yes I know the issues and have direct pass-through,  plenty of RAM assigned and independent backups of critical data), pfSense , Zentyal and ownCloud and between the four have all my needs covered.

Everything appeared to set up and work, but, and here is the but the more I try to use it the more issues, or the ‘I just don’t can’t see a way of doing that’ appear.

A big plus for me was storing email out of a database for easy backup (running on a FreeNAS iSCSI mount keeping the Zentyal VM disc nice and small and not needing to worry about expansion) etc., but also keeping push sync and Outlook support (although I really am starting to question the need for this in the future, particularly as 2013 supports active-sync in any case – are there really any benefits of this ‘big achievement’ that OpenChange brings?). I also assumed something similar would happen for contacts and calendar….. but no. And for me I have no idea how I go about backing these up. I have setup rSync for the home and mail directories for off-site backup and obviously my iSCSI is on a raidz2 array; all of which is working perfectly.

Another major issue is obviously the lack of push / inbox refresh, however manageable in my situation (for now anyway, but far from ideal) with a 5min sync period. My Blackberry plays nicely so far with sogo-active-sync, my Samsung S4 however will not sync contacts no matter what I try…. odd! I did find that I had issues with z-push and the Blackberry OS10, although I’m not too sure if it was up-to-date.

Auto refresh is a hung over issued from when I tried 3.5 and still not working, and given the other niggles I really think it may be better to use 3.3, which, just well, appears to work!

So this is where I am after the first few weeks of trying to use 4.0….. and really trying to stick with it. Any help or info / timescales on fixes for the above would be appreciated.

Thanks.  :D

Pages: [1]