LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
Search this Thread
Old 04-29-2013, 08:13 AM   #1
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 103

Rep: Reputation: 16
I broke my email


I know you've had a million questions like this, but...
I had had Evolution mail working just fine (new Debian Squeeze install) when I started fooling with networks/interfaces, fwbuilder, pdnsd, and privoxy. I've now shut them off. I have the web pages coming just fine. I simplified things. But my Evolution mail is still broke. What am I missing?

Here's my iptables:
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

And here's my interfaces:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
dns-nameservers 192.168.1.1

and here's my resolv.conf:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
search <myLocalDomain>

I can dig things all I want and I get good ip addresses. But no email?
Any suggestions about what I forgot???

Sorry for the dumb question.
 
Old 04-29-2013, 02:20 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,007

Rep: Reputation: 67
SElinux configuration may need to be checked. The configuration can block the E-mail service.
 
Old 04-29-2013, 03:46 PM   #3
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 103

Original Poster
Rep: Reputation: 16
Thanks for your reply.
How do I check SeLinux config (what should I read, I have a rough idea of how SeLinux works, the purpose/function concept)?
Also, I wasn't getting SeLinux violations in the syslog. In fact, I wasn't getting ANY relevant complaints that I could tell.

But that doesn't explain why it was working before. Why would my proxy and interface settings have changed that?

BTW: The "Send Receive" button on Evolution was greyed out. I've never seen that before.
 
Old 04-29-2013, 04:27 PM   #4
compix
LQ Newbie
 
Registered: Jan 2013
Distribution: CentOS
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by linuxStudent11 View Post
Thanks for your reply.
How do I check SeLinux config (what should I read, I have a rough idea of how SeLinux works, the purpose/function concept)?
Also, I wasn't getting SeLinux violations in the syslog. In fact, I wasn't getting ANY relevant complaints that I could tell.

But that doesn't explain why it was working before. Why would my proxy and interface settings have changed that?

BTW: The "Send Receive" button on Evolution was greyed out. I've never seen that before.
Would you be able to check if Evolution is working in offline mode? Can you try to launch it from terminal using "evolution --online" ?
 
Old 04-29-2013, 05:36 PM   #5
linuxStudent11
Member
 
Registered: Jun 2007
Posts: 103

Original Poster
Rep: Reputation: 16
Wierdest thing...
I just discovered that network-manager was working (I thought it wasn't).
So I removed it from startup rc.d stuff and rebooted. Suddenly my email started working.
But wierder still is that resolv.conf was empty. I only had the stuff in /etc/network/interfaces set up.
So I "sudo service networking restart" and "sudo ifup -a" and resolv.conf was then populated.
Everything now works (in dumb mode) but I don't really understand what I've done.
I assume update remove of network-manager stopped overwriting something. But why did it work (email) with resolv.conf EMPTY when it wouldn't work with it populated.
And oh-by-the-way who is complaining about "Bad server label" (and samba problems) in the following:
Code:
sudo service networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/48:5b:39:5f:06:45
Sending on   LPF/eth0/48:5b:39:5f:06:45
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
Reloading /etc/samba/smb.conf: smbd only.
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/48:5b:39:5f:06:45
Sending on   LPF/eth0/48:5b:39:5f:06:45
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
Reloading /etc/samba/smb.conf: smbd only.
Failed: Bad server label.
Opening socket /var/cache/pdnsd/pdnsd.status
bound to 192.168.1.22 -- renewal in 37496 seconds.
Failed: Bad server label.
Opening socket /var/cache/pdnsd/pdnsd.status
done.
1143->sudo service network-manager status
could not access PID file for NetworkManager ... failed!
Anyway, thanks everyone for the remedial ed.
And oh-by-the-way again: I recommend http://wiki.debian.org/NetworkConfiguration
I had no idea that network-manager fights with resolvconf fights with human settings!
 
Old 04-30-2013, 02:15 PM   #6
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,007

Rep: Reputation: 67
DHCP can setup DNS configuration. The E-mail use DNS service to find out correct E-mail server.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Email Autoresponder: return receipts display absolute path instead of email alias Ruddem Linux - Software 4 02-08-2013 09:06 AM
Command based email client to send email through secure smtp havolinec Linux - Newbie 2 07-27-2010 07:40 AM
run a shell script/cronjob when any email arrive to specific email address ikillu Linux - General 3 05-30-2009 08:18 AM
Hm, I think I broke my firewall (cant get email) Avatar Linux - Server 5 03-15-2007 08:30 AM


All times are GMT -5. The time now is 05:10 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration