- %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 (%).
- %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
So for example, if /vhome/users/%u/spamassassin
is specified, and spamc sends a virtual username of jm@example.com
, the directory /vhome/users/jm@example.com/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 auto-whitelist and/or 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).
No comments:
Post a Comment