Peter Peltonen wrote:
Hi,

I'm looking for the most simple way to execute a bash script always
when receiving
a new email? Could I do this with mailfilter? Or can I run the script
from user's .qmail file somehow?

Guess you could do it either way. The mailfilter script is run from .qmail files: |/var/qmail/bin/preline /usr/bin/maildrop -A 'Content-Filter: maildrop-toaster' /etc/mail/mailfilter I would suggest reading up on maildrop and mailfilter and doing what you need to do in the mailfilter script (little different than bash).

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to