block all outgoing email except one Virtual Domain

Discussion in 'Installation/Configuration' started by precessionone, Nov 17, 2010.

  1. precessionone

    precessionone New Member

    Hey guys,

    Great job. I tried ISPConfig 3, liked it, so I subscribed.

    I am now using it as the ISP in my development network.

    The development network has NAT gateway with resolvable public fqdn.
    The internal network uses a private address range and fictitiuos TLD.

    I want to block all outgoing mail, at the ISPConfig(ed) server, except for one Mail Virtual Domain which is publicly resolvable.

    How can I do this with ISPCOnfig 3 or do I need to edit the postfix configuration directly?

    I have the option of doing this at the gateway, but I would prefer to do it with postfix on the ISP server.

  2. edge

    edge Active Member Moderator

    I'm doing this with "header_checks" in /etc/postfix/

    Make sure that you restart postfix after addin the domain(s)
  3. precessionone

    precessionone New Member

    Re: header_checks

    Thanks, edge.

    I will look into this and let you know how I go.

Share This Page