# This is a procmail rule to automaticaly pass your incomming mail to ddtc, it
# also save mails in a mailbox called `ddts' and put errors in `ddts-errors'

##### deal with mails from/to the ddts

# save outgoing
:0:
* ^To: pdesc@ddtp.debian.org
ddts

# backup
:0 c:
* ^From: pdesc@ddtp.debian.org
ddts

# pass to ddtc standard input
:0 wA:
| ddtc parse

# If we are here, an error occured
:0 A:
ddts-errors
