1 |
# |
2 |
# TODO: |
3 |
# - more sophisticated filtering |
4 |
# - configuration-comfort (use perl-arrays and -hashes for rule-declaration) |
5 |
# - Html-Gui to add/edit/remove rules |
6 |
# - rule base located in LDAP (local delivery routing) |
7 |
# - completely hide away regex-stuff and provide simpler wildcarding |
8 |
# - hide needed quoting of dots (.) and ats (@) in addresses |
9 |
# - provide: beginsWith(string), endsWith(string), beginsAt(string, pos|regex) |
10 |
# - this could become a CPAN-module sometimes (?): |
11 |
# - "String"-Object to be inherited from gives these methods to you |
12 |
# - examples: |
13 |
# - routeTo("mbox:/path/to/mbox") if $to->beginsWith("hello"); |
14 |
# - routeTo("fax:+4930123456") if $subject->contains("gatefax"); |
15 |
# - metadata: |
16 |
# - add some info about the context we are running in: |
17 |
# - console |
18 |
# - sendmail/normal |
19 |
# - sendmail/smrsh |
20 |
# - add some info about the user we are doing this for: |
21 |
# - username |
22 |
# - home-directory |
23 |
# |