LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-09-2007, 04:13 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Unable to login SquirrelMail


Hi folks,


Ubuntu 7.04 server amd64
SquirrelMail


I can't login SquirrelMail if w/o running "sudo iptables -F'. So I tried to find out which rule on /etc/rc.local obstructs the connection. To my surprise after comment out all rules there I still can't login w/o running "sudo iptables -F".

Adding following rules did not help;
Code:
# allows incomming port 143
iptables -A INPUT -i eth0 -p tcp -m tcp --dport 143 -j ACCEPT
Replacing eth0 with Server IP address also did not help.


Remark: ran "sudo /etc/init.d/rc.local start" after changing /etc/rc.local

Please advise how to solve the problem. TIA


B.R.
satimis

Last edited by satimis; 12-09-2007 at 04:17 AM.
 
Old 12-09-2007, 04:21 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Is squirrelmail on the same box as you imap server? If so, eth0 is irrelevant. You may need a rule along the lines of

iptables -A INPUT -p ALL -i lo --source 127.0.0.1 -j ACCEPT

Last edited by billymayday; 12-09-2007 at 04:28 AM.
 
Old 12-09-2007, 04:35 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by billymayday View Post
Is squirrelmail on the same box as you imap server? If so, eth0 is irrelevant. You may need a rule along the lines of

iptables -A INPUT -p ALL -i lo --source 127.0.0.1 -j ACCEPT
Thanks for your advice.


Yes, squirrelmail is on the same box as imap server.


Performed following steps;

Edited /etc/rc.local

Copy and paste your line on "Input" section.

$ sudo /etc/init.d/rc.local start


Start Squirrelmail and login. Result is the same w/o improvement.


Do I need to make change on /etc/hosts ?

$ cat /etc/hosts
Code:
127.0.0.1       localhost.localdomain   localhost
192.168.0.10    mail.satimis.com        mail

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
TIA


satimis
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to view login screen in squirrelmail sundar1712 Red Hat 4 09-10-2007 01:16 AM
Squirrelmail login Chiragrs Linux - Networking 1 05-11-2007 02:05 PM
SquirrelMail login problem tomhiggins Linux - Networking 4 07-20-2006 09:09 PM
login problem with squirrelmail tej Linux - Newbie 2 08-18-2004 05:34 AM
Squirrelmail Login Problems doctorcisco Linux - Newbie 4 02-15-2004 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration