RE: smtpd_restriction_classes Question

From: KENNEDY VAN DAM Eric (no email)
Date: Tue Mar 06 2007 - 04:21:50 EST

  • Next message: Josef Karthauser: "Re: virtual_mailbox_maps appears to be ignored."

    > >
    > >
    > > Server1 _
    > > Server2 _\ _______ Internal-Mail-server
    > > Server3 __\______ Internal-relay _/
    > > Server4 __/ \_______ External-Relay
    > > Server5 _/
    >
    > Is "Internal-relay" a postfix system? Then you can still
    > achieve this with
    >
    > mynetworks = !Server2, !Server3, !Server5, server-subnet/24
    >
    > smtpd_recipient_restrictions = permit_mynetworks
    > reject_unauth_destination
    >
    > on that system. Your internal domain must be in relay_domains. Then
    > Servers 2, 3 and 5 will be able to mail internally, Server1
    > and 4 will be
    > able to send to the internet.
    >
    > I would not use sender addresses for that because these can
    > easily be forged.
    >
    > Regards, Jan
    >
    >

    Ok, I see. I need to modify my configuration as well. Still one
    question:

    Can I define 2 files in mynetworks like this :

     mynetworks = !hash:/etc/postfix/insiders, hash:/etc/postfix/outsiders

    With Ip adresses in the files ?

    Will this work or should I define
     mynetworks = hash:/etc/postfix/insiders , hash:/etc/postfix/outsiders
    With "!ip_addresses" in the insiders file and "ip_adresses" in the
    outsiders file ?

    Thanks for your help.

    -- 
    Kennedy van Dam Eric
    Unix/Storage Team
    Phone: +32 (0)2 529 3375
    Mail: 
     
     
    

  • Next message: Josef Karthauser: "Re: virtual_mailbox_maps appears to be ignored."





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD