AlpineWeb Home
Search: For:   ~ Advanced Search  

  Support Home     Documentation     Knowledgebase     Help Desk     Blog 

Hosting > Virtual Private Servers > Administration > E-mail > Procmail > Saturday, May 17, 2008

Procmail - E-Mail Sorting and Filtering Utility


Procmail is an E-mail processing utility and language. It can be used to filter incoming E-mail and process it.

Installation

To install procmail, SSH to your VPS2 as root and run the following command from the prompt.

# vinstall procmail

This will install the procmail program and utilities to your VPS2. The next step is to configure sendmail to use procmail as the local delivery agent (LDA) using the M4 macros.

In the .mc file you will be using, add the following line.
FEATURE (`local_procmail_lmtp')
Check to make sure your .mc file does not have any other local delivery agents. You may have to remove or comment out the local_lmtp delivery option.
# FEATURE (local_lmtp)
Follow the instructions for using the M4 macros to build your .cf file and copy it to the /etc/mail/sendmail.cf file. You will need to restart sendmail to start using the new sendmail.cf with procmail.

Configuring Procmail

You can customize the behavior of procmail by creating a procmailrc file. The file must be located in your /usr/local/etc/ directory, or a user can have a .procmailrc file in their home directory. The following document discusses a few good mail filtering recipies you can create for procmail.

Documentation

NOTE: All questions sent to the Support Staff with regard to Procmail configuration will be answered with a URL to this page.


Technical Support
° Getting Started Guides
  FreeBSD
° Basic Hosting Help
° Signature Hosting Help
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  Linux
° VPS v3 Help
° MPS v3 Help
  SaaS
° Sugar CRM
  DNS
° Domain Name Service
° Domain Registration
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center




  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design