On Wed, May 27, 2020 at 04:59:20PM -0300, Marcelo Laia wrote:
3. If the attachment is larger than 1MB, send a message with the
following text: "Dear colleague, your message has not been delivered. My
system has detected that it contains attachments larger than 1MB. It was
blocked! Please upload the attachment in the cloud ( drive, dropbox,
onedrive, etc.) and send me the message again with the link to download
the attachment. Thank you very much! "
4. Purge the message from my local and remote dir
Not what you asked specifically, but wouldn't it be easier to do this
filtering + autoresponse on the server side? Unless you have a
particular requirement to do this on the client side, of course, in
which case ignore this message.
Best,
--
José María (Chema) Mateos || https://rinzewind.org