Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 30083

run script when postfix/dovecot get new mail

$
0
0

I have:

postfix->dovecot-> new mail go to [aaaa@11111.xemple.com] mailbox 
postfix->dovecot-> new mail go to [aaaa@22222.xemple.com] mailbox 
postfix->dovecot-> new mail go to [aaaa@33333.xemple.com] mailbox 

I need run script when incoming mail comes and be saved by dovecot for domain 22222.xemple.com

how to make when the new email comes to aaaa@22222.xemple.com dovecot run script: sh /my/script/run/after/new/email/in/22222_xemple_com/run.sh


Viewing all articles
Browse latest Browse all 30083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>