Jump to content

fetchmail authentication


paul
 Share

Recommended Posts

I'm trying to get fetchmail to connect to a pop3 server ... download the mail and stick in the inbox of a local user ...

Not too hard?

poll wapdomainz.com with proto POP3

      user "wapdomainz" is "wapdomainz" here

if I run

fetchmail -d0 -v --nosyslog

it asks me for a spassword ... which I give it obviously.

-bash-2.05b$ fetchmail -d0 -v --nosyslog

Enter password for wapdomainz@wapdomainz.com: 

fetchmail: 6.1.0 querying wapdomainz.com (protocol POP3) at Sun 06 Apr 2003 09:0                                                             0:09 PM NZST: poll started

fetchmail: POP3< +OK POP3 wapdomainz.com v2001.78rh server ready

fetchmail: POP3> CAPA

fetchmail: POP3< +OK Capability list follows:

fetchmail: POP3< TOP

fetchmail: POP3< LOGIN-DELAY 180

fetchmail: POP3< UIDL

fetchmail: POP3< STLS

fetchmail: POP3< USER

fetchmail: POP3< SASL LOGIN

fetchmail: POP3< .

fetchmail: POP3> STLS

fetchmail: POP3< +OK STLS completed

fetchmail: POP3> USER wapdomainz

fetchmail: POP3> PASS 

fetchmail: Unknown login or authentication error on wapdomainz@wapdomainz.com

fetchmail: socket error while fetching from wapdomainz.com

fetchmail: 6.1.0 querying wapdomainz.com (protocol POP3) at Sun 06 Apr 2003 09:0                                                             0:11 PM NZST: poll completed

fetchmail: Query status=2 (SOCKET)

fetchmail: normal termination, status 2

-bash-2.05b$

 

doesn't work :( ...

However on my lappie .. which runs MDK9.1 wuth fetchmail 6.2.1 it works fine ... I'm not happy :(

 

also is there a way I can get this to execute when the user logs in rather than running in daemon mode?

 

frustrated !!!

Link to comment
Share on other sites

also is there a way I can get this to execute when the user logs in rather than running in daemon mode?

 

I've been using fetchmail for a while (couple of years) and I've never run it as daemon, instead I run it from cron

#Recogida automática de correo cada 10 minutos

*/10 0-8,18-23 * * mon-fri /usr/bin/fetchmail &> /dev/null

*/10 * * * sat,sun /usr/bin/fetchmail &> /dev/null

 

I run it each 10 minutes only when I'm online.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...