Re: [SLUG] SPAM prevention

From: Paul M Foster (paulf@quillandmouse.com)
Date: Sun Jan 13 2002 - 22:42:50 EST


On Sun, Jan 13, 2002 at 09:24:10PM -0500, Larry Sanders wrote:

> This would be a great presentation. If you don't use it, WHO?
> Who could/would do a presentation on setting this up.
> Say start with RedHat or other Distro....
> Larry :-)
>

Doesn't even require a full presentation.

Fetchmail is configured via your ~/.fetchmailrc . For newbies, the ~/
means your home directory, usually /home/yourname . That dot (.) in
front of the filename is a real part of the filename, and means that
this file is hidden (even though you can edit it). This file should have
the following permissions (based on my file, and knowing that fetchmail
is persnickety about permissions): 710. That means that when you look at
it with ls -a, it will look like this:

-rwx--x--- fetchmail ...

You can achieve this by doing:

chmod 710 ~/.fetchmailrc

Here's what a typical one looks like:

poll pop3.myisp.com
protocol pop3
timeout 180
username yourname@myisp.com
password mypassword
mda "/usr/bin/procmail -d %s"

All this assumes a pop3 server at pop3.myisp.com, which has
yourname@myisp.com as your username and mypassword as your password. The
timeout parameter tells fetchmail to time out if it can't get a server
response within 180 seconds (3 minutes).

The mda parameter tells fetchmail to hand off the mail to procmail. If
you look at the FAQ on the SLUG site, and search for "procmail", you'll
see a question/answer on how to set up procmail.

HTH,

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:46:47 EDT