LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-14-2005, 03:38 PM   #1
eranb2
Member
 
Registered: Dec 2004
Location: israel
Distribution: centos
Posts: 41

Rep: Reputation: 15
sendmail+iptables


Hi

sendmail is working and thundbird configured with it and working.
when I start iptables :
output policy is accept.
when I enter
iptables -A INPUT -s 127.0.0.1 -j ACCEPT
its not working .
my logic says that only OUTPUT chain should matter for sendmail
because its local process(sendmail)>output>eth0
maybe thundbird is the input of sendmail?
how is it working?
why input matters?

Eran
 
Old 01-14-2005, 08:59 PM   #2
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Well unless you set your output policy to drop, or whatever, you should not have to append the tables to accept 127.0.0.1. But since you most likely changed the input policy to drop, so it works as a firewall, iptables -A INPUT -s 127.0.0.1 -j ACCEPT, is very necessary.
 
Old 01-16-2005, 02:53 AM   #3
eranb2
Member
 
Registered: Dec 2004
Location: israel
Distribution: centos
Posts: 41

Original Poster
Rep: Reputation: 15
Hi

thanks for replying

its working , still I dnt understand why?
why its input and not output?
sendmail is sending out ,not receiving.

Eran
 
Old 01-16-2005, 04:14 AM   #4
flipcode
Member
 
Registered: Dec 2004
Distribution: Red Hat 9, Fedora Core 3, KNOPPIX
Posts: 33

Rep: Reputation: 15
I believe that sendmail must be able to communicate on the localhost.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
questions on sendmail and iptables aetengoku Linux - Software 4 01-27-2004 09:14 PM
sendmail, iptables and security Tigger Linux - Security 3 11-25-2003 09:14 PM
Redhat 9, sendmail, iptables TomServo3k Linux - Networking 5 07-01-2003 03:09 PM
sendmail, iptables and security Tigger Linux - Newbie 2 05-27-2003 01:37 PM
sendmail, iptables and security Tigger Linux - General 2 05-27-2003 08:45 AM


All times are GMT -5. The time now is 01:56 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration