On Tue, 09 Sep 2003 10:39:52 +0200
Pavel Lisy <[EMAIL PROTECTED]> wrote:

> 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

But in my case where I use vmailmgr, the first method is what I would need to pass the 
username to spamd.  Perhaps this should be an option in a config file or a compile 
time option?  --with-full-email-addr-to-spamd?

Josh

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


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