Post your script that you got so far, explain where you get
stuck/confused, and someone will probably be happy to help.
On Fri, Oct 20, 2023 at 02:05:13PM +0200, Sagar Acharya wrote:
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