Connecting Unix to Demon

Author: Paul Civati (paul@xciv.org)
21Dec1996    PSC    Initial version.

Sendmail

  1. Installation
  2. Configuration
  3. Miscellaneous

1. INSTALLATION

Obtaining Sendmail:

Sendmail can be obtained from the primary ftp site:

Or the mirror on Sunsite UK:


2. CONFIGURATION

Sample .mc configuration file for xciv.demon.co.uk.

In sendmail.cf, include at the end:

# Sources of junk mail 
F{JunkFull} /etc/sendmail.junk-full 
F{JunkDomain} /etc/sendmail.junk-domain

Scheck_mail 
# Bounce junk mail 
R<$={JunkFull}>                  $#error $@ 5.7.1 $: Local junk policy rejects
R$*                              $: $>3 $1
R$* < @ $={JunkDomain} . > $*    $#error $@ 5.7.1 $: Local junk policy rejects

Then populate /etc/sendmail.junk-full with complete email addresses you 
wish to reject, one per line:

spammer@aol.com
random-luser@compuserve.com

and /etc/sendmail.junk-domain with domains that you want to cut off:

enterprise.net
cyberpromo.com
luser-host.demon.co.uk


5. MISCELLANEOUS

Resources:


Last modified: Sun Sep 21 15:08:52 BST 1997