Look under the "Run control heading in the fetchmail (1) man page, it is
there.  However, here is mine (with accounts, machine names, and passwords
removed).

#poll mail.myoldisp.net proto pop3 user <username> pass <passwd>
poll pop-server.mynewisp.com proto pop3 user <username> pass <passwd>
poll mail.myschool.edu proto pop3 user <username> pass <passwd>

Now whenever I run fetchmail it querys both mail servers.



On Sat, 29 May 1999, David Karlin wrote:

> Hello,
> I'm using the following fetchmail command to download my mail from
> my smarthost:
>       
>       /usr/bin/fetchmail -u funk48 travelin.com
> 
> This command causes me to be prompted for my mail password, but 
> I'd like to be able to run this as a script in a cron job, i.e. to
> to have this script run w/o user input.
> 
> I've read the manpage for fetchmail and it says:
> 
> "The default behavior of fetchmail is to prompt you for your 
> mailserver password before the connection is established. 
> This is the safest way to use fetchmail and ensures that your 
> password will not be compromised. You may also specify your 
> password in your ~/.fetchmailrc file. This is convenient when 
> using fetchmail in daemon mode or with scripts."
> 
> There is, however, no mention of the syntax for .fetchmailrc.
> 
> Q1) Is there a way to simply add the password to the command line?
> Q2) If not, then where can I find the proper syntax for .fetchmailrc?
> 
> Thanks,
> 
> -David
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

Reply via email to