I have problem with user settings for spamc. 

I have looked to perl code, but I don't understand it. I have added this
to code of spamassasin function.


  #Cleanup $one_recip so it's usable from the commandline...
  #any char that isn't supported to changed into an '_'
  ($cmdline_recip=$one_recip)=~s/[EMAIL PROTECTED]/_/gi;
  &debug("SA: cmdline_recip $cmdline_recip");
  $cmdline_recip=~/^([EMAIL PROTECTED])$/i;
  &debug("SA: cmdline_recip $cmdline_recip");
  &debug("SA: S1 $1");
  $cmdline_recip=tolower($1);
  &debug("SA: cmdline_recip $cmdline_recip");

and this appears in log file:

Út, 09 zář 2003 09:34:35 +0200:12100: SA: cmdline_recip [EMAIL PROTECTED]
Út, 09 zář 2003 09:34:35 +0200:12100: SA: cmdline_recip [EMAIL PROTECTED]
Út, 09 zář 2003 09:34:35 +0200:12100: SA: S1 
Út, 09 zář 2003 09:34:35 +0200:12100: SA: cmdline_recip 


It seams to me that problem is in $1 variable. Can you any explain me,
how it should work right?

I use RH 7.3, perl-5.6.1-34.99.6

Pavel

-- 
Pavel Lisy <[EMAIL PROTECTED]>
T-MAPY spol. s r.o.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to