# $Id: Portfile 95110 2012-07-05 20:52:39Z mww@macports.org $ PortSystem 1.0 name proxsmtp version 1.2 categories mail platforms darwin license BSD maintainers nomaintainer description ProxSMTP is a filtering SMTP proxy daemon long_description ProxSMTP is a flexible tool that allows you to reject, \ change or log email based on arbitrary critera. It accepts \ SMTP connections and forwards the SMTP commands and responses \ to another SMTP server. The 'DATA' email body is intercepted \ and filtered before forwarding. homepage http://memberwebs.com/nielsen/software/proxsmtp/ master_sites ${homepage} checksums md5 59daa6a81ccad7a31234a0a125522b2c configure.args --mandir=${prefix}/share/man post-destroot { xinstall -m 755 -d ${destroot}${prefix}/var/run xinstall -m 644 ${worksrcpath}/doc/proxsmtpd.conf \ ${destroot}${prefix}/etc/proxsmtpd.conf.sample } destroot.keepdirs ${destroot}${prefix}/var/run set pidfile ${prefix}/var/run/proxsmtpd.pid startupitem.create yes startupitem.name ProxSMTP startupitem.start \ "if \[ -r ${prefix}/etc/proxsmtpd.conf \]; then ${prefix}/sbin/proxsmtpd -p ${pidfile} -f ${prefix}/etc/proxsmtpd.conf fi" startupitem.stop \ "if \[ -r ${pidfile} \]; then kill \$(cat ${pidfile}) fi"