Name: qpsmtpd-plugin-check_text Version: 215 Release: 1 Packager: hjp@hjp.at Summary: plugin for qpsmtpd to reject mails without text License: distributable Group: System Environment/Daemons URL: http://smtpd.develooper.com/ BuildRoot: %{_tmppath}/%{name}-root Source0: %{name}.tar.gz BuildArch: noarch Requires: qpsmtpd-plugin-cf_wrapper >= 173 %description This plugin checks whether incoming mails contain "text", where "text" is currently defined as a non-empty text/plain part, a text/html part containing some text or an encrypted part. Mails without text can be rejected on a per-recipient basis. %prep %setup -q -c %{name} %build %clean rm -rf $RPM_BUILD_ROOT %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/share/qpsmtpd/plugins cp check_text $RPM_BUILD_ROOT/usr/share/qpsmtpd/plugins [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress %files %defattr(-,root,root) /usr/share/qpsmtpd/plugins/check_text %changelog * Sat Sep 02 2006 215-1 - Fixed parsing of HTML parts. * Wed Jul 26 2006 188-1 - Added documentation. - Strip leading and trailing space to catch messages containing only whitespace. * Fri May 05 2006 182-1 - First RPM package.