File: pycmail.1

package info (click to toggle)
pycmail 0.1.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 116 kB
  • ctags: 83
  • sloc: python: 326; makefile: 40
file content (68 lines) | stat: -rw-r--r-- 1,562 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.TH PYCMAIL 1
.SH PYCMAIL
pycmail \- mail sorter
.SH SYNOPSIS
.B pycmail
.I "[-d debuglevel] [-t] [-c conffile] [file1 file2 file3 ...]"
.SH "DESCRIPTION"
.B pycmail
is a mail sorter similar to procmail, written in python, using python
syntax for mail delivery.
.SH OPTIONS

.TP
.B file1
.B file2
.B ...
read mails from file1 file2 ... instead of from stdin (useful for mail postprocessing)
.TP
.B  \-d level, --debuglevel level
set debuglevel to level.
.TP
.B  \-t
testing mode. No mail delivery will be done. Use in conjuction with
.B \-d
.TP
.B  \-c conffile, --config=conffile
use file 
.B
conffile
as a user configuration file (instead of
.B
~/.pycmailrc
)
.SH USAGE
.B pycmail
should be invoked automatically from the 
.I .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 
.I ~/.pycmailrc
file, mail will be delivered to the 
default mailbox (such as 
.I /var/spool/mail/USERNAME
).

If the debuglevel is 1, any error in 
.I ~/.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:
.nf
formail -s pycmail -d 2 -t < your_test_mailbox_file
.fi

.SH "SEE ALSO"
.BR procmail "(1),
.BR lockfile "(1),
.BR formail "(1)
.SH AUTHOR
Radovan Garabik <garabik@melkor.dnp.fmph.uniba.sk>