roundcube / roundcubemail-docker

Resources to build Docker images for Roundcube Webmail
290 stars 128 forks source link

managesieve redirect has no access to sendmail #264

Closed chiefbrain closed 2 months ago

chiefbrain commented 2 months ago

On using a redirect rule in managesieve

if header :contains "subject" ["order", "buy"] {
  redirect "orders@company.dom";
}

the following error occurs: redirect action: failed to redirect message to <redirect@domain.tld>: Failed to execute sendmail (temporary failure)

Apparently, sendmail from the hosts system is needed.

waja commented 2 months ago

the following error occurs: redirect action: failed to redirect message to redirect@domain.tld: Failed to execute sendmail (temporary failure)

This is issued by the IMAP server (dovecot) and not related to the roundcube instance.

chiefbrain commented 2 months ago

This is issued by the IMAP server (dovecot) and not related to the roundcube instance.

I thought the directory containing the log is mounted to the container so that roundcube can write to it and since sendmail in the container is used, it produces the error. But the log directory is not mounted. I suppose roundcube communicates with the managesieve daemon so this error originates from the hosts as you said. Thank you for your quick reply.