HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Transport Based on Domain (http://www.howtoforge.com/forums/showthread.php?t=38162)

zburns 12th August 2009 16:35

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

zburns 12th August 2009 16:37

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

till 13th August 2009 08:55

Quote:

Originally Posted by zburns (Post 200925)
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 13th August 2009 08:56

Quote:

Originally Posted by zburns (Post 200926)
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.

zburns 13th August 2009 15:16

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

zburns 15th September 2009 15:14

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:confused:


All times are GMT +2. The time now is 00:07.

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