Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th November 2010, 13:12
precessionone precessionone is offline
Junior Member
 
Join Date: Nov 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Default block all outgoing email except one Virtual Domain

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.


Thanks
Reply With Quote
Sponsored Links
  #2  
Old 17th November 2010, 14:15
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,036
Thanks: 268
Thanked 153 Times in 133 Posts
Default

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

Quote:
(discard) domain XYZ.TLD to send email with postfix use this in the /etc/postfix/header_checks

/^From: .*@XYZ\.TLD>/ DISCARD
Make sure that you restart postfix after addin the domain(s)
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 20th November 2010, 13:09
precessionone precessionone is offline
Junior Member
 
Join Date: Nov 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default Re: header_checks

Thanks, edge.

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

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain not able to receive outside mail jtheed Installation/Configuration 2 23rd October 2010 13:46
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 03:39
Email and domain grant-skywalker Installation/Configuration 1 1st December 2006 06:44
Email sent to domain being rejected Lil'Brudder Installation/Configuration 9 25th October 2005 11:17
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 02:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.