I need to pipe email to a script. I found an earlier thread from 2004 which referenced this same problem http://www.interworx.com/forums/archive/index.php/t-237.html but I’m still stuck. From what I understand I need to create a file in:
The filename should be: .qmail-myemail
And the contents should be:
However, this doesn’t seem to trigger the program when sending an email to email@example.com
I have not setup an alias or a mailbox with this email address. The permissions on ‘someprogram’ are 777 and the permissions and owner on .qmail-myemail are:
-rw-r–r-- 1 vpopmail mydomain 64 Feb 3 13:13 .qmail-myemail
I’ve restarted qmail… Any ideas what I’m doing wrong?
I’d appreciate your assistance.