# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 67071 2010-04-28 11:19:47Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Mail-SRS 0.31
maintainers         hostwizard.com:scott

description         Mail::SRS - Interface to Sender Rewriting Scheme

long_description    The Sender Rewriting Scheme preserves .forward \
                    functionality in an SPF-compliant world. \
                    \
                    SPF requires the SMTP client IP to match the envelope \
                    sender (return-path). When a message is forwarded through \
                    an intermediate server, that intermediate server may \
                    need to rewrite the return-path to remain SPF compliant. \
                    If the message bounces, that intermediate server needs to \
                    validate the bounce and forward the bounce to the \
                    original sender. \
                    \
                    SRS provides a convention for return-path rewriting which \
                    allows multiple forwarding servers to compact the \
                    return-path. \
                    SRS also provides an authentication mechanism to ensure \
                    that purported bounces are not arbitrarily forwarded. \
                    \
                    SRS is documented at http://spf.pobox.com/srs.html and \
                    many points about the scheme are discussed at \
                    http://www.anarres.org/projects/srs/ \
                    \
                    For a better understanding of this code and how it \
                    functions, please read this document and run the \
                    interactive walkthrough in eg/simple.pl in this \
                    distribution. \
                    To run this from the build directory, type \"make teach\".

checksums           md5     1440999563a7b25d5fb03204b03e1060 \
                    sha1    52e536cf796a9d1a83e6b685dbd1d5b8e6944c88 \
                    rmd160  5f91268b1f231050b0b047659c4c4f4e932a1d50

platforms           darwin

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}
