From: Rob M. <rob...@gm...> - 2007-06-04 07:50:59
|
On 6/4/07, Dennis Wollersheim <dew...@cs...> wrote: > Hello fellow fetchmail'ers > > I am trying to use fetchmail from the command line, but I can't find > examples of how to do it. Specifically, I need it to get the password > from the command line: > > I have tried something like the following > > fetchmail -S mail.target.com --keep --uidl poll mail.source.com proto > POP3 user 'dewoller' password 'password' 'tar...@ta...' Keep in mind that on many OSs any other user of the system will be able to see the password in the process space. > Failing this, is there a way to get fetchmail to read it's configuration > from a designated run file, instead of the default '.fetchmailrc'? Yes, the "-f" option: http://www.fetchmail.info/fetchmail-man.html#10 -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche |