LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-02-2002, 10:22 PM   #1
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Rep: Reputation: 15
The basic configuration of fetchmail


Who can tell me or provide me some good links?
Thanks.
 
Old 01-03-2002, 04:49 AM   #2
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
fetchmail is very easy, either use fetchmailconf, or use the man pages. you'll often on need one line in the file
 
Old 01-04-2002, 07:24 AM   #3
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Help,it doesnot work.

fetchmail -p pop3 -u whb pop3.sina.com.cn
then i enter my password,

it says:
47 messages for whb at pop3.sina.com.cn
reading messages fetchmail:SMTP connect to localhost failed.
fetchmail:cannot raise the listner;fallingback to$procmail -d %T.sh:-d:command not found.
fetchmail:MDA exited abnormally or returned nonzero status not flushed.
SIGPIPE thrown from an MDA or a stream socket error.
socket error while delivering to SMTP pop3.sina.com.cn
QUERY status =2(SOCKET)
terminated with signal 13
 
Old 01-04-2002, 08:55 AM   #4
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
i'd guess you've not got a local mailserver running. Sendmail should ALWAYS be running on your system (if it got installed) as it's sendmail (or postfix, qmail etc...) that puts some mail in each /var/spool/mail folder. you get a socket error on smtp, so i'll bet it's that, and certainly not fetchmails fault.
 
Old 01-04-2002, 07:20 PM   #5
whepin
Member
 
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
Well,i stopped sendmail from my bootup list.

Quote:
Sendmail should ALWAYS be running on your system (if it got installed) as it's sendmail (or postfix, qmail etc...) that puts some mail in each /var/spool/mail folder.
Long time ago i removed it from my bootup list because it took too long time.
So should i add it into the list?
And why it says 'socket error'?
 
Old 01-05-2002, 05:19 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598
Unless fetchmail is compiled with sendmail as only mandatory MDA, it shouldn't be necessary to have the sendmail daemon running when you don't need it, and this behaviour is supported by your error message: it tells you, that after failing to find sendmail on your local SMTP port TCP/25, it decides to use procmail as local MDA (Mail Delivery Agent). Only here we see the shell (sh) return a failure for "-d", prolly because it aint quoted right. Now in your ~/.fetchmailrc there should be a line which states:
mda "/usr/bin/procmail -d %s"
I dont know why you use %T, I use %s, but the important part is the line should have the quotes as shown.
 
  


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
Fetchmail Configuration reply2vinay Linux - General 2 10-21-2005 08:49 AM
Fetchmail configuration Van Gogh Linux - Software 2 08-05-2004 12:39 AM
procmail and fetchmail configuration anibiswas Linux - Software 7 11-01-2003 07:20 AM
prcmail and fetchmail configuration anibiswas Linux - Software 0 10-20-2003 07:50 AM
Basic fetchmail questions debest Linux - Networking 1 08-30-2003 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 AM.

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