Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-02-2002, 09:22 PM
|
#1
|
Member
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113
Rep:
|
The basic configuration of fetchmail
Who can tell me or provide me some good links?
Thanks.
|
|
|
01-03-2002, 03:49 AM
|
#2
|
Member
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555
Rep:
|
fetchmail is very easy, either use fetchmailconf, or use the man pages. you'll often on need one line in the file
|
|
|
01-04-2002, 06:24 AM
|
#3
|
Member
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113
Original Poster
Rep:
|
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
|
|
|
01-04-2002, 07:55 AM
|
#4
|
Member
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555
Rep:
|
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.
|
|
|
01-04-2002, 06:20 PM
|
#5
|
Member
Registered: Dec 2001
Location: thunder bay, on, Canada
Distribution: Windows vista & Ubuntu
Posts: 113
Original Poster
Rep:
|
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'?
|
|
|
01-05-2002, 04:19 PM
|
#6
|
Moderator
Registered: May 2001
Posts: 29,415
|
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.
|
|
|
All times are GMT -5. The time now is 10:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|