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

Re: Setting up the mail program



On Fri, Jan 31, 2003 at 10:00:48AM -0800, Joris Huizer wrote:
> ----------------------------
>  /etc/fetchmailrc:
> 
> # /etc/fetchmailrc for system-wide daemon mode
> # This file must be chmod 0600, owner fetchmail
> 
> # Daemon configuration
> # These two are set in /etc/default/fetchmail
> set daemon	300		# Pool every 5 minutes

How often, in seconds, to check mail.

> set syslog			# log through syslog facility
> set no bouncemail		# avoid loss on 4xx errors
> 				# on the other hand, 5xx errors get
> 				# more dangerous...
> 
> ##########################################################################
> # Hosts to pool
> ##########################################################################
> 
> # Defaults
> ===============================================================
> # Set antispam to -1, since it is far safer to use
> that together with
> # no bouncemail
> defaults:
>   antispam -1 
>   batchlimit 100
> 
> #poll foo.bar.org with protocol pop3
> #  user baka there is localbaka here;
> 
> poll smtp.planet.nl with protocol smtp


Both lines are required.  You aren't going to be polling smtp, valid
options are pop3 and imap.

If I were to write a line to fetch pop3 off my box here, the entry
would look something like this.

poll ursine.dyndns.org with protocol pop3
     user baloo there is baloo here with password xxxxxxxx;

You'll need to include the password or fetchmail will hang when the
daemon asks for a password and isn't connected to a terminal.

-- 
 .''`.     Baloo <baloo@ursine.dyndns.org>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system

Attachment: pgpbG2nc4eKWE.pgp
Description: PGP signature


Reply to: