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