Thanks, this got me looking into sendmail a little closer. I've never used the program and didn't realize a dummy sendmail binary was installed on my system. Actually installed sendmail and it works now, messages are being filtered.
On Tue, Dec 18, 2018 at 4:32 AM Simon Matter <simon.mat...@invoca.ch> wrote: > > I'm trying to setup sieve and getting the following error in my logs: > > > > Dec 17 10:36:07 bllmail01 cyrus/lmtp[14530]: sieve runtime error for > > jschaef...@harmonywave.net id > > <CAFNRWC6zKssMS8cdyg1yG9t-fv6=+1jrpf4p5bkd8wgq-19...@mail.gmail.com>: > > Reject: Sendmail process terminated normally, exit status 255 > > > > > > I'm following the documentation here: > > > https://www.cyrusimap.org/imap/reference/admin/sieve.html?highlight=sieve#testing-the-sieve-server > > > > I'm trying to get sieve working on my IMAP server. Using Ubuntu 16.04 > with > > the cyrus-imapd 2.4.18-3 package. I'm using the test sieve script shown > in > > the documentation to reject everything from my personal email: > > > > require ["reject","fileinto"]; > > if address :is :all "From" "jschaeffer0...@gmail.com" > > { > > reject "testing"; > > } > > > > I then connect using sieveshell, upload the file, and activate it: > > > > root@bllmail01:~# sieveshell -u jschaef...@harmonywave.net -a > > jschaef...@harmonywave.net mail.harmonywave.cloud > > connecting to mail.harmonywave.cloud > > Please enter your password: > >> put /tmp/testing.sieve testing > >> activate testing > >> list > > testing <- active script > >> quit > > > > However when I send a test email from my personal account to the email > > I have setup on the IMAP server it always comes through and I get this > > in mail.log: > > > > Dec 17 10:36:07 bllmail01 cyrus/lmtp[14530]: sieve runtime error for > > jschaef...@harmonywave.net id > > <CAFNRWC6zKssMS8cdyg1yG9t-fv6=+1jrpf4p5bkd8wgq-19...@mail.gmail.com>: > > Reject: Sendmail process terminated normally, exit status 255 > > I think sieve tries to send mail using the configured sendmail binary and > that doesn't work for some reason. You may check the sendmail config in > your imapd.conf and also consult the mail logs to learn more. > > Regards, > Simon > >
---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus