Displaying 2 results from an estimated 2 matches for "smtpserver1".
Did you mean:
smtpserver
2008 Jan 17
1
need help in configuring iptables for smtp traffic
...public
ip like
mx1 will receive/sends mails through eth1 (another service provider)
mx2 will receive/sends mails through eth2 (another service provider)
Accepting mails from public ip
iptables -A INPUT -p tcp -d $publicip1 --dport 25 -j ACCEPT \
Natting rules
iptables -A FORWARD -p tcp -d $smtpserver1 --dport 25 -j ACCEPT \
iptables -t nat -A PREROUTING -d $publicip1 -p tcp --dport 25 -j DNAT
--to $smtpserver1:25 \
Sending mails from smtpserver1 to publicip1
iptables -t nat -A POSTROUTING -s $smtpserver1 -d 0/0 -o eth1 -j SNAT
--to-source $publicip1
route add $smtpserver1 netmask 255.255...
2003 Dec 01
0
No subject
...eturn-Path: <andrewwu@Princeton.EDU>
Delivered-To: samba@lists.samba.org
Received: from Princeton.EDU (postoffice.Princeton.EDU
[128.112.129.120]) by lists.samba.org (Postfix) with ESMTP id
BBAB94B90 for <samba@lists.samba.org>; Sun, 27 May 2001 16:20:05 -0700
(PDT)
Received: from smtpserver1.Princeton.EDU (smtpserver1.Princeton.EDU
[128.112.129.65]) by Princeton.EDU (8.9.3/8.9.3) with ESMTP id
TAA13545 for <samba@lists.samba.org>; Sun, 27 May 2001 19:20:38 -0400
(EDT)
Received: from tucson.Princeton.EDU (tucson.Princeton.EDU
[128.112.129.181]) by smtpserver1.Princeton.EDU...