Hi all!
I'd like to create an email account which only accepts encrypted email. This of course shall not affect other users and their mail boxes. I don't have a problem writing a simple script which checks a single message for whether or not it's encrypted. but I have no clue where to hook such a script in a Plesk environment. Plesk obviously uses qmail as an MTA, and as spam usually is filtered at that stage I considered doing a similar thing but I don't know how, especially on a per-user-basis.
If possible I'd like to send an automated response message to unencrypted messages which contains the download link for the public key.
Alternatively I can periodically run a cronjob to check for new mail and filter accordingly, but that's not a very nice solution. I'd like to avoid usage of crond for this.
I'd like to create an email account which only accepts encrypted email. This of course shall not affect other users and their mail boxes. I don't have a problem writing a simple script which checks a single message for whether or not it's encrypted. but I have no clue where to hook such a script in a Plesk environment. Plesk obviously uses qmail as an MTA, and as spam usually is filtered at that stage I considered doing a similar thing but I don't know how, especially on a per-user-basis.
If possible I'd like to send an automated response message to unencrypted messages which contains the download link for the public key.
Alternatively I can periodically run a cronjob to check for new mail and filter accordingly, but that's not a very nice solution. I'd like to avoid usage of crond for this.