procmail
[Top] [All Lists]

Re: Ways to add new features

2005-11-13 16:16:17
Volker Kuhlmann:
[attribution repaired] Gary Funck:

Rather than debating _how_ to add a feature, maybe we could
discuss _which_ features should be added, as well?

* date as far as year, month, day, hour, min, sec, epoch seconds
  (a set of variables preset at procmail startup?)

Add mktime, to calculate the epoch seconds of the date in any header.


* parsing Nth header, so one can look at received: the without doing
  the whole job with awk in the first place

That is easy to do with current procmail.


* DNSBL lookups

The status of the delivering server could be given to procmail at the
start, but it gets a little more difficult when the servers inside the
URLs in the body need to be checked for country (based on IP-nr-ranges).


* handling encoding specifications in headers - they tend to just
  throw everything

Unicode should be used where possible, but hidden where not needed.
The default encoding for .procmailrc4 could be ISO-8859-1, with an
option to change that to something like UTF-8 or UTF-16.
See also iconv(1).

-- 
Grtz, Ruud


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>