Re: Mapping usernames used for authentication to UNIX usernames

2021-06-16 Thread Florian Effenberger
Hello, Frank> Would it be possible to configure something that will map an Frank> email address to the UNIX account name and use the account name Frank> for authentication and obtaining the related information (uid, Frank> gid, home dir)? https://dovecot.org/pipermail/dovecot/2018-September/11

Re: [Dovecot] sender for Sieve vacation message

2011-08-18 Thread Florian Effenberger
Hi, 2011/8/18 Stephan Bosch : > You can use the :from parameter, e.g.: > > require "vacation"; > vacation :from "flo...@gmail.com" "Not here at the moment!"; > > Read RFC5230 (http://tools.ietf.org/html/rfc5230) for more info. d'oh! Sometimes things are that simply... sorry for the dull question

Re: [Dovecot] sender for Sieve vacation message

2011-08-17 Thread Florian Effenberger
Hello, 2011/8/17 Florian Effenberger : > is it possible to define the sender for the Dovecot Sieve > implementation's vacation extension? It seems to be impossible to add, > e.g., a name, or choose a different sender address. to be precisely: I am talking about the "From" header. Florian

[Dovecot] sender for Sieve vacation message

2011-08-17 Thread Florian Effenberger
Hello, is it possible to define the sender for the Dovecot Sieve implementation's vacation extension? It seems to be impossible to add, e.g., a name, or choose a different sender address. Thanks, Florian

Re: [Dovecot] delete messages after sa-learn

2010-05-31 Thread Florian Effenberger
Hi, 2010/5/30 Andrzej Adam Filip : > It depends on what you want: > a) dirty&ugly but *trivial* "hack" serving your very specific >   requirement that can "make troubles" after some change in >   pattern of use > b) simple solution well, I don't see a real difference. As far as I know, and as Ti

Re: [Dovecot] delete messages after sa-learn

2010-05-30 Thread Florian Effenberger
Hi Andrzej, 2010/5/28 Andrzej Adam Filip : >> does fetching to mbox file bring any advantage? It seems that learning >> out of maildir and rm'ing afterwards works like a charm, so I guess >> fetchmail would bring more overhead? > > It will bring more overhead but "some people" value portable solu

Re: [Dovecot] purge maildir folder after sa-learn

2010-05-28 Thread Florian Effenberger
Hi, 2010/5/28 Phil Howard : > So basically, just moving mail files out (to a learn queue or > whatever), from either "new" or "cur" is safe for Dovecot?  That would > be simpler. works like a charm for me. Florian

Re: [Dovecot] delete messages after sa-learn

2010-05-28 Thread Florian Effenberger
Hi Andrzej, 2010/5/28 Andrzej Adam Filip : > Have you considered fetching from dovecot (maildir) to mbox file and > learning from mbox file? > a) fetchmail CAN use .../dovecot/imap wrapper script in "plugin" option >   to read maildir directly  [set environment variable MAIL to >   maildir:~/Mail

Re: [Dovecot] purge maildir folder after sa-learn

2010-05-27 Thread Florian Effenberger
Hi Timo, 2010/5/26 Timo Sirainen : > Oh, I really ment .spam-learn/cur/* (and maybe .spam-learn/new/* if you > make it learn from both and it doesn't move mails to cur/). > >> Can I simply delete the files, don't I destroy any indices or slow >> down Dovecot operation because of index rebuilding?

Re: [Dovecot] purge maildir folder after sa-learn

2010-05-26 Thread Florian Effenberger
Hello everyone, thanks for the fast replies, much appreciated! 2010/5/25 Timo Sirainen : >> I am looking for a command-line utility to automatically purge one >> Maildir folder. > > How about just: > > rm -f /path/to/Maildir/.spam-learn/* > > With v2.0 you can also do: > > doveadm expunge -u use

[Dovecot] purge maildir folder after sa-learn

2010-05-25 Thread Florian Effenberger
Hello, I am looking for a command-line utility to automatically purge one Maildir folder. I want to periodically run sa-learn from cron, and after the spam learning folder has been added to the Bayes database, its contents should be deleted. I've searched a bit, but only found a few old utilities

Re: [Dovecot] STATUS command and total/read message count

2010-01-26 Thread Florian Effenberger
Hi Timo, 2010/1/25 Timo Sirainen : > Right. STATUS command is capable of returning the total number of > messages in a mailbox. thanks! Can problems with querying the total number of messages occur when mbox_dirty_syncs and mbox_lazy_writes are set to yes? Still running 1.0.15 here and trying to

Re: [Dovecot] STATUS command and total/read message count

2010-01-24 Thread Florian Effenberger
Hi Timo, 2010/1/24 Timo Sirainen : > I don't understand. What's the difference between "new/unread" and > "unread"? What does headers have to do with it? > >> In other words: Does the STATUS command only return new/unread >> messages, or can this be configured on the server side? > > There's no c

[Dovecot] STATUS command and total/read message count

2010-01-24 Thread Florian Effenberger
Hello, I'm running Dovecot 1.0.15 with Thunderbird 3.0.1. TB can query folders for messages in two ways: Either by using the STATUS command, or by opening the folder (don't know the respective IMAP commands, sorry...). Querying via opening the folder is reliable, but via the STATUS command, only

Re: [Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-29 Thread Florian Effenberger
Hi Charles, >> I guess that requires recompilation of the package? > > I don't think so, but maybe the old 1.0rc15 only supported dnotify? > > Anyway, inotify/dnotify is not part of dovecot, it is part of the linux > kernel (2.6.13+) - dovecot only makes USE of it, so it will work with > either. >

Re: [Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-29 Thread Florian Effenberger
>> Seems I am lucky then: >> Build options: ioloop=poll notify=dnotify > > dnotify is deprecated (and buggy)... use inotify on the server instead. I guess that requires recompilation of the package?

Re: [Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-29 Thread Florian Effenberger
Hi Timo, > Which v1.0? (Which one's Debian 4.0? :) I wish Debian used Ubuntu-style > year+month numbers as versions. The only Debian versions I remember are > stable, testing and unstable..) :-) It's pretty old, dovecot --version returns 1.0.rc15 > Anyway, I don't think there have been any act

Re: [Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-29 Thread Florian Effenberger
Hi Tobi, > I tested it with Dovecot 1.1.6 and Thunderbird 3. The STATUS command > seems to be returned correctly. thanks a lot! Guess I'll give it a try on a new machine or with a backport. Currently in a "never touch a running system" mood, especially between the years when I have vacation :-)

Re: [Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-28 Thread Florian Effenberger
Hi Tobias, > * "Dovecot is standards compliant. Dovecot v1.1 passes all IMAP server > standard compliancy > tests while most other servers fail many of them." [..] > > Hope, this answers your question. Maybe you should use a recent version of > Dovecot (stable is 1.2.9) > and not v1.0 indeed, I

Re: [Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-28 Thread Florian Effenberger
Hi Tobias, > This might be help you... > **quote** > If Thunderbird doesn't recognize that a folder contains unread messages try > setting mail.imap.use_status_for_biff true. It causes Thunderbird to > explicitly select each folder to update the message summaries, rather than > using the STATUS co

[Dovecot] checking all folders for new mail (IMAP STATUS command)

2009-12-28 Thread Florian Effenberger
Hello, I use Thunderbird as IMAP client and do a lot of server-side filtering with Sieve scripts. To be notified of new mails, I want to check all folders (a lot of them...) at once for new mails, and not only the inbox. According to http://kb.mozillazine.org/Checking_for_new_messages_in_other_f

Re: [Dovecot] quota warning for fs quota

2008-12-05 Thread Florian Effenberger
Hi Timo, > Quota warnings aren't supported in v1.0 at all. d'oh! Sorry... that was my mistake. Thanks for the fast reply! Florian

[Dovecot] quota warning for fs quota

2008-12-05 Thread Florian Effenberger
Hello, I configured my Dovecot to use filesystem (fs) quota. It works fine, the correct free/used space and percentage is being shown to the client. However, the warning feature doesn't seem to work, no mail is being sent, although executing the script standalone works fine. Is quota warning for