PDA

View Full Version : reworked Network appliance to handle sendmail


dclark@mindsource.com
05-05-2009, 01:12 PM
Add Firewall rules to allow the other appliances to talk to port 25

ie in the file /appliance/iptables-fwrules.sh add the following lines after the port 53 rules:
iptables -A INPUT -i $INTIF -p udp --dport 25 -j ACCEPT
iptables -A INPUT -i $INTIF -p tcp --dport 25 -j ACCEPT

Next Fix the Sendmail Configuration so that will Relay for your systems, edit /etc/mail/access and add the following line:
10 RELAY

Next Fix the Sendmail Configuration to allow SMTP to be utilized by all interfaces, edit /etc/mail/sendmail.cf and commit out the following line some where in the file as so:
#O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA

Start Sendmail and restart the Appliance

PeterNic
05-05-2009, 05:54 PM
Dave,

Which appliance does this apply to?

Regards,
-- Peter

tmf-redpeak
05-06-2009, 10:39 AM
This applies specifically to the NET component.