I had a ZFS event occur overnight, but never received the associated notification email. In the system log, I see the following:
I am able to manually forward email just fine using sendmail, and continue to regularly receive replication and VZdump notifications just fine.
This seems like a potential Perl issue. See similar issue on StackOverflow: https://stackoverflow.com/questions/4552197/insecure-envenv-while-running-with-t-switch
Perhaps adding the following line after
pvemailforward[3873]: mail forward failed: Insecure $ENV{IFS} while running with -T switch at /usr/bin/pvemailforward.pl line 36, <DATA> line 755.
I am able to manually forward email just fine using sendmail, and continue to regularly receive replication and VZdump notifications just fine.
This seems like a potential Perl issue. See similar issue on StackOverflow: https://stackoverflow.com/questions/4552197/insecure-envenv-while-running-with-t-switch
Perhaps adding the following line after
$ENV{'PATH'} = ...
would resolve this? I don't have a great test case, as mail forwarding works fine most of the time.delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};