Coder Social home page Coder Social logo

v-hestiacp-sieve's Introduction

Hi there ๐Ÿ‘‹

v-hestiacp-sieve's People

Contributors

vontainment avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

v-hestiacp-sieve's Issues

imapsieve_copy uses the "spam" and "ham" directories, but they were never created

/var/log/dovecot.log:
Nov 07 12:30:48 imap: Error: /etc/dovecot/sieve/imapsieve_copy: line 11: /var/mail/imapsieve_copy/spam/[email protected]: No such file or directory
Nov 07 12:30:48 imap(info@...)<1655801><2DUoFN7snNN/AAAB>: Error: program exec:/etc/dovecot/sieve/imapsieve_copy (1655805): write(program stdin) failed: Broken pipe
Nov 07 12:30:48 imap(info@...)<1655801><2DUoFN7snNN/AAAB>: Error: sieve: failed to pipe message to program `imapsieve_copy': refer to server log for more information. [2022-11-07 12:30:48]
Nov 07 12:30:48 imap(info@...)<1655801><2DUoFN7snNN/AAAB>: Error: sieve: Execution of script /var/mail/sieve/report_spam.sieve failed

Can't delete folders from webmail

Hello,

Today I was migrating some accounts to my new hestiacp server and when I tried to delete a folder from webmail (roundcube) I got an error (Internal Error) and the folder isn't deleted.

Checking dovecot log I saw the real error:

Jul 27 19:22:08 imap([email protected])<348329><NvExNHsBGqkAAAAAAAAAAAAAAAAAAAAB>: Error: Mailbox spam: Dict private transaction commit failed: dict-file: file_dotlock_open(/home/master/dovecot-attributes) failed: Permission denied

[email protected] is the user's mail, spam is the folder I tried to delete and /home/master/ is the home of the hestiacp user. As you can see, seems dovecot fails to create file /home/master/dovecot-attributes and after that I saw the conf in 20-spamham.conf and there was the problem, the directive mail_attribute_dict is configured to use a wrong home for the mail user (in hestiacp).

I've changed it with the right path for hestiacp mail users and it is working fine, it is copying spam and ham mails and no errors when I try to delete the folder.

Tonight or maybe tomorrow I'll send a pull request to fix this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.