HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Proxy server to filter all external MX incoming emails! (http://www.howtoforge.com/forums/showthread.php?t=50857)

makensy13 9th January 2011 11:02

Proxy server to filter all external MX incoming emails!
 
Hello,

How does it take to configure the SMTP server to reject all mail that does not come from an external server dedicated.

Explanation:

I would use a proxy server to filter all external MX incoming emails.

I'm stuck because I do not know or configure it.

Thank you for your help.

Sincerely,

makensy13 9th January 2011 18:51

Hello,

I replied, hoping that this is ok.

I modified the file "master.cf"as follows:

smtpd_helo_restrictions= permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, reject

and I add the proxy server name MX section "network" in the file "main.cf" as follows:

mynetworks = 127.0.0.0/8 [::1]/128, my_serverproxymx

thank you let me know if this is correct.

Sincerely,


All times are GMT +2. The time now is 12:16.

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