Re: [Dovecot] Sieve command line tool status for Refiltering
2012/9/8 Stephan Bosch : > For Pigeonhole v0.3 it is part of the normal release as the sieve-filter > command. I still haven't received much feedback on it though, so make sure > your backups are in order before you give it a try and please report back > your findings. Thanks for the info. I'm not really understanding that tool :-( I tried this: sieve-filter -u f...@foo.tld main.sieve /home/vmail/foo/foo/._REFILTER_/ keep But i only get an error: sieve-filter(root): Fatal: Unknown namespace for source mailbox '...' What's the problem? ._REFILTER_ is a standard IMAP subfolder. Thanks
Re: [Dovecot] Vpopmail Dynamic Authentication Module
On Fri, Aug 31, 2012 at 9:49 AM, Timo Sirainen wrote: > On 24.8.2012, at 16.42, Eric Sisolak wrote: > > > I had to modify the command to build the module, but was able to > > successfully build it: > > gcc -shared -fPIC -DHAVE_CONFIG_H -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL > > -I../.. -I../lib -I/home/vpopmail/include -I/home/vpopmail/lib > > userdb-vpopmail.c passdb-vpopmail.c -o vpopmail.so > > -L/home/vpopmail/lib/libvpopmail.a > > -L means a path, pointing it to .a file doesn't do anything useful. By > giving the .a file directly probably also fails if libvpopmail.a hasn't > been built with -fPIC. > > > /usr/lib64/dovecot/auth/vpopmail.so: undefined symbol: vclose > > And that's the reason this fails, because libvpopmail isn't included in > vpopmail.so. > > Ah that was it, I was misunderstanding -l and -L. I got it to work with: gcc -shared -fPIC -DHAVE_CONFIG_H -DUSERDB_VPOPMAIL -DPASSDB_VPOPMAIL -I../.. -I../lib -I/home/vpopmail/include -L/home/vpopmail/lib userdb-vpopmail.c passdb-vpopmail.c -o vpopmail.so -lvpopmail Thanks!
Re: [Dovecot] problem about pop3 using dovecot
Am 08.09.2012 15:43, schrieb bmalik: > > > i only upgraded dovecot from 1.x to 2.1.x. > i didn't change any settings over server. after dovecot service restart, my > keep mails on the server, i got again to the outlook. that's my test server > but i am going to migrate soon. but i don't want to get duplicate mails. > How can i prevent ? > Thanks > dont use pop3, use imap > > > -- > View this message in context: > http://dovecot.2317879.n4.nabble.com/problem-about-pop3-using-dovecot-tp37394p37484.html > Sent from the Dovecot mailing list archive at Nabble.com. > -- Best Regards MfG Robert Schetterer
Re: [Dovecot] Wrong quota calculation
On 08/09/2012 01:38, Daniel Parthey wrote: Cibest ML wrote: We've a strange quota behavior on our dovecot servers. It seems that it's somehow doubling the real used storage (or could be something like twice the inbox size + size of other folders, hard to know for sure). It was initial setup with the maildir++ system. Now it's been configured with dict and mysql table but the result is the same. Dovecot version : 2.1.7 (from squeeze-backports). Maildir format is used As example, let's use mail...@domain.com. If I check in the quota table, I'll find : - size : 697151354 - number of files : 1510 Now if I check the Maildir folder on the filesystem, I'll find : - size : 34796 - number of files : 824 (using find . -type f|grep -v dovecot|wc -l, not 100% accurate) Another mail box Reported by dovecot : 5034469861081 Filesystem : 248592000598 Does anyone has an idea of what could be possibly wrong. We've checked & double-checked everything and nothing seems to be wrong (no dsync used). What happens after quota resync? Does the quota change? What happens to the "doveadm quota get" output after LMTP/LDA delivery of a mail with a fixed-size, let's say one mail with 1 MB? How does your setup look like? Mailbox+Director Proxy or only Mailboxes? What is your doveconf -n output of mailbox (and possibly director)? Regards Daniel Hi Daniel, Thanks for your answer Here are some tests to show the problem. The test mailbox is initialy empty. All described actions are done in a sequencial way (test mail with an attachement of ~2Mo) - Message delivered by LMTP Quota name TypeValue Limit User quota STORAGE 2653 524288 User quota MESSAGE 1 - - quota recalc Quota name TypeValue Limit User quota STORAGE 5307 524288 User quota MESSAGE 2 - - move to draft + compact Quota name TypeValue Limit User quota STORAGE 2653 524288 User quota MESSAGE 1 - - recalc Quota name TypeValue Limit User quota STORAGE 2653 524288 User quota MESSAGE 1 - - move to subfolder "test" in inbox User quota STORAGE 2653 524288 User quota MESSAGE 1 - - move message back to inbox Quota name TypeValue Limit User quota STORAGE 5306 524288 User quota MESSAGE 2 - - compact Quota name TypeValue Limit User quota STORAGE 2653 524288 User quota MESSAGE 1 - - recalc quota Quota name TypeValue Limit User quota STORAGE 5306 524288 User quota MESSAGE 2 - No dovecot director is used at the moment (it's planned). There's one server handling incoming mails (postfix + LMTP), one for IMAP/POP (dovecot) & one for email sending (postfix). dovecot -n output of incoming mails server # 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.4.1 Debian 6.0.5 ext4 dict { quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } mail_gid = 1500 mail_home = /data/hosting/mail%h/%d/%n mail_location = maildir:/data/hosting/mail%h/%d/%n/Maildir mail_nfs_storage = yes mail_plugins = " quota autocreate" mail_uid = 1500 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox = yes location = prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { autocreate = Inbox autocreate2 = Trash autocreate3 = Sent autocreate4 = Spam autocreate5 = Drafts autosubscribe = Inbox autosubscribe2 = Trash autosubscribe3 = Sent autosubscribe4 = Spam autosubscribe5 = Drafts quota = dict:User quota::noenforcing:proxy::quota quota_rule = *:storage=512M quota_rule2 = Trash:storage=+100M quota_warning = storage=90%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = /data/hosting/mail%h/%d/%n/sieve/.dovecot.sieve sieve_before = /etc/dovecot/globalsieve sieve_dir = /data/hosting/mail%h/%d/%n/sieve/ } protocols = " lmtp sieve" quota_full_tempfail = yes service auth { unix_listener auth-userdb { group = vmail mode = 0660 user = vmail } } service dict { unix_listener dict { group = vmail mode = 0600 user = vmail } } service lmtp { inet_listener lmtp { address = 10.3.65.71 127.0.0.1 ::1 port = 2055 } unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix mode = 0660 user = postfix } user = vmail } ssl_cert = mail_location = maildir:/data/hosting/mail%h/%d/%n/Maildir:INDEX=/data/hosting/mailcache%h/%d/%n mail_nfs_storage = yes mail_plugins = " quota autocreate" mail_uid = 1500 managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave namespace inbox { inbox =
Re: [Dovecot] problem about pop3 using dovecot
Am 08.09.2012 15:43, schrieb bmalik: > i only upgraded dovecot from 1.x to 2.1.x. > i didn't change any settings over server. after dovecot service restart, my > keep mails on the server, i got again to the outlook. that's my test server > but i am going to migrate soon. but i don't want to get duplicate mails. > How can i prevent ? again: you can NOT POP3 and leave on server depends on the client having a list of message-UUIDs which are already received and it is not uncommon that they are changing due major upgrades on the server DO NOT LEAVE MAILS FOREVER ON THE SERVER this is the only solution and will ever be that is why the client offers "delete after X days from server" smarter clients like thunderbird are defaulting to 14 days not so smart client sleaves their messages forever on the server this is wasting ressources, leads to your troubles and that is why users should learn to look at the options of their sofwtare and try to understand basics who things are working or live with the resulsts if not doing so signature.asc Description: OpenPGP digital signature
Re: [Dovecot] problem about pop3 using dovecot
i only upgraded dovecot from 1.x to 2.1.x. i didn't change any settings over server. after dovecot service restart, my keep mails on the server, i got again to the outlook. that's my test server but i am going to migrate soon. but i don't want to get duplicate mails. How can i prevent ? Thanks -- View this message in context: http://dovecot.2317879.n4.nabble.com/problem-about-pop3-using-dovecot-tp37394p37484.html Sent from the Dovecot mailing list archive at Nabble.com.
Re: [Dovecot] problem about pop3 using dovecot
Am 08.09.2012 15:10, schrieb Robert Schetterer: > pop3 feature leave mails on the servers works i.e with thunderbird > with a local list in Tb what is allready download for compare > so its not only a server feature, so you will allways download all mails > new if using a new client without that list, or you changed something > on the server ( i.e X-UIDL changed ) and existing list isnt longer build > like before > > see i.e > > http://kb.mozillazine.org/Popstate.dat > > however i had some problems with pop3 leave mails on the server > with virtual plugin, but that was fixed and works with setup right way and that is why every mail-client has a option "delete messages after x days from server" but users are refusing to spent some minutes of their time looking what options software offers for wondering years later signature.asc Description: OpenPGP digital signature
Re: [Dovecot] Sieve command line tool status for Refiltering
Am 08.09.2012 09:39, schrieb Stephan Bosch: > On 9/8/2012 7:11 AM, Dieter Knopf wrote: >> Hello, >> >> is there any update about the sieve command line tool? >> >> I really need some way to refilter my mails without loosings flags and >> without >> moving all messages in a different folder. > > For Pigeonhole v0.3 it is part of the normal release as the sieve-filter > command. I still haven't received much feedback on it though, so make > sure your backups are in order before you give it a try and please > report back your findings. > > Regards, > > Stephan. > only for info last time i tried external sieve stuff, it worked with procmail, but i stopped doing something with it -- Best Regards MfG Robert Schetterer
Re: [Dovecot] problem about pop3 using dovecot
Am 08.09.2012 09:25, schrieb bmalik: > But i use Maildir ? > > is there a solution ? > > Meanwhile, after dovecot to 2.1.8, when i login to the new pop3 server, i > got duplicate mails which i have kept for some days on the server. > how can i prevent this problem? > > > > > -- > View this message in context: > http://dovecot.2317879.n4.nabble.com/problem-about-pop3-using-dovecot-tp37394p37479.html > Sent from the Dovecot mailing list archive at Nabble.com. > pop3 feature leave mails on the servers works i.e with thunderbird with a local list in Tb what is allready download for compare so its not only a server feature, so you will allways download all mails new if using a new client without that list, or you changed something on the server ( i.e X-UIDL changed ) and existing list isnt longer build like before see i.e http://kb.mozillazine.org/Popstate.dat however i had some problems with pop3 leave mails on the server with virtual plugin, but that was fixed and works with setup right way -- Best Regards MfG Robert Schetterer
Re: [Dovecot] Sieve command line tool status for Refiltering
On 9/8/2012 7:11 AM, Dieter Knopf wrote: Hello, is there any update about the sieve command line tool? I really need some way to refilter my mails without loosings flags and without moving all messages in a different folder. For Pigeonhole v0.3 it is part of the normal release as the sieve-filter command. I still haven't received much feedback on it though, so make sure your backups are in order before you give it a try and please report back your findings. Regards, Stephan.
Re: [Dovecot] problem about pop3 using dovecot
But i use Maildir ? is there a solution ? Meanwhile, after dovecot to 2.1.8, when i login to the new pop3 server, i got duplicate mails which i have kept for some days on the server. how can i prevent this problem? -- View this message in context: http://dovecot.2317879.n4.nabble.com/problem-about-pop3-using-dovecot-tp37394p37479.html Sent from the Dovecot mailing list archive at Nabble.com.