Re: [SOGo] Vacation auto reply problem
Hello Khapare Joshi Am 2013-07-23 13:41, schrieb Khapare Joshi: I have been running sogo for a long time now. One problem I am having though is disable auto reply in vacation. I have user which is sieve admin and added in imap server /etc/imapd.conf sieve_admins: cyrus test sogo1234 When I was testing this morning I get following error: 2013-07-23 11:26:03.688 sogo-tool[5661] Sieve generation failure: Test 'any' used without any specified rule 2013-07-23 11:26:03.692 sogo-tool[5661] An error occured while removing auto-reply of user john What I am missing here ? The crontab looks like this : 0 0 * * * sogo/usr/sbin/sogo-tool expire-autoreply sogo123:sogoPASS The syntax has changed. From sogo-tool you get: [root@sogo log]# sudo -u sogo /usr/sbin/sogo-tool expire-autoreply expire-autoreply -p credentialFile -p credentialFileSpecify the file containing the sieve admin credentials The file should contain a single line: username:password So you have to give this cronjob a file name instead of sogo123:sogoPASS. Your sogo123:sogoPASS should be in this file and it should be readable by user sogo. Hope this helps. Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists
[SOGo] HTML 'changed' from version 2.06 onwards
Hi, I use SOGo to sent an html email to subscribers of one of my forums. I format the mail in Libreoffice and copy it into the email: formatting is the same as in the document. When I forwarded the sent message to another subscriber everything was okay. As of version 2.0.6 (I think) the email editor has changed and with it the HTML behavior: when copying the contents from Libreoffice it looks different and even when forwarding a previously sent message with correct formating it changes the way it looks... My mail settings are still: HTML. Has something changed? Can I configure the editor to behave as it did before? Any hints and tips are welcome! Thanks, Ruud. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
Hello Odhiambo Washington Am 2013-07-02 13:01, schrieb Odhiambo Washington: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf I enabled sogo-ealarms-notify in my cron and it keeps sending these: 2013-07-02 11:03:02.314 sogo-ealarms-notify[21090] No local time zone specified. 2013-07-02 11:03:02.334 sogo-ealarms-notify[21090] Using time zone with absolute offset 0. Do I need to specify the TZ in another file? Is your cronjob executed as user sogo? Kind regards, Christian Mack -- Christian Mack Gruppe Informationsdienste Rechenzentrum Universität Konstanz -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-24 14:41 keltezéssel, Christian Mack írta: Hello Odhiambo Washington Am 2013-07-02 13:01, schrieb Odhiambo Washington: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf I enabled sogo-ealarms-notify in my cron and it keeps sending these: 2013-07-02 11:03:02.314 sogo-ealarms-notify[21090] No local time zone specified. 2013-07-02 11:03:02.334 sogo-ealarms-notify[21090] Using time zone with absolute offset 0. Do I need to specify the TZ in another file? Is your cronjob executed as user sogo? Is your system Ubuntu? Check the /etc/timezone. If it doesn't exist or doesn't valid, you need to run tzselect with answers 1-23-1 ;) Or run 'dpkg-reconfigure tzdata' - of course all of them with needed righst. These are set the timezone settings system wide. On /etc/cron.d/sogo you need to check the user 'sogo' between the schedule and command settings: * * * * * sogo/usr/sbin/sogo-ealarms-notify ^ Cheers, Peter -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 16:08, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 14:41 keltezéssel, Christian Mack írta: Hello Odhiambo Washington Am 2013-07-02 13:01, schrieb Odhiambo Washington: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf I enabled sogo-ealarms-notify in my cron and it keeps sending these: 2013-07-02 11:03:02.314 sogo-ealarms-notify[21090] No local time zone specified. 2013-07-02 11:03:02.334 sogo-ealarms-notify[21090] Using time zone with absolute offset 0. Do I need to specify the TZ in another file? Is your cronjob executed as user sogo? Is your system Ubuntu? Check the /etc/timezone. If it doesn't exist or doesn't valid, you need to run tzselect with answers 1-23-1 ;) Or run 'dpkg-reconfigure tzdata' - of course all of them with needed righst. These are set the timezone settings system wide. On /etc/cron.d/sogo you need to check the user 'sogo' between the schedule and command settings: * * * * * sogo/usr/sbin/sogo-ealarms-notify ^ Cheers, Peter AFAICS, my configuration looks correct, at least as far as FreeBSD is concerned. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/db/sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify [sogo@gw ~]$ -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] Unable to compile current git archive
On 2013-07-23 5:16 PM, Rex Johnston wrote: Is it safe to get the compiler to ignore warnings? I've just pushed a fix for this. Thanks, -- Ludovic Marcotte lmarco...@inverse.ca :: +1.514.755.3630 :: http://inverse.ca Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/db/sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify [sogo@gw ~]$ TZ variable won't help. I no have it too, but all features are working fine without this error. Could you please give us a strace output? -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 19:18, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/**Tools/Admin/sogo-ealarms-**notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/**usr/bin:/usr/games:/usr/local/** sbin:/usr/local/bin:/var/db/**sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/**Tools/Admin/sogo-ealarms-**notify [sogo@gw ~]$ TZ variable won't help. I no have it too, but all features are working fine without this error. Could you please give us a strace output? Any guideline on how to run the trace? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 20:09, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 18:50 keltezéssel, Odhiambo Washington írta: On 24 July 2013 19:18, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/db/sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify [sogo@gw ~]$ TZ variable won't help. I no have it too, but all features are working fine without this error. Could you please give us a strace output? Any guideline on how to run the trace? Of course. strace. So, you log in as sogo user, and run the command as: strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/path/to/output.file And then send the output file to us (or share it somewhere). Before check the strace exists on your syístem. If not, this maybe helps: http://www.cyberciti.biz/faq/howto-installl-strace-under-freebsd/ [sogo@gw ~]$ pwd /var/db/sogo [sogo@gw ~]$ strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/var/db/sogo/output.file [sogo@gw ~]$ less output.file strace: open(/proc/..., ...): No such file or directory trouble opening proc file -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-24 19:31 keltezéssel, Odhiambo Washington írta: On 24 July 2013 20:09, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 18:50 keltezéssel, Odhiambo Washington írta: On 24 July 2013 19:18, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = "Africa/Nairobi"; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ="Africa/Nairobi" [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 20:42, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 19:31 keltezéssel, Odhiambo Washington írta: On 24 July 2013 20:09, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 18:50 keltezéssel, Odhiambo Washington írta: On 24 July 2013 19:18, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/db/sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify [sogo@gw ~]$ TZ variable won't help. I no have it too, but all features are working fine without this error. Could you please give us a strace output? Any guideline on how to run the trace? Of course. strace. So, you log in as sogo user, and run the command as: strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/path/to/output.file And then send the output file to us (or share it somewhere). Before check the strace exists on your syístem. If not, this maybe helps: http://www.cyberciti.biz/faq/howto-installl-strace-under-freebsd/ [sogo@gw ~]$ pwd /var/db/sogo [sogo@gw ~]$ strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/var/db/sogo/output.file [sogo@gw ~]$ less output.file strace: open(/proc/..., ...): No such file or directory trouble opening proc file Did you see the link what I send above? The main parts are RED *WARNING!* These examples only work for i386 32 bit FreeBSD computer (strace is not ported to amd64 arch [64 bit]). Install strace First update FreeBSD ports collection and install strace from /usr/ports/devel/strace: # portsnap fetch update # cd /usr/ports/devel/strace # make install clean Mount /proc file system You need to mount /proc filesystem to use trace command under FreeBSD, enter: # mount -t procfs proc /proc I did. root@gw:/usr/home/wash # mount | grep proc procfs on /proc (procfs, local) root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/var/db/sogo/output.file outout.file contains: pread: Device busy pread: Device busy pread: Device busy pread: Device busy PIOCRUN: Input/output error trouble opening proc file -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-24 19:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 20:42, Szládovics Péter p...@szladovics.hu mailto:p...@szladovics.hu wrote: 2013-07-24 19:31 keltezéssel, Odhiambo Washington írta: On 24 July 2013 20:09, Szládovics Péter p...@szladovics.hu mailto:p...@szladovics.hu wrote: 2013-07-24 18:50 keltezéssel, Odhiambo Washington írta: On 24 July 2013 19:18, Szládovics Péter p...@szladovics.hu mailto:p...@szladovics.hu wrote: 2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu mailto:p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu mailto:p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/db/sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify [sogo@gw ~]$ TZ variable won't help. I no have it too, but all features are working fine without this error. Could you please give us a strace output? Any guideline on how to run the trace? Of course. strace. So, you log in as sogo user, and run the command as: strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/path/to/output.file And then send the output file to us (or share it somewhere). Before check the strace exists on your syístem. If not, this maybe helps: http://www.cyberciti.biz/faq/howto-installl-strace-under-freebsd/ [sogo@gw ~]$ pwd /var/db/sogo [sogo@gw ~]$ strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/var/db/sogo/output.file [sogo@gw ~]$ less output.file strace: open(/proc/..., ...): No such file or directory trouble opening proc file Did you see the link what I send above? The main parts are RED [Warning examples only works on i386 computer] *WARNING!* These examples only work for i386 32 bit FreeBSD computer (strace is not ported to amd64 arch [64 bit]). Install strace First update FreeBSD ports collection and install strace from /usr/ports/devel/strace: |# portsnap fetch update # cd /usr/ports/devel/strace # make install clean| Mount /proc file system You need to mount /proc filesystem to use trace command under FreeBSD, enter: |# mount -t procfs proc /proc| I did. root@gw:/usr/home/wash # mount | grep proc procfs on /proc (procfs, local) root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ strace
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
On 24 July 2013 21:07, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 19:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 20:42, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 19:31 keltezéssel, Odhiambo Washington írta: On 24 July 2013 20:09, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 18:50 keltezéssel, Odhiambo Washington írta: On 24 July 2013 19:18, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:55 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:53, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:49 keltezéssel, Odhiambo Washington írta: On 24 July 2013 16:44, Szládovics Péter p...@szladovics.hu wrote: 2013-07-24 15:08 keltezéssel, Odhiambo Washington írta: I have SOGoTimeZone = Africa/Nairobi; in sogo.conf, but that seems to be ignored. The platform is FreeBSD, if that matters. I think the tzselect maybe can help to you - some minimal linuxes is contain this command (in the libc-bin package). I think the bsd is contains too. In FreeBSD, we use tzsetup, which writes to /etc/locatime. My TZ setup is fine. This appears to be a SOGo issue, I am afraid. What's happen if you start the command from command line as sogo user? In my response to Christian, I have detailed it. I however copy paste again here: root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2013-07-24 13:02:31.663 sogo-ealarms-notify[17614] No local time zone specified. 2013-07-24 13:02:31.664 sogo-ealarms-notify[17614] Using time zone with absolute offset 0. However, if I specify the TZ enviroment variable, it doesn't complain: [sogo@gw ~]$ export TZ=Africa/Nairobi [sogo@gw ~]$ env SHELL=/usr/local/bin/bash TERM=linux USER=sogo FTP_PASSIVE_MODE=YES PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/var/db/sogo/bin MAIL=/var/mail/sogo BLOCKSIZE=K PWD=/var/db/sogo TZ=Africa/Nairobi SHLVL=1 HOME=/var/db/sogo _=/usr/bin/env [sogo@gw ~]$ /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify [sogo@gw ~]$ TZ variable won't help. I no have it too, but all features are working fine without this error. Could you please give us a strace output? Any guideline on how to run the trace? Of course. strace. So, you log in as sogo user, and run the command as: strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/path/to/output.file And then send the output file to us (or share it somewhere). Before check the strace exists on your syístem. If not, this maybe helps: http://www.cyberciti.biz/faq/howto-installl-strace-under-freebsd/ [sogo@gw ~]$ pwd /var/db/sogo [sogo@gw ~]$ strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/var/db/sogo/output.file [sogo@gw ~]$ less output.file strace: open(/proc/..., ...): No such file or directory trouble opening proc file Did you see the link what I send above? The main parts are RED *WARNING!* These examples only work for i386 32 bit FreeBSD computer (strace is not ported to amd64 arch [64 bit]). Install strace First update FreeBSD ports collection and install strace from /usr/ports/devel/strace: # portsnap fetch update # cd /usr/ports/devel/strace # make install clean Mount /proc file system You need to mount /proc filesystem to use trace command under FreeBSD, enter: # mount -t procfs proc /proc I did. root@gw:/usr/home/wash # mount | grep proc procfs on /proc (procfs, local) root@gw:/usr/home/wash # su - sogo [sogo@gw ~]$ strace /usr/local/GNUstep/Local/Tools/Admin/sogo-ealarms-notify 2/var/db/sogo/output.file outout.file contains: pread: Device busy pread: Device busy pread: Device busy pread: Device busy PIOCRUN: Input/output error trouble opening proc file Hmmm... Should be working... Could you please run it as root? Same result! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 I can't hear you -- I'm using the scrambler. -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-ealarms-notify - where does it read TZ from?
2013-07-02 13:01 keltezéssel, Odhiambo Washington írta: Hello, I have SOGoTimeZone = Africa/Nairobi; in sogo.conf I enabled sogo-ealarms-notify in my cron and it keeps sending these: 2013-07-02 11:03:02.314 sogo-ealarms-notify[21090] No local time zone specified. 2013-07-02 11:03:02.334 sogo-ealarms-notify[21090] Using time zone with absolute offset 0. Do I need to specify the TZ in another file? The reason of the problem: sogo-ealarms-notify doesn't use that sogo.conf variable, just finds the /etc/timezone and/or /etc/sysconfig/clock files, but they not exist on FreeBSD. I think it's a minor bug, because it found the /etc/localtime file, but don't use it's contents... Part of trace output: ... access(/etc/timezone,4) ERR#2 'No such file or directory' access(/etc/sysconfig/clock,4) ERR#2 'No such file or directory' stat(/etc/localtime,{ mode=-r--r--r-- ,inode=17310898,size=253,blksize=16384 }) = 0 (0x0) lstat(/etc,{ mode=drwxr-xr-x ,inode=17310720,size=3072,blksize=16384 }) = 0 (0x0) lstat(/etc/localtime,{ mode=-r--r--r-- ,inode=17310898,size=253,blksize=16384 }) = 0 (0x0) stat(/etc/GMT,0xbfbfe91c) ERR#2 'No such file or directory' When we created the /etc/timezone file by hand with correct content (like the sogo.conf setting above), the error message has gone. I think the inverse team need to handle this in FreeBSD port of sogo. smime.p7s Description: S/MIME kriptográfiai aláírás
[SOGo] BTS activities for Wednesday, July 24 2013
Title: BTS activities for Wednesday, July 24 2013 BTS Activities Home page: http://www.sogo.nu/bugs Project: SOGo For the period covering: Wednesday, July 24 2013 idlast updatestatus (resolution)categorysummary 2373 2013-07-24 05:32:34 new (open) Web Calendar red time marker in calendar shows wrong time