Can you please help me with a sample script for accepting or rejecting mail in 
lua.

Say there is myfilter.lua within /etc/smtpd/

Can one please help with a sample whose pseudocode goes like

fetch(mail)if mailbody contains foo, reject,
else if mailbody contains bar, accept.

Such a sample script would help very much to support users write their own 
custom filters.
Thanking you
Sagar Acharya
https://humaaraartha.in/selfdost/selfdost.html

Reply via email to