home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
u
/
unpost
/
!Unpost
/
cfg
/
Email
< prev
next >
Wrap
Text File
|
1995-10-02
|
4KB
|
145 lines
# This configuration file tells UNPOST how to handle email (and,
# if I remember correctly, nn) segments.
segment "^From "
{
header
{
"^Subject:"
{
"^Subject:(.*)[[({]Part[_ ]*([0-9]+)[^0-9]+([0-9]+)[)\]}](.*)"
{
id 1
segment number 2
segments 3
alternate id 4
case ignore
}
"^Subject:(.*)Part[_ ]*[[({]([0-9]+)[^0-9]+([0-9]+)[)\]}](.*)"
{
id 1
segment number 2
segments 3
alternate id 4
case ignore
}
"^Subject:(.*)Part[_ ]+([0-9]+)[^0-9]+([0-9]+)(.*)"
{
id 1
segment number 2
segments 3
alternate id 4
case ignore
}
"^Subject:(.*)[([{]([0-9]+)[^0-9]+([0-9]+)[)\]}](.*)"
{
id 1
segment number 2
segments 3
alternate id 4
case ignore
}
"^Subject:(.*)([0-9]+)([/|]|[ \t]+of[ \t]+)([0-9]+)(.*)"
{
id 1
segment number 2
segments 4
alternate id 5
case ignore
}
"^Subject:(.*)"
{
id 1
segment number 0
segments 0
alternate id 0
case ignore
}
}
"^X-File-Name:"
{
"^X-File-Name:[ ]+(.*)"
{
id 1
segment number 0
segments 0
alternate id 0
case sensitive
}
}
"^X-Part:"
{
"^X-Part:[ ]+([0-9]+)"
{
id 0
segment number 1
segments 0
alternate id 0
case sensitive
}
}
"^X-Part-Total:"
{
"^X-Part-Total:[ ]+([0-9]+)"
{
id 0
segment number 0
segments 1
alternate id 0
case sensitive
}
}
"^Uusplit-part:"
{
"^Uusplit-part:[ ]+([0-9]+)"
{
id 0
segment number 1
segments 0
alternate id 0
case sensitive
}
}
"^Uusplit-parts:"
{
"^Uusplit-parts:[ ]+([0-9]+)"
{
id 0
segment number 0
segments 1
alternate id 0
case sensitive
}
}
}
body
{
"^section [0-9]+ of uuencode [0-9]+\.[0-9]+ of file "
"[^ ]+ by R.E.M."
{
"^section ([0-9]+) of uuencode [0-9]+\.[0-9]+ of file "
"([^ ]+)[ ]+by R.E.M."
{
id 2
segment number 1
segments 0
alternate id 0
case sensitive
}
}
"^[^ ]+[ ]+section[ ]+[0-9]+/[0-9]+[ ]+UUXFER "
"ver [^ ]+ by David M. Read"
{
"^([^ \t]+)[ \t]+section[ \t]+([0-9]+)/([0-9]+)[ \t]+UUXFER "
"ver [^ \t]+ by David M. Read"
{
id 1
segment number 2
segments 3
alternate id 0
case sensitive
}
}
}
}