Re: [SOGo] Any proven methods for getting all the exchange emails moved to sogo.

2012-08-08 Thread Andreas Balg
As you've been reading before - imapsync will do the trick - actually it 
works very well with exchange.


At times you'll have to take care of transcribing IMAP message flags 
(e.g. answered, read,unread,junk,non-junk) to those understood by 
your target server or you'll loose them or seemingly can't sync the 
objects ...


This howto intended for scalix might give you an idea:
http://www.scalix.com/wiki/index.php?title=HowTos/Advanced_imapsync

Cheers
Andreas

Am 08/07/12 04:37, schrieb Chris Mackle:

I'm running around trying to find some reasonable ways of shifting all
these emails into the new mail server.

Any ideas?

The easiest one, would be to drag and drop from the exchange account in
outlook to the new sogo account in outlook, however when I do that it
comes up in the sogo INBOX as an email from so...@example.com unless
someone knows of something that gets around that are there any other
methods people have tried?

Cheers

Chris


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


[SOGo] Fwd: Fwd: Login to SOGo from external- old,new question

2012-08-08 Thread Daniel Müller
Now after a lot of thinking and trying I came to an solution:

Changing in my SOGo.conf all RequestHeader entries to my external IP 

 RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name my.ext.i.p
  RequestHeader set x-webobjects-server-url https://my.ext.i.p;
 
did the trick. But now my internal client has the same problem.
Is there a way to show apache to set RequestHeader according to external and 
internal Ips?
Or just grap the IP and set it to?




 Original-Nachricht 
Datum: Tue, 07 Aug 2012 10:51:32 +0200
Von: Daniel Müller danielmuell...@gmx.net
An: users@sogo.nu
Betreff: Fwd: Login to SOGo from external- old,new question

NO one an idea? Or a solution?

Greetings 
Daniel


 Original-Nachricht 
Datum: Mon, 06 Aug 2012 09:52:35 +0200
Von: Daniel Müller danielmuell...@gmx.net
An: users@sogo.nu
Betreff: Login to SOGo from external- old,new question

Dear all, this is my X...attempt to configure SOGo-- Apache to be reached
when I am outside the office.

This Is my Apache alias-file in conf.d,

Alias /SOGo/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
   /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

Directory /usr/lib/GNUstep/SOGo/
AllowOverride None
Order deny,allow
Allow from all
/Directory

LocationMatch 
^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)
  SetHandler default-handler
/LocationMatch

## Uncomment the following to enable proxy-side authentication, you will then
## need to set the SOGoTrustProxyAuthentication SOGo user default to YES and
## adjust the x-webobjects-remote-user proxy header in the Proxy section
## below.
#Location /SOGo
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#/Location

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

# When using CAS, you should uncomment this and install cas-proxy-validate.py
# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# Proxy http://localhost/app/cas-proxy-validate.py
#   Order deny,allow
#   Allow from your-cas-host-addr
# /Proxy

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name 192.168.135.124
  RequestHeader set x-webobjects-server-url https://192.168.135.124;

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

  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]


Now I tried to create a new alias file EX.: outside.conf
My router redirect all my https to the SOGo host, 217.XXX.XXX.XXX

changed this lines to:

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name 217.XXX.XXX.XXX
  RequestHeader set x-webobjects-server-url https://217.XXX.XXX.XXX;

restarted httpd service.
Now I can reach the web-gui with https://217.XXX.XXX.XXX/SOGo successfull.
But when I login it ends up with my local IP-Adress:
https://192.XXX.XXX.124/SOGo/so/myuser/
and that is wrong, and the browser shows up page not found.
How can I get here: https://217.XXX.XXX.XXX/SOGo/so/tester/ ?

Daniel







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


Re: [SOGo] Fwd: Fwd: Login to SOGo from external- old,new question

2012-08-08 Thread Chris Moules
Hello,

I have used 'dnsmasq' internally in this case.
This will replace/relay to your internal DNS server. It can override various 
'internet' entries by having them in your hosts file:

192.168.0.1 my.dynamic.ip.hostname

This means that queries to hit the dnsmasq server will receive the internal IP 
for my.dynamic.ip.hostname and public resolvers
will hit the 'real' my.dynamic.ip.hostname.

How this could be done otherwise is hard to say, multiple Apache configs 
listening on different IP/Port combinations is a good
option. The problem is then the client config, it still wants to talk to the 
same hostname inside and outside the LAN. That or
you use an internal name/address and use a VPN.

Hope this helps

Chris

On 08/08/12 13:49, Daniel Müller wrote:
 Now after a lot of thinking and trying I came to an solution:
 
 Changing in my SOGo.conf all RequestHeader entries to my external IP 
 
  RequestHeader set x-webobjects-server-port 443
   RequestHeader set x-webobjects-server-name my.ext.i.p
   RequestHeader set x-webobjects-server-url https://my.ext.i.p;
  
 did the trick. But now my internal client has the same problem.
 Is there a way to show apache to set RequestHeader according to external and 
 internal Ips?
 Or just grap the IP and set it to?
 
 
 
 
  Original-Nachricht 
 Datum: Tue, 07 Aug 2012 10:51:32 +0200
 Von: Daniel Müller danielmuell...@gmx.net
 An: users@sogo.nu
 Betreff: Fwd: Login to SOGo from external- old,new question
 
 NO one an idea? Or a solution?
 
 Greetings 
 Daniel
 
 
  Original-Nachricht 
 Datum: Mon, 06 Aug 2012 09:52:35 +0200
 Von: Daniel Müller danielmuell...@gmx.net
 An: users@sogo.nu
 Betreff: Login to SOGo from external- old,new question
 
 Dear all, this is my X...attempt to configure SOGo-- Apache to be reached
 when I am outside the office.
 
 This Is my Apache alias-file in conf.d,
 
 Alias /SOGo/WebServerResources/ \
   /usr/lib/GNUstep/SOGo/WebServerResources/
 AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
/usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2
 
 Directory /usr/lib/GNUstep/SOGo/
 AllowOverride None
 Order deny,allow
 Allow from all
 /Directory
 
 LocationMatch 
 ^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)
   SetHandler default-handler
 /LocationMatch
 
 ## Uncomment the following to enable proxy-side authentication, you will then
 ## need to set the SOGoTrustProxyAuthentication SOGo user default to YES and
 ## adjust the x-webobjects-remote-user proxy header in the Proxy section
 ## below.
 #Location /SOGo
 #  AuthType XXX
 #  Require valid-user
 #  SetEnv proxy-nokeepalive 1
 #  Allow from all
 #/Location
 
 ProxyRequests Off
 SetEnv proxy-nokeepalive 1
 ProxyPreserveHost On
 
 # When using CAS, you should uncomment this and install cas-proxy-validate.py
 # in /usr/lib/cgi-bin to reduce server overloading
 #
 # ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
 # Proxy http://localhost/app/cas-proxy-validate.py
 #   Order deny,allow
 #   Allow from your-cas-host-addr
 # /Proxy
 
 ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0
 
 Proxy http://127.0.0.1:2/SOGo
 ## adjust the following to your configuration
   RequestHeader set x-webobjects-server-port 443
   RequestHeader set x-webobjects-server-name 192.168.135.124
   RequestHeader set x-webobjects-server-url https://192.168.135.124;
 
 ## When using proxy-side autentication, you need to uncomment and
 ## adjust the following line:
 #  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e
 
   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]
 
 
 Now I tried to create a new alias file EX.: outside.conf
 My router redirect all my https to the SOGo host, 217.XXX.XXX.XXX
 
 changed this lines to:
 
 ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0
 
 Proxy http://127.0.0.1:2/SOGo
 ## adjust the following to your configuration
   RequestHeader set x-webobjects-server-port 443
   RequestHeader set x-webobjects-server-name 217.XXX.XXX.XXX
   RequestHeader set x-webobjects-server-url https://217.XXX.XXX.XXX;
 
 restarted httpd service.
 Now I can reach the web-gui with https://217.XXX.XXX.XXX/SOGo successfull.
 But when I login it ends up with my local IP-Adress:
 https://192.XXX.XXX.124/SOGo/so/myuser/
 and that is wrong, and the browser shows up page not found.
 How can I get here: https://217.XXX.XXX.XXX/SOGo/so/tester/ ?
 
 Daniel
 
 
 
 
 
 
 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Fwd: [SOGo] Fwd: Fwd: Login to SOGo from external- old,new question

2012-08-08 Thread Daniel Müller
Thinking about SERVER_ADDR in apache.

Tried to substitute server-name and url like this:
RequestHeader set x-webobjects-server-name SERVER_ADDR
RequestHeader set x-webobjects-server-url https://SERVER_ADDR;

So the IP can be danymic loaded when I request from internal with 
192.xxx.xxx.xxx
and when I request from outside with 213.xxx.xxx.xxx.
But do not know how to parse the SERVER_ADDR into the url or name.
Can someone point me a way.


--- Original-Nachricht 
Datum: Wed, 08 Aug 2012 13:49:55 +0200
Von: Daniel Müller danielmuell...@gmx.net
An: users@sogo.nu
Betreff: [SOGo] Fwd: Fwd: Login to SOGo from external- old,new question

Now after a lot of thinking and trying I came to an solution:

Changing in my SOGo.conf all RequestHeader entries to my external IP 

 RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name my.ext.i.p
  RequestHeader set x-webobjects-server-url https://my.ext.i.p;
 
did the trick. But now my internal client has the same problem.
Is there a way to show apache to set RequestHeader according to external and 
internal Ips?
Or just grap the IP and set it to?




 Original-Nachricht 
Datum: Tue, 07 Aug 2012 10:51:32 +0200
Von: Daniel Müller danielmuell...@gmx.net
An: users@sogo.nu
Betreff: Fwd: Login to SOGo from external- old,new question

NO one an idea? Or a solution?

Greetings 
Daniel


 Original-Nachricht 
Datum: Mon, 06 Aug 2012 09:52:35 +0200
Von: Daniel Müller danielmuell...@gmx.net
An: users@sogo.nu
Betreff: Login to SOGo from external- old,new question

Dear all, this is my X...attempt to configure SOGo-- Apache to be reached
when I am outside the office.

This Is my Apache alias-file in conf.d,

Alias /SOGo/WebServerResources/ \
  /usr/lib/GNUstep/SOGo/WebServerResources/
AliasMatch /SOGo/so/ControlPanel/Products/(.*)/Resources/(.*) \
   /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2

Directory /usr/lib/GNUstep/SOGo/
AllowOverride None
Order deny,allow
Allow from all
/Directory

LocationMatch 
^/SOGo/so/ControlPanel/Products/.*UI/Resources/.*\.(jpg|png|gif|css|js)
  SetHandler default-handler
/LocationMatch

## Uncomment the following to enable proxy-side authentication, you will then
## need to set the SOGoTrustProxyAuthentication SOGo user default to YES and
## adjust the x-webobjects-remote-user proxy header in the Proxy section
## below.
#Location /SOGo
#  AuthType XXX
#  Require valid-user
#  SetEnv proxy-nokeepalive 1
#  Allow from all
#/Location

ProxyRequests Off
SetEnv proxy-nokeepalive 1
ProxyPreserveHost On

# When using CAS, you should uncomment this and install cas-proxy-validate.py
# in /usr/lib/cgi-bin to reduce server overloading
#
# ProxyPass /SOGo/casProxy http://localhost/cgi-bin/cas-proxy-validate.py
# Proxy http://localhost/app/cas-proxy-validate.py
#   Order deny,allow
#   Allow from your-cas-host-addr
# /Proxy

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name 192.168.135.124
  RequestHeader set x-webobjects-server-url https://192.168.135.124;

## When using proxy-side autentication, you need to uncomment and
## adjust the following line:
#  RequestHeader set x-webobjects-remote-user %{REMOTE_USER}e

  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]


Now I tried to create a new alias file EX.: outside.conf
My router redirect all my https to the SOGo host, 217.XXX.XXX.XXX

changed this lines to:

ProxyPass /SOGo http://127.0.0.1:2/SOGo retry=0

Proxy http://127.0.0.1:2/SOGo
## adjust the following to your configuration
  RequestHeader set x-webobjects-server-port 443
  RequestHeader set x-webobjects-server-name 217.XXX.XXX.XXX
  RequestHeader set x-webobjects-server-url https://217.XXX.XXX.XXX;

restarted httpd service.
Now I can reach the web-gui with https://217.XXX.XXX.XXX/SOGo successfull.
But when I login it ends up with my local IP-Adress:
https://192.XXX.XXX.124/SOGo/so/myuser/
and that is wrong, and the browser shows up page not found.
How can I get here: https://217.XXX.XXX.XXX/SOGo/so/tester/ ?

Daniel







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


[SOGo] How can i customize SOGoMailCustomEMail ?

2012-08-08 Thread Alessio Fattorini

How can customize SOGoMailCustomEMail in .GNUstepDefaults file?

I have this LDAP entry

dn: uid=alessandrog,ou=Users,dc=nethesis,dc=it
structuralObjectClass: inetOrgPerson
entryUUID: 08f881a4-48e6-1031-9a34-d733063420e2
creatorsName: cn=root,dc=nethesis,dc=it
createTimestamp: 20120612142416Z
ou: Commerciale
uid: marior
street: Via degli Olmi 12
cn: Mario Rossi
homeDirectory: /home/e-smith/files/users/marior
uidNumber: 5137
objectClass: inetOrgPerson
objectClass: posixAccount
gidNumber: 5137
l: Pesaro
sn: Rossi
userPassword:: e0NSWVBUfSQxJC53eGYublRYJE1YZzA2cGJycmZONHlpU2tNcC5wUDA=
mail: mar...@nethesis.it
givenName: Mario
loginShell: /usr/bin/rssh
o: Nethesis srl
entryCSN: 20120702162351Z#00#00#00
modifiersName: cn=root,dc=nethesis,dc=it
modifyTimestamp: 20120702162351Z

By Default for this user SOGoMailCustomEMail is mar...@nethesis.it but i want 
mario.ro...@nethesis.it
Can i have this without modify it from web interface by user?


--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Re: How can i customize SOGoMailCustomEMail ?

2012-08-08 Thread Alessio Fattorini

Il 08/08/2012 15:19, Alessio Fattorini ha scritto:

How can customize SOGoMailCustomEMail in .GNUstepDefaults file?

I have this LDAP entry

dn: uid=alessandrog,ou=Users,dc=nethesis,dc=it


Sorry this entry is wrong, obviously is:

 dn: uid=marior,ou=Users,dc=nethesis,dc=it




--
Alessio Fattorini (alessio.fattor...@nethesis.it)

nethesis srl - Via degli Olmi 16/4 - 61100 Pesaro (PU)
tel. +39 0721 405516 - fax +39 0721 268147
www.nethesis.it - i...@nethesis.it
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Fwd: Fwd: Login to SOGo from external- old,new question

2012-08-08 Thread Jeff Folk

On Aug 8, 2012, at 6:49 AM, Daniel Müller wrote:

 Is there a way to show apache to set RequestHeader according to external and 
 internal Ips?
 Or just grap the IP and set it to?

That is what DNS is for. Assign a hostname and domain. IPs are so messy. But 
why do you need to have the internal IP? Is it not reachable from behind your 
network.-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] How to contribute?

2012-08-08 Thread Slávek Banko
Hi all.

I would ask what is the recommended way of contributing to SOGo? Recently 
I added two patches in Mantis bug messages, but I'm not sure if I chose 
the right way?

Thank you for directions.

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


[SOGo] New install, no sogod service on 20000

2012-08-08 Thread eeisenhower
Fresh install.
sogod runs, but hangs.
no listener on port 2 per netstat -a
must kill -9 to stop sogod

sogo.log has only a few lines about version, vmem size check and
modules loaded.  Adding the obvious debug settings produces nothing.

Followed the install pdf as best I could.  Ideas?

-e

Sogo - 1.3.17-1 via yum install
Centos 6.3
mysql
ldap
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] BTS activities for Wednesday, August 08 2012

2012-08-08 Thread SOGo reporter
Title: BTS activities for Wednesday, August 08 2012





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Wednesday, August 08 2012

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
1734
	2012-08-08 11:00:25
	updated (open)
	SOGo Native Outlook Compatibility
	contacts: OL losing contacts
	
	  
	
1921
	2012-08-08 18:28:59
	updated (open)
	SOGo Native Outlook Compatibility
	renaming a mail folder from Outlook crashes samba4 
	
	  
	
1922
	2012-08-08 14:56:52
	updated (open)
	SOGo Native Outlook Compatibility
	Missing implementation for RopCopyFolder and RopMoveFolder
	
	  
	
1923
	2012-08-08 18:04:30
	updated (open)
	SOGo Native Outlook Compatibility
	Appliance of the last version of SOGo, MS Outlook & synchronizing folders with IMAP4 server !
	
	  
	
1920
	2012-08-08 04:27:01
	updated (open)
	Apple iCal.app
	Events created with reminders in iCal 5.0.3 and 6.0 appear to have no reminder in Web Calendar.
	
	  
	
1766
	2012-08-08 11:06:10
	updated (open)
	Web Calendar
	Time shifts when saving/modifying events in SOGo web interface
	
	  
	
1915
	2012-08-08 15:33:53
	feedback (open)
	SOGo Native Outlook Compatibility
	Notes don't work anymore
	
	  
	
1909
	2012-08-08 13:40:47
	resolved (fixed)
	SOGo Native Outlook Compatibility
	unable to terminate a samba process with a signal after the SOGo backend has been started
	
	  
	
1916
	2012-08-08 15:10:53
	resolved (fixed)
	SOGo Native Outlook Compatibility
	Event creation in Outlook 2010 dupes the event!
	
	  
	
  
  




Re: [SOGo] Max. number of Managesieve connections in SOGo Webclient?

2012-08-08 Thread Patrick Ben Koetter
* Ludovic Marcotte users@sogo.nu:
 On 05/08/12 17:23, Patrick Ben Koetter wrote:
 I ran into a manage sieve client limit on a Dovecot server today. By default
 Dovecot allows a maximum of 10 concurrent managesieve connections from a
 client.
 Client being Sieve client or user?

Reading the docs I'd say user:

  # Maximum number of ManageSieve connections allowed for a user from each IP
  # address.
  # NOTE: The username is compared case-sensitively.
  # mail_max_userip_connections = 10


 How does that relate to SOGo's webmail client? How many concurrent 
 connections
 will it open to a manage sieve server? Will the number increase e.g. if there
 are many rules to send?
 SOGo will open one connection per child sogod process, if needed. If
 you had 10 users modifying their script at the same time (ie.,
 saving the preferences) and  10 sogod processes running, that could
 happen.

Logs indicate there was only me/my client doing managesieve actions when the
limit was reached. I'll investigate when I find time. For the moment raising
the limit solved the problem.

p@rick


-- 
state of mind ()

http://www.state-of-mind.de

Franziskanerstraße 15  Telefon +49 89 3090 4664
81669 München  Telefax +49 89 3090 4666

Amtsgericht MünchenPartnerschaftsregister PR 563

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