Hello, I have a problem concerning my sendmail server; I have problems when piping mail to other programs, this is an example:
Code:
fhd@paron-02 ~ $ cat ~/.forward
"|/usr/bin/cat > /home/fhd/test_email"
fhd@paron-02 ~ $ ls /home/fhd/test_email
ls: /home/fhd/test_email: No such file or directory
fhd@paron-02 ~ $ echo "testing" | mail -s "" -c "" fhd
fhd@paron-02 ~ $ ls /home/fhd/test_email
ls: /home/fhd/test_email: No such file or directory
As you can see, it does not work. It also doesn't work when I write this to the /etc/mail/aliases file, the piping is just ignored, while forwarding to users and files works perfectly.
I really don't know which configuration file this issue could be related to, if you want to see any, please tell me and I will edit this post afterwards.
tia