Many thanks for the reply.
Code:
- What does the mail log on the server say about using that alias and pipe command
I'm on a shared hosting account, and so the mail logs aren't readable by myself.
Code:
- how is the filter called in /etc/aliases?
Again, I am on a shared hosting account with cPanel so I have just used the 'user level filtering' > 'add filter' in cPanel, as opposed to editing /etc/aliases directly. There is a text field entitled 'pipe to program', so I assumed there was no need for the pipe. This seemed to be validated by the script actually processing the email even though it returned a 'not delivered' message to the sender. I've tried adding in the pipe and the situation remains the same.
I've also tried creating a .forward file in /home/${LOGNAME}/, but it seems to be being ignored, or else I have an error in it - guess I need the logs!
Code:
- should the user exim runs as be allowed to execute scripts in /home/${LOGNAME}/?
I don't know if the user exim runs as should be allowed to execute scripts in /home/${LOGNAME}/, but it certainly seems as though it can, as it runs the script to produce the extracted attachments. Is that a safe assumption? Whilst I'm debugging this, I have given the script and the directory it writes to 777 permissions just-in-case.
I noticed the perl script I am using (as referenced in my initial post) is from 2003, and I wondered if the age of the script may be the reason for the 'not delivered' message. Hence earlier this morning I started experimenting with uudeview.
In the intervening time however, the hosting provider appears to be having some trouble (none of my sites they host are available), so I am unable to perform any more testing. When the hosting company have resolved their issues I'll let you know haw I get on.
Once again, many thanks for replying,
Chris