[SOGo] import vcards from commandline

2013-03-15 Thread Jaap Dijkshoorn

Hi,

I would like to import vcards into a user personal address book. Those
vcards are in a directory. Is there a script or something available to
do this? As far as i know i can only import vcards or ldif files through
the GUI.

Thanks

--
Met vriendelijke groeten / Kind regards,

Jaap P. Dijkshoorn

| Cluster Computing | SURFsara | Science Park 140 | 1098 XG Amsterdam
| T +31205923000| jaap.dijksho...@surfsara.nl | skype: j...@sara.nl
| www.surfsara.nl   | home.sara.nl/~jaapd




smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Sogo and funambol installation

2013-03-15 Thread Arnaud LE NORCY
Hello,

nobody uses Funambol with Sogo?

The two work well individually. I installed Funambol following
documentation sogo (Chapter 7) as indicated in my previous message

but when I use an android application (FunV10), I can authenticate
myself (http://funambol-machine:8080/funambol/ds)but my calendar is empty ..

any ideas?
thank you very much

PS: sogo Funambol and Sogo are on different servers

Arnaud.

Le 08/03/2013 17:07, Arnaud Le Norcy a écrit :
 Hello,

 I set up Sogo and it works perfectly (authentication CAS and
 PostgreSQL database for data on debian Wheezy amd64)

 Now I would like to install Funambol (with the sogo connector) on
 another VM but I can not do it ...

 Authentication with Funambol is OK with my Sogo users with this url
 http://funambol-machine:8080/funambol/ds

 but the problem is that the calendars are not those of Sogo (certainly
 calendars store in the hypersonic database of Funambol?)

 But I carefully followed the installation doc of Funambol
 (http://www.sogo.nu/files/docs/SOGo 20Installation%% 20Guide.pdf) :

 ./funambol-10.0.3-x64.bin
 /opt/Funambol/bin/funambol stop
 cd /opt/Funambol/tools/tomcat/lib/
 wget http://jdbc.postgresql.org/download/postgresql-9.2-1002.jdbc4.jar
 wget http://json-simple.googlecode.com/files/json-simple-1.1.1.jar
 cd /opt/Funambol/ds-server/modules/
 wget http://www.sogo.nu/uploads/Funambol/funambol-sogo-1.0.9.s4j
 vim.tiny ../install.properties
 -- add funambol-sogo-1.0.9 at the end of the module list
 /opt/Funambol/bin/funambol start
 cd /opt/Funambol/
 ./bin/install-modules
 -- Yes for ALL
 /opt/Funambol/admin/bin/funamboladmin
 -- add sogo-cal, sogo-card and sogo-todo to the connector (with
 jbdc:postgreslq://sogo-machine/sogo...)
 -- change SOGoOfficer.xml (host : sogo-machine port:2)

 PS :sogo postgresql database is accessible from the funambol machine

 any ideas?
 please help me

 regards,

 Arnaud.



-- 
Arnaud LE NORCY
Admin. systèmes et réseaux - RSSI Adjoint
Centre de Ressources Informatiques
Université d’Orléans
Bâtiment IRD - 3ème étage
5, rue du Carbone
45100 ORLEANS LA SOURCE
Tel : 02 38 49 25 26
pgp : 0xA14ECEAD sur pgp.mit.edu


Pour mieux répondre aux demandes, voici qui contacter au CRI :
http://intranet.univ-orleans.fr/tic/direction-des-systemes-dinformation-1/organisation-et-missions-de-la-dsi/contacter-le-cri/qui-contacter-au-cri/


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


[SOGo] sogo logs

2013-03-15 Thread Khapare Joshi
Hi all,

how do I get the information from the sogo.log like this :

once the user is successful login

username, ipaddress (that he is connecting)

What I can get from the log is :

Mar 15 10:40:35 sogod [29587]: SOGoRootPage successful login for user
'baby' - expire = -1  grace = -1
then i get the ipaddress in the second line

Mar 15 10:45:07 sogod [12897]: SOGoRootPage successful login for user
'baby' - expire = -1  grace = -1
202.52.252.222 - - [15/Mar/2013:10:45:07 GMT] GET /SOGo/baby HTTP/1.1 302
0/0 0.003 - - 0

can't I get this users IP address in the same line ?

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

Re: [SOGo] PHP-Push-2 help please!!!

2013-03-15 Thread Donny Brooks
 
 
 
On Thursday, March 14, 2013 06:10 PM CDT, Michael mich...@los-pollos.co 
wrote: 
 
 Hi, Thanks for this but I really need a single setup on iOS. The reason 
 is I am migrating users from an exchange environment and any additional 
 steps required from them to set up their devices would just equal more 
 work for me.
 
 Regards, Michael.
 
 
 
 On 15/03/2013 12:33 AM, Donny Brooks wrote:



  On Thursday, March 14, 2013 07:43 AM CDT, Michael mich...@los-pollos.co 
  wrote:

  Dear All,
 
  I have been trying for weeks now to get PHP-Push-2 to work on my SOGo
  system. The thing is, the old sogosync works like a charm, the only
  problem with sogosync is that it doesn't support HTML email because it
  has an older merge of z-push.
 
  I have a previous thread entitled [SOGo] sogosync and html email but
  have hit a brick wall.
 
  After installing PHP-Push-2, copying the supplied config.php files and
  following the rest of the instructions etc. I can connect my iOS devices
  but when I go to check mail I get a password error. A look into the
  z-push log shows:
 
  14/03/2013 23:26:25 [ 7183] [WARN] [mich...@example.com]
  /var/www/PHP-Push-2/backend/caldav.php:34 Use of undefined constant
  CALDAV_PORT - assumed 'CALDAV_PORT' (8)
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace error:
  /var/www/PHP-Push-2/include/caldav-client-v2.php:116 Invalid URL:
  'https://sogo.example.com:CALDAV_PORT/SOGo/dav/mbonnic$
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  1:/var/www/PHP-Push-2/include/caldav-client-v2.php:116 - trigger_error()
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  2:/var/www/PHP-Push-2/backend/caldav.php:34 - CalDAVClient-__construct()
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  3:/var/www/PHP-Push-2/backend/combined/combined.php:114 -
  BackendCalDAV-Logon()
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  4:/var/www/PHP-Push-2/lib/request/requestprocessor.php:77 -
  BackendCombined-Logon()
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  5:/var/www/PHP-Push-2/lib/request/provisioning.php:64 -
  RequestProcessor::Authenticate()
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  6:/var/www/PHP-Push-2/lib/request/requestprocessor.php:127 -
  Provisioning-Handle()
  14/03/2013 23:26:25 [ 7183] [ERROR] [mich...@example.com] trace:
  7:/var/www/PHP-Push-2/index.php:189 - RequestProcessor::HandleRequest()
 
  Increasing the LOG level doesn't appear to show anything useful.
 
  I have tried defining the CALDAV port manually but then I get similar
  errors about CARDAV_SERVER and CARDDAV_PATH, again I define these
  manually in the config.php file but I still get issues and more errors -
  see previous thread [SOGo] sogosync and html email.
 
  It's like the supplied config.php file isnt complete?
 
  I am getting super desperate as I need this system to be in production
  asap! I am getting to the point where I am willing to pay someone a fee
  to fix it for me if no one has any useful suggestions :( -I can be
  reached on michael(^at^)los-pollos(^dot^)co .
 
  Here is my config.php (comments removed):
 
define('TIMEZONE', 'Australia/Sydney');
 
 
define('BASE_PATH', dirname($_SERVER['SCRIPT_FILENAME']). '/');
 
   ini_set('include_path',
   BASE_PATH. include/ . PATH_SEPARATOR .
   BASE_PATH. PATH_SEPARATOR .
   ini_get('include_path') . PATH_SEPARATOR .
   /usr/share/php/ . PATH_SEPARATOR .
   /usr/share/php5/ . PATH_SEPARATOR .
   /usr/share/pear/ . PATH_SEPARATOR .
   /usr/share/awl/inc);
 
define('SCRIPT_TIMEOUT', 0);
define('MAX_EMBEDDED_SIZE', 1048576);
 
define('STATE_DIR', '/var/lib/z-push/');
 
define('LOGFILEDIR', '/var/log/z-push/');
define('LOGFILE', LOGFILEDIR . 'z-push.log');
define('LOGERRORFILE', LOGFILEDIR . 'z-push-error.log');
define('LOGLEVEL', LOGLEVEL_INFO);
define('LOGUSERLEVEL', LOGLEVEL_DEVICEID);
$specialLogUsers = array();
define('PROVISIONING', true);
define('LOOSE_PROVISIONING', false);
define('SYNC_CONFLICT_DEFAULT', SYNC_CONFLICT_OVERWRITE_PIM);
define('SYNC_FILTERTIME_MAX', SYNC_FILTERTYPE_ALL);
 
define('PING_INTERVAL', 30);
 
define('SINK_FORCERECHECK', 300);
 
define('BACKEND_PROVIDER', BackendCombined);
 
define('MAPI_SERVER', 'file:///var/run/zarafa');
 
 
define('IMAP_SERVER', 'sogo.example.com');
define('IMAP_PORT', 143);
 
define('IMAP_OPTIONS', '/notls/norsh');
define('IMAP_DEFAULTFROM', 'username');
 
define('IMAP_SENTFOLDER', 'Sent');
 
define('IMAP_INLINE_FORWARD', false);
 
define('IMAP_USE_IMAPMAIL', true);
define('MAILDIR_BASE', '/tmp');
define('MAILDIR_SUBDIR', 'Maildir');
 
define('VCARDDIR_DIR', 

[SOGo] sogo and subdomains

2013-03-15 Thread lawrence
Hi, I installed the ZEG from:
http://sourceforge.net/projects/sogo-zeg/files/ZEG-2.0.4.ova/download and I
managed to change the domain successfully to my domain. xyz.co.za for example,
I can deliver a mail to: joes...@xyz.co.za and it appears in all the right
places. I now need to add a subdomain as an alias for all the accounts such
that: joes...@internal.xyz.co.za translates to: joes...@xyz.co.za and is
delivered to the mailbox correctly. Could anyone advise on how that's done
please? many thanks
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Add User?

2013-03-15 Thread Scott Jordahl
Really?? No one has an answer? Is anyone really using SOGo Openchange in 
a production environment, or is this just an experiment for academic 
exercise?


On 03/14/2013 11:33 AM, Scott Jordahl wrote:
OK, I'm a little confused on how to add new users. I'm working with 
the ZEG appliance. As per the Native Outlook Configuration Guide, I'm 
using samba-tool user add and openchange_newuser -- create. This 
allows me to connect via Outlook, however, when I try accessing via 
the web I/F it doesn't recognize the new user account. Am I also 
suppose to load the LDIF of the new user per instructions in the SOGo 
Installation and Configuration Guide (page #43)? How about the Cyrus 
mailbox? You use to have to run cyradm in order for the mailbox to 
get created. I notice that cyradm is not installed on the ZEG, so 
what's the real complete procedure for adding a new user.


-- Scott


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

Re: [SOGo] Add User?

2013-03-15 Thread Steve Ankeny

We are using SOGo with OpenChange in a production environment.

However, we are using a previous ZEG that did not include Samba.

To add users, we cloned them from the 'sogo' user in the LDAP module via 
Webmin.


It's quite simple to do, and then we ran 'cyradm' to create the mailbox, 
and that was it.


Since your ZEG does not have 'cyrus' and since it has Samba, I am unsure 
what to tell you.


We created Linux users first, then cloned the LDAP properties (since it 
authenticates via LDAP) via Webmin and created the Cyrus mailbox (as you 
already know)  I'd say it depends on where it authenticates.


On 03/15/2013 01:15 PM, Scott Jordahl wrote:
Really?? No one has an answer? Is anyone really using SOGo Openchange 
in a production environment, or is this just an experiment for 
academic exercise?


On 03/14/2013 11:33 AM, Scott Jordahl wrote:
OK, I'm a little confused on how to add new users. I'm working with 
the ZEG appliance. As per the Native Outlook Configuration Guide, I'm 
using samba-tool user add and openchange_newuser -- create. This 
allows me to connect via Outlook, however, when I try accessing via 
the web I/F it doesn't recognize the new user account. Am I also 
suppose to load the LDIF of the new user per instructions in the SOGo 
Installation and Configuration Guide (page #43)? How about the 
Cyrus mailbox? You use to have to run cyradm in order for the 
mailbox to get created. I notice that cyradm is not installed on 
the ZEG, so what's the real complete procedure for adding a new user.


-- Scott




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

Re: [SOGo] Add User?

2013-03-15 Thread Lawrence Haw
Hi Scott,

Are you using the zeg?

If so what I did is login to the webmin interface go to servers then openldap 
and navigate to an existing user. Then use the option to clone the entry. I 
hope that helps answer the need for ldap changes. Then for the cyrus read here: 
http://sogo.hawcweb.co.za/configuration.shtml under mailboxes should help.

L


Sent from Samsung tablet

Olivier Bitsch olivier.bit...@gmail.com wrote:

I've made some trial on ZEG, and also tried to manually add a user, but it's 
not very user friendly and It never worked. Also, I doesn't search very long 
time to search how to fix it.


2013/3/15 Scott Jordahl sc...@jordahl.com
Really?? No one has an answer? Is anyone really using SOGo Openchange in a 
production environment, or is this just an experiment for academic exercise?


On 03/14/2013 11:33 AM, Scott Jordahl wrote:
OK, I'm a little confused on how to add new users. I'm working with the ZEG 
appliance. As per the Native Outlook Configuration Guide, I'm using samba-tool 
user add and openchange_newuser -- create. This allows me to connect via 
Outlook, however, when I try accessing via the web I/F it doesn't recognize the 
new user account. Am I also suppose to load the LDIF of the new user per 
instructions in the SOGo Installation and Configuration Guide (page #43)? How 
about the Cyrus mailbox? You use to have to run cyradm in order for the 
mailbox to get created. I notice that cyradm is not installed on the ZEG, so 
what's the real complete procedure for adding a new user.

-- Scott


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

Re: [SOGo] Add User?

2013-03-15 Thread Martin (Lists)
Am 14.03.2013 19:33, schrieb Scott Jordahl:
 OK, I'm a little confused on how to add new users. I'm working with the
 ZEG appliance. As per the Native Outlook Configuration Guide, I'm using
 samba-tool user add and openchange_newuser -- create. This allows me
 to connect via Outlook, however, when I try accessing via the web I/F it
 doesn't recognize the new user account. Am I also suppose to load the
 LDIF of the new user per instructions in the SOGo Installation and
 Configuration Guide (page #43)? How about the Cyrus mailbox? You use to
 have to run cyradm in order for the mailbox to get created. I notice
 that cyradm is not installed on the ZEG, so what's the real complete
 procedure for adding a new user.
 
 -- Scott

Hallo

I don't know the special things for openchange but for plain SOGo I use
GOsa2 for user adiministration. GOsa can handle Groups and cyrus mail boxes.

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


[SOGo] BTS activities for Friday, March 15 2013

2013-03-15 Thread SOGo reporter
Title: BTS activities for Friday, March 15 2013





  
BTS Activities

  Home page: http://www.sogo.nu/bugs
  Project: SOGo
  For the period covering: Friday, March 15 2013

  
  
idlast updatestatus (resolution)categorysummary
	
	
	  
	
2269
	2013-03-15 11:45:51
	new (open)
	Backend Address Book
	Information disclosure
	
	  
	
1047
	2013-03-15 08:29:30
	updated (open)
	Backend Mail
	lowercase-header-files triggers spam filters
	
	  
	
2244
	2013-03-15 20:48:06
	updated (open)
	OpenChange backend
	samba4 crashes when processing a certain calendar element
	
	  
	
2151
	2013-03-15 16:12:03
	updated (open)
	SOPE
	iCal property parameter values are not escaped properly
	
	  
	
2217
	2013-03-15 07:06:44
	updated (open)
	Web Mail
	html-mails should offer plaintext alternative... for smartphone native mail client
	
	  
	
1473
	2013-03-15 11:08:11
	resolved (fixed)
	Web Mail
	activate folder function "Mark Folder Read..."
	
	  
	
2226
	2013-03-15 16:12:55
	closed (fixed)
	sogo-tool
	sogo-ealarms-notify do not try to read /etc/sogo/sogo.conf