raymond breen wrote:> Hi Guys,
>
> Just recently installed shorewall and had it up and running in no time
> with the basic config. I have installed and configured sendmail and
> would like to use it as a relay to our internal exchange server. I
> have setup the relay domains and domain routing so sendmail should be
> sorted out.
Based on my interpretation of the above paragraph - sendmail is running on
your firewall. Correct? If so, the rules you have listed below make no
sense. If sendmail is properly configured to relay all inbound e-mail to
your exchange server, then DNAT rules would not needed.
>
> I have setup the following rules but and not got any errors besides a
> refused connection when I receive email, seeing as this is a live
> firewall and live mail, I don''t want to be taking it up and down
like
> a yoyo, nevermind potentially loosing mail, so any advice would be
> greatly appreciated guys :)
>
> # Allow inbound e-mail from internet to sendmail server.
> DNAT net fw:10.1.1.77 tcp smtp
If sendmail is running on your firewall...
Try: ACCEPT net fw tcp smtp
>
> # Allow inbound e-mail to be relayed to exchange
> #ACCEPT net loc:10.1.1.254 tcp smtp
If sendmail is running on your firewall...
Try: ACCEPT fw loc tcp smtp
>
> # Allow sendmail to send DSN''s
> ACCEPT fw net tcp smtp
>
> Ray
> _______________________________________________
> Shorewall-users mailing list
> Post: Shorewall-users@lists.shorewall.net
> Subscribe/Unsubscribe:
> https://lists.shorewall.net/mailman/listinfo/shorewall-users Support:
> http://www.shorewall.net/support.htm
> FAQ: http://www.shorewall.net/FAQ.htm