Setting up sieve with spam learning

@lbutlr kremels at kreme.com
Tue Feb 13 06:57:40 EET 2018


On 2018-02-12 (20:11 MST), @lbutlr <kremels at kreme.com> wrote:
> 
> On 2018-02-12 (19:45 MST), Larry Rosenman <larryrtx at gmail.com> wrote:
>> 
>> Make sure you sievec the sieve global scripts. 
> 
> Id did miss that in the instructions for some reason, but it reports the same error.
> 
> # sievec /usr/lib/dovecot/sieve/report-spam.sieve 
> report-spam: line 7: error: pipe command: invalid program name '/usr/local/bin/sa-learn-spam.sh'.
> report-spam: error: validation failed.

Aha! I figured it out. The sa-learn-spam.sh file must be int eh same folder, you cannot specify an absolute path.

-- 
He [Rincewind] wondered how old the tower really was. Older than the
University, certainly. Older than the city, which had formed about it
like scree around a mountain. Maybe older than geography.



More information about the dovecot mailing list