Quoting Josh Trutwin <[EMAIL PROTECTED]>:

> 
> > Isnt this what this in the CHANGES for rc1 is? 
> 
> My bad, I haven't been paying attention to the 1.1.20rc posts.
> 
> > * SpamAssassin now sets the spamc "username" field to the recipient
> address.
> > This only happens if there is ONE recipient. If a spammer sends a spam to
> 20
> > local users in one SMTP session, then no user-specific SA rules will
> > apply, but all the general SA rules still do of course. Note: As spamc
> > must be passed the recipient address on the commandline, Q-S has to strip
> > back the e-mail address to shell-friendly chars - this should be fine for
> > 99.9% of your e-mail addresses, but may mean that the more odd addresses
> won't
> > be able to access their user-specific SA options. The address is also
> lowercased
> > before being passed to spamc. Note that all this has no effect on the
> recipient
> > address of the e-mail - just the address used for "spamc -u ..."
> 
> I suppose I should just go get the RC and play with it.  Does it pass only
> the username part of the email to spamc?  I have virtual users with vmailmgr,
> my spamc usernames are full email addresses, so I use spamc -u
> [EMAIL PROTECTED], not spamc -u joe.  It was an easy mod to the perl code to
> accomplish this so I'm not too concerned.
> 
> Thx,
> 
> Josh
> 
> 
> 
> -------------------------------------------------------
> 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
> 

I had used the patch which at last I saw was for 1.15 or 1.16 im not sure which
let you define whether it passed the entire domain or the just the username. I
believe it asked you to define a vpopmail domain, which basically just allowed
for the ablility to decide whether to strip the domain or not. This would also
work for vmailmgr as most likely with sql based preferences for virtual domains
you would use the entire email address. As we are running vpopmail without any
local users recieving email it was never really a problem for us as all users
are virtual.

I am not sure as to the exact functionality in regards to virtual address space
in CHANGES listed above as I have not had the oportunity to look through the
code. But my guess from what it says up there is that it is the entire email
address. I think there was a more advanced patch which actually queried vpopmail
for the list of domains, but required some additional perl libraries to talk to
vpopmail.

-Rich


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