EnglishFrenchSpanish

OnWorks favicon

pycmail - Online in the Cloud

Run pycmail in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command pycmail that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


pycmail - mail sorter

SYNOPSIS


pycmail [-d debuglevel] [-t] [-c conffile] [file1 file2 file3 ...]

DESCRIPTION


pycmail is a mail sorter similar to procmail, written in python, using python syntax for
mail delivery.

OPTIONS


file1 file2 ... read mails from file1 file2 ... instead of from stdin (useful for mail
postprocessing)

-d level, --debuglevel level
set debuglevel to level.

-t testing mode. No mail delivery will be done. Use in conjuction with -d

-c conffile, --config=conffile
use file conffile as a user configuration file (instead of ~/.pycmailrc )

-D define
add define to the DEFINES list (this can be tested later in the .pycmailrc to
modify the behaviour). Can be repeated several times to add more strings.

USAGE


pycmail should be invoked automatically from the .forward file when mail arrives.

Default debuglevel is 0, which means pycmail tries to deliver mail in almost foolproof
way: if there is any error in ~/.pycmailrc file, mail will be delivered to the default
mailbox (such as /var/spool/mail/USERNAME ).

If the debuglevel is 1, any error in ~/.pycmailrc file will be printed, resulting in
bounced mail (but pycmail will still try to deliver the mail to default mailbox).

Higher debuglevels will print more information about the actual mail processing. The
bigger the debuglevel, the more detailed information is printed.

To test your configuration, do something like this:
formail -s pycmail -d 2 -t < your_test_mailbox_file

Use pycmail online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad