Need Advice; 3 NIC's; High Volume Mail Server; Sendmail; Iptables?
:Pengy:Good day:Pengy:
Hello again to the linux questions community. I am seeking advice as to how I should set up a High Volume Mail Server with sendmail. The unit has 3 Intel 1000 Pro NIC's that I have already set up, and are working fine as far as connectivity is concerned. Two of them have static addresses, and one (that I use for administrative duties only) is DHCP. Perhaps in the future I'll set it up as a failsafe device. Here is the desired outcome. I would like to set up the machine so one of the NIC's exclusively sends mail to the outside relay. I dont want it to accept any traffic aside from whatever is needed for reverse dns lookups (if any?). The second NIC I would like to accept incoming SMTP connections. I have already put a line in my .mc reading Code:
DAEMON_OPTIONS(`Port=smtp,Addr=IP_ADDR, Name=MTA')dnl Any advice that you are willing to give, I'll listen to. Thanks, Dylan |
U R on track : DAEMON_OPTIONS(`Port=smtp,Addr=IP_TO_LISTEN_ON, Name=MTA')dnl should B enough. But if I were U I would drop port 25 traffic on the other eths using iptables. Good luck!
|
Thanks a bundle =D
|
Quote:
Also remember to restrict relaying through the /etc/mail/access. Quote:
Routing of any internet protocol traffic is done by the kernel, more precisely netfilter. Which you can administrate through iptables. :jawa: You can never say it to much: an open relay will not last a few hours on the internet before being suspended by the ISP for abuse. Good luck:) |
All times are GMT -5. The time now is 08:52 PM. |