Call procmail after sieve

George Asenov george.asenov at wpx.net
Wed Aug 31 13:13:46 UTC 2022


Thanks that was the reason for the permissions error. Unfortunately the 
next error comes that isn't explanatory:

##########################################
  Starting execution of actions
  Executing actions
  Executing pipe action
  Debug: sieve: action pipe: running program: procmail
  Error: sieve: action pipe: failed to execute program `procmail': 
vnd.dovecot.pipe extension is unconfigured
  Finished executing pipe action (status=ok, keep=canceled)
  Finished executing actions (status=ok, keep=none)
  Finished executing result (no commit, status=ok, keep=no)
  Debug: sieve: multi-script: Sequence ended
  Debug: sieve: multi-script: Finishing sequence (status=ok)
  Executing result (status=ok, commit=yes)
  Starting execution of actions
  Executing actions
  Finished executing actions (status=ok, keep=none)
  Finalizing actions
  Finalize pipe action (status=ok, action_status=ok, commit_status=ok, 
pre-commit=yes)
  Commit pipe action
  Error: sieve: failed to pipe message to program `procmail': refer to 
server log for more information. [2022-08-31 13:58:54]
  Finished finalizing actions (status=failure, keep=none)
  Finalize implicit keep (failure=yes)
  Execute implicit keep (failure=yes)
  Start storing into mailbox INBOX
  Executing implicit keep action
  Execute storing into mailbox 'INBOX'
  Saving to mailbox 'INBOX' successful so far
  Finished executing implicit keep action (status=ok)
  Finalize implicit keep action(status=ok, action_status=ok, 
commit_status=ok)
  Commit implicit keep action
  Commit storing into mailbox 'INBOX'
  stored mail into mailbox 'INBOX'
  Finish implicit keep action
  Finishing actions
  Finish pipe action
  Finished executing result (final, status=failure, keep=no)
  Debug: sieve: multi-script: Sequence finished (status=failure, keep=no)
  Debug: sieve: multi-script: Destroy
  Error: sieve: Execution of script 
/var/lib/dovecot/sieve_after/procmail.sieve failed, but implicit keep 
was successful
##########################################

On 31-Aug-22 2:27 PM, Aki Tuomi wrote:
> You are trying to execute /var/lib/dovecot/sieve-pipe/procmail though...
> 
> Aki
> 
>> On 31/08/2022 14:14 EEST George Asenov <george.asenov at wpx.net> wrote:
>>
>>   
>> [root at uk7 ~]# stat /usr/bin/procmail
>>     File: /usr/bin/procmail
>> Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (   12/    mail)
>>
>> [root at uk7 ~]# stat /usr/bin/
>>     File: /usr/bin/
>> Access: (0555/dr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
>>
>> [root at uk7 ~]# stat /usr
>>     File: /usr
>> Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
>>
>> For me it seems that everything with the permissions is ok. Others also
>> can execute it?
>>
>> Other suggestions?
>> Is the config correct?
>>
>> I forgot to mention
>> # dovecot --version
>> 2.3.16 (7e2e900c1a)
>> On
>> # cat /etc/redhat-release
>> Rocky Linux release 8.6 (Green Obsidian)
>>
>> On 31-Aug-22 1:16 PM, Bernd Petrovitsch wrote:
>>> Hi all!
>>>
>>> On 31/08/2022 11:40, George Asenov wrote:
>>> [...]> Aug 30 15:22:26 uk7 dovecot[112153]:
>>>> lda(test-uk7.teststring567.tk)<112151><BlNhECIdDmMXtgEAsVjU+A>: Fatal:
>>>> execvp(/var/lib/dovecot/sieve-pipe/procmail) failed: Permission denied
>>>
>>> That looks like a permission problem - no x Bits set on the executable
>>> and/or directories to it (for the dovecot user)?
>>>
>>> Kind regards,
>>>       Bernd
>>
>> -- 
>> Warm regards
>> George A.
>> WPXHosting
> 

-- 
Warm regards
George A.
WPXHosting


More information about the dovecot mailing list