OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Fredrik Ohrn (ohrn_at_chl.chalmers.se)
Date: Mon Sep 02 2002 - 14:31:18 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Sun, 1 Sep 2002, Fredrik Ohrn wrote:

    >
    > aaamydomain is allowed to send mail to bbbmydomain but
    > cccmydomain is NOT allowed to send mail to bbbmydomain
    >
    > I have read through the UCE control documentation but haven't managed to
    > figure out a way to enforce this in postfix.
    >
    > Is it possible to write rules to this effect? If not, can anyone recommend
    > a (simple) filter or other addon that can enforce this?
    >
    > (Yes, I know the sender address is easily forged but for our needs it will
    > be sufficient to rely on it to be correct.)
    >
    > All suggestions are greatly appreciated.
    >

    Well, I finally found out about smtpd_restriction_classes on
    http://www.stahl.bau.tu-bs.de/~hildeb/postfix/restriction_classes.shtml
    and used it as the glue between the sender and recipient checks.

    If I may make a suggestion, smtpd_restriction_classes ought to be
    mentioned on the UCE controls page and in the access man page.

    Regards,
    Fredrik

    -- 
       "It is easy to be blinded to the essential uselessness of computers by
       the sense of accomplishment you get from getting them to work at all."
                                                       - Douglas Adams
    

    Fredrik Öhrn Chalmers University of Technology ohrnchl.chalmers.se Sweden

    - To unsubscribe, send mail to majordomopostfix.org with content (not subject): unsubscribe postfix-users