strano comportamento di grep
Ho notato che in evolution-1.5 non mi funziona piu' la funzionalita' di
junk.
avviandolo da console ho questi messaggi
***********************************************************
camel_junk_plugin_check_junk
em_junk_sa_check_junk
pipe_to_sa spamassassin --version
pipe_to_sa /bin/sh -c ps ax|grep -v grep|grep -E
'spamd.*(\-L|\-\-local)'|grep -
E -v '\ \-p\ |\ \-\-port\ '
there's no system spamd with -L/--local parameter running
test if spamd is running (port 7830) using spamc
pipe_to_sa spamc -x -p 7830
test if spamd is running (port 7830) using /usr/sbin/spamc
pipe_to_sa /usr/sbin/spamc -x -p 7830
program not found, returning -1
looks like spamd is not running
trying to run spamd at port 7830
pipe_to_sa spamd --port 7830 --local --daemonize
program not found, returning -1
looks like spamd is not running
trying to run /usr/sbin/spamd at port 7830
pipe_to_sa /usr/sbin/spamd --port 7830 --local --daemonize
success at port 7830
test if spamd is running (port 7830) using spamc
pipe_to_sa spamc -x -p 7830
use spamd 1 at port 7830 with spamc
pipe_to_sa spamc -c -p 7830
junk filter => *JUNK*
********************************************
eguendo da console l'istruzione sotto non restituisce niente anche se spamd
e' in esecuzione
gnomo@arcadia:~$ ps ax | grep -v grep | grep -E 'spamd.*(\-L|\-\-local)'|
grep -E -v '\ \-p\ |\-\-port\ '
questa invece funzionagnomo@arcadia:~$ ps ax | grep -v grep | grep -E
'spamd.*(\-L|\-\-local)'| grep -E -v '\ \-p\ |\-\-por\ '
2271 ? SNs 0:00 /usr/sbin/spamd -L -c -m 10 -H --port 783 -d
--pidfile=/var/run/spamd.pid
l'unica cosa di diversa e' questa parte \-\-por\ ' invece che \-\-port\ '
la mai versione di grep e'
gnomo@arcadia:~$ grep --version
grep (GNU grep) 2.5.1
a voi che dice? mi sfugge qualcosa o e' un baco di grep?
ciao
.yo.mo. che non sa proprio come verra' formatata questa mail :(
_________________________________________________________________
Ricerche online più semplici e veloci con MSN Toolbar!
http://toolbar.msn.it/
Reply to: