V Út, 09. 09. 2003 v 10:39, Pavel Lisy píąe:
> V Út, 09. 09. 2003 v 09:31, Davide Giunchi píše:
> > (i've send this mail to the qs author, but as he doesn't respond i've sent it 
> > here)
> > 
> > This bug prevent qs from pass the recipient address to spamc via the -u  
> > options.
> > In the sub-spamassassin.pl file at the line 15:
> > 
> > $cmdline_recip=~/^([EMAIL PROTECTED])$/i;
> > 
> > maybe it's a typo error, the second ^ puts in the cmdline_recip everithing 
> > that is not from an email address, so $cmdline_recip will not contain the 
> > recipient, if i sobstitute it with:
> > 
> > $cmdline_recip=~/^([EMAIL PROTECTED])$/i;
> > 
> > everithing works good.
> I'm working on the same problem right now, I changed it to
> 
> $cmdline_recip=~/^([0-9a-z\.\_\-\=\+]+)@[^0-9a-z\.\_\-\=\+]*$/i;
> 
> this means
> match everythink before @
> 
> Because cmdline_recip looks like
> SA: cmdline_recip [EMAIL PROTECTED]
> 
> AND spamc -f -u "[EMAIL PROTECTED]" did'n work
> 
> BUT spamc -f -u "user" works right
> 
> 
> Jason, can you correct it in Q-S code? I hope that @ must be in
> cmdline_recip allways, am I rigth? If not correct me please.

I hope this will work in this case:

  $cmdline_recip=~/^([0-9a-z\.\_\-\=\+]+)[EMAIL PROTECTED]/i;

> 
> 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