fetchmail with pop3

This is a discussion on fetchmail with pop3 within the Tech Board forums, part of the Community Boards category; hi previously i used kmail as my e-mail client, i had no problem with that. but now i only want ...

  1. #1
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187

    fetchmail with pop3

    hi
    previously i used kmail as my e-mail client, i had no problem with that.
    but now i only want to deal with console, and want to retrieve pop3 mails using fetchmail.
    but i don't know how to configure fetchmail with pop3.
    assuming my e-mail address is myname@isp.com
    pop3 server is mail.isp.com (notice! ``mail'' prefix)
    what shall i put in ~/.fetchmailrc?
    i tried both
    % cat ~/.fetchmailrc
    poll mail.isp.com protocol pop3 user "myname" password "mypassword"
    and
    % cat ~/.fetchmailrc
    poll isp.com protocol pop3 user "myname" password "mypassword"
    but all of them failed
    the command i used to invoke fetchmail is
    % fetchmail -akv -m "procmail -d -%T"
    (of course, i have another ~/.procmail, which should not relate to the topic)
    what is the correct configuration looks like?
    any help would much appreciated.

    thx in advance,
    Last edited by Jaguar; 09-25-2005 at 03:33 AM.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  2. #2
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Run fetchmail -v and post to see exactly where it fails.

    i think your config should look something like
    Code:
    poll mail.isp.com proto pop3:
    user "user" there has password "passwd" is "localusername" here
    mda "procmail -f %F -d %T"
    Last edited by -=SoKrA=-; 09-25-2005 at 08:30 AM. Reason: Fixed the config
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  3. #3
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    Thx for your response, i've already tried
    % cat ~/.fetchmailrc
    poll mail.isp.com proto pop3:
    user "myname" there has password "mypassword" is "mylocalname" here
    mda "procmail -f %F -d %T"
    then run fetchmail
    % fetchmail -akv
    fetchmail: 6.2.2 querying mail.isp.com (protocol POP3) at Mon Sep 26 20:17:54 2005: poll started
    fetchmail: POP3< +OK Hello there.
    fetchmail: POP3> CAPA
    fetchmail: POP3< +OK Here's what I can do:
    fetchmail: POP3< STLS
    fetchmail: POP3< TOP
    fetchmail: POP3< USER
    fetchmail: POP3< LOGIN-DELAY 10
    fetchmail: POP3< PIPELINING
    fetchmail: POP3< UIDL
    fetchmail: POP3< IMPLEMENTATION Courier Mail Server
    fetchmail: POP3< .
    fetchmail: POP3> STLS
    fetchmail: POP3< +OK Begin SSL/TLS negotiation now.
    fetchmail: POP3> CAPA
    fetchmail: POP3> USER myname
    fetchmail: POP3> PASS
    fetchmail: Unknown login or authentication error on myname@mail.isp.com
    fetchmail: POP3> QUIT
    fetchmail: 6.2.2 querying mail.isp.com (protocol POP3) at Mon Sep 26 20:18:26 2005: poll completed
    fetchmail: Query status=15
    fetchmail: normal termination, status 15
    an error is in the red line
    authentication will always fail because my e-mail address is myname@isp.com not myname@mail.isp.com
    while pop3 server is still mail.isp.com
    how can i overcome this problem? i do a lot googling but nowhere exactly mentioned this problem.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  4. #4
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    Oh, right. Well, I've tried some stuff on my server but it I can't find anything either. I think your best bet is to go to http://developer.berlios.de/mail/?group_id=1824, which is a list of the mailing lists for fetchmail and ask in fetchmail-users.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. pop3
    By miranda in forum C# Programming
    Replies: 8
    Last Post: 01-09-2006, 06:32 AM
  2. Free PoP3
    By afreedboy in forum Tech Board
    Replies: 18
    Last Post: 11-30-2003, 11:56 PM
  3. free pop3 library
    By vollys in forum Tech Board
    Replies: 2
    Last Post: 11-02-2003, 04:31 AM
  4. Questions on POP3
    By theLukerBoy in forum Tech Board
    Replies: 3
    Last Post: 11-05-2002, 07:30 AM
  5. free POP3 email
    By dbaryl in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 08-09-2002, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21