Re: [Qmail-scanner-general] FW: FW: Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread Jason Haar
Set export LANG=C at the top of /service/smtp/run and restart the service. The problem is that environment variable needs to be fiddled with before qmail-scanner-queue.pl gets called. Jason -- Cheers Jason Haar Corporate Information Security Manager, Trimble Navigation Ltd. Phone: +1 408 481

Re: [Qmail-scanner-general] FW: FW: Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread Alessio Cecchi
Hi, I'm running the latest version of Q-S 2.11 and this is the cose inside my version: #Set locale to "en_US" (English). That way any string checks on forked apps #will tend to be in English - standardizing regex matches my $orig_locale=$ENV{'LC_ALL'}; $ENV{'LC_ALL'}= $ENV{'LANG'} = $ENV{'LANGU

[Qmail-scanner-general] FW: FW: Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread Scott Chandler
What version of qmail-scanner are you running? I am running a really old version of 2.01st and the Setlocale function is right at the top of the qmail-scanner.pl program. Here is what is looks like on mine. my $orig_locale=$ENV{'LC_ALL'}; $ENV{'LC_ALL'}= $ENV{'LANG'} = $ENV{'LANGUAGE'} = 'C'; POSI

Re: [Qmail-scanner-general] FW: Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread mizzio
tried also that with no luck: [root@mail ~]# cat /etc/sysconfig/i18n LANG="en_US.UTF-8" SYSFONT="latarcyrheb-sun16" [root@mail ~]# echo $LANG en_US.UTF-8 Il 11/02/2015 17:03, Scott Chandler ha scritto: > > The fourth line in the log entry you posted shows that the error is coming > from sh: . T

[Qmail-scanner-general] FW: Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread Scott Chandler
The fourth line in the log entry you posted shows that the error is coming from sh: . This is the program that is generating the error message. Have you tried looking at this website: http://blog.earth-works.com/2014/02/10/fixing-lc-locale-issues-in-centos-and -rhel/ This site talks about the sh

Re: [Qmail-scanner-general] Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread mizzio
Ciao Alessio, I have been trying to fix the same behaviour on my centos 6 qmail box with no luck at all. All the settings related to LANG, LC_ALL have no effect on this error in the log. The good news is that everything is working fine and this error that shows up in the logs doesn't seem to in

[Qmail-scanner-general] Error "setlocale: LC_ALL" on CentOS

2015-02-11 Thread Alessio Cecchi
Hi, I'm migrating from Debian 6 to Centos 6 my qmail box. All works fine but when a new email arrives in the log I found these error: @400054db31fc102c3c64 tcpserver: status: 1/300 @400054db31fc102db364 tcpserver: pid 15154 from 192.168.4.1 @400054db31fc1030dfe4 tcpserver: ok 15154 0