accessing email via POP3
am 30.11.2004 21:54:46 von Karthik.Vishwanath.Adv03
Hello,
I receive mail on this account that can be accessed via
POP3. I used to use fetchmail as my mail-fetcher on an old
machine to do this. I am trying to do the same from another
machine that runs Redhat 9 (Linux 2.4.20-8) and seems like I
cannot decipher how exactly to do this (perusing the
fetchmail man page had me really confused). My .fetchmailrc
looks like this:
---------
set syslog
set daemon 10
poll newdoc.dartmouth.org and options no dns keep
user 'karthikv' there is 'karthik' here options
---------
$ fetchmail
fetchmail:/home/karthik/.fetchmailrc:6: parse error at user
How can I fix this? (BTW, I had a whole load of dependency
issues on trying to install fetchmailconf...)
Thanks!
-K
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 30.11.2004 23:12:31 von Ray Olszewski
At 03:54 PM 11/30/2004 -0500, Karthik Vishwanath Adv03 wrote:
>Hello,
>
>I receive mail on this account that can be accessed via
>POP3. I used to use fetchmail as my mail-fetcher on an old
>machine to do this. I am trying to do the same from another
>machine that runs Redhat 9 (Linux 2.4.20-8) and seems like I
>cannot decipher how exactly to do this (perusing the
>fetchmail man page had me really confused). My .fetchmailrc
>looks like this:
>---------
>set syslog
>set daemon 10
>poll newdoc.dartmouth.org and options no dns keep
>user 'karthikv' there is 'karthik' here options
>
>---------
>
>$ fetchmail
>fetchmail:/home/karthik/.fetchmailrc:6: parse error at user
>
>How can I fix this? (BTW, I had a whole load of dependency
>issues on trying to install fetchmailconf...)
The error message says the problem is on line 6, but in the extract you
provide, the "user" line is line 4. Have you left some part of the file out?
None of the examples for .fetchmailrc that I could locate (on a quick
search) actually used the word "options", instead simply putting the
desired options in those spots. So you might try deleting that word on the
user line and the one before it.
Is it possible that a non-printing character slipped into the file (for
example, a CRLF combo for newline instead of the Unix LF)?
All the examples I could find either used no quotes or (if there were
embedded spaces) regular double quotes. So you might try either removing
the single quotes or replacing them with double quotes.
Since this used to work on a different machine ... why aren't you simply
moving the working .fetchmailrc from the old setup to the new one/
As to your BTW ... the Debian packaging system says that fetchmailconf
depends only on fetchmail itself and the python and python-tk packages. Of
course, that conceals some dependencies derived from those three, but it
suggests that nothing really exotic is needed. Might you have run into some
versioning issue (like a libc6 mismatch)? Hard to say much here, since I
don't know Red Hat, not having used it for years.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 01.12.2004 16:19:11 von liste3
On 30 Nov 2004 15:54:46 EST Karthik.Vishwanath.Adv03@Alum.Dartmouth.ORG
(Karthik Vishwanath Adv03) wrote:
> My .fetchmailrc
> looks like this:
> ---------
> set daemon 10
it's seconds you're giving as an argument. So that is: "poll every 10
seconds"
> poll newdoc.dartmouth.org and options no dns keep
As far as I know you can't use options here but only in the next line:
> user 'karthikv' there is 'karthik' here options
a password is missing here.
the syntax is:
poll mail-server protocol POP3
user "karthikv", with password "hidden" is user "karthik" here options\
no dns keep
But I guess you should use "no dns" so that fetchmail won't take it for
to words (not tested).
> $ fetchmail
> fetchmail:/home/karthik/.fetchmailrc:6: parse error at user
That says that you have an error in line 6. I guess it's the line
beginning with poll (don't use options here)
>
> How can I fix this? (BTW, I had a whole load of dependency
> issues on trying to install fetchmailconf...)
I never could make much use of that program. I prefer to handle it via
editor.
hth
Ulrich
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 01.12.2004 17:41:27 von Karthik.Vishwanath.Adv03
Thanks for all responses -- Ray, I had removed a couple of
comments from the pasted .fetchmailrc in the email composer.
Hence the discrepancy about line number errors. :-?
Following Amin's advice I tried to run fetchmail from the
cmd-line and I could'nt authenticate myself (I am 100% sure
about keying in the correct passwd):
$ fetchmail --keep --username "karthikv" newdoc.dartmouth.org
Enter password for karthikv@newdoc.dartmouth.org:
fetchmail: Authorization failure on
karthikv@newdoc.dartmouth.org
fetchmail: Query status=3 (AUTHFAIL)
What is going on here? Please advice on how to proceed next.
Thanks,
-K
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 01.12.2004 18:19:23 von j.reynders
On Wed, 1 Dec 2004, Ulrich Fürst wrote:
> On 30 Nov 2004 15:54:46 EST Karthik.Vishwanath.Adv03@Alum.Dartmouth.O=
RG
> (Karthik Vishwanath Adv03) wrote:
> > My .fetchmailrc
> > looks like this:=20
> > ---------
> > set daemon 10
> it's seconds you're giving as an argument. So that is: "poll every 10
> seconds"
Polling every 10 sec's is rude behaviour towards your
i.s.p. .. Don't do that.
The command:
fetchmail --version
Will show all your options set in your .fetchmailrc and if they are
accepted by fetchmail.. Try it..
A typical ~/.fetchmailrc for dailup-users
poll pop.myisp1.nl
proto POP3
username president
password UsCliNton
mda "/usr/bin/procmail -d clinton"
set logfile "/var/log/fetch.log"
Of course every command can given on the command-line as options to
fetchmailrc
J.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 01.12.2004 23:13:23 von heimwill
On Wed, 1 Dec 2004 18:19:23 +0100 (CET) "J."
wrote:
> On Wed, 1 Dec 2004, Ulrich Fürst wrote:
>=20
> > On 30 Nov 2004 15:54:46 EST
> > Karthik.Vishwanath.Adv03@Alum.Dartmouth.ORG(Karthik Vishwanath
> > Adv03) wrote:
> > > My .fetchmailrc
> > > looks like this:=20
> > > ---------
> > > set daemon 10
> > it's seconds you're giving as an argument. So that is: "poll every
> > 10 seconds"
>=20
> Polling every 10 sec's is rude behaviour towards your
> i.s.p. .. Don't do that.
Yes, I know, I thought that would be clear for the OP by reading.=20
Btw if you get e.g. a hundred emails while booting that will last
longer than ten seconds even with DSL.
But I've got to admit that I should've writen it. for you can't read my=
thoughts (I hope ;-) ).
Ulrich
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 02.12.2004 01:58:22 von mailing-lists
On Wed, 1 Dec 2004, Ulrich Fürst wrote:
> On 30 Nov 2004 15:54:46 EST Karthik.Vishwanath.Adv03@Alum.Dartmouth.O=
RG
> (Karthik Vishwanath Adv03) wrote:
> > My .fetchmailrc
> > looks like this:=20
> > ---------
> > set daemon 10
> it's seconds you're giving as an argument. So that is: "poll every 10
> seconds"
Polling every 10 sec's is rude behaviour towards your
i.s.p. .. Don't do that.
The command:
fetchmail --version
Will show all your options set in your .fetchmailrc and if they are
accepted by fetchmail..
A rather typical ~/.fetchmailrc
poll pop.myisp1.nl
proto POP3
username president
password UsCliNton
mda "/usr/bin/procmail -d clinton"
set logfile "/var/log/fetch.log"
Of course every command listed in your .fetchmailrc can be given on the
command-line as options to fetchmail.
J.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 02.12.2004 02:07:19 von heisspf
When I switched to Linux from DOS it was fetchmail which nearly made me
abandon the idea of using Linux, until somebody suggested not to use fetchmail
and things worked out alright ever since.
I am using getmail now, it's a great program.
http://www.qcc.ca/~charlesc/software/getmail-4/
Regards
--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Re: accessing email via POP3
am 02.12.2004 02:29:22 von mailing-lists
On 1 Dec 2004, Karthik Vishwanath Adv03 wrote:
> Thanks for all responses -- Ray, I had removed a couple of
> comments from the pasted .fetchmailrc in the email composer.
> Hence the discrepancy about line number errors. :-?
>
> Following Amin's advice I tried to run fetchmail from the
> cmd-line and I could'nt authenticate myself (I am 100% sure
> about keying in the correct passwd):
>
> $ fetchmail --keep --username "karthikv" newdoc.dartmouth.org
> Enter password for karthikv@newdoc.dartmouth.org:
> fetchmail: Authorization failure on
> karthikv@newdoc.dartmouth.org
> fetchmail: Query status=3 (AUTHFAIL)
>
> What is going on here? Please advice on how to proceed next.
I checked dartmouth.org's email-admin section and it says you have to
look up the corrosponding pop3 server for your username. So I did that for
your name..
SETTINGS: User: Karthik Vishwanath Adv03
Incoming (POP3) Server: newdoc.dartmouth.org
Outgoing (SMTP) Server: newdoc.dartmouth.org
Ok, you seem to have the right pop3 server.
telnet newdoc.dartmouth.org 110
Trying 129.170.16.86...
Connected to newdoc.dartmouth.org.
Escape character is '^]'.
+OK BlitzMail POP3 Server Ready.
Ok, it's up to..
fetchmail --proto pop3 --username "karthikv" newdoc.dartmouth.org
Enter password for karthikv@newdoc.dartmouth.org:
fetchmail: Authorization failure on karthikv@newdoc.dartmouth.org
fetchmail: Query status=3 (AUTHFAIL)
Ok, it works.. Now I really think it has todo with your password.. Either
they forgot to update the system configuration or it's taking them a
while. Orrr.. your keyboard isn't working properly.. [CAPSLOCK] maybe ?
Or your connection is refused because you misspelled your username.
Enter your password in your .fetchmailrc, and then try it again. That way
you can be sure you typed the right password and it's not messed up..
g00dlUcK..
J.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs