Name: mess822 Summary:mess822 is a library for parsing Internet mail messages. Version: 0.58 Release: 1 Group: Utilities/System Source0: ftp://koobera.math.uic.edu/pub/software/mess822-0.58.tar.gz URL: http://pobox.com/~djb/mess822.html Copyright: Check with djb@koobera.math.uic.edu Buildroot: /tmp/mess822-root Packager: mw@moni.msci.memphis.edu Requires: qmail %description mess822 is a library for parsing Internet mail messages. The mess822 package contains several applications that work with qmail: * ofmipd rewrites messages from dumb clients. It supports a database of recognized senders and From lines, using cdb for fast lookups. * new-inject is an experimental new version of qmail-inject. It includes a flexible user-controlled hostname rewriting mechanism. * iftocc can be used in .qmail files. It checks whether a known address is listed in To or Cc. * 822header, 822field, 822date, and 822received extract various pieces of information from a mail message. * 822print converts a message into an easier-to-read format. mess822 supports the full complexity of RFC 822 address lists, including address groups, source routes, spaces around dots, etc. It also supports common RFC 822 extensions: backslashes in atoms, dots in phrases, addresses without host names, etc. It extracts each address as an easy-to-use string, with a separate string for the accompanying comment. mess822 converts RFC 822 dates into libtai's struct caltime format. It supports numeric time zones, the standard old-fashioned time zones, and many nonstandard time zones. mess822 is fast. For example, extracting 10000 addresses from a 160KB To field takes less than a second on a Pentium-100. %prep %setup %build make %install INST_ROOT=$RPM_BUILD_ROOT /bin/rm -rf $INST_ROOT mkdir -p $INST_ROOT/usr/local sed "s}/usr/local}$INST_ROOT/usr/local}" conf-home > conf-home.tmp mv conf-home.tmp conf-home make install ./install make instcheck ./instcheck %clean INST_ROOT=$RPM_BUILD_ROOT /bin/rm -rf $INST_ROOT %files %doc BLURB CHANGES INSTALL README %doc THANKS TODO VERSION /usr/local/bin/* /usr/local/man/*/* /usr/local/include/* /usr/local/lib/*