https://issues.apache.org/SpamAssassin/show_bug.cgi?id=2555
Kevin A. McGrail <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|Future |3.4.0 --- Comment #8 from Kevin A. McGrail <[email protected]> 2012-01-18 22:14:26 UTC --- (In reply to comment #7) > Kevin, > > yes, you are right - this patch works with approximately 20,000 emails since > 2003 per day. The default behaviour of spamassassin is retained, as the new > code is only used if the newly introduced "%x" replacement appears in the > configured directory. > > I would be happy to provide additional documentation if you could point me to > the appropriate section. I'm targeting this for 3.4.0. It won't block the release and I would like some votes on it but first, I need to see documentation. >From reviewing your patch, it changes the behavior of the --virtual-config-dir So that is the documentation to change, I believe. Specifically: --virtual-config-dir=pattern This option specifies where per-user preferences can be found for virtual users, for the -x switch. The pattern is used as a base pattern for the directory name. Any of the following escapes can be used: %u -- replaced with the full name of the current user, as sent by spamc. %l -- replaced with the 'local part' of the current username. In other words, if the username is an email address, this is the part before the "@" sign. %d -- replaced with the 'domain' of the current username. In other words, if the username is an email address, this is the part after the "@" sign. %% -- replaced with a single percent sign (%). So for example, if "/vhome/users/%u/spamassassin" is specified, and spamc sends a virtual username of "[email protected]", the directory "/vhome/users/[email protected]/spamassassin" will be used. The set of characters allowed in the virtual username for this path are restricted to: A-Z a-z 0-9 - + _ . , @ = All others will be replaced by underscores ("_"). This path must be a writable directory. It will be created if it does not already exist. If a file called user_prefs exists in this directory (note: not in a ".spamassassin" subdirectory!), it will be loaded as the user's preferences. The Bayes databases for that user will be stored in this directory. Note that this requires that -x is used, and cannot be combined with SQL- or LDAP-based configuration. The pattern must expand to an absolute directory when spamd is running daemonized (-d). Currently, use of this without -u is not supported. This inhibits setuid. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
