Hello,
thanks for reading my question and sorry for my bad english. I use a perl script to analyze differed headers from emails (saved as txt file). The script
search every $x hours via cronjob in the directory for new emails. Like perl script.pl $email.filename.txt
The perl script must now check for a valid dkim signature. I did some tests with Mail:: DKIM:: Verifier. But it only works when i read the file from stdin like perl dkim.pl < email.txt. I donīt know how to use the perl module with $dkim->load(*STDIN);. I have tried to load the file with a filehandle like
$dkim->load(<fh>); or $dkim->load($filename);. But it doesn't work. Has someone an idea how i can solve this?