fetchmail -v

View: New views
2 Messages — Rating Filter:   Alert me  

fetchmail -v

by Paul Cartwright-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am having issue with email, my /var/log/mail.err is full of socket errors
over the weekend.
Tech support said to try fetchmail -v
from the command line. My problem is, my fetchmailrc file has many entries for
users, none local, so I don't think I can run fetchmail from the command
line.

anyone know how to run fetchmail in VERBOSE mode, from the fetchmailrc method?
what I get from the command line is:
# fetchmail -v
fetchmail: WARNING: Running as root is discouraged.
fetchmail: no mailservers have been specified.


when I run it as my local user I get:
$ fetchmail -v MAIL_SERVER
Enter password for pbc@MAIL_SERVER:

pbc is my local user on my box, not my email user..

what /var/log/mail.err is telling me is:
Nov  1 04:53:13 paulandcilla fetchmail[4950]: socket error while fetc
hing from USER@...@EMAIL_SERVER.com

--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: fetchmail -v

by Johann Spies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 03, 2009 at 06:02:47AM -0400, Paul Cartwright wrote:
> I am having issue with email, my /var/log/mail.err is full of socket
> errors over the weekend.  Tech support said to try fetchmail -v from
> the command line. My problem is, my fetchmailrc file has many
> entries for users, none local, so I don't think I can run fetchmail
> from the command line.

Which fetchmailrc are you talking about?  Is it ~/.fetchmailrc?

If you can't use the standard configuration file, make a new one with
a different name and use the -f option for fetchmail telling it which
configuration file to use.


>
> anyone know how to run fetchmail in VERBOSE mode, from the fetchmailrc method?
> what I get from the command line is:
> # fetchmail -v
> fetchmail: WARNING: Running as root is discouraged.
> fetchmail: no mailservers have been specified.

Don't run it as root.
>
>
> when I run it as my local user I get:
> $ fetchmail -v MAIL_SERVER
> Enter password for pbc@MAIL_SERVER:
>
Specify the user on the mail server in your configuration file. Read
"man fetchmailrc".

> pbc is my local user on my box, not my email user..

In the manpage of fetchmailrc you will find inter alia the folowing
example that provides for a situation like yours:

poll pop.provider.net proto pop3 port 3111
               user "jsmith" with pass "secret1" is "smith" here
               user jones with pass "secret2" is "jjones" here keep


Regards.

Johann
--
Johann Spies          Telefoon: 021-808 4599
Informasietegnologie, Universiteit van Stellenbosch

     "Lo, children are an heritage of the LORD: and the  
      fruit of the womb is his reward."        Psalms 127:3


--
To UNSUBSCRIBE, email to debian-user-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...