Hi, Try tailing journalctl for your MTA service and see if that helps (I found that helped me when I had problems).
Cheers Dan On July 28, 2025 10:10:46 AM GMT+02:00, "Kamil Jonca via dovecot" <[email protected]> wrote: Aki Tuomi via dovecot <[email protected]> writes: On 28/07/2025 10:46 EEST Kamil Jonca via dovecot <[email protected]> wrote: I have scripts in 2 places: sieve_script personal { path = ~/.dovecot.sieve } sieve_script before { path = /etc/dovecot/sieve } /etc/dovecot/sieve is directory with (currently) one script. This script add header to message. And it seems, that "before" script is not executed. Any hints? KJ Try running with log_debug=category=sieve and see what gets logged? Aki Hm. No mention about "before" script? --8<---------------cut here---------------start------------->8--- 2025-07-28T10:07:00.764479+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Pigeonhole version 2.4.1-4 (0a86619f) initializing 2025-07-28T10:07:00.764561+02:00 alfa dovecot: lda(kjonca): Debug: sieve: storage personal: file: Using Sieve script path: /home/kjonca/.dovecot.sieve 2025-07-28T10:07:00.764588+02:00 alfa dovecot: lda(kjonca): Debug: sieve: storage personal: file: script '.dovecot': Opened from 'personal' 2025-07-28T10:07:00.764622+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Using the following personal Sieve script: personal/.dovecot 2025-07-28T10:07:00.764654+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Start execute sequence 2025-07-28T10:07:00.764680+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Opening script 1 of 1 from 'personal/.dovecot' 2025-07-28T10:07:00.764707+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Loading script personal/.dovecot 2025-07-28T10:07:00.764727+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Script binary /home/kjonca/.dovecot.svbin successfully loaded 2025-07-28T10:07:00.764751+02:00 alfa dovecot: lda(kjonca): Debug: sieve: storage personal: file: script '.dovecot': Saving binary to '/home/kjonca/.dovecot.svbin' 2025-07-28T10:07:00.764776+02:00 alfa dovecot: lda(kjonca): Debug: sieve: binary /home/kjonca/.dovecot.svbin: save: not saving binary, because it is already stored 2025-07-28T10:07:00.764797+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Executing script from '/home/kjonca/.dovecot.svbin' 2025-07-28T10:07:00.764823+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Run script '/home/kjonca/.dovecot.svbin' 2025-07-28T10:07:00.764908+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Started running script '/home/kjonca/.dovecot.svbin' 2025-07-28T10:07:00.766300+02:00 alfa dovecot: lda(kjonca): Debug: sieve: Aborted running script '/home/kjonca/.dovecot.svbin' 2025-07-28T10:07:00.766352+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Execute result 2025-07-28T10:07:00.766374+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Executing result (status=ok, commit=no) 2025-07-28T10:07:00.766407+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Starting execution of actions 2025-07-28T10:07:00.766430+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:fileinto action: Start storing into mailbox admin/bambus 2025-07-28T10:07:00.766458+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Executing actions 2025-07-28T10:07:00.766484+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Executing fileinto action 2025-07-28T10:07:00.766505+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:fileinto action: Execute storing into mailbox 'admin/bambus' 2025-07-28T10:07:00.772270+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:fileinto action: Saving to mailbox 'admin/bambus' successful so far 2025-07-28T10:07:00.772329+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finished executing fileinto action (status=ok, keep=canceled) 2025-07-28T10:07:00.772354+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finished executing actions (status=ok, keep=none, executed=yes) 2025-07-28T10:07:00.772387+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finished executing result (no commit, status=ok, keep=no) 2025-07-28T10:07:00.772411+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Sequence ended 2025-07-28T10:07:00.772437+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Finishing sequence (status=ok) 2025-07-28T10:07:00.772461+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Executing result (status=ok, commit=yes) 2025-07-28T10:07:00.772482+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Starting execution of actions 2025-07-28T10:07:00.772502+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Executing actions 2025-07-28T10:07:00.772527+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finished executing actions (status=ok, keep=none, executed=yes) 2025-07-28T10:07:00.772550+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finalizing actions 2025-07-28T10:07:00.772577+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finalize fileinto action (status=ok, action_status=ok, commit_status=ok, pre-commit=yes) 2025-07-28T10:07:00.772603+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Commit fileinto action 2025-07-28T10:07:00.772628+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:fileinto action: Commit storing into mailbox 'admin/bambus' 2025-07-28T10:07:00.817005+02:00 alfa dovecot: lda(kjonca): sieve: <[email protected]>:fileinto action: stored mail into mailbox 'admin/bambus' 2025-07-28T10:07:00.817133+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finished finalizing actions (status=ok, keep=none, committed=yes) 2025-07-28T10:07:00.817195+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finishing actions 2025-07-28T10:07:00.817224+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finish fileinto action 2025-07-28T10:07:00.817252+02:00 alfa dovecot: lda(kjonca): Debug: sieve: <[email protected]>:Finished executing result (final, status=ok, keep=no) 2025-07-28T10:07:00.817288+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Sequence finished (status=ok, keep=no) 2025-07-28T10:07:00.817310+02:00 alfa dovecot: lda(kjonca): Debug: sieve: multi-script: Destroy --8<---------------cut here---------------end--------------->8---
_______________________________________________ dovecot mailing list -- [email protected] To unsubscribe send an email to [email protected]
