User Tools

Site Tools


doc:appunti:linux:sa:postfix_spamassassin_clamav_dovecot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:linux:sa:postfix_spamassassin_clamav_dovecot [2022/09/30 11:38] – [Dovecot Local Delivery Agent] niccolodoc:appunti:linux:sa:postfix_spamassassin_clamav_dovecot [2023/02/17 15:47] – [Dovecot Local Delivery Agent] niccolo
Line 251: Line 251:
 mailbox_command = /usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT" mailbox_command = /usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
 </file> </file>
 +
 +==== Error stats-writer Broken pipe ====
  
 **WARNING**: At least in **Debian 11 Bullseye** it seems that the **dovecot-lda** sometimes (not always!) tries to write to the **Dovecot Stats Service** using the **/run/dovecot/stats-writer** socket. Unfortunately the socket is owned by **root:dovecot** and has mode **0660** (default Debian settings), whereas the LDA is invoked by Postfix with just the user's privileges. So you will find error messages like this into the mail.log: **WARNING**: At least in **Debian 11 Bullseye** it seems that the **dovecot-lda** sometimes (not always!) tries to write to the **Dovecot Stats Service** using the **/run/dovecot/stats-writer** socket. Unfortunately the socket is owned by **root:dovecot** and has mode **0660** (default Debian settings), whereas the LDA is invoked by Postfix with just the user's privileges. So you will find error messages like this into the mail.log:
Line 278: Line 280:
   * [[https://dovecot.org/pipermail/dovecot/2022-February/124267.html|postfix, dovecot-lda, /run/dovecot/stats-writer socket permision and local user delivery, again]]   * [[https://dovecot.org/pipermail/dovecot/2022-February/124267.html|postfix, dovecot-lda, /run/dovecot/stats-writer socket permision and local user delivery, again]]
  
 +==== Error Command output: Aborted ====
 +
 +Another subtle error with Dovecot LDA can be reported generically into the Postfix log as:
 +
 +<code>
 +postfix/local[1615363]: E85037D1C6: to=<user@domain.tld>, ...
 +    status=bounced (Command died with status 134:
 +    "/usr/lib/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"". Command output: Aborted )
 +</code>
  
 ===== Sieve filtering ===== ===== Sieve filtering =====
Line 905: Line 916:
 Subject: Attenzione: mailbox quasi piena Subject: Attenzione: mailbox quasi piena
 Date: $DATE Date: $DATE
 +Content-Type: text/plain; charset=UTF-8; format=flowed
 +Content-Transfer-Encoding: 8bit
  
 La tua mailbox è quasi piena; lo spazio occupato ha superato il ${ARG1}%. La tua mailbox è quasi piena; lo spazio occupato ha superato il ${ARG1}%.
doc/appunti/linux/sa/postfix_spamassassin_clamav_dovecot.txt · Last modified: 2023/10/30 11:09 by niccolo