LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-27-2006, 10:16 AM   #1
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Rep: Reputation: 31
Fechmail check not retuning number of emails


Hello all,

I am trying to verify my fetchmailrc file is working properly but I seem to not be able to get an error or anything when I run the fetchmail with the check option to see if it can log into the mail server.

I am runing this on FC4 and my fetchmailrc file is as follows:

[lmcilwain@FC4FW ~]$ more .fetchmailrc
defaults proto pop3 user *****@gmail.com mda "/usr/bin/procmail -d lmcilwain"
poll pop.gmail.com port 995 pass ****** ssl is lmcilwain here
set daemon 120
set syslog
set postmaster ""
set no bouncemail
set no spambounce
set properties ""
set logfile "fetchmail.log"

As you can see, I have set the log file option but one is not generated.

Here is what happens when I run fetchmail --check
[lmcilwain@FC4FW ~]$ fetchmail --check
[lmcilwain@FC4FW ~]$

Can anyone give me some ideas of how to find out what is wrong?
 
Old 10-30-2006, 05:52 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Nothing is wrong really. You defined "set syslog", so that's where it goes. Executing "grep mail /etc/syslog.conf" should show where Syslog will dump it to (/var/log/maillog probably).
 
Old 10-30-2006, 07:53 PM   #3
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Original Poster
Rep: Reputation: 31
well I referring more to the logfile entry at the bottom of that that should have created another file with some entried in it... I guess if it isn't actually bringing anything down maybe it just doesn't right anything?

Is that accurate?
 
Old 10-30-2006, 08:00 PM   #4
lmcilwain
Member
 
Registered: Dec 2003
Location: Maryland
Distribution: Fedora, Ubuntu, Centos, FreeBSD
Posts: 390

Original Poster
Rep: Reputation: 31
OK, I did check the mail log so it appears to be working since it can log in and tell me how many messages I have on the mailserver. Odd that I thought that it would have also been in the log that I asked for at the bottom of my file.
 
  


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
Check to see that a file is bigger than a certain number of MB linAM Programming 3 02-17-2005 12:42 PM
number of emails over command line kvtournh Linux - Software 1 01-11-2005 08:52 AM
Will Kmail auto check for emails? Stevetgn Linux - Software 2 01-05-2005 06:57 AM
Software to check emails remotely conymn Linux - Software 1 09-18-2003 05:59 AM
Number of Emails in INBOX BxBoy Programming 3 02-24-2003 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:09 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