Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th August 2009, 16:35
zburns zburns is offline
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Transport Based on Domain

I'm running ISPConfig 3 with Postfix and love it.

I've been asked to create a domain that people can log into from a remote location, but only send and receive email to that domain. Only this domain should be affected (external email to this domain should bounce and also external smtp from this domain to another domain should be prohibited). Yeah - it's stupid - but so is the management that came up with this scheme (I fought them on this for hours)!

I saw a "mail_transport" table, but didn't see any reference to that in the docs. Can a guru help me out with some suggestions to handle this?

Zack
Reply With Quote
Sponsored Links
  #2  
Old 12th August 2009, 16:37
zburns zburns is offline
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Oh and something else

What if I have a list of trusted domains that I would like to allow to email any or all users of this "restricted" domain. Could that be possible.

Any everything is running on this one server - so I can't make any general postfix setting that affect our working domains.

Zack
Reply With Quote
  #3  
Old 13th August 2009, 08:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
Originally Posted by zburns View Post
I'm running ISPConfig 3 with Postfix and love it.

I've been asked to create a domain that people can log into from a remote location, but only send and receive email to that domain. Only this domain should be affected (external email to this domain should bounce and also external smtp from this domain to another domain should be prohibited). Yeah - it's stupid - but so is the management that came up with this scheme (I fought them on this for hours)!

I saw a "mail_transport" table, but didn't see any reference to that in the docs. Can a guru help me out with some suggestions to handle this?

Zack
Just click on Email routing > add transport in the ISPConfig mail module to add a new transport.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 13th August 2009, 08:56
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,457
Thanks: 813
Thanked 5,240 Times in 4,108 Posts
Default

Quote:
Originally Posted by zburns View Post
What if I have a list of trusted domains that I would like to allow to email any or all users of this "restricted" domain. Could that be possible.

Any everything is running on this one server - so I can't make any general postfix setting that affect our working domains.

Zack
Never allow mail sending based on domians, this will open up your server for spammers as sender domains can be easily forged. Use smtp-auth instead.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 13th August 2009, 15:16
zburns zburns is offline
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Till,

Thanks.

> Just click on Email routing > add transport in the ISPConfig mail module to add a new transport.

Is there information on what this is really doing - ie. how does it work? I'm not entirely sure what the result of this action will be.

Zack
Reply With Quote
  #6  
Old 15th September 2009, 15:14
zburns zburns is offline
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Question I think I'm missing something

Really what I want is:

If you are domain xxx and attempting to send outbound, then deny, or try to deliver locally, if failure send back a message stating why.

If you are an outside domain attempting to send to domain xxx, then deny regardless.

Is this what transport tables will do for me?

Zack
Reply With Quote
Reply

Bookmarks

Tags
postfix, prevent domain, transport

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
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 09:58
postfix: "unknown user" with mysql auth. Kruser Server Operation 3 18th June 2009 18:20
CentoS doesn't send the emails vaio1 Installation/Configuration 18 5th November 2008 17:51
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Rejected e-mail (unknown user) w/Postfix doronkeller HOWTO-Related Questions 9 27th January 2008 20:09


All times are GMT +2. The time now is 06:08.


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