I want to monitor a special folder and execute a shell script each time I put an email to it. I would like to automate that way the process of SPAM reporting (SPAMCop). Is that possible with sieve? Lefteris
On 13.5.2019 11.14, Lefteris Tsintjelis via dovecot wrote:> I want to monitor a special folder and execute a shell script each > time I put an email to it. I would like to automate that way the > process of SPAM reporting (SPAMCop). Is that possible with sieve? > > LefterisYes, see https://wiki2.dovecot.org/HowTo/AntispamWithSieve Aki
On 13/5/2019 11:45, Aki Tuomi via dovecot wrote:> > On 13.5.2019 11.14, Lefteris Tsintjelis via dovecot wrote: >> I want to monitor a special folder and execute a shell script each >> time I put an email to it. I would like to automate that way the >> process of SPAM reporting (SPAMCop). Is that possible with sieve? >> >> Lefteris > > Yes, see > > https://wiki2.dovecot.org/HowTo/AntispamWithSieve > > AkiGreat! Seems exactly what I need. Thank you
On 13/5/2019 11:45, Aki Tuomi via dovecot wrote:> > On 13.5.2019 11.14, Lefteris Tsintjelis via dovecot wrote: >> I want to monitor a special folder and execute a shell script each >> time I put an email to it. I would like to automate that way the >> process of SPAM reporting (SPAMCop). Is that possible with sieve? > > Yes, see > > https://wiki2.dovecot.org/HowTo/AntispamWithSieveIt seems to work great but only within the same server. It I copy anything from a different server it simply does not work. Is there a way around this?