Re: [SOGo] Email reminders

2022-01-20 Thread "Christian M. Jensen"

Hi,

Good to hear it's working. I think, not sure, that reminders are put 
directly to IMAP for that user from SOGo no SMTP.


But vacation I believe relies on sieve scripts.

Regards
Christian Jensen

Den 19-01-2022 kl. 19:09 skrev HYVERNAT Philippe (p.hyver...@outlook.fr):


Hi,

so,

i edited the file in FreeBSD /etc/crontab and put sogod user to 
execute the commands not use crontab -e


I restart sogo and no error on the log file : it is ok  but there is a 
thing i see is sogo don't send anything to my smtp server.



i see all my mail received but no reply for vacation ...


Any hints ?



Le 16/01/2022 à 10:53, "Christian M. Jensen" (c...@cjpg.dk) a écrit :


Hi,

I think what you need is a Dovecot master user, I never had to set 
credentials for reminders, but for vacation. It's a simple change to 
Dovecot configuration (also simple to revert).


It may be as simple, as setting permission for the 'creds' file so 
that sogo can read it.


Any way, they both have the /'//-p//' /configure flag, hence my 
suggestion.


https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#_cronjob_email_reminders

    - / specify a credential file using -p /path/to/credFile. 
 separated by a colon (username:plain-text-password)/


And to configure master user(s) follow the official documentation I 
think its straight forward.


https://doc.dovecot.org/configuration_manual/authentication/master_users/#master-users, 


https://doc.dovecot.org/configuration_manual/authentication/master_users/#acls

_Do not forget to lock the file with proper permissions._

    - -r 1 sogo sogo 65 Aug  1 13:02 /etc/sogo/mailAlarms.cred

That is my suggestion.

Regards
Christian Jensen.


Den 14-01-2022 kl. 22:25 skrev HYVERNAT Philippe (p.hyver...@outlook.fr):

Hello,

Thanks for your answer, I understand.


That is a way to specify this account ?

Is it eventually an issue of permission on the file ?

I try several account ...


Le 14/01/2022 à 11:44, Christian Mack 
(christian.m...@uni-konstanz.de) a écrit :

Hello

Perhaps I wasn't clear enough.

In /etc/sogo/mailAlarms.creds you need credentials for an account
capable to send emails in the name of every other user on your SOGo 
server.

Not sure your account can do that.

It is some time back since I set this up, but not having
/etc/sogo/mailAlarms.creds altogether, did trigger a "not configured"
error back then.


Kind regards,
Christian Mack

Am 13.01.22 um 14:57 schrieb hyvernat philippe 
(p.hyver...@outlook.fr):

Hello,
Yes postfix is couples with dovecot and an ldap server i put 
credentials and pas of my account


The error doesn’t say bas credential but not configured…
Thanks for your answer

HYVERNAT Philippe


Le 13 janv. 2022 à 13:31, Christian Mack  a écrit :

Hello

Are the crendials in /etc/sogo/mailAlarms.creds valid for sending 
via

SMTP server?


Kind regards,
Christian Mack


On 11.01.22 18:00, HYVERNAT Philippe (p.hyver...@outlook.fr) wrote:
lol

of course even the server



Le 11/01/2022 à 17:11, Christian Mack 
(christian.m...@uni-konstanz.de) a

écrit :
Hello

Did you restart SOGo after changing sogo.conf?


Kind regards,
Christian Mack

Am 11.01.22 um 09:31 schrieb HYVERNAT Philippe 
(p.hyver...@outlook.fr):

Hello,

i setup the cronjob email reminders and i configure sogo.conf to
enable it

|
|

|
|

OCSEMailAlarmsFolderURL =
"mysql://user:@172.30.20.151:3306/sogo/sogo_alarms_folder";


*|SOGoEnableEMailAlarms = YES;|*

|
|

|every minute, the log file 
(/var/log/sogo/cron-ealarms-notify.log)

|

|I have this error :
|

|
|

|2022-01-11 08:29:00.234 sogo-ealarms-notify[84802:100568] 
*EMail alarms

are disabled in the SOGo configuration.*|

|
|

|Do you have any hints ? i am really stuck on this.|

|Thanks a lot|

|HYVERNAT Philippe
|

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sogo url

2022-01-18 Thread "Christian M. Jensen"

Hi,

I don't want to sound condescending; But sometimes I think it is 
impotent to remind people that we have a lot of search engines and other 
sites out there.  And more often than not they have info and suggestions 
that we can use, and from there, if not working comeback to the list and 
tell us what you have tried, what's working and what's not working.


A quick search gave this; 
https://users.sogo.narkive.com/uL31QYUJ/sogo-ideal-nginx-config-for-sogo


Still i do not know what your server environment is, other than Ubuntu. 
But that should get you in the right direction.


Okay i noticed the official SOGo archives from the mailing list is 
locked to list owners, this makes it a bit harder for users to search 
them, but then we have 'narkive.com' https://users.sogo.narkive.com


Regards
Christian Jensen.

Den 16-01-2022 kl. 15:37 skrev raed abu (raedashraf...@gmail.com):

I am using ubuntu 20.04  with iredmail 1.5 and sogo5.4


في الأحد، ١٦ يناير، ٢٠٢٢ ٤:١٠ م "Christian M. Jensen"  كتب:

Hi,

That depends on your environment, web server etc.

In theory you should be able to configure your web server to
forward requests from 'domain/' to 'http://127.0.0.1:2/SOGo'.

Handle the link between '/' => '/SOGo' in your server
configuration. I can't give any samples since it depends on your
environment.


Regards
Christian Jensen.

Den 13-01-2022 kl. 22:22 skrev raed abu (raedashraf...@gmail.com):

hello sogo
i am using sogo 5.4
how can i change url from https://ip/SOGo to only http://ip
-- 
users@sogo.nu

https://inverse.ca/sogo/lists


-- 
Hilsen / Regards

    Christian M. Jensen

-- 
users@sogo.nu

https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen / Regards
Christian M. Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] sogo url

2022-01-16 Thread "Christian M. Jensen"

Hi,

That depends on your environment, web server etc.

In theory you should be able to configure your web server to forward 
requests from 'domain/' to 'http://127.0.0.1:2/SOGo'.


Handle the link between '/' => '/SOGo' in your server configuration. I 
can't give any samples since it depends on your environment.



Regards
Christian Jensen.

Den 13-01-2022 kl. 22:22 skrev raed abu (raedashraf...@gmail.com):

hello sogo
i am using sogo 5.4
how can i change url from https://ip/SOGo to only http://ip
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen / Regards
Christian M. Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Email reminders

2022-01-16 Thread "Christian M. Jensen"

Hi,

I think what you need is a Dovecot master user, I never had to set 
credentials for reminders, but for vacation. It's a simple change to 
Dovecot configuration (also simple to revert).


It may be as simple, as setting permission for the 'creds' file so that 
sogo can read it.


Any way, they both have the /'//-p//' /configure flag, hence my suggestion.

https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#_cronjob_email_reminders

    - / specify a credential file using -p /path/to/credFile.  
separated by a colon (username:plain-text-password)/


And to configure master user(s) follow the official documentation I 
think its straight forward.


https://doc.dovecot.org/configuration_manual/authentication/master_users/#master-users, 


https://doc.dovecot.org/configuration_manual/authentication/master_users/#acls

_Do not forget to lock the file with proper permissions._

    - -r 1 sogo sogo 65 Aug  1 13:02 /etc/sogo/mailAlarms.cred

That is my suggestion.

Regards
Christian Jensen.


Den 14-01-2022 kl. 22:25 skrev HYVERNAT Philippe (p.hyver...@outlook.fr):

Hello,

Thanks for your answer, I understand.


That is a way to specify this account ?

Is it eventually an issue of permission on the file ?

I try several account ...


Le 14/01/2022 à 11:44, Christian Mack (christian.m...@uni-konstanz.de) 
a écrit :

Hello

Perhaps I wasn't clear enough.

In /etc/sogo/mailAlarms.creds you need credentials for an account
capable to send emails in the name of every other user on your SOGo 
server.

Not sure your account can do that.

It is some time back since I set this up, but not having
/etc/sogo/mailAlarms.creds altogether, did trigger a "not configured"
error back then.


Kind regards,
Christian Mack

Am 13.01.22 um 14:57 schrieb hyvernat philippe (p.hyver...@outlook.fr):

Hello,
Yes postfix is couples with dovecot and an ldap server i put 
credentials and pas of my account


The error doesn’t say bas credential but not configured…
Thanks for your answer

HYVERNAT Philippe


Le 13 janv. 2022 à 13:31, Christian Mack  a écrit :

Hello

Are the crendials in /etc/sogo/mailAlarms.creds valid for sending via
SMTP server?


Kind regards,
Christian Mack


On 11.01.22 18:00, HYVERNAT Philippe (p.hyver...@outlook.fr) wrote:
lol

of course even the server



Le 11/01/2022 à 17:11, Christian Mack 
(christian.m...@uni-konstanz.de) a

écrit :
Hello

Did you restart SOGo after changing sogo.conf?


Kind regards,
Christian Mack

Am 11.01.22 um 09:31 schrieb HYVERNAT Philippe 
(p.hyver...@outlook.fr):

Hello,

i setup the cronjob email reminders and i configure sogo.conf to
enable it

|
|

|
|

OCSEMailAlarmsFolderURL =
"mysql://user:@172.30.20.151:3306/sogo/sogo_alarms_folder";


*|SOGoEnableEMailAlarms = YES;|*

|
|

|every minute, the log file (/var/log/sogo/cron-ealarms-notify.log)
|

|I have this error :
|

|
|

|2022-01-11 08:29:00.234 sogo-ealarms-notify[84802:100568] 
*EMail alarms

are disabled in the SOGo configuration.*|

|
|

|Do you have any hints ? i am really stuck on this.|

|Thanks a lot|

|HYVERNAT Philippe
|


--
Hilsen / Regards
Christian M. Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Sogo calendar deleted events

2021-09-08 Thread "Christian M. Jensen"

Hello,

iRedMail by default runs sogo-tool backup.

if you have cron 'backup_sogo.sh' running

From: /var/vmail/backup/backup_sogo.sh
```
# Where to store backup copies.
export BACKUP_ROOTDIR="/var/vmail/backup"

# Define, check, create directories.
export BACKUP_DIR="${BACKUP_ROOTDIR}/sogo/${YEAR}/${MONTH}/${DAY}"

# Backup
echo "* Backup all users' data under ${BACKUP_DIR}"
${CMD_SOGO_TOOL} backup ${BACKUP_DIR} ALL
```

Regards
Christian M. Jensen


Den 08-09-2021 kl. 09:52 skrev Stefano Leva (s.l...@mdsnet.eu):

Hi,
no i don't using sogo tools, at the moment.
So i can restore server on a test enviroment.
DO you know which log files i can can check for calendar's activity  
also (i checked sogo.log, but couldn't see from which ip the changes 
were made)? I'd like to know when event was deleted and from who.


Thank you.
Cheers,
Stefano



Il giorno mar 7 set 2021 alle ore 17:54 Christian Mack <mailto:users@sogo.nu>> ha scritto:


Hello

Am 07.09.21 um 17:27 schrieb Stefano Leva (s.l...@mdsnet.eu
<mailto:s.l...@mdsnet.eu>):
> Hello,
> i'd like to know how i can restore a single calendar's events
that was
> accidentally deleted.
> Do you know also, where the ics file are stored. We're using
Sogo with
> iredmail pro.
>

Do you use sogo-tool backups?
If yes, you just have to list the available calendars for that
user with
sogo-tool restore -l ~sogo/path-with-backups/ USERNAME

You will get something like:
<0x0x55bd0bf8f610[SOGoCache]> Using host(s) 'local-databasehost' as
server(s)
2021-09-07 17:43:44.414 sogo-tool[21867:21867] Restorable folders:
2021-09-07 17:43:44.415 sogo-tool[21867:21867]
Calendar/55D4-57CD2C80-47-7C164080 (Superduper)
2021-09-07 17:43:44.415 sogo-tool[21867:21867]
Calendar/c81a287ec3c4719de08fae31306f851d (Pickwick)
2021-09-07 17:43:44.415 sogo-tool[21867:21867]  Calendar/personal
(Persönlicher Kalender)
[...]

If you want to restore calendar named "Pickwick" use:
sogo-tool restore -f Calendar/c81a287ec3c4719de08fae31306f851d
~sogo/path-with-backups/ USERNAME

Option -f means restore all events and series not already in that
calendar.
If you want to reset the calendar to the state of the backup use
option -F.

If you don't use sogo-tool backups, you have to restore at least the
complete database into another database server and extraxt the needed
data from there.
You could for example use your SOGo test server and do a sogo-tool
backup for that user after restore of the complete database.
Transfer that users backup to the production machine and restore as
shown above.


Kind regards,
Christian Mack

-- 
Christian Mack

Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung und Lehre
78457 Konstanz
+49 7531 88-4416



--
*Stefano Leva*
IT Service
Mds net Srl
Tel: +39024541511




*
MDS net S.r.l.*
Sede Operativa: Via Franchi Maggi, 50 20089 Quinto de Stampi Rozzano (MI)
Sede Legale: Via Domenico Scarlatti, 7 - 20124 Milano
Partita Iva 11892610152
Tel. +39024541511
www.mdsnet.eu <http://www.mdsnet.eu>
www.mdshospitality.it <http://www.mdshospitality.it>

Nota di riservatezza: il presente messaggio, corredato dei relativi 
allegati, può contenere informazioni da considerarsi strettamente 
riservate ed è destinato esclusivamente al destinatario sopra 
indicato, il quale è l'unico autorizzato ad usarlo, copiarlo e, sotto 
la propria responsabilità, diffonderlo. Chiunque ricevesse questo 
messaggio per errore o comunque lo leggesse senza esserne legittimato 
è avvertito che trattenerlo, copiarlo, divulgarlo, distribuirlo a 
persone diverse dal destinatario è severamente proibito ed è pregato 
di rinviarlo immediatamente al mittente distruggendo l'originale. Grazie.



Confidentiality notice: this message, together with its annexes, could 
contain information to be deemed strictly confidential and is destined 
only to the addressee(s) identified above who only may use, copy and, 
under his/their responsibility, further disseminate it. If anyone 
received this message by mistake or reads it without entitlement is 
forewarned that keeping, copying, disseminating or distributing this 
message to persons other than the addressee(s) is strictly forbidden 
and is asked to transmit it immediately to the sender and to erase the 
original message received. Thank you.



--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen / Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] ActiveSync on Android suddenly not getting mail

2021-09-03 Thread &quot;Christian M. Jensen"

Hi Sean,

I do not know if this will work it has been some time since i had issues 
with ActiveSync also along time since i used SOGo v2


But i think the commands to reset the eas device are the same.
*sogo-tool manage-eas listdevices USER@NAME*
*sogo-tool manage-eas resetdeviceUSER@NAME LISTED-DEVICE*

To debug I think the best place to start is with the configuration 
'SOGoEASDebugEnabled = YES' (if you have a lot of users active, choose a 
time with the least activity)


https://www.sogo.nu/files/docs/v2/SOGoInstallationGuide.html#_microsoft_enterprise_activesync

Regards
Christian M. Jensen

Den 03-09-2021 kl. 17:26 skrev "Sean M. Pappalardo" 
(spappala...@renegadetech.com):

Hello.

I'm running SOGo 2.4.x and suddenly yesterday my Android phone stopped 
getting E-mail messages via the ActiveSync connection with SOGo. The 
problem started when I was repeatedly trying to use the search feature 
to find old messages. Suddenly it wasn't finding _any_ messages (even 
though I know for a fact there were some in the last 30 days with the 
search term) and now it's not getting new messages at all, and if I 
try to open a message it previously received, the phone displays 
"Can't open message" then the message disappears from the list as if I 
deleted it!


Checking via the SOGo Web interface shows all of the messages and I 
can open them fine there. I don't see anything amiss in the SOGo logs 
either, other than the occasional "LOG:  could not receive data from 
client: Connection reset by peer" from PostgreSQL.


Where else should I look to see where the problem is? Is there a way 
to reindex SOGo's database of mail ActiveSync sees or something?


Thank you!

Sincerely,
Sean M. Pappalardo
Sr. Networks Engineer
Renegade Technologies
spappala...@renegadetech.com
http://www.renegadetech.com


--
Hilsen / Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] No css/image on login screen, white page/refresh sometimes helps

2021-08-30 Thread &quot;Christian M. Jensen"

Hi Michael,

It looks like you are using iRedMail, if your are try using 
`/etc/nginx/templates/sogo.tmpl` over the subdomain one.


and then restart `sogo`, `nginx` and for any cache `memcached`

--
Hilsen / Regards
Christian M. Jensen

Den 30-08-2021 kl. 15:18 skrev mc...@gmx.net:

Attached you find the current nginx configuration files

Kind regards,
Michael

-Ursprüngliche Nachricht-
Von: Michael Hölzle 
Gesendet: Montag, 30. August 2021 09:43
An: users@sogo.nu
Betreff: Re: [SOGo] No css/image on login screen, white page/refresh
sometimes helps

Hello

Perhaps you should show us your proxy configuration (apache2 or nginx)
in order for us to provide any help.


Kind regards,
Christian Mack

Am 27.08.21 um 17:39 schrieb mc...@gmx.net:

Hello all,

I'm new in SOGo and like to replace zimbra systems with it.

The system is running on a 4Core,8GB vServer. Only Nextcloud is also

running

on the same box. At the moment I only have two active mail users and one
active nextcloud user.

In the morning I start a browser and enter the SOGo-Login page and see a
page without any css/images (you can see it in the attached screenshot).
Pressing F5 (refresh) a few times will bring the "right" content. After
logging in, and switching to calendar or contacts or email I only get a
blank page. Sometimes it works, sometimes not.

When I open the image placeholder in a new tab, I get the following

message:

Resource not found
Name: sogo-full.svg
Languages: (img, img)
ResourceManager: <0x0x55cc55f25840[WEResourceManager]:>

After restarting the server (or sogo and nginx) the issue seems to be gone
for a while.

It feels like a caching problem on the server side.

Can someone point me to the right direction how to eliminate this issue?
Which logs can I use to find any helpful information's?

Michael



--
users@sogo.nu
https://inverse.ca/sogo/lists

SV: [SOGo] Debian Buster?

2019-12-09 Thread &quot;Christian M. Jensen"
Hi.

Yes I think that’s another topic. But if it's only failing on Debian Buster 
then it must be a bug, I and my users use Outlook it's been awhile since I used 
Thunderbird, so can't really give any insight on this.

If I remember correctly Thunderbird / Lightning integration has been discussed 
a few times in other threads, actually a quick search in the mailing list shows 
this as well, maybe one of those can give you some answers?

Regards / Hilsen
Christian M. Jensen

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

SV: [SOGo] Debian Buster?

2019-12-09 Thread &quot;Christian M. Jensen"
I read the mail as if you were asking, not telling! My bad sorry for the noise

Regards / Hilsen
Christian M. Jensen

-Oprindelig meddelelse-
Fra: Christian M. Jensen  
Sendt: 9. december 2019 13:06
Til: users@sogo.nu
Emne: SV: [SOGo] Debian Buster?

Hi.

Yes I think that’s another topic. But if it's only failing on Debian Buster 
then it must be a bug, I and my users use Outlook it's been awhile since I used 
Thunderbird, so can't really give any insight on this.

If I remember correctly Thunderbird / Lightning integration has been discussed 
a few times in other threads, actually a quick search in the mailing list shows 
this as well, maybe one of those can give you some answers?

Regards / Hilsen
Christian M. Jensen

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

SV: [SOGo] Debian Buster?

2019-12-02 Thread &quot;Christian M. Jensen"
Hi Bob.

Have a look at the download page [1], I use Debian Buster (Upgraded from 
Stretch) but Buster is supported.

[1]: https://sogo.nu/download.html

Regards / Hilsen
Christian M. Jensen

-Oprindelig meddelelse-
Fra: users-requ...@sogo.nu  På vegne af Robert A 
Wooldridge
Sendt: 2. december 2019 20:50
Til: Ludovic Marcotte (lmarco...@inverse.ca) 
Emne: [SOGo] Debian Buster?

Just wondering if the sogo debian package will work on Debian Buster?

-- 
Bob Wooldridge
EDM Incorporated
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

SV: [SOGo] SMTP server for each user

2019-10-28 Thread &quot;Christian M. Jensen"
Hi,

I would say yes! But think twice about that, you need the users passwords in 
plain text.

 

Regards / Hilsen

Christian M. Jensen

 

Fra: users-requ...@sogo.nu  På vegne af nscl...@gmx.de
Sendt: 27. oktober 2019 13:05
Til: users@sogo.nu
Emne: Aw: [SOGo] SMTP server for each user

 

Is it possible to solve this via Postifx "Sender-Dependent SASL authentication"?

 

 

  

Gesendet: Samstag, 26. Oktober 2019 um 21:22 Uhr
Von: ""\"Christian M. Jensen\"" (c...@cjpg.dk <mailto:c...@cjpg.dk> )" 
mailto:users@sogo.nu> >
An: users@sogo.nu <mailto:users@sogo.nu> 
Betreff: SV: [SOGo] SMTP server for each user

Hi,

 

I do not think that’s possible, I remember a few maybe 5 year ago I needed the 
same settings going over the source [1] the only I were able to find were that 
imap (c_imaphostname) and sieve (c_sievehostname) were supported on a per user 
level.

 

The option I took back then were to configure the local postfix instance to 
forward the email based on domain name to the correct server, a bit more 
maintenance but it worked. A lot has changed sins then, so I might have 
overlooked something

 

[1]: https://github.com/inverse-inc/sogo/blob/master/SoObjects/SOGo/SQLSource.m

 

Regards / Hilsen

Christian M. Jensen

 

Fra: users-requ...@sogo.nu <mailto:users-requ...@sogo.nu>  
mailto:users-requ...@sogo.nu> > På vegne af 
nscl...@gmx.de <mailto:nscl...@gmx.de> 
Sendt: 26. oktober 2019 16:42
Til: users@sogo.nu <mailto:users@sogo.nu> 
Emne: [SOGo] SMTP server for each user

 

Hello,

 

is it possible to configure SOGo to have a separate SMTP server for each user?

 

Meaning: When UserA sends an E-Mail it is send via its SMTP account (e.g. for 
foo...@gmx.de <mailto:foo...@gmx.de> ) while when UserB sends an E-Mail it goes 
via the SMTP for x...@web.de <mailto:x...@web.de> 

 

I know that the Kerio Connect mailserver supports such a feature.

 

--
users@sogo.nu <mailto:users@sogo.nu> 
https://inverse.ca/sogo/lists

--
users@sogo.nu <mailto:users@sogo.nu> 
https://inverse.ca/sogo/lists

-- 
users@sogo.nu <mailto:users@sogo.nu> 
https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

SV: [SOGo] SMTP server for each user

2019-10-26 Thread &quot;Christian M. Jensen"
Hi,

 

I do not think that’s possible, I remember a few maybe 5 year ago I needed the 
same settings going over the source [1] the only I were able to find were that 
imap (c_imaphostname) and sieve (c_sievehostname) were supported on a per user 
level.

 

The option I took back then were to configure the local postfix instance to 
forward the email based on domain name to the correct server, a bit more 
maintenance but it worked. A lot has changed sins then, so I might have 
overlooked something

 

[1]: https://github.com/inverse-inc/sogo/blob/master/SoObjects/SOGo/SQLSource.m

 

Regards / Hilsen

Christian M. Jensen

 

Fra: users-requ...@sogo.nu  På vegne af nscl...@gmx.de
Sendt: 26. oktober 2019 16:42
Til: users@sogo.nu
Emne: [SOGo] SMTP server for each user

 

Hello,

 

is it possible to configure SOGo to have a separate SMTP server for each user?

 

Meaning: When UserA sends an E-Mail it is send via its SMTP account (e.g. for 
foo...@gmx.de <mailto:foo...@gmx.de> ) while when UserB sends an E-Mail it goes 
via the SMTP for x...@web.de <mailto:x...@web.de> 

 

I know that the Kerio Connect mailserver supports such a feature.

 

-- 
users@sogo.nu <mailto:users@sogo.nu> 
https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Mail Preferences -> Forwarding

2019-07-18 Thread &quot;Christian M. Jensen"

Hi.

That info is stored in 'user defaults or settings' in your users source 
AND in sieve scripts handled by "most likely" your imap server.


--
Hilsen/Regards
Christian M. Jensen

On 18-07-2019 18:04, Odhiambo Washington (odhia...@gmail.com) wrote:
When a user activates mail forwarding via SOGo, where is that 
information stored?
I need to run a check for all users and eliminate the forwarding 
address if it matches a specific string.


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
users@sogo.nu
https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGO Installation on Plesk

2019-07-16 Thread &quot;Christian M. Jensen"

Hi Luca.

Just tested and your right, SOGo needs the password. hmm

In that case you may need a support contract with SOGo for this to be 
solved, unless you or some else one can develop and contribute support 
for AES-256-CBC auth, or some other workaround.


in any case, i can't think of any other way.

On 15-07-2019 16:44, Luca Müller (lucamueller...@gmail.com) wrote:

Hey Christian,

Thank you for your reply.
This is our current sogo.conf File:


{
  SOGoTimeZone = Europe/Berlin;
  SOGoMailDomain = http://sr65.firestorm.ch/SOgo/;
  SOGoLanguage = English;
  SOGoAppointmentSendEMailNotifications = YES;
  SOGoFoldersSendEMailNotifications = YES;
  SOGoACLsSendEMailNotifications = YES;
  SOGoCalendarDefaultRoles = ("PublicViewer","ConfidentialDAndTViewer");
  SOGoUserSources = ({
    //canAuthenticate = YES;
    displayName = "SOGo Users";
    id = users;
    isAddressBook = YES;
    type = sql;
    userPasswordAlgorithm = md5;
    viewURL = 
"mysql://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_users 
<http://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_users>";

  });
  SOGoMailingMechanism = smtp;
  SOGoSMTPServer = localhost;
  SOGoIMAPServer = imaps://localhost:993;
  SOGoMemcachedHost = 127.0.0.1;
  SOGoEnableEMailAlarms = No;
  SOGoProfileURL = 
"mysql://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_user_profile 
<http://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_user_profile>";
  OCSFolderInfoURL = 
"mysql://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_folder_info 
<http://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_folder_info>";
  OCSSessionsFolderURL = 
"mysql://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_sessions_folder 
<http://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_sessions_folder>";
  OCSEMailAlarmsFolderURL = 
"mysql://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_alarms_folder 
<http://sogo:WDUg19g91eg9e@127.0.0.1:3306/sogo/sogo_alarms_folder>";


  SOGoPageTitle = "SOGo WebMailer";
  SOGoMailAuxiliaryUserAccountsEnabled = NO;
  SOGoFirstDayOfWeek = 1;
  SOGoMailComposeMessageType = html;

  SOGoDraftsFolderName = Drafts;
  SOGoSentFolderName = Sent;
  SOGoTrashFolderName = Trash;

  SxVMemLimit = 4096;
  SOGoDebugRequests = YES;
  SOGoEASDebugEnabled = YES;
  ImapDebugEnabled = YES;
    //LDAPDebugEnabled = YES;
  MySQL4DebugEnabled = YES;
    //PGDebugEnabled = YES;
  WOPort = 2;
  SOGoForceExternalLoginWithEmail = YES;
}


 On our Plesk Server i've created a test user and tried to login. But 
it failed without a Error Message:
Jul 15 16:41:20 sogod [2711]: |SOGo| starting method 'POST' on uri 
'/SOGo/connect'
Jul 15 16:41:20 sogod [2711]: SOGoRootPage Login from '46.140.230.170' 
for user 't...@tst.tld' might not have worked - password policy: 65535 
 grace: -1  expire: -1  bound: 0
Jul 15 16:41:20 sogod [2711]: |SOGo| request took 0.004622 seconds to 
execute
Jul 15 16:41:20 sogod [2711]: 46.140.230.170 "POST /SOGo/connect 
HTTP/1.1" 403 34/67 0.009 - - 0



Next i've inserted the same username and password into the Table 
'sogo_users'.
So IMAP and the Database had the exact same password. Then i was able 
to login using this user Account.
However in Plesk we can't get the hashed or plain password of our 
users. So filling all these Credentials into a database is not possible.

We need a IMAP only auth.

Bests,
Luca

--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen/Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGO Installation on Plesk

2019-07-12 Thread &quot;Christian M. Jensen"

Hi.

When you try to login what is shown in the logs.

If i remember correctly for authentication you just need to have view 
with users that are allowed to use SOGo and a working imap server, SOGo 
sends the authentication to the imap server and that is where the 
password is validated happens.


Also the option 'userPasswordAlgorithm' in SOGo (according to the doc 
and my own findings) only has effect if i want to change the password 
from within SOGo, so that should not be an issue. i use sha512 and 
changing that option to plain has no effect on authentication at least 
for me.


On 12-07-2019 13:31, Luca Müller (lucamueller...@gmail.com) wrote:

Hello,

We're trying to install SOGO on our Plesk Onyx 17.8.11 Server.
The installation of SOGO itsself was successful. We're able to open 
SOGO Webmail using domain.tld/SOgo. However we have some trouble in 
choosing the correct Authentication method. On Plesk we use dovecot & 
postfix. In the Plesk Database there's the Users password. However 
it's not hashed with any of the supported Hashing Algorithms. The 
Mail-Password is encrypted using "AES-256-CBC". Since there's only the 
option to use a Database or LDAP we can't login to the webmail. Has 
anyone ever tried to setup Sogo with Plesk ? Are there any tutorials 
(i couldn't fine one). Or does anyone know another option how the 
authentification could work ?

Thanks in advance.
Best regards,
Luca
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen/Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work

2019-07-11 Thread &quot;Christian M. Jensen"

Hello.

I meant for you to try changing a few lines and recompile just to see if 
it will work.


To make this work you make the changes and compile SOGo, once SOGo has 
compiled, you just install that version over your current install (Make 
backups first). If this is a LIVE/Production server consider a cheap VPS 
just to test the changes, and avoid messing up your production setup.


You wrote you use CentOS so i would install a clone of the server on VPS 
or what you got available unless you are really confident.


How ever i do think this is the issue, and like Ludovic wrote in this 
message https://lists.inverse.ca/sogo/arc/users/2019-07/msg00046.html 
you need to create a bug report with a ZIP file containing sample 
messages (Sent from Outlook, Yahoo etc.).


Creating a bug report is the only way this will be tested and validated 
by SOGo developers, and in the end hopefully a fix makes it into SOGo 
for release.


--
Hilsen/Regards
Christian M. Jensen

On 11-07-2019 10:48, Eslam Basyouni (eslam.basyo...@yahoo.com) wrote:

Dear Eng Christian M. Jensen,


i don't know how say thank you very very much , i appreciate your 
cooperation with me , you want me to add the configuration that you 
send and recompile from source is this right?


if this the only way i will do this ,but what about to fix the 
current installed version , is there is any way to add any files or do 
any configuration??


--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Authentication for emai

2019-07-11 Thread &quot;Christian M. Jensen"

Hi.

Make sure you can authenticate and use your mail server without SOGo eg. 
telnet into the imap server, if that works, Please! start with this 
guide 
https://github.com/inverse-inc/sogo/blob/master/Documentation/SOGoInstallationGuide.asciidoc 
, after you complete the install guide, if your are still having issues 
with authentication, we need to see your configuration for SOGo 
authentication source and info about what imap server you got. ps filter 
out any passwords/users info.


--
Hilsen/Regards
Christian M. Jensen

On 11-07-2019 00:23, Andreas Meyer (a.me...@nimmini.de) wrote:

Hello!

I have a running SOGo-Server 4.0.7. I configured mail for IMAP and SMTP but
the mailboxes are not shown.

What I don't understand is how sogo authenticates to the imap- and smtp-server
when there is no possibility to give a password somewhere.

How is this working and what am I missing?

Kind regards

   Andreas


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work

2019-07-10 Thread &quot;Christian M. Jensen"

hi again.

Just Tested hate leaving thing untested. Works yay! i attached path, 
this only adds  windows-1256 like i wrote earlier.



On 10-07-2019 18:10, "Christian M. Jensen" (c...@cjpg.dk) wrote:


Hi.

Just tested a bit and can confirm this is an issue, and i think the 
problem is that SOGo has no rules for charset windows-1256 like for 
others as seen here.


https://github.com/inverse-inc/sogo/blob/60247e83e7da798bb7292521694812a6ea12ff0f/UI/MailPartViewers/UIxMailPartHTMLViewer.m#L82-L85

My suggesting is that you add this '{ @"windows-1256", 
XML_CHAR_ENCODING_ERROR},'  to UIxMailPartHTMLViewer.m between line 
82/85 and compile SOGo to see if that helps, and report back.


Now this just a suggestion not tested so can't say if it will work. 
The reason i think this is where the issue resides, is as you can see 
by the image, title is fine but body is not, and the body part of the 
mail "look like" it parses through that method.



That's just my suggestion, hope you figure out what the root cause is.

--
Hilsen/Regards
Christian M. Jensen


--
Hilsen/Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/listsDescription: Added encoding windows-1256
 Fixes invalid coding when sending mails with Arabic letters, when sendt from 
Windows.
 .
 sogo (4.0.7.20190710-1) DIST; urgency=low
 .
   * updated to 4.0.7.20190710
Author: Christian M. Jensen 

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: , 
Bug: 
Bug-Debian: https://bugs.debian.org/
Bug-Ubuntu: https://launchpad.net/bugs/
Forwarded: 
Reviewed-By: 
Last-Update: 2019-07-10

--- sogo-4.0.7.20190710.orig/UI/MailPartViewers/UIxMailPartHTMLViewer.m
+++ sogo-4.0.7.20190710/UI/MailPartViewers/UIxMailPartHTMLViewer.m
@@ -82,6 +82,7 @@ _xmlCharsetForCharset (NSString *charset
 { @"windows-1250", XML_CHAR_ENCODING_ERROR}, // unsupported, will trigger 
windows-1250 -> utf8 conversion
 { @"windows-1251", XML_CHAR_ENCODING_ERROR}, // unsupported, will trigger 
windows-1251 -> utf8 conversion
 { @"windows-1255", XML_CHAR_ENCODING_ERROR}, // unsupported, will trigger 
windows-1255 -> utf8 conversion
+{ @"windows-1256", XML_CHAR_ENCODING_ERROR},
 { @"windows-1257", XML_CHAR_ENCODING_ERROR}, // unsupported, will trigger 
windows-1257 -> utf8 conversion
 { @"gb2312", XML_CHAR_ENCODING_ERROR},   // unsupported, will trigger 
gb2312 -> utf8 conversion
 { @"gbk", XML_CHAR_ENCODING_ERROR},  // unsupported, will trigger 
gb2312 -> utf8 conversion

Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work

2019-07-10 Thread &quot;Christian M. Jensen"

Hi.

Just tested a bit and can confirm this is an issue, and i think the 
problem is that SOGo has no rules for charset windows-1256 like for 
others as seen here.


https://github.com/inverse-inc/sogo/blob/60247e83e7da798bb7292521694812a6ea12ff0f/UI/MailPartViewers/UIxMailPartHTMLViewer.m#L82-L85

My suggesting is that you add this '{ @"windows-1256", 
XML_CHAR_ENCODING_ERROR},'  to UIxMailPartHTMLViewer.m between line 
82/85 and compile SOGo to see if that helps, and report back.


Now this just a suggestion not tested so can't say if it will work. The 
reason i think this is where the issue resides, is as you can see by the 
image, title is fine but body is not, and the body part of the mail 
"look like" it parses through that method.



That's just my suggestion, hope you figure out what the root cause is.

--
Hilsen/Regards
Christian M. Jensen


On 10-07-2019 12:18, Eslam Basyouni (eslam.basyo...@yahoo.com) wrote:
if you mean from where i'm open the SOGo web , there is no different , 
where i tested opening SOGo URL from Linux PC and from Windows PC and 
the same issue


and if you or any one want to test with me do the following :

1- Send Email from Hotmail.com or outlook.com to your email on SOGo 
with Arabic like this    مرحبا... كيف الحال
2- open this mail from SOGo web and open the same mail from 
Thunderbird or out look and you will see how this mail will appear



thank you for your reply




On Tuesday, July 9, 2019, 09:56:17 PM GMT+2, Jonathan Aquilina 
 wrote:



A quick question are you running sogo on windows or on linux?

Regards,

Jonathan

*From: * on behalf of Eslam Basyouni 


*Reply to: *"users@sogo.nu" 
*Date: *Tuesday, 9 July 2019 at 20:54
*To: *"users@sogo.nu" , "users@sogo.nu" 
*Subject: *Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work


Thank you for your reply... Why when you send mail to yahoo or gmail 
from Microsoft there is no problem with encoding but only sogo that 
have the problem... I think sogo have problem with encoding


I hope if we get any help where most of my emails in arabic.. And by 
the way if i open this email from thunderbird or outlook there is no 
problem i can see them with right encoding...


Sent from Yahoo Mail on Android 
<https://go.onelink.me/107872968?pid=InProduct=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers_wl=ym_sub1=Internal_sub2=Global_YGrowth_sub3=EmailSignature>


On Tue, Jul 9, 2019 at 7:20 PM, Jonathan Aquilina

 wrote:

Im not a sogo expert but all I know is Microsoft have their own
unique encodings for windows that are not compatible with standard
encodings that one would find on linux or mac system.

Regards,

Jonathan

*From: * on behalf of Eslam Basyouni

*Reply to: *"users@sogo.nu" 
*Date: *Monday, 8 July 2019 at 15:10
*To: *"users@sogo.nu" 
*Subject: *Re: [SOGo] Encoding of Arabic (Windows-12256) Not Work

I got workaround to temporary read by forward the message, in this
case i can see it, but we need to fix this bug...

Eng Ludovic , Francis, any chance of solving this issue , or any
idea for workaround?

On Monday, July 8, 2019, 02:54:38 PM GMT+2, Mohammed Qanadelo
 wrote:

Dear all

i have the same problem with arabic language in sogo

any solution's ?

On 2019-07-07 10:35, Eslam Basyouni wrote:

Dears,

first of all i apologize the Arabic encoding for
(Windows-12356) not for Arabic (Windows-12256)  , anyway i
discovered that the only emails that come from Microsoft is
only have this problem and all other is good like yahoo or
gmail and any other have this problem, where ihad test with my
exchange server and hostmail.com and outlook.com and they have
this problem

On Sunday, July 7, 2019, 05:08:59 AM GMT+2, Eslam Basyouni
 wrote:

Dears,

i have  some emails in Arabic and it send from Exchange
outlook to my email in sogo but it's contain bad character
which it's not belong to Arabic , i think it's something
related to encoding because i had send the same message from
outlook after i change the encoding of outlook from Arabic
(windows) to UTF-8 and i send again and there is no problem so
kindly Advise..

*Error! Filename not specified.*


*Error! Filename not specified.*

-- 
users@sogo.nu

https://inverse.ca/sogo/lists

-- 
users@sogo.nu

https://inverse.ca/sogo/lists

-- 


Eng. Mohammed A. Qanadelo

Systems Development Department - GCC

Ministry of Telecomm. & Information Technology

-- 
users@sogo.nu

https://inverse.ca/sogo/lists

-- 
users@sogo.nu

https://inverse.ca/sogo/lists

-- 
users@sogo.nu

https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists

--

Re: [SOGo] sogo-tool, modify user preferences

2019-07-10 Thread &quot;Christian M. Jensen"

hi.

This is kinda fun to figure out. Fist do not copy paste my commands 
chack they match your enviroment. and skip step 6.


I have done the following. and it works to a point, the only issue now 
is that all is set up, BUT use ad...@example.com is not subscribed... 
how ever if i run (sogo-tool manage-acl subscribe 
meetingr...@example.com Calendar/personal ad...@example.com 
'["PublicModifier"]') again as the last step it all fall into place. 
(perhaps it's related to changing the name of the Calendar when 
'user-preferences set settings' is run.) but i do not have to much time 
to invest at the moment.


NOTE* i feel this is hacky at best maybe some one from the dev team can 
confirm or deny this. And i hope this will get you further.



1. Get the device we are using at this moment.

 ~# sogo-tool manage-eas listdevices ad...@example.com

2. validate that you are seeing the expected folders [NO share at this 
point] (i do this, you do not need to. BUT the more info/validation of 
entries the better.)


 ~# sogo-tool manage-eas listfolders ad...@example.com 
{DEVICE-ID-FROM-LISTDEVICES}


3. add and subscribe

 ~# sogo-tool manage-acl add meetingr...@example.com Calendar/personal 
ad...@example.com'["PublicModifier"]'
 ~# sogo-tool manage-acl subscribe meetingr...@example.com 
Calendar/personal ad...@example.com '["PublicModifier"]'


4. Check the shares of meetingr...@example.com:Calendar/personal.

 ~# sogo-tool manage-acl get meetingr...@example.com Calendar/personal 
ad...@example.com


 * output of 'manage-acl get' if empty results NO shares is setup, 
anf you need to start over with step 3
 * 2019-07-10 10:56:57.265 sogo-tool[17342:17342] Rights for 
meetingr...@example.com ["PublicModifier"]

 *

5. Update the user settings.

 5.1. get all user settings for key=Calendar.

 ~# sogo-tool user-preferences get settings ad...@example.com Calendar

 5.2. update the output (FULL OUTPUT) with your changes. (for me i took 
the output of 5.1 and added/appended/merged the new calendar settings 
*{,"FolderSynchronize": {}}* )
 ** NOTE: 'sogo-tool user-preferences set settings ad...@example.com 
Calendar -f /path/to/file.json' can be used to load the full json from a 
file.


 ~# sogo-tool user-preferences set settings ad...@example.com Calendar '{
    "FoldersOrder": ["1ADD-5CFD4880-1-41A25A80", "personal"],
    "View": "weekview",
    "FolderColors": {"ad...@example.com:Calendar\/personal": 
"#AA"},
    "FolderDisplayNames": 
{"meetingr...@example.com:Calendar\/personal": "Meetingroom"}
    "NotifyOnPersonalModifications": 
{"ad...@example.com:Calendar\/personal": 0},

    "EventsFilterState": "view_next7",
    "SelectedList": "eventsListView",
    "FreeBusyExclusions": {"ad...@example.com:Calendar\/personal": 0},
    "NotifyOnExternalModifications": 
{"ad...@example.com:Calendar\/personal": 1},
    "NotifyUserOnPersonalModifications": 
{"ad...@example.com:Calendar\/personal": 0},

    "TasksSortingState": ["status", "1"],
    "TasksFilterState": "view_incomplete",
    "PreventInvitationsWhitelist": {},
    "FolderSynchronize": {"ad...@example.com:Calendar\/personal": 
1, "meetingr...@example.com:Calendar\/personal": 1},

    "EventsSortingState": ["start", "1"]
}'


6. [WRONG DO NOT RUN UNLESS YOU GOT BACKUP.] i added this to showcase an 
issue when manipulating the user setting.


 ~# sogo-tool user-preferences set settings ad...@example.com Calendar 
'{"FolderSynchronize": {"meetingr...@example.com:Calendar\/personal": 1}}'
 --- NO NO NO... all my settings for my own calendars and the 
shared calendars are gone.. crying a little. 'sogo-tool manage-acl 
get'==not found back to step 3.


 This happens to be simple we are setting the value of the key 
'*Calendar*' so we need to set the full json/dictionary when 
manipulating this setting.


--
Hilsen/Regards
Christian M. Jensen


On 04-07-2019 15:41, Alexey Dunaev (k...@keir.ru) wrote:

Dear SOGo community,
I'm trying to share a calendar from one mailbox to other users with 
availability through MS Outlook via ActiveSync connection.


I've done with sharing using command
~# sogo-tool manage-acl add meetingr...@example.com 
<mailto:meetingr...@example.com> Calendar/personal ad...@example.com 
<mailto:ad...@example.com> [\"PublicModifier\"]
~# sogo-tool manage-acl subscribe meetingr...@example.com 
<mailto:meetingr...@example.com> Calendar/personal ad...@example.com 
<mailto:ad...@example.com> [\"PublicModifier\"]


Re: [SOGo] Review/fix web calendar subscriptions

2019-07-10 Thread &quot;Christian M. Jensen"

Hi,

I think we need logs from SOGo when you try to add the calendar, these 
options should give you more info in sogo.log. Before you change the 
config make sure you are on the latest released version of SOGo.


|SOGoDebugRequests = YES; |

if no additional info is logged of this "failure" you may need to fire 
up gdb, on sogo.nu you can find a quick start guid for debugging SOGo.



||
On 09-07-2019 07:53, Lewis Dexter Litanzios (h...@ldexterldesign.uk) wrote:

BUMP

On 26/06/2019 02:46, Lewis Dexter Litanzios wrote:

BUMP

On 19/06/2019 18:27, Lewis Dexter Litanzios wrote:

Hi all,

Hope you're well

Thanks for software

I'm vetting the calendar but web calendar subscriptions don't appear 
to be working


I have a "perfectly" good (Google) .ics URL which works in 
Thunderbird (i.e. Lightning) and Apple calendar but nothing happens 
in SOGo - is anyone else suffering this issue?:


If yes then I will create an issue

If no then what am I doing wrong or could this be a deployment issue 
in which case I'll contact, Gandi, my host


Screen cast: 
https://drive.google.com/open?id=1qboPbM3-0dYgfSIcsWwigfH_3yMBM2_Y


If you have any issues (e.g. questions/queries) then happy to help

Hope to hear back

Yours faithfully
--
logo <https://ldexterldesign.uk>


--
logo <https://ldexterldesign.uk>


--
logo <https://ldexterldesign.uk>
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen/Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Missing NGLdap

2019-07-10 Thread &quot;Christian M. Jensen"

Hi.

you are missing some dev libs. i do not use CentOS but take a look at 
[sogo.spec] more specifically 'BuildRoot' and 'BuildRequires'  and make 
sure you got the required libraries installed, remember SOPE is a 
seperated library found here 'https://github.com/inverse-inc/sope'


[sogo.spec]: 
https://github.com/inverse-inc/sogo/blob/master/packaging/rhel/sogo.spec


On 10-07-2019 00:48, Andreas Meyer (a.me...@nimmini.de) wrote:

Hello!

I try to compile SOGo-4.0.7 on CentOS 7 but get

NGLdap/NGLdapConnection.h: file or directory not found.

I searched with yum but can't find NGLdap.
What could I do to solve this?

Kind regards

   Andreas


--
Hilsen/Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Fwd: Trying again - Addressbook Sync Errors

2019-04-26 Thread &quot;Christian M. Jensen"

Hi.

I think the reason no one has answered this yet, may be that know one no 
where to start or that they simply are busy i don't know, so this is 
just a shot in the dark and is the basics i would cover to see if it's a 
per user issue or just general issue with the setup.


Enable more verbose logging, 
https://sogo.nu/support/faq/how-to-enable-more-verbose-logging-in-sogo.html 
and check the output.


You can try and create a brand-new user, login to SOGo verify that the 
address book is present. But don't add any entries, then try to sync 
this new user. if it works add entries see if it still works. If it do, 
then the data in MySQL for that user is corrupt.


If it all fails debug, https://sogo.nu/support/faq/how-do-i-debug-sogo.html

Well i hope this will get you further with this, and maybe some of the 
info you collect, will be just what the rest of the list needs to help you.


--
Hilsen/Regards
Christian M. Jensen

On 26-04-2019 12:37, Odhiambo Washington (odhia...@gmail.com) wrote:


Might it be that I just have forgotten how to ask smart questions or 
this is something that has no answer?
I have googled and there is not such problem experienced with 
Addressbook syncing with Outlook before.
Might it be that Addressbook syncing is not supported with MySQL 
backend as storage??


Christian Mack has been missing here for days :-)


-- Forwarded message -
From: *Odhiambo Washington* <mailto:odhia...@gmail.com>>

Date: Tue, 23 Apr 2019 at 14:00
Subject: Trying again - Addressbook Sync Errors
To: mailto:users@sogo.nu>>


Hello everyone,


I have installed OutlookCalDavSynchronizer-3.6.0 on Outlook 2019. SOGo 
is v4.0.7.



My config block for Addressbook is:

SOGoUserSources =
    (
      {
        type = sql;
        id = directory;
        viewURL = 
"mysql://sogou:X@127.0.0.1:3306/exim4u/sogo_auth_view 
<http://sogou:X@127.0.0.1:3306/exim4u/sogo_auth_view>";

        canAuthenticate = YES;
        isAddressBook = YES;
        listRequiresDot = NO;
        userPasswordAlgorithm = md5-crypt;
        displayName = "CSL Global Address Book";
      }
    );


When I try to sync the following error is logged on sogo.log:


2019-04-12 11:08:31.511 sogod[43707:100181] EXCEPTION: 0x8080601b8> NAME:NSInvalidArgumentException REASON:'_name' must not 
be an empty string INFO:(null)



while the CalDav tool generates so many messages. Sync fails of 
course.



Any clue as to what could be the problem?


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)
--
users@sogo.nu
https://inverse.ca/sogo/lists

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Why does EAS(exchange active sync) use wrong account name?

2019-04-24 Thread &quot;Christian M. Jensen"
ing wrong?


On Mon, Apr 8, 2019 at 3:15 PM luckydog xf
mailto:luckydo...@gmail.com>>
wrote:

        LoginFieldNames = (c_uid, mail);

Add this optionals, so that either hongquan or
hongq...@ad.pthl.hk <mailto:hongq...@ad.pthl.hk>
works. But http access log is
172.16.81.56 - - [08/Apr/2019:14:14:47 +0800]
"OPTIONS /Microsoft-Server-ActiveSync HTTP/1.1"
200 - "-" "Android/5.1-EAS-1.3"
while it's probably due to App version, it still
cannot sync email.etc.

On Mon, Apr 8, 2019 at 12:49 PM luckydog xf
mailto:luckydo...@gmail.com>> wrote:

# logs

Apr 08 12:30:52 sogod [15247]: |SOGo| starting
method 'OPTIONS' on uri
'/SOGo/Microsoft-Server-ActiveSync'
2019-04-08 12:30:52.697 sogod[15247:15247]
 SQL: *SELECT
c_password FROM view WHERE c_uid = 'hongquan';*
2019-04-08 12:30:52.698 sogod[15247:15247]
  query has
results, entering fetch-mode.
Apr 08 12:30:52 sogod [15247]:
<0x0x557eeeafec40[SOGoDAVAuthenticator]> tried
wrong password for user 'hongquan'!
Apr 08 12:30:52 sogod [15247]: |SOGo| request
took 0.001318 seconds to execute

# exchange client setup
email addr: hongq...@ad.pthl.hk
<mailto:hongq...@ad.pthl.hk>
username: hongq...@ad.pthl.hk
<mailto:hongq...@ad.pthl.hk> ### I check that
sogo reads account name specified here ###
domain name: ad.pthl.hk <http://ad.pthl.hk>
password: 
server: mail.ad.pthl.hk <http://mail.ad.pthl.hk>
..

Actually in MariadDB c_uid is
*hongq...@ad.pthl.hk
<mailto:hongq...@ad.pthl.hk>*, NOT hongquan.
But EAS use hongquan as query string of SQL
statement.

Anything I can do to get rid of this ? Thanks.



--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Hilsen/Regards
Christian M. Jensen

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Outlook clients failure (MAPIStoreIOException)

2015-10-26 Thread Christian M. Jensen

Hello.

Den 26-10-2015 kl. 18:35 skrev Harold Fines:

Christian: I tried, unfortunately to no avail :(

then i can't be of any help


In case this provides a clue: After boot I have to manually "systemctl 
restart smbd samba-ad-dc", otherwise I get:
you might want try and debug with gdb, that's all the help i can give 
regarding this, but with a good stacktrace i'm sure some one here on the 
list can help


[2015/10/26 17:35:43.091643,  0] libmapi/oc_log.c:52(oc_logv)
  MAPIPROXY server mode enabled
[2015/10/26 17:35:43.094140,  0] libmapi/oc_log.c:54(oc_logv)
  Using MySQL backend for openchangedb: 
mysql://openchange:password@localhost/openchange

[2015/10/26 17:35:43.109776,  0] mapiproxy/servers/default/emsmdb

--- cut ---

Christian Jensen


smime.p7s
Description: S/MIME-signeret meddelelse


[SOGo] Re: OpenChange/OCSManager

2015-10-26 Thread Christian M. Jensen

Hello Harold.

sending this to the list as it belongs there.

the issue you refer to i fixed by reinstalling every thing, and making 
sure every thing about samba was working
i *think* the reason it wasn't working, were related to acl on the that 
node since shared folders in samba did not work.


that's all i can say, it worked after reinstalling the server.

Regards
Christian Jensen


Den 26-10-2015 kl. 13:24 skrev Harold Fines:

Good afternoon.

I'm really torn about sending you this email directly but it seems 
that noone else have encountered this specific issue. I'm hoping you 
will find time to reply :)


AD: https://lists.inverse.ca/sogo/arc/users/2015-06/msg00085.html
SOGo: sogo_backend_list_contexts:319] - EXCEPTION: 
MAPIStoreIOException, reason: 'OCSFolderInfoURL' is not set, backtrace:


I've encountered the very same issue and I have been unable to remedy 
it myself. Did you ever find a solution?




smime.p7s
Description: S/MIME-signeret meddelelse


Re: [SOGo] Outlook clients failure (MAPIStoreIOException)

2015-10-26 Thread Christian M. Jensen

Hello

this is just a suggestion but for me.
i have to set the main domain (the domain i use with OpenChange) i use 
*outside* the domains config, like this.


sogo.conf:
{
SOGoMailDomain = domain.tld;
SOGoUserSources =  (
[]
user sources here...
[]
);


[]
 all my config
[]
domains = {
MY-EXTRADOMAINS.TLD= {
};
};
}


Regards
Christian Jensen


Den 26-10-2015 kl. 13:40 skrev Harold Fines:
Similar issue as 
https://lists.inverse.ca/sogo/arc/users/2015-06/msg00085.html


I'm using Debian 8 Jessie with Inverse's own packages. Everything is 
working (SOGo webmail, Dovecot, Postfix, etc) except "full Exchange" 
clients (Oulook 2007/2010/2013 (Outlook 2013 configured to use 
ActiveSync is working fine)). As the first Exchange client connects i 
get the following in log.samba:


2015-10-26 13:16:53.928 samba[15969] [SOGo: 
sogo_backend_list_contexts:319] - EXCEPTION: MAPIStoreIOException, 
reason: 'OCSFolderInfoURL' is not set, backtrace:

/usr/lib/libgnustep-base.so.1.24(+0x232e96) [0x7ff61dcc2e96]
/usr/lib/libgnustep-base.so.1.24(+0x233bbc) [0x7ff61dcc3bbc]
/usr/lib/libgnustep-base.so.1.24(+0x2337a3) [0x7ff61dcc37a3]
/usr/lib/GNUstep/SOGo/SOGoBackend.MAPIStore/./SOGoBackend(+0x608cc) 
[0x7ff610e6e8cc]
/usr/lib/GNUstep/SOGo/SOGoBackend.MAPIStore/./SOGoBackend(+0x60913) 
[0x7ff610e6e913]
/usr/lib/GNUstep/SOGo/SOGoBackend.MAPIStore/./SOGoBackend(+0xa5d34) 
[0x7ff610eb3d34]
/usr/lib/GNUstep/SOGo/SOGoBackend.MAPIStore/./SOGoBackend(+0x67dd5) 
[0x7ff610e75dd5]
/usr/lib/x86_64-linux-gnu/mapistore_backends/SOGo.so(+0x3047) 
[0x7ff61e5a2047]
/usr/lib/x86_64-linux-gnu/libmapistore.so.0(mapistore_backend_list_contexts+0x9e) 
[0x7ff6211f49e2]
/usr/lib/x86_64-linux-gnu/libmapistore.so.0(mapistore_list_contexts_for_user+0x56) 
[0x7ff6211eff47]
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(emsmdbp_mailbox_provision+0xcc) 
[0x7ff61f9f3704]
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(+0x22691) 
[0x7ff61f9f6691]
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(EcDoRpc_RopLogon+0x144) 
[0x7ff61f9f6dbf]
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(+0xf6dd) 
[0x7ff61f9e36dd]
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(+0x10b9c) 
[0x7ff61f9e4b9c]
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(+0x112e4) 
[0x7ff61f9e52e4]
/usr/lib/x86_64-linux-gnu/libmapiproxy.so.0(mapiproxy_server_dispatch+0xad) 
[0x7ff6226be6bf]
/usr/lib/x86_64-linux-gnu/samba/dcerpc_server/dcesrv_mapiproxy.so(+0x1dd1e) 
[0x7ff622917d1e]
/usr/lib/x86_64-linux-gnu/libdcerpc-server.so.0(dcesrv_process_ncacn_packet+0x4b9) 
[0x7ff62d89a169]
/usr/lib/x86_64-linux-gnu/libdcerpc-server.so.0(+0x66d5a) 
[0x7ff62d89ad5a]
/usr/lib/x86_64-linux-gnu/libdcerpc-binding.so.0(+0x10007) 
[0x7ff63df65007]
/usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0(+0xa0d9) 
[0x7ff63aadb0d9]
/usr/lib/x86_64-linux-gnu/samba/libsamba-sockets.so.0(+0x8fab) 
[0x7ff63aad9fab]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_immediate+0xd4) 
[0x7ff63d4e67c4]

/usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x908e) [0x7ff63d4eb08e]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x7797) [0x7ff63d4e9797]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d) 
[0x7ff63d4e5f9d]
/usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b) 
[0x7ff63d4e613b]

/usr/lib/x86_64-linux-gnu/libtevent.so.0(+0x7737) [0x7ff63d4e9737]
/usr/lib/x86_64-linux-gnu/samba/process_model/standard.so(+0x1655) 
[0x7ff6325f8655]
/usr/lib/x86_64-linux-gnu/samba/libservice.so.0(task_server_startup+0x4f) 
[0x7ff64030f00f]
/usr/lib/x86_64-linux-gnu/samba/libservice.so.0(server_service_startup+0x92) 
[0x7ff64030dcd2]

/usr/sbin/samba(+0x99fd) [0x7ff64161a9fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) 
[0x7ff63d15ab45]

/usr/sbin/samba(+0x5dee) [0x7ff641616dee]
2015-10-26 13:16:53.929 samba[15969] Backtrace using execinfo.h:
2015-10-26 13:16:53.929 samba[15969] 
/usr/lib/x86_64-linux-gnu/mapistore_backends/SOGo.so(+0x2508) 
[0x7ff61e5a1508]
2015-10-26 13:16:53.929 samba[15969] 
/usr/lib/x86_64-linux-gnu/mapistore_backends/SOGo.so(+0x30dc) 
[0x7ff61e5a20dc]
2015-10-26 13:16:53.929 samba[15969] 
/usr/lib/x86_64-linux-gnu/libmapistore.so.0(mapistore_backend_list_contexts+0x9e) 
[0x7ff6211f49e2]
2015-10-26 13:16:53.929 samba[15969] 
/usr/lib/x86_64-linux-gnu/libmapistore.so.0(mapistore_list_contexts_for_user+0x56) 
[0x7ff6211eff47]
2015-10-26 13:16:53.929 samba[15969] 
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(emsmdbp_mailbox_provision+0xcc) 
[0x7ff61f9f3704]
2015-10-26 13:16:53.929 samba[15969] 
/usr/lib/x86_64-linux-gnu/openchange/dcerpc_mapiproxy_server/exchange_emsmdb.so(+0x22691) 
[0x7ff61f9f6691]
2015-10-26 13:16:53.929 

Re: [SOGo] [NGInternetSocketAddress _fillHost]: host not found ..

2015-10-09 Thread Christian M. Jensen

Hello.

Den 09-10-2015 kl. 17:35 skrev Christian Eichert:

Thank you for the answers up to now you helped me alot.
After I connected the user management to mysql now I can log in but 
the sites do not have a css formating.


parallel to this I have a lot of errors like this

2015-10-09 17:09:46.128 sogod[897] -[NGInternetSocketAddress 
_fillHost]: host not found ..
2015-10-09 17:09:46.128 sogod[897] could not get DNS name of 
address aaa.bbb.ccc.ddd in domain : 1


where I noticed that aaa.bbb.ccc.ddd is the ip of the client, of my 
laptop, and not the one of the server !!!

Can somebody help with this error ?

mfg
Christian


only seen the cees and jacasctipt issue when not using relative urls try 
setting 'WOUseRelativeURLs' to yes


WOUseRelativeURLs = YES

Regards
Christian Jensen


smime.p7s
Description: S/MIME-signeret meddelelse


Re: [SOGo] General Question

2015-10-09 Thread Christian M. Jensen

Hello.

Den 09-10-2015 kl. 13:29 skrev Christian Eichert:

I am a bit confused about SOGo
It looks to be a nice combination of webmail calendar and addressbook.

I have installed it and configured it as best I can, (of course its 
not working yet, else everybody would use it) and now I reached the 
point where it comes to the user configuration. I am using Dovecot 
with Postfix and virtual users in a MySQL database.


Now SOG is demanding a LDAP usermanagement.
Is there a way to access this already existing user database I am 
using with dovecot?


yes read authentication using sql
https://github.com/inverse-inc/sogo/blob/master/Documentation/SOGoInstallationGuide.asciidoc#authentication-using-sql
i use it for multiple domains all stored in MySQL

Regards
Christian Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] MailFiedNames and SQL

2015-08-21 Thread Christian M. Jensen

Hi.

On 21-08-2015 10:55, Frank Soyer wrote:

Hey, me again ;)
now I need to use some aliases in the from field when sending mails 
in the webUI.
For recall, I use Sogo with PostfixAdmin on a MariaDB database. 
Reading here and there, I found that the alias functionnality isn't 
totally handle at this time, but MailFiedNames can be a temporary 
alternative.
(in fact, I have totally NOT understood how to use 
SOGoMailCustomFromEnabled... this will probably be the object of a 
later post ! For now, let try with MailFiedNames).


So, in the mailbox table of Postfixadmin, I added 2 fields mail1, 
mail2. I modify the sogo view as this :

CREATE VIEW  `sogo_users` AS SELECT local_part AS c_uid, username AS c_name, 
PASSWORD AS c_password, name AS c_cn, username AS mail, mail1, mail2, domain 
FROM  `mailbox`;
and in SOGoUserSources, I added
   MailFieldNames = (mail1, mail2);

Restarted sogod, logout/login with my user, but no more choices in 
from field... :'(


You also need to restart memcached in order to see the affects imminently.



Any idea ?
Thanks,
Frank 


Regards
Christian Jensen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Service temporarily unavailable

2015-08-07 Thread Christian M. Jensen

Hi.

Whats your config settings SOGoSieveScriptsEnabled  and SOGoSieveServer

i notice you use 10.239.107.124 to connect to sieve and your SOGo log 
says localhost



On 07-08-2015 15:39, Neel wrote:
Well that might work but it ain't an option. I know the issue is with 
sieve but not being able to fix it.




On Fri, Aug 7, 2015 at 6:03 PM, Sarah Lee sarah.le...@gmail.com 
mailto:sarah.le...@gmail.com wrote:


Try to disable sieve in sogo conf


On Friday, August 7, 2015, Neel s.n.dey...@gmail.com
mailto:s.n.dey...@gmail.com wrote:

Well,
I've fixed PostgreSQL issue, still not being able to save any
settings from preference.
*
Below is the log*

Aug 04 23:17:28 sogod [4499]:
0x0x7ff3812a3730[SOGoSieveManager] failure. Attempting with
a renewed password (no authname supported)
Aug 04 23:17:28 sogod [4499]:
0x0x7ff3812a3730[SOGoSieveManager] Could not login
'sogob...@domain.lcl' on Sieve server:
0x0x7ff3812c4270[NGSieveClient]:
socket=NGActiveSocket[0x0x7ff3811a6bf0]: mode=closed
address=0x0x7ff381414c00[NGInternetSocketAddress]:
host=localhost port=47768: {RawResponse = {}; result = 0; }
Aug 04 23:17:28 sogod [4499]: 10.239.107.125 POST
/SOGo/so/sogob...@domain.lcl/preferences HTTP/1.1 503 49/2109
0.073 - - 0


On Thu, Aug 6, 2015 at 7:38 PM, Christian Mack
christian.m...@uni-konstanz.de wrote:

Hello

Am 06.08.2015 um 15:15 schrieb Neel:
 Below is the output of  `tail -f /var/log/sogo/sogo.log`

 Aug 05 02:20:38 sogod [9123]: [ERROR]
 0x0x7f0bb8e7b810[SOGoSQLUserProfile] failed to acquire
channel for URL:
 postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile
 Aug 05 02:20:38 sogod [9123]: [ERROR]
 0x0x7f0bb8e7b810[SOGoSQLUserProfile] failed to acquire
channel for URL:
 postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile

These errors are talking about connections to postgresql.
You should fix those first!


 Aug 05 02:20:38 sogod [9123]:
0x0x7f0bb8f86a00[SOGoSieveManager] failure.
 Attempting with a renewed password (no authname supported)
 Aug 05 02:20:39 sogod [9123]:
0x0x7f0bb8f86a00[SOGoSieveManager] Could
 not login 'sogob...@domain.lcl' on Sieve server:
 0x0x7f0bb904d140[NGSieveClient]:
socket=NGActiveSocket[0x0x7f0bb8d7afb0]:
 mode=closed
address=0x0x7f0bb8febb40[NGInternetSocketAddress]:
 host=sogo.domain.lcl port=55695: {RawResponse = {};
result = 0; }
 Aug 05 02:20:39 sogod [9123]: 10.239.107.125 POST
 /SOGo/so/sogob...@domain.lcl/preferences HTTP/1.1 503
49/2060 0.117 - -
 116K



 Thanks  Regards

 *Subhranil Dey+91-9051801106*

 On Thu, Aug 6, 2015 at 4:11 PM, Marc Patermann 
 hans.mo...@ofd-z.niedersachsen.de wrote:

 Hi,

 Am 06.08.2015 um 12:34 Uhr schrieb s.n.dey...@gmail.com:

 I'm not being able to save any preferences, whenever
trying, getting
 Service
 temporarily unavailable
 error message.
 How to sort this out?

 cut 


Kind regards,
Christian Mack

--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416








smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Service temporarily unavailable

2015-08-06 Thread Christian M. Jensen

Hi.

On 06-08-2015 15:15, Neel wrote:

Below is the output of `tail -f /var/log/sogo/sogo.log`

Aug 05 02:20:38 sogod [9123]: [ERROR] 
0x0x7f0bb8e7b810[SOGoSQLUserProfile] failed to acquire channel for 
URL: postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile
Aug 05 02:20:38 sogod [9123]: [ERROR] 
0x0x7f0bb8e7b810[SOGoSQLUserProfile] failed to acquire channel for 
URL: postgresql://sogo:sogo@localhost:5432/sogo/sogo_user_profile


start by fixing your connection to PostgreSQL server, you user setting 
will not be saved unless that works, and might just be the reason for 
your troubles.


Aug 05 02:20:38 sogod [9123]: 0x0x7f0bb8f86a00[SOGoSieveManager] 
failure. Attempting with a renewed password (no authname supported)
Aug 05 02:20:39 sogod [9123]: 0x0x7f0bb8f86a00[SOGoSieveManager] 
Could not login 'sogob...@domain.lcl' on Sieve server: 
0x0x7f0bb904d140[NGSieveClient]: 
socket=NGActiveSocket[0x0x7f0bb8d7afb0]: mode=closed 
address=0x0x7f0bb8febb40[NGInternetSocketAddress]: 
host=sogo.domain.lcl port=55695: {RawResponse = {}; result = 0; }
Aug 05 02:20:39 sogod [9123]: 10.239.107.125 POST 
/SOGo/so/sogob...@domain.lcl/preferences HTTP/1.1 503 49/2060 0.117 - 
- 116K




Thanks  Regards
/Subhranil Dey
+91-9051801106/

On Thu, Aug 6, 2015 at 4:11 PM, Marc Patermann 
hans.mo...@ofd-z.niedersachsen.de 
mailto:hans.mo...@ofd-z.niedersachsen.de wrote:


Hi,

Am 06.08.2015 um 12:34 Uhr schrieb s.n.dey...@gmail.com
mailto:s.n.dey...@gmail.com:

I'm not being able to save any preferences, whenever trying,
getting Service
temporarily unavailable
error message.
How to sort this out?

What preferences?

sogo@sogo:~$ telnet 10.239.107.124 4190
Trying 10.239.107.124...
Connected to 10.239.107.124.
Escape character is '^]'.
IMPLEMENTATION Dovecot Pigeonhole
SIEVE fileinto reject envelope encoded-character vacation
subaddress
comparator-i;ascii-numeric relational regex imap4flags copy
include variables
body enotify environment mailbox date ihave
NOTIFY mailto
SASL PLAIN LOGIN
STARTTLS
VERSION 1.0
OK Dovecot ready.

Why do you check the connection to the SIEVE server and post the
output here?

If you talk about saving SOGo preferences, you should check the
sogod log.


Marc
-- 
users@sogo.nu mailto:users@sogo.nu

https://inverse.ca/sogo/lists






smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] ANN: SOGo v2.3.1

2015-07-24 Thread Christian M. Jensen

Hi.

2013: Outlook/15.0 (15.0.4737.1000; MSI; x64)

i mixed up the version number.
nonetheless it's still running, it just have some troubles with keeping 
the headers like List-* and In-Reply-To




On 24-07-2015 13:20, Tanstaafl wrote:

On 7/23/2015 4:42 PM,  christ...@cmjscripter.net wrote:

and seems to run smoothly on Outlook 2015

2015? Maybe you mean 2013? Or even 2016?





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Re: SOGo upgrade issue

2015-07-18 Thread Christian M. Jensen



On 18-07-2015 22:50, Steve Ankeny wrote:

On 07/18/2015 02:56 PM, Rowland Penny wrote:

On 18/07/15 19:26, Steve Ankeny wrote:

On 07/18/2015 12:53 PM, Rowland Penny wrote:

On 18/07/15 15:27, Steve Ankeny wrote:

On 07/01/2015 02:39 PM, Steve Ankeny wrote:

thx, I'll look at it when I'm back off my downtime

On 07/01/2015 12:21 PM, Achim Gottinger wrote:

Hello Steve,

You used purge and not remove so all configs got removed as well.
Take an look in /var/lib/samba you may find backup's there done 
by apt/dpkg durcing upgrades.
I have an bunch of backed-up-by-dpkg-on-2015-03-10T16.56.tar.gz 
files there.
Seems these include all the necessary ldb's but they all have an 
suffix like backed-up-by-dpkg-on-2015-03-10T16.56 here which 
must be removed.


achim~





ok, finally gave this a try

However, there are STILL errors --

(here are the steps I used in order)

adam@sogo:~$ sudo apt-get remove samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libgnutls28 libhogweed2 libldb-dev libldb1 libnettle4 libsmbclient
  python-ldb python-samba samba-common samba-common-bin samba-dev
  samba-dsdb-modules samba-libs samba-vfs-modules smbclient
Suggested packages:
  gnutls-bin heimdal-clients
The following packages will be REMOVED:
  libnss-winbind libpam-winbind openchangeproxy openchangeserver 
samba winbind

The following NEW packages will be installed:
  libgnutls28 libhogweed2 libnettle4
The following packages will be upgraded:
  libldb-dev libldb1 libsmbclient python-ldb python-samba samba-common
  samba-common-bin samba-dev samba-dsdb-modules samba-libs 
samba-vfs-modules

  smbclient
12 upgraded, 3 newly installed, 6 to remove and 8 not upgraded.
Need to get 8,559 kB of archives.
After this operation, 16.1 MB disk space will be freed.
Do you want to continue? [Y/n]Y

(completes without error)

(edit 'dns-nameservers' and restart network)

(reinstall packages that were REMOVED -- using -f yields same 
results)


adam@sogo:~$ sudo apt-get install samba openchangeproxy 
openchangeserver winbind libnss-winbind libpam-winbind 
python-ocsmanager

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  python-mapistore python-rpclib python-sievelib python-spyne 
python-support

  python-tz
Suggested packages:
  bind9 bind9utils ctdb ntp smbldap-tools
The following NEW packages will be installed:
  libnss-winbind libpam-winbind openchangeproxy openchangeserver
  python-mapistore python-rpclib python-sievelib python-spyne 
python-support

  python-tz samba winbind
The following packages will be upgraded:
  python-ocsmanager
1 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,833 kB of archives.
After this operation, 21.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y

(errors follow -- highlighted)

Setting up samba (2:4.1.18+dfsg-3~inverse1) ...
Installing new version of config file /etc/logrotate.d/samba ...
Installing new version of config file /etc/init/smbd.conf ...
Installing new version of config file /etc/init.d/samba ...
*update-rc.d: /etc/init.d/samba exists during rc.d purge (use -f 
to force)**

**dpkg: error processing package samba (--configure):**
** subprocess installed post-installation script returned error 
exit status 1**

*


OK, This error seems to be coming from the debian postinst script:

if dpkg --compare-versions $2 lt-nl 2:4.1.13+dfsg-2~; then
# on upgrades from wheezy to jessie, the samba init script 
should not stay

# active, see #766690
update-rc.d samba remove
fi

This is from 'man update-rc.d' :

REMOVING SCRIPTS
   When  invoked  with the remove option, update-rc.d removes 
any links in
   the /etc/rcrunlevel.d directories to the script 
/etc/init.d/name.   The
   script  must have been deleted already.  If the script is 
still present

   then update-rc.d aborts with an error message.

So, 'Installing new version of config file /etc/init.d/samba ...' 
installs the script
The debian postinst script tries to remove the links from 
'/etc/rcrunlevel.d' but fails because the script exists (see line 
above)


There is a way around this, it doesn't matter if the script exists 
if the links don't, so, in my opinion, whoever wrote the script 
should have added '-f', this would remove the links even if the 
script exists.


Of course, this is really an artifact of using systemd.

Rowland



Thanks, Rowland!  I knew you'd take notice (and reply)  You've been 
a big help to me.


*Is there any way for me to work around this or must I wait for 
Inverse?*


I was hoping there might still be a way to use 'dpkg' to force 
reconfiguration/installation.


Even downloading packages individually and using 'dpkg' is 
acceptable (until Inverse edits the script)





There may be a way to fix this, open /var/lib/dpkg/status in your 
favourite 

Re: [SOGo] how exclude a mail address from global address list

2015-07-15 Thread Christian M. Jensen

Hi,

On 15-07-2015 16:56, Yavuz Maşlak wrote:


On 15/07/15 16:25, Francis Lachapelle flachape...@inverse.ca wrote:


Hello Yavuz


On Jul 15, 2015, at 3:23 AM, Yavuz Maşlak yavuz.mas...@ihlas.com.tr
wrote:


i have 3 domains  ( for example  a.com  b.comc.com ).

Users of A.com  and b.com  can see eachother but c.com
C.com ¹s users can only see eachother but other domains.

How can i do that ?

Could you give me an example?

This should do it:

SOGoDomainsVisibility = ( (a.com, b.com), (c.com) );


Francis--
users@sogo.nu
https://inverse.ca/sogo/lists

I tried now. Unfortunately, it does not work.
Whan can be the problem ?



How do you define your domains in SOGo configuration?

if your just set all your configuration in  'SOGoUserSources' then SOGo 
has no way of detecting what user source belong to what domain
but if you use the 'Domains' value then 'SOGoDomainsVisibility' will 
work as expected


using the domain parameter:

 domains = {
domain.com = {
SOGoMailDomain = domain.com;
SOGoSuperUsernames = (
postmas...@domain.com
);
SOGoUserSources = (
{
type = sql;
id = sql-auth;
isAddressBook = NO;
.
},
{
type = sql;
id = sql_addressbook;
isAddressBook = YES;
.
}
);
};
domain1.com = {
SOGoMailDomain = domain1.com;
SOGoSuperUsernames = (
postmas...@domain1.com
);
SOGoUserSources = (
{
type = ldap;
id = ldap_auth;
isAddressBook = NO;
.
},
{
type = ldap;
id = ldap_addressbook;
isAddressBook = YES;
.
}
);
};
};


Regards
Christian Jensen
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Save preferences without sieve

2015-07-10 Thread Christian M. Jensen

Hi

Set 'SOGoSieveScriptsEnabled= NO'

that will disable sieve and remove it from webinterface

Regards
Christian Jensen

On 10-07-2015 11:01, Mirek wrote:

Hi, I have working SOGo, but when i want save another preferences ( for
example change first day a week ) and click save then is error Warning service
temporarily unavailable. In my log (sogo.log) i see problem : [ERROR]
0x0x7f9bf0af8790[SOGoSieveManager] Sieve connection failed on
sieve://127.0.0.1:4190

This is a possible to not use a sieve protocol ?

Regards,
Miroslaw Slawinski





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Save preferences without sieve

2015-07-10 Thread Christian M. Jensen

Hi

yes you will need sieve to use vacation option

read the installation guide.
http://www.sogo.nu/files/docs/SOGo%20Installation%20Guide.pdf
page 37 for option 'SOGoVacationEnabled'
and page 47 for setting up vacation cron

Regards
Christian Jensen

On 10-07-2015 14:49, Mirosław Sławiński wrote:
I have set 'SOGoSieveScriptsEnabled= NO' but i find when i change to 
NO Vacation and another stuff then preference work fine, but i want 
vacation :) so i must have sieve ?


Regard
Miroslaw Slawinski

W dniu 2015-07-10 o 12:48, Christian M. Jensen pisze:

Hi

Set 'SOGoSieveScriptsEnabled= NO'

that will disable sieve and remove it from webinterface

Regards
Christian Jensen

On 10-07-2015 11:01, Mirek wrote:

Hi, I have working SOGo, but when i want save another preferences ( for
example change first day a week ) and click save then is error 
Warning service

temporarily unavailable. In my log (sogo.log) i see problem : [ERROR]
0x0x7f9bf0af8790[SOGoSieveManager] Sieve connection failed on
sieve://127.0.0.1:4190

This is a possible to not use a sieve protocol ?

Regards,
Miroslaw Slawinski










smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] how exclude a mail address from global address list

2015-07-09 Thread Christian M. Jensen

On 09-07-2015 08:26, Yavuz Maşlak wrote:


On 09/07/15 01:15, Christian M. Jensen christ...@cmjscripter.net wrote:


hi

replace some of the invalid chars..
like ³ replace with 

okay here it is in plain text that will work with SOGo (sogo can read it.)
NOTE
i replaced  ldap://127.0.0.1:389; with 127.0.0.1 not hat it makes a
difference it's just shorter to write
and ³ with 

-.-
 SOGoUserSources = (
 {
 CNFieldName = cn;
 IDFieldName = mail;
 IMAPLoginFieldName = mail;
 SearchFieldNames = (
 cn,
 sn,
 displayName,
 telephoneNumber,
 mail,
 shadowAddress
 );
 UIDFieldName = mail;
 baseDN = o=domains,dc=domain,dc=com;
 bindDN = cn=vmailadmin,dc=domain,dc=com;
 bindFields = (
 mail
 );
 bindPassword = PASSWD;
 canAuthenticate = YES;
 displayName = LDAP Auth;
 filter = objectClass=mailUser AND accountStatus=active;
 hostname = 127.0.0.1;
 id = ldap_auth;
 isAddressBook = NO;
 scope = SUB;
 type = ldap;
 userPasswordAlgorithm = ssha;
 },
 {
 CNFieldName = cn;
 IDFieldName = mail;
 IMAPLoginFieldName = mail;
 SearchFieldNames = (
 cn,
 sn,
 displayName,
 telephoneNumber,
 mail,
 shadowAddress
 );
 UIDFieldName = mail;
 baseDN = o=domains,dc=domain,dc=com;
 bindDN = cn=vmailadmin,dc=domain,dc=com;
 bindFields = (
 mail
 );
 bindPassword = PASSWD;
 canAuthenticate = NO;
 displayName = Global Address Book;
 filter = objectClass=mailUser AND accountStatus=active AND
enabledService=mail AND mail  fi...@domain.com AND mail 
sec...@domain.com;
 hostname = 127.0.0.1;
 id = ldap_addressbook;
 isAddressBook = YES;
 scope = SUB;
 type = ldap;
 userPasswordAlgorithm = ssha;
 }
 );

--
users@sogo.nu
https://inverse.ca/sogo/lists

Thanks a lot
It works
But i get an error in sogo.log  .   Is it important ?

Jul 09 09:23:39 sogod [8344]: [ERROR] 0x0x7ff9c9babbf8[NGBundleManager]
could not create bundle for path:
'/usr/share/GNUstep/Libraries/gnustep-base/Versions/1.24/Resources/SSL.bund
le'
Jul 09 09:23:39 sogod [8344]: [WARN] 0x0x7ff9c68542c0[WOxElemBuilder]
could not locate builders: WOxExtElemBuilder,WOxExtElemBuilder


hi

*could not create bundle for path:* that's safe to ignore see 
http://www.sogo.nu/bugs/view.php?id=287


*could not locate builders*, i have no clue?

Regards
Christian Jensen




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] how exclude a mail address from global address list

2015-07-08 Thread Christian M. Jensen

Hi

I'm no expert but i think 'SOGoUserSources' can only be set once, since 
it's an array you just set it like the following


  SOGoUserSources = (
  {
  type = ldap;
  hostname = ldap://127.0.0.1:389;;
  baseDN = o=domains,dc=domain,dc=com;
  bindDN = cn=vmailadmin,dc=domain,dc=com;
  bindPassword = “PASSWD;
  filter = objectClass=mailUser AND accountStatus=active;
  scope = SUB;
  userPasswordAlgorithm = ssha;
  IDFieldName = mail;
  bindFields = (mail);
  CNFieldName = cn;
  UIDFieldName = mail;
  IMAPLoginFieldName = mail;
  SearchFieldNames = (cn, sn, displayName, telephoneNumber, 
mail, shadowAddress);

  canAuthenticate = YES;
  displayName = LDAP Auth;
  id = ldap_auth;
  isAddressBook = NO;
  },
  {
  type = ldap;
  hostname = ldap://127.0.0.1:389;;
  baseDN = o=domains,dc=domain,dc=com;
  bindDN = cn=vmailadmin,dc=domain,dc=com;
  bindPassword = “PASSWD;
  filter = objectClass=mailUser AND accountStatus=active 
AND enabledService=mail AND mail  ‘fi...@domain.com' AND mail  
’sec...@domain.com';

  scope = SUB;
  userPasswordAlgorithm = ssha;
  IDFieldName = mail;
  bindFields = (mail);
  CNFieldName = cn;
  UIDFieldName = mail;
  IMAPLoginFieldName = mail;
  SearchFieldNames = (cn, sn, displayName, telephoneNumber, 
mail, shadowAddress);

  canAuthenticate = NO;
  displayName = Global Address Book;
  id = ldap_addressbook;
  isAddressBook = YES;
  }
 );


Regards
Christian Jensen

On 08-07-2015 17:06, Hugo wrote:
the one you authenticate with should be left as it was before, and you 
should give them 2 different ID's.
furthermore, uid is not an email address. if you like to sort the 
users out by email then say mail  'fi...@domain.com' instead of uid 
 'fi...@domain.com'. even if you have set UIDFieldName = mail, that 
is only an ldap attribute mapping. the ldap filter matches the real 
ldap attributes, so you have to use the attribute 'mail' here.
you perhaps could also drop some of the defs that are not used by 
auth, but I think they will be ignored anyway.


something like:

  SOGoUserSources = (
  {
  type = ldap;
  hostname = ldap://127.0.0.1:389;;
  baseDN = o=domains,dc=domain,dc=com;
  bindDN = cn=vmailadmin,dc=domain,dc=com;
  bindPassword = “PASSWD;
  filter = objectClass=mailUser AND accountStatus=active;
  scope = SUB;
  userPasswordAlgorithm = ssha;
  IDFieldName = mail;
  bindFields = (mail);
  CNFieldName = cn;
  UIDFieldName = mail;
  IMAPLoginFieldName = mail;
  SearchFieldNames = (cn, sn, displayName, 
telephoneNumber, mail, shadowAddress);

  canAuthenticate = YES;
  displayName = LDAP Auth;
  id = ldap_auth;
  isAddressBook = NO;
  }
  );
  SOGoUserSources = (
  {
  type = ldap;
  hostname = ldap://127.0.0.1:389;;
  baseDN = o=domains,dc=domain,dc=com;
  bindDN = cn=vmailadmin,dc=domain,dc=com;
  bindPassword = “PASSWD;
  filter = objectClass=mailUser AND accountStatus=active 
AND enabledService=mail AND mail  ‘fi...@domain.com' AND mail  
’sec...@domain.com';

  scope = SUB;
  userPasswordAlgorithm = ssha;
  IDFieldName = mail;
  bindFields = (mail);
  CNFieldName = cn;
  UIDFieldName = mail;
  IMAPLoginFieldName = mail;
  SearchFieldNames = (cn, sn, displayName, 
telephoneNumber, mail, shadowAddress);

  canAuthenticate = NO;
  displayName = Global Address Book;
  id = ldap_addressbook;
  isAddressBook = YES;
  }
 );
 ###

perhaps someone else who already tried this can also contribute? I 
last used sogo with LDAP 3-4 years ago :)


On 08.07.2015 15:32, Yavuz Maşlak wrote:



On 08/07/15 14:48, Hugo m...@hugo.ro wrote:


you have to define two LDAP connections, one for the login auth, which
should be as it is now (filter unchanged), with:

  canAuthenticate = YES;
  isAddressBook = NO;

and another one for the address book only, where you set:

  canAuthenticate = NO;
  isAddressBook = YES;


---8---
follow the documentation:
The filter to use for LDAP queries, it should be
defined as an EOQualifier. The following opera-
tors are supported:
 – inequality operator
= – equality operator
Multiple qualifiers can be 

Re: [SOGo] how exclude a mail address from global address list

2015-07-08 Thread Christian M. Jensen

hi

replace some of the invalid chars..
like “ replace with 

okay here it is in plain text that will work with SOGo (sogo can read it.)
NOTE
i replaced  ldap://127.0.0.1:389; with 127.0.0.1 not hat it makes a 
difference it's just shorter to write

and “ with 

-.-
SOGoUserSources = (
{
CNFieldName = cn;
IDFieldName = mail;
IMAPLoginFieldName = mail;
SearchFieldNames = (
cn,
sn,
displayName,
telephoneNumber,
mail,
shadowAddress
);
UIDFieldName = mail;
baseDN = o=domains,dc=domain,dc=com;
bindDN = cn=vmailadmin,dc=domain,dc=com;
bindFields = (
mail
);
bindPassword = PASSWD;
canAuthenticate = YES;
displayName = LDAP Auth;
filter = objectClass=mailUser AND accountStatus=active;
hostname = 127.0.0.1;
id = ldap_auth;
isAddressBook = NO;
scope = SUB;
type = ldap;
userPasswordAlgorithm = ssha;
},
{
CNFieldName = cn;
IDFieldName = mail;
IMAPLoginFieldName = mail;
SearchFieldNames = (
cn,
sn,
displayName,
telephoneNumber,
mail,
shadowAddress
);
UIDFieldName = mail;
baseDN = o=domains,dc=domain,dc=com;
bindDN = cn=vmailadmin,dc=domain,dc=com;
bindFields = (
mail
);
bindPassword = PASSWD;
canAuthenticate = NO;
displayName = Global Address Book;
filter = objectClass=mailUser AND accountStatus=active AND 
enabledService=mail AND mail  fi...@domain.com AND mail  
sec...@domain.com;

hostname = 127.0.0.1;
id = ldap_addressbook;
isAddressBook = YES;
scope = SUB;
type = ldap;
userPasswordAlgorithm = ssha;
}
);

--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Change passwords for sogo[1,2,3] when using ZEG VM

2015-07-03 Thread Christian M. Jensen

Hi.

i think you can use samba-tool

samba-tool user setpassword sogo1 --newpassword=passw0rd

Regards
Christian

On 03-07-2015 14:48, France wrote:

Hi guys,

webmin is not installed on my SOGO ZEG VM, so I have to change user passwords 
by hand.
Where are they stored? How can one change them?

Thank you.
Regards,
F.






smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] Re: Base64 encoded zip file trouble

2015-07-02 Thread Christian M. Jensen

hmm no one knows?, no one has the same problem?

for me it's the same on tree different installations of SOGo

on the server where these mail arrive i updated to nightly but that dos 
not help. :(


if i look at the headers in a mail from microsoft.com where zip file can 
be download and opened with out problems the key difference is that 
Microsoft uses '--boundary' tag and Google do not.
but when both Outlook and Thunderbird can identify the zip file from 
Google and let me save it so that i can open the i must believe this 
issue is with SOGo WebUI.


as stated in last mail i can save the file or try to open it after 
download from SOGO WebUI, but the file is not a zip file once it's 
downloaded so i'm not able to repair it or open it


From: microsoft.com

boundary=--boundary_50234_acad3ce1-0897-4fda-bdcd-026e1570da50

boundary_50234_acad3ce1-0897-4fda-bdcd-026e1570da50
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable


boundary_50234_acad3ce1-0897-4fda-bdcd-026e1570da50
Content-Type: application/zip; 
name=hotmail.com!x.dk!1435525200!1435611600.zip

Content-Transfer-Encoding: base64
Content-Disposition: attachment; 
filename=hotmail.com!x.dk!1435525200!1435611600.zip


UEsDBBQAAgAIAG...*Truncated*...ABAHIAAABfAgA=
boundary_50234_acad3ce1-0897-4fda-bdcd-026e1570da50--



From: google.com

Content-Type: application/zip;
name=google.com!x.dk!1435536000!1435622399.zip
Content-Disposition: attachment;
filename=google.com!x.dk!1435536000!1435622399.zip
Content-Transfer-Encoding: base64

UEsDBAoIAK9...*Truncated*...AA=


Regards
Christian Jensen


On 30-06-2015 12:45, Christian M. Jensen wrote:

Hi all

i have a tiny problem, not sure if it's a bug or an just me.

when i receive and base64 encoded zip file i'm not able to download it 
from within SOGo WebUI, Thunderbird and outlook works as expected.

in this sample it's a DMARC report from google

here is the email

Regards
Christian Jensen





--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Base64 encoded zip file trouble

2015-06-30 Thread Christian M. Jensen

Hi all

i have a tiny problem, not sure if it's a bug or an just me.

when i receive and base64 encoded zip file i'm not able to download it 
from within SOGo WebUI, Thunderbird and outlook works as expected.

in this sample it's a DMARC report from google

here is the email

domain and email address are replaces with 'xx'
Download link shows as: https :/ / 
xx.xxx/SOGo/so/x...@xx.com/Mail/0/folderAdmins/folderdmarc/folderdk/folderxx/7/0




Return-Path: noreply-dmarc-supp...@google.com
Delivered-To: i...@xx.com
Received: from localhost (localhost.localdomain [127.0.0.1])
by xx.xx.com (Postfix) with ESMTP id 6774A15C0093
for dm...@xx.dk; Tue, 30 Jun 2015 10:55:14 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at xx.xx.com
Authentication-Results: xx.xx.com (amavisd-new);
dkim=pass (2048-bit key) header.d=google.com
Received: from xx.xx.com ([127.0.0.1])
by localhost (xx.xx.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 8D8AyTfq9zvZ for dm...@xx.dk;
Tue, 30 Jun 2015 10:55:13 +0200 (CEST)
Received-SPF: Pass (sender SPF authorized) identity=mailfrom; 
client-ip=2607:f8b0:4001:c05::24a; helo=mail-ig0-x24a.google.com; 
envelope-from=noreply-dmarc-supp...@google.com; receiver=dm...@xx.dk
Received: from mail-ig0-x24a.google.com (mail-ig0-x24a.google.com 
[IPv6:2607:f8b0:4001:c05::24a])

by xx.xx.com (Postfix) with ESMTPS id 9530B15C0091
for dm...@xx.dk; Tue, 30 Jun 2015 10:55:13 +0200 (CEST)
Received: by igdj8 with SMTP id j8so860472igd.0
for dm...@xx.dk; Tue, 30 Jun 2015 01:55:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=mime-version:message-id:date:subject:from:to:content-type
 :content-disposition:content-transfer-encoding;
bh=gIzqeQNcg+/Y5ecop48/D4gcfLY0AWesk/jie07/kr8=;
b=nBgS98ZqztfnZR2gZiDpBqmjIFZVDyM7m3ZRCO27DiPOb0+MaRsqcz0rGA5hF54tkJ
VLsZmW0aGuzORsPFHp747QfIDjZvZ4uHq72oORy26KpWri4y41bImIIbZGRqIMsaNwmf
2x5gan7i9zZmZ4JkS4mXIK8j6qhMrEe42JMU8RHqQNIrZuTwU1wuy36FijSbk0xUJpUw
xMDiehnADEZl1GZHhpyFcsyhZymx8HuLgxqHCzrRCsjZl7pzTR/djwjiD/Bubx0MsyAN
ZIyUpnYUhsq756lCt4YSWB563PtUwH3/Lbs7syAtlSWQ5cOQNV7LQ7CW+I1wNCfhHEb6
 fCxA==
MIME-Version: 1.0
X-Received: by 10.50.103.39 with SMTP id ft7mr22315719igb.5.1435654512270;
 Tue, 30 Jun 2015 01:55:12 -0700 (PDT)
Message-ID: 9649290118032887...@google.com
Date: Tue, 30 Jun 2015 08:55:12 +
Subject: Report domain: xx.dk Submitter: google.com Report-ID: 
9649290118032887915

From: noreply-dmarc-supp...@google.com
To: dm...@xx.dk
Content-Type: application/zip;
name=google.com!xx.dk!1435536000!1435622399.zip
Content-Disposition: attachment;
filename=google.com!xx.dk!1435536000!1435622399.zip
Content-Transfer-Encoding: base64

UEsDBAoIAK9E3kawwSFb9AEAAMAGAAAyZ29vZ2xlLmNvbSFtYWotZGVzaWduLmRrITE0
MzU1MzYwMDAhMTQzNTYyMjM5OS54bWztVcuSmzAQvO9XUL4b8bBZcGm1OeULkjMlSwNWDJJKEvv4
+wgjHvFuVXLILTm4ED0zPdOtoYyf3/ouegFjhZJPuzROdhFIpriQ7dPu+7ev+3IXPZMH3ADwM2VX
8hBF2IBWxtU9OMqpoyPmUWXaWtIeSKtU20HMVI/RAk450FPREak8Q/e+5z01bG8HPdJ92ZZNeaHm
zRlaMyUdZa4WslHk4py2J4RCabyWIoqotK9gUHYoimOZeK6P9RNxkCE4qYpDlVVJmpZJnpXlY5Ue
MVrDU7qXCrWhsg1iPHSGVkiSHvLjMS+SxDebkDkOkt+iRZblVeVHkTMZ+pVt6bb1FGvVCfZe6+Hc
CXuBZRDl3ZGkpz/2HKxoZcyvnnBCpxTKr6InFqPpEECrmxs2PidI+7uQgJEO73YG7Ixo5kg6KhsP
t0k/m8p7yZSZBzTqdbHAqsEwqIUm5WNclXGWjr/Ud1gCcypTg/TNMJoOMxz6wQvtBm8anwOjE8Jq
ZYXzyxvm3iKbvNEETa0Xv/oRBDchsJiy0XjX09/SrAwLDtKJRvhPZym7AOVg6sao/v52tqHA9YEB
08FdagN26NxKejfw7y8/7PbIEqSFl0XdlhJvdP8l+nW90L2iMXlelD/ZmSxJ0tMh5cnJPyqen07/
N+df3xyM1j+jn1BLAQIKAAoIAK9E3kawwSFb9AEAAMAGAAAyAABn
b29nbGUuY29tIW1hai1kZXNpZ24uZGshMTQzNTUzNjAwMCExNDM1NjIyMzk5LnhtbFBLBQYA
AQABAGBEAgA=



and sorry for the image it was the best way to show that sogo recognizes 
the zip file but not i'm not able to downloaded it from the WebUI.


Regards
Christian Jensen



--
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Sogo and Multi-domain visibility

2015-06-29 Thread Christian M. Jensen

Hi Dave.

don't think its a bug, it works as expected for me on three different 
SOGo servers (two of them test servers)

it may be the configuration, or your user backend

for instance if i create 3 domains that all uses the same MySQL table to 
store all users then all 3 domains are visible to each other
but if i use different tables for each domain then the 
SOGoDomainsVisibility works just as expected
i don't know much about LDAP but i guess that's the same, and one would 
have to use the filter = (o='Inverse' AND mail='*' AND status  
'inactive'); option (Installation Guide : Chapter 5)


that's just my thought on the issue, without knowing more about your 
configuration


Regards
Christian


On 29-06-2015 23:00, notdevnull wrote:

Hello,

I'm working in order to migrate from Microsoft Exchange to Sogo.

To test it, I've installed a standard Sogo instance.

But I've a problem. I want to work with several domains : domain1.com 
http://domain1.com, domain2.com http://domain2.com and domain3.com 
http://domain3.com


I want domain1.com http://domain1.com and domain2.com 
http://domain2.com visible together, with domain3.com 
http://domain3.com totally independant.


I've seen the SOGoDomainsVisibility directive but, when I 've try to 
use it, when I'm using the autocomplete functionnality when I search a 
user in the contact/calendar share, I see all the domains account.


If I read the directive SOGoDomainsVisibility, by default, domains are 
not visibles.


Do you know if it is a bug ?

Thanks you very much for your help !

--
Dave




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] sendmail using external smtp with multiple users

2015-06-16 Thread Christian M. Jensen

Hi Alexander,


I see. Is that how you configured your system?


Nope, well i did try but i found that using postfix for this was a lot 
easier, but eventually went with setting it all on the same server 
instead of maintaining users in multiple systems


Regards
Christian Jensen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] sendmail using external smtp with multiple users

2015-06-14 Thread Christian M. Jensen

hi

you are right the missing ssl/tls is usually a no go now a days, an 
other way is to use 'stunnel' for the comunication between your server 
and your service provider.


Regards
Christian Jensen

On 13-06-2015 14:52, Alexander Emessiri wrote:

Hello Christian,

Thank you for your reply.

Well I did try that, but for some reason my service providers smtp 
server did not allow the connection. ‎Will try again for test reasons.


But the bigger concern is security. Ssl doesn't seem to be supported, 
and communicating email and password in plain seems dangerous.

Unless I am missing something.

I did not specify, the service provider's smtp server is a remote server.

Am I founded in my concerns ?

Kind regards,

Advanced Functional Technology
*From: *Christian M. Jensen
*Sent: *Saturday 13 June 2015 13:02
*To: *users@sogo.nu
*Reply To: *users@sogo.nu
*Subject: *Re: [SOGo] sendmail using external smtp with multiple users

‎
Hi Alexander

my suggestion is to allow SOGo to connect to the outgoing smtp by settings

SOGoSMTPAuthenticationType = PLAIN; // only supports plain
SOGoSMTPServer = IP.OF.SMTP.SERVER;

this way you don't have to use sendmail on your local server, the 
settings can be set global and for each domain


Regards
Christian Jensen


On 13-06-2015 10:53, alexan...@aftintelligence.com wrote:

Hello,

I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.

My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?

Ps: our service providers smtp login information is an email.

Thank you for any assistance you may provide.

Alexander







smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] sendmail using external smtp with multiple users

2015-06-13 Thread Christian M. Jensen

Hi Alexander

my suggestion is to allow SOGo to connect to the outgoing smtp by settings

SOGoSMTPAuthenticationType = PLAIN; // only supports plain
SOGoSMTPServer = IP.OF.SMTP.SERVER;

this way you don't have to use sendmail on your local server, the 
settings can be set global and for each domain


Regards
Christian Jensen


On 13-06-2015 10:53, alexan...@aftintelligence.com wrote:

Hello,

I am currently setting up a Sogo groupware server, and I am having some issues
with the smtp server.
I opted to use our website host's imap and smtp server with Sogo.
I am able to receive emails however when I follow tutorials to setup sendmail
with and external smtp server, I find that once the email is sent, the
information used to identify sogo for the smtp server is used as the sender
for the email. It makes sense.

My question is how to I configure sendmail to send using the id of the actual
person writing the email? Or is there a setting within the sogo configuration
files that sets the sender id to the user writing the email rather that the
smtp user name?

Ps: our service providers smtp login information is an email.

Thank you for any assistance you may provide.

Alexander




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Sogo debian 8.1/jessie

2015-06-10 Thread Christian M. Jensen

these are from the Debian repository
https://packages.debian.org/search?keywords=sogosearchon=namessuite=stablesection=all


On 11-06-2015 04:53, Ian wrote:

Thanks. Strange though that there's a sogo package in jessie:

# apt-cache search sogo
fusiondirectory-plugin-sogo - SOGo plugin for FusionDirectory
fusiondirectory-plugin-sogo-schema - LDAP schema for FusionDirectory 
SOgo plugin

sogo - Scalable groupware server
sogo-common - Scalable groupware server - common files
sogo-dbg - Scalable groupware server - debugging symbols
sogo-openchange - Scalable groupware server - OpenChange backend
xul-ext-sogo-connector - transforms Icedove into a full DAV client for 
groupware servers


# apt-cache showsrc sogo
Package: sogo
Binary: sogo, sogo-common, sogo-dbg, sogo-openchange
Version: 2.2.9+git20141017-1
Maintainer: Jeroen Dekkers jer...@dekkers.ch
Build-Depends: debhelper (= 9), gobjc, libcurl4-gnutls-dev, 
libgnustep-base-dev, libgnutls28-dev, liblasso3-dev, libldap2-dev, 
libmapi-dev (= 1:2.2), libmapiproxy-dev (= 1:2.2), libmapistore-dev 
(= 1:2.2), libmemcached-dev, libsbjson-dev, libsope-dev (= 2.2.9), 
libxml2-dev, python-samba

Architecture: any all
Standards-Version: 3.9.5
Format: 3.0 (quilt)
Files:
 9355a67586fc4a23344915c0dc0d19c6 1937 sogo_2.2.9+git20141017-1.dsc
 51ed22a6ed8413422050d34d0e81610c 6387504 
sogo_2.2.9+git20141017.orig.tar.xz
 6242ea7b8cd77cd2e4935f7507282fb9 13960 
sogo_2.2.9+git20141017-1.debian.tar.xz

Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sogo.git
Vcs-Git: git://anonscm.debian.org/collab-maint/sogo.git
Checksums-Sha1:
 9e598a7b7de564a47ee728351af61f1771754a5f 1937 
sogo_2.2.9+git20141017-1.dsc
 92240721cb498efa20a7ccb5b3b099694373895e 6387504 
sogo_2.2.9+git20141017.orig.tar.xz
 320c67c105e32f3480909d6874b031bb96bd2d57 13960 
sogo_2.2.9+git20141017-1.debian.tar.xz

Checksums-Sha256:
 5c49dcc6a2a0ffa064969d1ad00bd81d01bdbfdb7bfe44e1fca5f147d268407b 1937 
sogo_2.2.9+git20141017-1.dsc
 82a7a542a6ae7bfdae78704ceb17dd3b98c54a604590a1b47edafe36aac89dea 
6387504 sogo_2.2.9+git20141017.orig.tar.xz
 05d6b25ef49368bcebb4f3eb2a5f59ea3f6962beb6f697163b3f1a3b4dd28b1c 
13960 sogo_2.2.9+git20141017-1.debian.tar.xz

Homepage: http://www.sogo.nu/
Package-List:
 sogo deb mail optional arch=any
 sogo-common deb mail optional arch=all
 sogo-dbg deb debug extra arch=any
 sogo-openchange deb mail optional arch=any
Directory: pool/main/s/sogo
Priority: source
Section: mail

Regards
Ian

Le 11/06/2015 01:12, Christian M. Jensen a écrit :

Hi.

Indeed, but it says here 
http://www.sogo.nu/nc/support/faq/article/how-to-install-sogo-on-debian.html 
that jessie is supported. I (rather naively) assumed it would work, 
but:


W: Failed to fetch http://inverse.ca/debian/dists/jessie/InRelease 
Unable to find expected entry 'jessie/binary-i386/Packages' in 
Release file (Wrong sources.list entry or malformed file)




Debian jessie is supported only for amd64, there no i386 folders. in 
the official repository, not now at least maybe they change their 
mind in the future

you will have to build the packages yourself.

Regards
Christian Jensen








smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Sogo debian 8.1/jessie

2015-06-10 Thread Christian M. Jensen

Hi.

Indeed, but it says here 
http://www.sogo.nu/nc/support/faq/article/how-to-install-sogo-on-debian.html 
that jessie is supported. I (rather naively) assumed it would work, but:


W: Failed to fetch http://inverse.ca/debian/dists/jessie/InRelease 
Unable to find expected entry 'jessie/binary-i386/Packages' in Release 
file (Wrong sources.list entry or malformed file)




Debian jessie is supported only for amd64, there no i386 folders. in the 
official repository, not now at least maybe they change their mind in 
the future

you will have to build the packages yourself.

Regards
Christian Jensen



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Problems with 2.3 upgrade

2015-06-07 Thread Christian M. Jensen

hi Kamaldeep.

i beleve it's included in the packages called 
'sql-update-2.2.17_to_2.3.0.sh'
https://github.com/inverse-inc/sogo/blob/master/Scripts/sql-update-2.2.17_to_2.3.0.sh 
https://github.com/inverse-inc/sogo/tree/master/Scripts


Regards
Christian Jensen

On 06-06-2015 22:10, Kamaldeep Singh wrote:

Hi Ludovic,

I am having the same problem. I have just upgraded the sogo to 2.3.0. 
Do you have the postgresql upgrade script?


Thanks,
Kamaldeep Singh

On Saturday 06 June 2015 02:49 AM, Ludovic Marcotte wrote:

On 05/06/2015 15:22, Bob Wooldridge wrote:
Is there a fix for this? 

Run the database upgrade script.



--
Kamaldeep Singh

System Administrator

Direct: +91 124 4548380
Tel: +91 124 4548383 Ext- 1007
UK: +44 845 0047 142 Ext- 5010

TBS Website http://www.techbluesoftware.co.in
Techblue Software Pvt. Ltd
The Palms, Plot No 73, Sector 5, IMT Manesar,
Gurgaon- 122050 (Hr.)

www.techbluesoftware.co.in http://www.techbluesoftware.co.in


	TBS Facebook 
https://www.facebook.com/pages/Techblue-Software-Limited/441777369284888 
TBS Twitter https://twitter.com/TechbluSoftware TBS Google+ 
https://plus.google.com/+TechblueSoftwareCoIn TBS Linked In 
https://www.linkedin.com/company/techblue-softwares-pvt-ltd


TBS Branding http://www.techbluesoftware.co.in





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] nginx + activesync

2015-06-04 Thread Christian M. Jensen

Hi Simon

have you tried
adding this to the config,

server {
.
proxy_http_version 1.1;
proxy_set_header Connection ;
.
}

also i'm not sure, but i dont think ssl stapling works without 
'ssl_trusted_certificate', maby i'm wrong


Regards
Christian Jensen

On 04-06-2015 18:23, Simon Dieterle wrote:

Hi Christian,

i used the all the nginx.confs containting ActiveSync i found. But 
right now this one is the one i use to test.


http://pastebin.com/BtwFrqvh

As i'm not interested in having a webinterface i don't mind the other 
rules being wrong.


I don't understand why i get a response from SOGo but it does not 
contain the AS version.


I also tried a sogo docker container which gave my the same behaviour.

Simon

On 06/04/2015 04:29 PM, Christian M. Jensen wrote:

hi.

what is your current nginx config?

i had to add 'proxy_set_header Connection ;' to my config in order to
get it running

Regards
Christian Jensen

On 03-06-2015 18:07, smnd...@openmailbox.org wrote:

Hi,

i compiled sogo 2.3.0 and everything is working as expected, except
active
sync.

I used the following rule in nginx

location ^~ /Microsoft-Server-ActiveSync {
 proxy_pass
http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync
 proxy_redirect
http://127.0.0.1:2/Microsoft-Server-ActiveSync /;
 }

I tried Microsofts Connectivity Tool and that's the result:

Testing HTTP Authentication Methods for URL
https://torment.simondieterle.net/Microsoft-Server-ActiveSync/.
  The HTTP authentication test failed.
Additional Details

A 401 error was received from the server, but no authentication
methods are
supported.
HTTP Response Headers:
Connection: keep-alive
Keep-Alive: timeout=20
Sogo-Request-Duration: 0.000941
Content-Length: 0
Content-Type: text/plain
Date: Wed, 03 Jun 2015 15:35:56 GMT
Server: nginx/1.7.6
WWW-Authenticate: basic realm=SOGo
Elapsed Time: 381 ms.

I also tried it from a WP8.1 Phone. It gives me an error about a wrong
server
versionen. I fired up wireshark on lo port 2000 and that's the output.

OPTIONS /SOGo/Microsoft-Server-ActiveSync?
User=simonDeviceId=deviceidDeviceType=WP8 HTTP/1.0
Host: 127.0.0.1:2
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Authorization: Basic b64stuff==
User-Agent: MSFT-WP/8.10.14219
MS-ASProtocolVersion: 2.5

HTTP/1.1 200 OK
Sogo-Request-Duration: 0.057482
Content-Type: text/plain
Allow: GET, HEAD, POST, OPTIONS, MKCOL, MKCALENDAR, DELETE, PUT, LOCK,
UNLOCK,
COPY, MOVE, REPORT, PROPFIND, SEARCH
Content-Length: 0
DAV: 1, 2

I assume the problem is that there are no MS-XXX headers in the 
response,

which throws of the WP client.

I don't know where the problem could be, the proxying is working (i
assume)
because there is a Sogo- header in the response.

Can anyone point me anywhere? I tried 5 different nginx configs, 
nothing

works.








smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] nginx + activesync

2015-06-04 Thread Christian M. Jensen

hi.

what is your current nginx config?

i had to add 'proxy_set_header Connection ;' to my config in order to 
get it running


Regards
Christian Jensen

On 03-06-2015 18:07, smnd...@openmailbox.org wrote:

Hi,

i compiled sogo 2.3.0 and everything is working as expected, except active
sync.

I used the following rule in nginx

location ^~ /Microsoft-Server-ActiveSync {
 proxy_pass
http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync
 proxy_redirect
http://127.0.0.1:2/Microsoft-Server-ActiveSync /;
 }

I tried Microsofts Connectivity Tool and that's the result:

Testing HTTP Authentication Methods for URL
https://torment.simondieterle.net/Microsoft-Server-ActiveSync/.
The HTTP authentication test failed.
Additional Details

A 401 error was received from the server, but no authentication methods are
supported.
HTTP Response Headers:
Connection: keep-alive
Keep-Alive: timeout=20
Sogo-Request-Duration: 0.000941
Content-Length: 0
Content-Type: text/plain
Date: Wed, 03 Jun 2015 15:35:56 GMT
Server: nginx/1.7.6
WWW-Authenticate: basic realm=SOGo
Elapsed Time: 381 ms.

I also tried it from a WP8.1 Phone. It gives me an error about a wrong server
versionen. I fired up wireshark on lo port 2000 and that's the output.

OPTIONS /SOGo/Microsoft-Server-ActiveSync?
User=simonDeviceId=deviceidDeviceType=WP8 HTTP/1.0
Host: 127.0.0.1:2
Connection: close
Cache-Control: no-cache
Pragma: no-cache
Authorization: Basic b64stuff==
User-Agent: MSFT-WP/8.10.14219
MS-ASProtocolVersion: 2.5

HTTP/1.1 200 OK
Sogo-Request-Duration: 0.057482
Content-Type: text/plain
Allow: GET, HEAD, POST, OPTIONS, MKCOL, MKCALENDAR, DELETE, PUT, LOCK, UNLOCK,
COPY, MOVE, REPORT, PROPFIND, SEARCH
Content-Length: 0
DAV: 1, 2

I assume the problem is that there are no MS-XXX headers in the response,
which throws of the WP client.

I don't know where the problem could be, the proxying is working (i assume)
because there is a Sogo- header in the response.

Can anyone point me anywhere? I tried 5 different nginx configs, nothing
works.





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Sogo + Fail2ban

2015-06-04 Thread Christian M. Jensen

hi.

have you looked at
https://lists.inverse.ca/sogo/arc/users/2013-02/msg00097.html
i used that on my server with success in the past

Regards
Christian Jensen

On 04-06-2015 13:48, Kamaldeep Singh wrote:

Hi All,

I was trying to set up the fail2ban on centos 6 for our SOGO server. I 
have enabled the rule in jail.local file. But it does not block any ip 
if anyone attempt to login with wrong password. Can you help me in that?


Below is the entry of jail.local and filter file.


*-- jail.local*

[sogo-iptables]

enabled  = true
filter   = sogo-auth
# without proxy this would be:
# port= 2
action   = iptables-multiport[name=SOGo, port=http,https]
logpath  = /var/log/sogo/sogo.log



*-- **sogo-auth.conf*


# Fail2ban filter for SOGo authentcation
#
# Log file usually in /var/log/sogo/sogo.log

[Definition]

failregex = ^ sogod \[\d+\]: SOGoRootPage Login from 'HOST' for user 
'.*' might not have worked( - password policy: \d*  grace: -?\d*  
expire: -?\d*  bound: -?\d*)?\s*$


ignoreregex =

#
# DEV Notes:
#
# The error log may contain multiple hosts, whereas the first one
# is the client and all others are poxys. We match the first one, only
#
# Author: Arnd Brandes


Thanks,
--
Kamaldeep Singh

System Administrator

Direct: +91 124 4548380
Tel: +91 124 4548383 Ext- 1007
UK: +44 845 0047 142 Ext- 5010

TBS Website http://www.techbluesoftware.co.in
Techblue Software Pvt. Ltd
The Palms, Plot No 73, Sector 5, IMT Manesar,
Gurgaon- 122050 (Hr.)

www.techbluesoftware.co.in http://www.techbluesoftware.co.in


	TBS Facebook 
https://www.facebook.com/pages/Techblue-Software-Limited/441777369284888 
TBS Twitter https://twitter.com/TechbluSoftware TBS Google+ 
https://plus.google.com/+TechblueSoftwareCoIn TBS Linked In 
https://www.linkedin.com/company/techblue-softwares-pvt-ltd


TBS Branding http://www.techbluesoftware.co.in





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Mail filter not appearing

2015-05-30 Thread Christian M. Jensen

in my experiences it depends on what configuration file you edit

edit '/etc/sogo/sogo.conf' require system restart (there are probably 
another way but i don't know of it.)


but if you edit '~sogo/GNUstep/Defaults/(.GNUstepDefaults | 
sogod.plist)' you only need to restart SOGo service


but really one should use the defaults command as sogo system user to 
write/edit the configuration and then restart SOGo service


sudo -u sogo defaults write sogod SOGoSieveServer 
'sieve://127.0.0.1:4190'

sudo -u sogo defaults write sogod SOGoSieveScriptsEnabled 'YES'

and then once you have working configuration, just dumb it all into 
'/etc/sogo/sogo.conf'


sudo -u sogo /usr/sbin/sogo-tool dump-defaults  /etc/sogo/sogo.conf

Regards
Christian Jensen


On 31-05-2015 00:39, car.cue...@protonmail.com wrote:

Actually I did a restart of the service, but I guess because of the roundcoube
did not work, I removed the rouncube and restart the nginx but it didnt work
until I restarted the whole VM ... Strange :)




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Mail filter not appearing

2015-05-29 Thread Christian M. Jensen

hi,

you all so have an error!,
I'm only guessing but think it has something to do with memcached not 
being set up correctly


Regards
Christian Jensen


On 29-05-2015 11:11, car.cue...@protonmail.com wrote:

May 29 10:08:12 sogod [16521]: localhost POST/SOGo/so/
exam...@mailexample.com/Mail/0/folderTrash/unseenCount  HTTP/1.0 200 13/0
0.639 - - 0
May 29 10:08:12 sogod [16520]: [ERROR] 0x0x7f02b71e2bc0[WOWatchDog] No child
available to handle incoming request!
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'session:17xV1JuqqSrLyHkvRebp/w==': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'session:17xV1JuqqSrLyHkvRebp/w==': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+defaults': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com@+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+attributes': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'exam...@mailexample.com+settings': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'session:17xV1JuqqSrLyHkvRebp/w==': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY
May 29 10:08:12 sogod [16521]: localhost POST/SOGo/so/
exam...@mailexample.com/Mail/0/folderJunk/unseenCount  HTTP/1.0 200 13/0 0.296
- - 0
May 29 10:08:12 sogod [16521]: 0x0x7f02b7276e90[SOGoCache] an error occurred
when caching value for key 'session:17xV1JuqqSrLyHkvRebp/w==': SERVER HAS
FAILED AND IS DISABLED UNTIL TIMED RETRY




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Mail filter not appearing

2015-05-29 Thread Christian M. Jensen

Pleased to hear you got it working
but yes, always restart or reload a service after the configuration has 
changed


Regards
Christian Jensen

On 29-05-2015 15:42, car.cue...@protonmail.com wrote:

Wow, after a restart of the server the filters start to work ;)  Perfect!!

Thanks a lot





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Redirect to sogo.

2015-05-29 Thread Christian M. Jensen

Hi John

here is a few samples that may work i assume you use Apache, i use the 
the first to if' my self they work fine for me


http://httpd.apache.org/docs/2.4/rewrite/remapping.html

# Check domain name
If %{HTTP_HOST} != 'nmail.advocap.org'
Redirect / https://nmail.advocap.org/SOGo/;
/If
# Force HTTPs
If %{SERVER_PROTOCOL} != 'HTTPS'
Redirect / https://nmail.advocap.org/SOGo/;
Redirect /webmail https://nmail.advocap.org/SOGo/;
Redirect /SOGo https://nmail.advocap.org/SOGo/;
/If

Redirect / https://nmail.advocap.org/SOGo/;
Redirect /webmail https://nmail.advocap.org/SOGo/;


http://httpd.apache.org/docs/2.4/rewrite/remapping.html#moveddocroot

RewriteEngine on
RewriteRule   ^/$  https://nmail.advocap.org/SOGo/;  [R]
RewriteRule   ^/webmail$  https://nmail.advocap.org/SOGo/; [R]

Regards
Christian Jensen

On 29-05-2015 21:09, John McMonagle wrote:


I'm setting up sogo from the debian jessie repository.

As this is the only web service I'd like to redirect

https://nmail.advocap.org to

https://nmail.advocap.org/GOGo

Redirect /webmail https://nmail.advocap.org/SOGo

Works but

Redirect / https://nmail.advocap.org/SOGo

Does not.

Any Suggestions?

john





smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Install Sogo on Debian 8 Jessie

2015-05-07 Thread Christian M. Jensen

Hi,

the latest sogo packages for Debian Jessie is in testing
https://packages.debian.org/stretch/sogo
you can download the packages from there, until the sogo team releases 
one for Debian Jessie


Regards
Christian Jensen

On 07-05-2015 16:25, Adrian wrote:

Hello,

i've installed a new debian 8 server and want to install sogo on it. But
unfortunately i run in the following dependency errors:

The following packages have unmet dependencies:
  sogo : Depends: libgnustep-base1.22 (= 1.22.1) but it is not installable
 Depends: libsope-appserver4.9 (= 4.9.r1664.20150326) but it is not
going to be installed
 Depends: libsope-core4.9 (= 4.9.r1664.20150326) but it is not going
to be installed
 Depends: libsope-gdl1-4.9 (= 4.9.r1664.20150326) but it is not going
to be installed
 Depends: libsope-ldap4.9 (= 4.9.r1664.20150326) but it is not going
to be installed
 Depends: libsope-mime4.9 (= 4.9.r1664.20150326) but it is not going
to be installed
 Depends: libsope-xml4.9 (= 4.9.r1664.20150326) but it is not going to
be installed
 Depends: sope4.9-libxmlsaxdriver but it is not going to be installed
 Depends: sope4.9-db-connector
 Recommends: memcached but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Is there any workaround how to get sogo running on jessie or some informations
when it will be ready for?

I've also tested the nightlys with the same result.

Best regards

Adrian


--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: AW: [SOGo] login failed

2015-05-07 Thread Christian M. Jensen

Hi,

the thing with lynx is expected but shows that SOGo response to the request
maybe it's a bug in Apache mod_proxy on arm, so how about switching to 
Nginx?


Regards
Christian Jensen

On 06-05-2015 09:58, Tobias Lindinger wrote:

Hi,

thanks for your suggestions. I increased timeout to 10s, changed 
x-webobjects-server-* to IP address and checked workers count (3) which should 
be sufficient because I am the only user right now.
When I press the login button, the same error as before occurs immediately, so 
I guess it's not an issue related to raspberrypi / arm CPU limitations.

Connecting with lynx at local port 2 returns a message that lynx is not 
supported because it supports no javascript.
At the moment I have all debug switches in sogo.conf enabled and my log is 
really big, but I cannot see any error within sogo.log. Apache error.log is the 
only log containing an error (proxy_http).

Do you have any additional ideas?

Kind regards,
Tobias


-Ursprüngliche Nachricht-
Von: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] Im Auftrag von 
Christian Mack
Gesendet: Dienstag, 5. Mai 2015 16:22
An: users@sogo.nu
Betreff: Re: [SOGo] login failed

Hello

Also check if you have enough worker running, to serve all requests.
Check in /etc/{default|sysconfig}/sogo value of option PREFORK.
This sets the count of workers SOGo uses.
How big this has to be depends on how many users use the Webinterface,
ActiveSync and CalDAV/CardDAV.


Kind regards,
Christian Mack

Am 2015-05-04 um 17:39 schrieb Christian M. Jesnen:

that's a funny error, not really but there many different opinions on what can 
fix it just search google.

but i think it's due to timeout since it looks like you are on a Raspberry PI, 
try setting timeout HIGH
http://httpd.apache.org/docs/current/mod/mod_proxy.html#proxytimeout

also while your are testing change x-webobjects-server-name and 
x-webobjects-server-url in your apache config to use the ip address of your box just be 
sure.

if nothing works try open port 2 on your box and connect directly, or use 
lynx or similar text based browser to try localhost:2

Regards
Christian



On Saturday, May 2, 2015 13:55 CEST, Tobias Lindinger 
tobias.lindin...@web.de wrote:


Hi,

I have similar problems when trying to login into the web interface. An internal error 
(An unhandled error occurred.) is displayed in the browser.
The only log containing any error messages is apache error log which says:

[Sat May 02 06:25:15.595138 2015] [mpm_prefork:notice] [pid 5864] AH00163: 
Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sat May 02 06:25:15.595423 2015] [core:notice] [pid 5864] AH00094: Command 
line: '/usr/sbin/apache2'
[Sat May 02 13:49:10.628558 2015] [proxy_http:error] [pid 18399] 
(20014)Internal error: [client 192.168.2.212:54232] AH01102: error reading 
status line from remote server 127.0.0.1:2, referer: 
http://192.168.2.184/SOGo/

My Apache config is like the following:

Alias /SOGo.woa/WebServerResources/   
/usr/lib/GNUstep/SOGo/WebServerResources/
Alias /SOGo/WebServerResources/   /usr/lib/GNUstep/SOGo/WebServerResources/
Directory /usr/lib/GNUstep/SOGo/

 IfVersion  2.4
 Order deny,allow
 Allow from all
 /IfVersion
 IfVersion = 2.4
 Require all granted
 /IfVersion

 # Explicitly allow caching of static content to avoid browser specific 
behavior.
 # A resource's URL MUST change in order to have the client load the new 
version.
 IfModule expires_module
   ExpiresActive On
   ExpiresDefault access plus 1 year
 /IfModule
/Directory

ProxyRequests Off
SetEnv proxy-nokeepalive 1
SetEnv force-proxy-request-1.0 1
SetEnv proxy-initial-not-pooled 1
ProxyPreserveHost On
#AllowCONNECT 2
ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0
#ProxyPassReverse /SOGo http://127.0.0.1:2/SOGo retry=0
ProxyPass /Microsoft-Server-ActiveSync 
http://127.0.0.1:2/SOGo/Microsoft-Server-ActiveSync retry=0 
connectiontimeout=5 timeout=3600

Proxy http://127.0.0.1:2/SOGo
   RequestHeader set x-webobjects-server-port 80
   RequestHeader set x-webobjects-server-name raspberrypi
   RequestHeader set x-webobjects-server-url http://raspberrypi;
   RequestHeader set x-webobjects-server-protocol HTTP/1.0
   RequestHeader set x-webobjects-remote-host %{REMOTE_HOST}e env=REMOTE_HOST
   AddDefaultCharset UTF-8
   Order allow,deny
   Allow from all
/Proxy
## We use mod_rewrite to pass remote address to the SOGo proxy.
# The remote address will appear in SOGo's log files and in the X-Forward
# header of emails.
RewriteEngine On
RewriteRule ^/SOGo/(.*)$ /SOGo/$1 [env=REMOTE_HOST:%{REMOTE_ADDR},PT]


Is there any error within the apache config that could cause the error in the 
web interface?

Thanks in advance,
Tobias

-Ursprüngliche Nachricht-
Von: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] Im Auftrag von 
Christian M. Jesnen
Gesendet: Freitag, 1. Mai 2015 19:57
An: