On Thu, 14 Dec 2006, Theo Van Dinter wrote:

As an aside, part of this is why I had asked for (a while back) a way to specify the "domain" portion of the -u argument, i.e. so it could be done per-calling server (i.e. it is assumed that if shell server A and shell server B, each with a distinct user-base are sharing a spamd machine, then their user bases will have prefnames derived from the hostnames of A and B.) -- regardless of the email address used.

i.e. localusername @ suffix (where the suffix is supplied to spamc in some global config file, and the localusername is automatic). Knowing how to do this (get the current username) in procmail (without firing up perl or even SED -- I could call a binary like "whoami" but that's a bit less universal) would also make THIS mostly unnecessary.

Again, this is not at all based on email address (except in the case of emails like mine, where my address accurately reflects the FQDN of the calling server -- but then I've always been the exception rather than the rule), but on UID and HOSTNAME.

The servers in question have 400 uids each, two hostnames, and potentially MILLIONS of email addresses, especially in a dictionary attack, where the user has a catch-all account. Which does it make sense to modify stats by?

--

"I am a professional drinker, and I know that that was NOT Jose Cuervo!"

"Well, what was it then?"

"I think it was some mixture of Rubbing Alcohol, and Desenex(TM) Foot
Powder, because my feet feel okay, and my back doesn't hurt, but my
stomach is killing me!"

-Dan Mahoney, Costa Rica, August 12th, 1994

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------

Reply via email to