LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2011, 09:57 PM   #1
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Rep: Reputation: 0
Massive 39GB dead.letter in getmail - Fedora 14


Hi guys,

First up I run a Media Center/Mail Server/Web server from the same box:
i3 3.0ghz
Geforce 310
8 gb RAM
320gb primary WD 7200rpm 2.5" - due to size restrictions (i know not ideal)
2TB secondary WD Green 3.5" - storage

I am running Fedora 14 setup to use ISPconfig3

http://www.howtoforge.com/perfect-se...64-ispconfig-3

My main problem is that I receive a critical warning message via the ISPconfig browser menu when I log in that says:

2 Critical errors

1 is running out of space on the / directory
2 DNS service not running

So for the first one I did a du -h | "[0-9]G" so that all files with over a GB would show up and i noticed that in the /etc/getmail directory I have a file called dead.letter that is 39GB so I know that it has some major issues...

Now I am not that clued up with linux, I can get things to run but to know how they run I don't know that at all.

Therefore my questions are:

1. Why would getmail create such a huge file
2. Can I delete it (for now I've moved it)
3. How do I stop it from doing it again, because it caused my server to crash
4. Do i ask about the DNS issue in this thread or do i have to start another.

Thank you for your time
Steve
 
Old 06-06-2011, 12:37 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
2. you should be able to
Code:
rm dead.letter
possibly as root.
If the system refuses, put dead.letter in it's own dir and
Code:
rm -rf dirname
Be very careful with that cmd, especially if running as root!

4. Personally I'd start another thread for DNS issue.
 
Old 06-06-2011, 03:10 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
also a bit of advice for running a "Mail Server/Web server"

you do not really want to use fedora for that .Fedora has a way to short of a life span
Unless YOU DO LIKE reinstalling all the software and reconfiguring a server EVERY 6 MONTHS
-- some do --
in 6 moths fedora 14 hits it "End Of Life"
so in 6 months all updates STOP
there will be NO security updates
No nothing
and fedora 16 will be the current

RHEL 6 has a 5 year life span
sl6 also has a long life but you will need to upgrade minor versions like CentOS ( CentOS 5.6 is current)
 
Old 06-06-2011, 04:14 AM   #4
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
2. you should be able to
Code:
rm dead.letter
possibly as root.
If the system refuses, put dead.letter in it's own dir and
Code:
rm -rf dirname
Be very careful with that cmd, especially if running as root!
Ok I did remove it, well actually moved it to another partition - but I don't want to have to do this regularly.
So if someone could let me understand why it happens maybe I can prevent it.

Quote:
4. Personally I'd start another thread for DNS issue.
yes I will do that thank you

Thanks for the quick reply though

steve
 
Old 06-06-2011, 04:17 AM   #5
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
also a bit of advice for running a "Mail Server/Web server"

you do not really want to use fedora for that .Fedora has a way to short of a life span
Unless YOU DO LIKE reinstalling all the software and reconfiguring a server EVERY 6 MONTHS
-- some do --
in 6 moths fedora 14 hits it "End Of Life"
so in 6 months all updates STOP
there will be NO security updates
No nothing
and fedora 16 will be the current

RHEL 6 has a 5 year life span
sl6 also has a long life but you will need to upgrade minor versions like CentOS ( CentOS 5.6 is current)
Good point, I was deciding which one to use however Fedora gave the ability to support ntfs out of the box where as centos 5.5 didn't. Hopefully that isn't the case anymore. But thank you for your advice.

Also I was wondering what would be your recommendation for a business grade distro? Would you use OpenSUSE or CentOS or ?

Thank you

Steve
 
Old 06-06-2011, 11:28 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Have a look in that file. After searching on the internet for dead.letter, it's my understanding that it either contains partially composed mail or mail that could not be sent because of email addresses that could not be resolved. If it's the latter, it might be related to your DNS warning.

Just type dead.letter in google
 
Old 06-06-2011, 02:32 PM   #7
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
CentOS is prefered - I do not know why. I would prefer Scientific Linux to CentOS anyday. OpenSuse again is bleeding edge. I believe OpenSuse is a lot easier to administer than CentOS (maybe selinux is just a bit too difficult for me to understand).
If you look at the polls conducted debian won (again) as server OS of choice here - and debian has been winning here since a long long time. But then again I just want you to know that I am _heavily_ biased for debian.
 
Old 06-06-2011, 04:03 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
cent 5.4 and 5.5 did support ntfs
it was a bug in 5.3 that caused 5.3 to need the dkms fuse kernel
5.6 dose support ntfs
http://wiki.centos.org/TipsAndTricks/NTFS


the question of centos VS ScientificLinux ???
is up in the air - except for rhel6.1 or SL6(or 6.1 beta) . There is no centos 6 yet
 
Old 06-07-2011, 02:33 AM   #9
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Ill try to address everyone in one post:

Quote:
Wim Sturkenboom
Hi, thanks for the reply. I'm looking into the file now it does have old emails and then a heap of randomized like encrypted information that goes on for a very long time. The weird thing is that it has been created again and is just going up in size.
It seems to be related to getmail though due to it being found in that directory, I have the one account setup in ISPConfig3 retrieving 2 pop3 accounts and sending via one of them. Due to the fact that I'm on a dynamic IP at the moment.
Yes Google is my friend.

Quote:
SilverBack
I have dealt with CentOS as the flavor of Linux in my tertiary studies, which I didn't mind at all. As far as Debian I have never dealt with this distro. I will see what I can find out on it.

Quote:
John VV
Oh right, well thanks for your input. I did use that wiki site for that. It was fairly straight forward, and seemed to work flawlessly. But I am a noob.

Thanks for the replies guys
 
Old 06-07-2011, 05:19 AM   #10
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,034

Rep: Reputation: Disabled
Issue solved? Not clear to me. If so, please mark the thread accordingly...
 
Old 06-07-2011, 11:18 PM   #11
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JZL240I-U View Post
Issue solved? Not clear to me. If so, please mark the thread accordingly...
I still don't know why it happens. I haven't been given anything to go on other than delete it every time it comes.

I would still like to know this:

1) What can I do to stop it?
2) Is it something wrong with my setup?

Thank you for your time

Steve
 
Old 06-08-2011, 01:06 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,034

Rep: Reputation: Disabled
Sorry, I'm not familiar with getmail, I'm here to learn. I hope the true gurus will come to the rescue . As a workaround you might create a cron job to delete that obnoxious file...
 
Old 06-09-2011, 05:00 AM   #13
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JZL240I-U View Post
Sorry, I'm not familiar with getmail, I'm here to learn. I hope the true gurus will come to the rescue . As a workaround you might create a cron job to delete that obnoxious file...
Yes I will have to do that... although at the moment it hasn't come back recently so that is good. However is there a good tutorial website for cron?

Thank you
Steve
 
Old 06-09-2011, 05:52 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,034

Rep: Reputation: Disabled
E.g.

https://wiki.archlinux.org/index.php/Cron and links therein
http://www.gnu.org/manual/manual.html
http://webpages.charter.net/decibelshelp/
http://www.faqs.org/docs/
http://www.howtoforge.com/
http://www.linuxhowtos.org/Home/
http://www.docplanet.org/

...in no particular order. HTH.
 
Old 06-13-2011, 01:51 AM   #15
telx85
LQ Newbie
 
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20

Original Poster
Rep: Reputation: 0
Thank you for that... I will look into it
As far as I'm concerned I'm happy with nothing coming up anymore...
Thanks to all who contributed
Steve
 
  


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
dead.letter produced every night buttshill Mandriva 3 11-26-2007 07:48 PM
Mail for root is dead.letter rednuht Linux - General 2 04-09-2007 03:56 PM
sendmail automatically goes to dead.letter kaplan71 Linux - Software 1 09-17-2005 02:00 AM
Sendmail mail goes to dead.letter rutman Linux - General 1 06-18-2004 12:14 AM
dead.letter ? shanenin Linux - Software 0 06-04-2004 11:04 PM


All times are GMT -5. The time now is 08:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration