[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail -v

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


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 

Reply to: