Sponsored Content
Full Discussion: fetchmail with pop3
Special Forums IP Networking fetchmail with pop3 Post 84426 by jaguar on Saturday 24th of September 2005 10:18:12 AM
Old 09-24-2005
fetchmail with pop3

once i used kmail (or sometimes outlook express) for my e-mail client.
i had no problem with that.
now being with unix console, i want to retrieve pop3 mails, using fetchmail.
(where i can browse my mailbox(es) later)
and it seems something i'm missing or do not understand.
assuming my e-mail address is myname@isp.com
my pop3 server is mail.isp.com (notice! ``mail.'' prefix)
i configured fetchmail with the followings.
Quote:
% cat ~/.fetchmailrc
poll mail.isp.com protocol pop3 user "myname" password "mypassword"
%
after i fetchmail(ed) i got the error.
(note that i have another ~/.procmailrc, which should not relate to the topic)
Quote:
% fetchmail -akv -m "/usr/bin/procmail -d -%T"
fetchmail: 6.2.2 querying mail.isp.com (protocol POP3) at Sat Sep 24 17:44:45 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 Sat Sep 24 17:44:46 2005: poll completed
fetchmail: Query status=15
fetchmail: normal termination, status 15
the problem is in the line highlighted with red.
authentication error on myname@mail.isp.com
certainly, authentication had to fail because my e-mail address is myname@isp.com not myname@mail.isp.com
how to config it correctly? i have tried googling, but still don't know.
any help would be much appreciated.

thx in advance
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

pop3

hello dear friends I configured my dns in solaris 8 X86 pc and my sendmail, but i only can send email. i don't can receive email...... i saw inetd.conf and don't have the line of pop3. how can i add the line?and what the command? Thanks friends (8 Replies)
Discussion started by: themask
8 Replies

2. UNIX for Dummies Questions & Answers

fetchmail suitable for this task?

Hi all. I'm currently building my own webmail server but I will need to collect my mail from several different account scattered around the 'Net. I know fetchmail can do this. The problem I have is that my main POP3 mailbox at my ISP lumps all users' e-mails into one box. This means that... (0 Replies)
Discussion started by: DraconianTimes
0 Replies

3. Linux

pop3

Hi Can anybody help me for configuring pop3 mail account i linux i m using linux enterprise 3. (1 Reply)
Discussion started by: naik_mit
1 Replies

4. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies

5. Linux

Fetchmail Ate my inbox!

Hello All. I was messing around with Fetchmail on a Test Email account. Here's what my fetchmailrc file looks like: poll imap.gmail.com proto IMAP fetchall ssl When I ran this, it removed all the test emails from my Google Account. There were a few emails that I needed, however, I... (3 Replies)
Discussion started by: drewrockshard
3 Replies

6. IP Networking

Pop3

Opensuse Postfix ispconfig I would like to limit pop3 connections to three areas. 1. local, like 192. something 2. top domain for my Internet connection, like 204. something. 3. top domain for one other, like 270. something. What would be the easiest/best way to do this?... (1 Reply)
Discussion started by: KillerDog
1 Replies

7. Linux

Fetchmail Help

Hello there Unix & Linux Guru's and Gifted ones, Can anyone help me configure fetchmail on my redhat 9.0 This sounds to be silly but really I'm new to linux. I really need step by step installation and configuration on our company's required Redhat 9.0 (shrike) OS. Thank you and God... (2 Replies)
Discussion started by: struggled_boy
2 Replies

8. UNIX and Linux Applications

fetchmail with two envelope options

Dear All, Is it possible to using 2 envelope options on fetchmail ? Here is fetchmailrc configuration : envelope "Envelope-To" envelope "X-Apparently-To" Thx :) (0 Replies)
Discussion started by: rhein_onizuka@y
0 Replies

9. Red Hat

Fetchmail Error

Hello All, I am using fecthmail on RHEL 5.fetchmail: fetchmail 6.3.6-1.1.el5.3.1 getting the below error. ################# Installation check passed Fetching email ... mail box file name is ....mailbox.2011051614 /usr/bin/fetchmail --all --timeout 3000 --nokeep --bsmtp... (0 Replies)
Discussion started by: ajaincv
0 Replies
MAILCHECK(1)						      General Commands Manual						      MAILCHECK(1)

NAME
mailcheck - Check multiple mailboxes and/or Maildirs for new mail SYNOPSIS
mailcheck [-lbcsh] [-f rcfile] DESCRIPTION
mailcheck is a simple, configurable tool that allows multiple mailboxes to be checked for the existence of mail. For local mail, it sup- ports both the traditional mbox format and the newer Maildir format. Mail can also be checked for on remote servers using either the POP3 or IMAP protocol. Typically, one would invoke mailcheck in /etc/profile or a user-specific login script. E-mail junkies may also find it useful to invoke mailcheck occasionally to check for new mail in alternate mailboxes. The author uses mailcheck to keep track of messages arriving in mailboxes corresponding to several mailing lists he subscribes to. OPTIONS
-l Runs mailcheck in login mode. If a ~/.hushlogin file exists, mailcheck will exit silently. This option is intended to be used on systems that invoke mailcheck from a global login script such as /etc/profile. -b Brief mode. Produces less verbose output. If mailbox or Maildir is inside user's home direcory, only relative path is printed to output. -c Use more advanced counting method. While counting mails, mailcheck looks inside mboxes and Maildirs and count new and unread mes- sages separately. If mbox/maildir does not contain any new or unread mail, it's excluded from report. Produced output contains more valuable information, but this method is more time-consuming. -s Print "no mail" summary. If no new mail message is found, print at least "no mail message" at the end. Only makes sense in combi- nation with -c. -f Specify alternative rc file location. If provided, default locations (see FILES) are not checked. -h Print short usage information. CONFIGURATION
Configuring mailcheck is simple. Upon startup, mailcheck looks for a file called .mailcheckrc in the user's home directory. If that file does not exist, the default configuration file /etc/mailcheckrc is used instead. Lines beginning with a hash sign (#) are treated as comments and will not be processed. Lines beginning with pop3: or imap: are parsed like URLs and used to connect to network mail servers. All other lines are treated as pathnames to mailbox files or Maildir directories. Environment variables in the format $(NAME) will be expanded inline. For example: /var/spool/mail/$(USER) Will check the user's mailbox in /var/spool/mail. $(HOME)/Mailbox Will check the default mailbox used by qmail installations. When connecting to POP3 or IMAP servers, the account password is not stored in the mailcheckrc file. Instead, the .netrc file in the user's home directory is used. This file, originally intended for use with ftp(1) and later used by fetchmail(1), should be readable only by the user owning it. It stores server/user/password combinations in the form: machine servername login username password password FILES
/etc/mailcheckrc This is the site-default mailcheck configuration file. It should be edited by the system administrator to meet the needs of most users on the system. ~/.mailcheckrc This is the user-specific mailcheck configuration file. If it exists for a particular user, the site-default configuration file will not be used. ~/.netrc This tells mailcheck what password to use for a given server/user combination when checking POP3 or IMAP mail. COPYRIGHT
Copyright (C) 1996, 1997, 1998, 2001, Jefferson E. Noxon. Portions Copyright (C) 1996, Free Software Foundation, Inc. Portions Copyright (C) 1996, Gordon Matzigkeit. Portions Copyright (C) 1998, Trent Piepho. Other copyrights may apply. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian GNU/Linux see /usr/share/common-licenses/GPL AUTHOR
Mailcheck was written for Debian GNU/Linux by Jefferson E. Noxon <jeff@planetfall.com>. ACKNOWLEDGEMENTS
POP3 and IMAP support was added by Rob Funk <rfunk@funknet.net>. Several enhancements by Tomas Hoger <thoger@pobox.sk>. BUGS
It is probably not a good idea to store passwords in a .netrc file. No SSL/TLS support for POP3 and IMAP. SEE ALSO
netrc(5), mbox(5), maildir(5), login(1), fetchmail(1) 2 July 2005 MAILCHECK(1)
All times are GMT -4. The time now is 04:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy