Re: Block, autoreplay and purge messages with attachement size large than 1MB
On 28/05/20 at 08:10, José María Mateos wrote: > On Wed, May 27, 2020 at 05:22:23PM -0300, Marcelo Laia wrote: > Now I send an e-mail to that address with a large attachment (300kb)... and > the e-mail is deleted, but for some reason I don't get the autoresponse > back. Yes! It worked! I have been created autoresponse filter first. After few days I will create another one to delete messages. I think you do not have autoresponse because you create one filter. I suggest you create two. First autoresponse and, after, delete it. Thank you so much! -- Marcelo
Re: Block, autoreplay and purge messages with attachement size large than 1MB
On Wed, May 27, 2020 at 05:22:23PM -0300, Marcelo Laia wrote: You are very welcome! I asked to do this in the client side because I use Gmail. How I could do this on the Gmail side? If it is possible, I will love it! Hi Marcelo, I've done a small test but I haven't been able to make it work, though I think I've followed a reasonable path. You're welcome to try to replicate it, I can't really tell why it fails, it's not like there's a log somewhere. First I have created a template (make sure you have them enabled: Settings > Advanced > Templates). Edit a new mail and use the "three dot" menu at the bottom of the composing window: Templates > Save draft as template > Save as new template. Give it a proper name (large_autoreply, for instance). Then create a filter with this search: "has:attachment larger:256K". I'm using 256K so we don't have to use attachments that are too large to test it. Put that in the search box (or use the options to get basically the same effect) and then click "Create filter". Choose "Delete it" and "Sent template", and choose the one we just created. Click on the blue "Create filter" button. Now I send an e-mail to that address with a large attachment (300kb)... and the e-mail is deleted, but for some reason I don't get the autoresponse back. It's true that I haven't used gmail in a while, so perhaps there is something more to the templates that I haven't done. Cheers, -- José María (Chema) Mateos || https://rinzewind.org
Re: Block, autoreplay and purge messages with attachement size large than 1MB
On 27/05/20 at 04:02, José María Mateos wrote: > 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. You are very welcome! I asked to do this in the client side because I use Gmail. How I could do this on the Gmail side? If it is possible, I will love it! -- Marcelo
Re: Block, autoreplay and purge messages with attachement size large than 1MB
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