Re: How to grant user access to his .dovecot.sieve.log?
Andreas, can you explain "magic folder"? The only thing I tried was creating named FIFO .dovecot.sieve.log, and starting mailx u...@my.domain.com < .dovecot.sieve.log which need to be done for each user of my domain, and better wrapped in some script which will make it started after each sievec run. -- Regards, Sergey. On Fri, Feb 2, 2018 at 7:23 PM, A. Schulze wrote: > > > Am 01.02.2018 um 18:01 schrieb Sergey Ivanov: > > Hi, > > What are the recommended ways to give access to their .dovecot.sieve.log > messages to the users? > > I am thinking about placing this file into users Maildir/new, or piping > to dovecot-lda. > > or serve the log as "magic folder". If the user delete the message it > deletes also the log ... > just an idea... > > Andreas >
Re: How to grant user access to his .dovecot.sieve.log?
Hi Gabriel, I'm trying to implement what you suggested using apache mod_userdir with === UserDir /srv/dovecot [^/]+)"> Require user %{env:MATCH_WHICHUSER} DirectoryIndex .dovecot.sieve.log ... === I still need to find how to set up right permissions for these logs without too much brute force. It looks like this way I can get what I want, but I really hoped to find some better way: my Roundcube installation is on the load-balanced web farm and there is no and should not be a file access to these logs. I think such a feature as Sieve compiler must have some standard way to say what is wrong to the author of the Sieve script. -- Sergey. On Fri, Feb 2, 2018 at 2:29 PM, Gabriel Kaufmann wrote: > Alternatively use a web-interface with read-only access to the log? > > best regards > > Gabriel Kaufmann > >
Dual Dovecot setup
Hi all, I´m using dovecot successfully since some years. My current setup is postfix and dovecot on one vserver. This works great so far. ++ eMail in | VSERVER1 | +-->+ MX 1 (Master) | | POSTFIX MTA | | DOVECOT ALL Folders| +-^--+ | |eMail Backup | | +--+-+ | VSERVER2 | eMail in | MX 2 (Backup) | Backup | POSTFIX MTA | +-> | ++ However now I want to change this setup to have on box in my home which holds all eMails and Folders which are not in the Inbox. This is due to disk space and privacy concerns. Even if the home connection is very very stable for the case something fails while on vacation the content of the inbox of every user should always stay on the VSERVER1 as well - until it is moved to one subfolder. +---+ +-+ eMail in | VSERVER1 | | HOMEBOX | +-->+ MX 1 (Master) | ?SYNC? | DOVECOT | | POSTFIX MTA +--> ALL FOLDERS | | DOVECOT INBOX | | | +-^-+ +-+ | |eMail Backup | | +--+-+ | VSERVER2 | eMail in | MX 2 (Backup) | Backup | POSTFIX MTA | +-> | ++ I read into documentation and also did a fair share of googeling but I could only identify possible solutions which I´m not sure they will work. a) dsync - Can dsync only sync the Inbox ? b) fetchmail - Unsure how an eMail moved from Inbox (Homebox) to another folder would get removed from the inbox of the vserver1 Therefore I hope maybe someone of you has an idea how this can be archived. Thank you best regards Dirk