#!/bin/bash

# Check for new messages to send trough FTN channels
# must be ran by user news
su - news -c "/usr/lib/news/send-ifmail"

# check for outgoing pkt at each hour to compress
# them into arcmail.
su - fnet -c "/usr/lib/ifmail/ifpack"

# check for incoming pkt at each hour.
# ifunpack uncompress the arcmail and pipes the pkt to iftoss
# which converts to rfc822/rfc1036 format
su - fnet -c "/usr/lib/ifmail/ifunpack"

exit 0
