Subj : Saving inbound packets To : Alan Ianson From : Angel Ripoll Date : Sun Jun 27 2021 16:45:42 Hola Alan! 26 Jun 21 03:05, Alan Ianson dijo a All: AI> There are times I would like to look at an inbound packet after tossing AI> when there are unexpected errors or ???. AI> Is there a way to keep inbound packets after tossing to inspect later? I do this: ------8<------8<----Principio de copia-paquetes.sh-----8<------8<------8< #!/bin/bash ##################################################################### # Copio los paquetes que llegan para poder ver los mensajes perdidos ##################################################################### echo "Empiezo a copiar paquetes" SECURE=/var/spool/ftn/secure BACKUPDIR=/srv/fido/paquetes pushd $BACKUPDIR if [ ! -d "`date +%Y`" ]; then mkdir `date +%Y` fi cd `date +%Y` if [ ! -d "`date +%m`" ]; then mkdir `date +%m` fi cd `date +%m` if [ ! -d "`date +%d`" ]; then mkdir `date +%d` fi cd `date +%d` find $SECURE -iname "*.pkt" -exec cp -p \{\} ./ \; for f in mo tu we th fr sa su; do find $SECURE -iname "*.${f}?" -exec cp -p \{\} ./ \; done popd ------8<------8<----Fin de copia-paquetes.sh -----8<------8<------8< I want you to make the copy for days. So I do not have many packages in each directory. Of course, you can shorten the directory structure :) I execute it before processing the mail, of course :) Hope this can help you Un saludo, Angel Ripoll aripoll @ zruspas.org --- GoldED+/LNX 1.1.5-b20180707 + HPT 1.9 + Binkd 1.1 en Debian * Origin: Synchronet - bbs.zruspas.org - Zruspa's BBS - (2:341/66) .