2011-03-30 14:14:36 +00:00
|
|
|
#!/bin/rc
|
|
|
|
|
|
|
|
rfork e
|
|
|
|
|
|
|
|
box=mbox
|
|
|
|
if(! test -d /mail/fs/$box)
|
|
|
|
box=`{ls -p /mail/fs | grep -v ctl | sed 1q}
|
|
|
|
if(~ $#box 0)
|
|
|
|
box=mbox # we tried
|
|
|
|
|
|
|
|
if(~ $#box 1 && test -f /mnt/plumb/seemail || test -f /mnt/term/mnt/plumb/seemail){
|
|
|
|
for(i)
|
|
|
|
plumb -dseemail -a 'filetype=vwhois digest='$i.$pid' mailtype=new sender='$i /mail/fs/$box/XXXvwhois
|
|
|
|
}
|
|
|
|
if not for (i){
|
2020-12-23 00:44:44 +00:00
|
|
|
echo vwhois: vwhois: vwhois: delivered $user From $i '(vwho)' >> /sys/log/mail
|
2011-03-30 14:14:36 +00:00
|
|
|
}
|