• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux Mail::Procmailrc Download

Mail::Procmailrc

September 15, 2009
Procmail recipe file interface software.
Version 1.09
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Scott Wiersdorf
Mail::Procmailrc is a Perl module that allows you to parse procmail recipe files and store their contents in an object for future manipulation and saving, making recipe management much simpler. Although it has some "CAVEATS" and "BUGS/TODO" to be aware of, it's still an incredibly useful tool for developers who regularly work with procmail rc files.

With Mail::Procmailrc, you can even create a new, empty object and add new recipes and/or variables to it before writing it out to a file. Recipes and variables are written to the file in the order they're parsed and added. However, if you want to re-order the recipes, you may do so by getting a handle on the variable or recipe list and ordering them yourself.

The Mail::Procmailrc object is essentially a list of procmail component objects, which preserves the order in which it encounters these procmail components and stores them as a list of objects in the main Mail::Procmailrc object. When the module parses a procmail rc file, it decides which lines are variable assignments, comments, and recipes to maintain the order.

To use Mail::Procmailrc, you'll need to install it and write code that calls the module's functions. The sample code below shows how you might use the module to parse a procmail rc file found at "$HOME/.procmail/rc.spam":

```
use Mail::Procmailrc;

## create a new procmailrc object and initialize it
$pmrc = new Mail::Procmailrc("$HOME/.procmail/rc.spam");

## add a new variable
$pmrc->push( new Mail::Procmailrc::Variable(["FOO=bar"]) );

## add a new recipe
$recipe =rc} ) {
## find the recipe we just added by its 'info' string
next unless $obj->stringify =~ /^## this will catch evil email messages/m;
## we want to block emails about censorship, too ;o)
push @{$obj->conditions}, '* 1^0 censor(ship|ing)?'
}

## write this object to disk
$pmrc->flush;
```

Overall, Mail::Procmailrc is an excellent Perl module that can be a valuable addition to any procmail developer's toolbox.
What's New

Version 1.09: N/A

Free Download 22.2K
310
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

Gum
Dust Sand is a GNOME desktop theme that gives your interface a ...
Xfce 4 Weather Plugin
Xfce 4 Weather Plugin displays the current temperature and weather conditions by ...
Manauton
Manauton is sound recording software that allows for the digital capturing of ...
Yawi 3D
Yawi3D software provides useful tools for supervised sampling of tumoral masses in ...
mkinitramfs
mkinitramfs creates the ultimate initramfs image, ideal for booting an operating system.
check_updates
Check_updates is a Nagios plugin that verifies the status of RedHat or ...
Piren
Piren is a HTPC platform that is capable of live booting from ...
xurgency
Xurgency software notifies completion of processes like emerge, wget, or updatedb in ...
Jujunie-Integration
Jujunie-integration software combines external applications, protocols, and tools into a single platform.
Kexis
Kexis is a software tool that compresses WAV files without any loss ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.