fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Collecting from pop on command line

2002-02-07 10:01:35
I need to run this as just a command line with no disk files, for example, 
using rsh on a remote system with no rc or config files:

fetchmail mail.example.com -u macky -p MyPasWrd -S 217.0.0.1

Macky..

macky wrote:
I am looking for a way to collect from a pop box without using the 
fetchmailrc file and running from a script.
The problem is that I must specify a password on the command line. Can 
anyone 
suggest a way of setting the password from a script automatically?

It might help to use a .netrc file, with lines like:
machine mail.example.com login macky password MyPasWrd

-- 


<Prev in Thread] Current Thread [Next in Thread>