OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ralf Hildebrandt (Ralf.Hildebrandt_at_charite.de)
Date: Tue Aug 06 2002 - 06:59:07 CDT

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

    On Tue, Aug 06, 2002 at 12:55:19PM +0200, R?khar?ur Egilsson wrote:

    > I am looking for a solution that blocks incoming mail if :
    >
    > a) It is from networks that are *not* in mynetworls and

    smtpd_recipient_restrictions =
       permit_mynetworks
       reject_unauth_destination
       check_sender_access hash:/etc/postfix/disallow_my_domain
       ...

    in /etc/postfix/disallow_my_domain:

    oecd.org REJECT My domain from the outside?

    > b) It is either:
    > b.1) MAIL FROM <someonebiodef.org>
    > or
    > b.2) The header says "^From: .*biodef.org"

    header_checks apply to all mail, regardless incoming or outgoing.
    That means you would need two smtpd's that use two different
    cleanup's, one of which DOES use header_checks (the external) and one
    of which does not (internal).

    -- 
    Ralf Hildebrandt (Im Auftrag des Referat V A)   Ralf.Hildebrandtcharite.de
    Charite Campus Virchow-Klinikum                 Tel.  +49 (0)30-450 570-155
    Referat V A - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
    MMDF: A jumped up mailroom boy with a chip on his shoulder. Loves the
    bureaucracy and takes great pride in stamping "illegal address" in red
    ink on any mail it passes. Unpacks all the mail and repacks it in his
    own special envelopes before delivery to end users.  
    

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