# tail --follow=mylog.log
От хвоста человека:
With --follow (-f), tail defaults to following the file descriptor,
which means that even if a tail’ed file is renamed, tail will continue
to track its end. This default behavior is not desirable when you
really want to track the actual name of the file, not the file descrip‐
tor (e.g., log rotation). Use --follow=name in that case. That causes
tail to track the named file by reopening it periodically to see if it
has been removed and recreated by some other program.
Таким образом в этом случае с помощью -F
опция была бы корректна.
-F same as --follow=name --retry
Для двоичного файла, чтобы смочь быть выполненным sendmail с smrsh
активированный необходимо добавить ссылку в smrsh каталоге (по крайней мере, в Redhat)
Таким образом, необходимо сделать следующее
cd /etc/smrsh
ln -s /usr/bin/dspam dspam
И затем измените свои псевдонимы на
spam: "|dspam --user global --class=spam --source=error"
Иначе можно всегда отключать smrsh функциональность от sendmail, но я не рекомендую той опции