I'm running centos 6.6 with the default 2.0.9-xxx dovecot.
I run sa-learn against my spam_to_learn folder, then I wan to move those emails to a learned_spam folder. when I do a doveadm -Dv move -u user learned_spam mailbox 'spam_to_learn' ALL
I get this result: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
altmove [-u <user>|-A] [-S <socket_path>] <search query> auth [-a <auth socket path>] [-x <auth info>] <user> [<password>] config [doveconf parameters] director add|flush|map|remove|status dump [-t <type>] <path> expunge [-u <user>|-A] [-S <socket_path>] <search query> fetch [-u <user>|-A] [-S <socket_path>] <fields> <search query> force-resync [-u <user>|-A] [-S <socket_path>] <mailbox> help <cmd> import [-u <user>|-A] [-S <socket_path>] <source mail location> <dest parent mailbox> <search query> kick [-a <anvil socket path>] [-f] <user mask>[|]<ip/bits> log find|reopen|test mailbox create|delete|list|mutf7|rename|status|subscribe|unsubscribe penalty [-a <anvil socket path>] [<ip/bits>] purge [-u <user>|-A] [-S <socket_path>] pw [-l] [-p plaintext] [-r rounds] [-s scheme] [-u user] [-V] reload search [-u <user>|-A] [-S <socket_path>] <search query> sis deduplicate|find stop user [-a <userdb socket path>] [-x <auth info>] <user mask> [...] who [-a <anvil socket path>] [-1] [<user mask>] [<ip/bits>]
this doesn't even list a move command, yet the dovecot pages show it and give examples.
any suggestions?
thanks, -chuck
Am 06.01.2015 um 23:55 schrieb Chuck Campbell:
I'm running centos 6.6 with the default 2.0.9-xxx dovecot.
I run sa-learn against my spam_to_learn folder, then I wan to move those emails to a learned_spam folder. when I do a doveadm -Dv move -u user learned_spam mailbox 'spam_to_learn' ALL
I get this result: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
[ ... ]
this doesn't even list a move command, yet the dovecot pages show it and give examples.
The dovecot version provided by CentOS 6 simply does not have that feature implemented. The wiki.dovecot.org documentation reflects the current stable upstream status of things.
any suggestions?
You may use the dovecot22 package provided by the ghettoforge plus repository, providing dovecot release 2.2.15.
thanks, -chuck
Alexander
On 1/7/2015 12:06 AM, Alexander Dalloz wrote:
Am 06.01.2015 um 23:55 schrieb Chuck Campbell:
I'm running centos 6.6 with the default 2.0.9-xxx dovecot.
I run sa-learn against my spam_to_learn folder, then I wan to move those emails to a learned_spam folder. when I do a doveadm -Dv move -u user learned_spam mailbox 'spam_to_learn' ALL
I get this result: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
[ ... ]
this doesn't even list a move command, yet the dovecot pages show it and give examples.
The dovecot version provided by CentOS 6 simply does not have that feature implemented. The wiki.dovecot.org documentation reflects the current stable upstream status of things.
any suggestions?
You may use the dovecot22 package provided by the ghettoforge plus repository, providing dovecot release 2.2.15.
thanks, -chuck
Alexander
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Has anyone else installed the 2.2x version of dovecot in centos? Any issues or gotchas? I am loathe to just hammer on our working installation, but I need to sort out this issue as well.
The dovecot pages indicate that ATrpms has a current 2.2x version, but I don't see it when I try to do a yum update with ATrpms turned on. I may just have to grab the rpms from the packages directory on ATrpms. Does anyone know if the ATrpms layout is significantly different than elrepo? What kinds of issues might I expect with just banging their dovecot rpm into my machine?
Sigh, I may have to set up another machine as a test mule...
thanks, -chuck
On 1/7/2015 9:46 AM, Chuck Campbell wrote:
On 1/7/2015 12:06 AM, Alexander Dalloz wrote:
Am 06.01.2015 um 23:55 schrieb Chuck Campbell:
I'm running centos 6.6 with the default 2.0.9-xxx dovecot.
I run sa-learn against my spam_to_learn folder, then I wan to move those emails to a learned_spam folder. when I do a doveadm -Dv move -u user learned_spam mailbox 'spam_to_learn' ALL
I get this result: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
[ ... ]
this doesn't even list a move command, yet the dovecot pages show it and give examples.
The dovecot version provided by CentOS 6 simply does not have that feature implemented. The wiki.dovecot.org documentation reflects the current stable upstream status of things.
any suggestions?
You may use the dovecot22 package provided by the ghettoforge plus repository, providing dovecot release 2.2.15.
I tried this using yum install dovecot22, but I get a lot of these: file xxx from install of dovecot22-1:2.2.15-1.gf.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-8.el6_6.4.x86_64
I tried yum update dovecot22, but I get: Package(s) dovecot22 available, but not installed.
What is the right way to do this?
thanks, -chuck
On 01/07/2015 10:39 AM, Chuck Campbell wrote:
On 1/7/2015 9:46 AM, Chuck Campbell wrote:
On 1/7/2015 12:06 AM, Alexander Dalloz wrote:
Am 06.01.2015 um 23:55 schrieb Chuck Campbell:
I'm running centos 6.6 with the default 2.0.9-xxx dovecot.
I run sa-learn against my spam_to_learn folder, then I wan to move those emails to a learned_spam folder. when I do a doveadm -Dv move -u user learned_spam mailbox 'spam_to_learn' ALL
I get this result: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
[ ... ]
this doesn't even list a move command, yet the dovecot pages show it and give examples.
The dovecot version provided by CentOS 6 simply does not have that feature implemented. The wiki.dovecot.org documentation reflects the current stable upstream status of things.
any suggestions?
You may use the dovecot22 package provided by the ghettoforge plus repository, providing dovecot release 2.2.15.
I tried this using yum install dovecot22, but I get a lot of these: file xxx from install of dovecot22-1:2.2.15-1.gf.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-8.el6_6.4.x86_64
I tried yum update dovecot22, but I get: Package(s) dovecot22 available, but not installed.
What is the right way to do this?
My suggestion would be to contact the ghettoforge people as this is no longer really a CentOS issue. Certainly this list can be used if they are on it.
But instead of using a repo I have personally never heard of, I would instead look at the documentation for version of dovecot that is in CentOS 6.
The purpose of running CentOS is to have enterprise level server software .. if you instead want latest and greatest server software, I would recommend that you just run the latest Fedora Server.
On 1/7/2015 10:52 AM, Johnny Hughes wrote:
On 01/07/2015 10:39 AM, Chuck Campbell wrote:
On 1/7/2015 9:46 AM, Chuck Campbell wrote:
On 1/7/2015 12:06 AM, Alexander Dalloz wrote:
Am 06.01.2015 um 23:55 schrieb Chuck Campbell:
I'm running centos 6.6 with the default 2.0.9-xxx dovecot.
I run sa-learn against my spam_to_learn folder, then I wan to move those emails to a learned_spam folder. when I do a doveadm -Dv move -u user learned_spam mailbox 'spam_to_learn' ALL
I get this result: usage: doveadm [-Dv] [-f <formatter>] <command> [<args>]
[ ... ]
this doesn't even list a move command, yet the dovecot pages show it and give examples.
The dovecot version provided by CentOS 6 simply does not have that feature implemented. The wiki.dovecot.org documentation reflects the current stable upstream status of things.
any suggestions?
You may use the dovecot22 package provided by the ghettoforge plus repository, providing dovecot release 2.2.15.
I tried this using yum install dovecot22, but I get a lot of these: file xxx from install of dovecot22-1:2.2.15-1.gf.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-8.el6_6.4.x86_64
I tried yum update dovecot22, but I get: Package(s) dovecot22 available, but not installed.
What is the right way to do this?
My suggestion would be to contact the ghettoforge people as this is no longer really a CentOS issue. Certainly this list can be used if they are on it.
I'm not sure, I'll await a response from them. I do believe the Centos list might have someone who went down this path, or a similar one, with a different package though, that is why I am asking.
But instead of using a repo I have personally never heard of, I would instead look at the documentation for version of dovecot that is in CentOS 6.
The documentation for dovecot 2.0.9xxx in Centos 6 does not indicate the functionality exists. Further looking shows it is in a newer version that I am trying to implement. The dovecot version 2.2 exists in other repos as well. I am aware of the perils of mixing repos, hence I was asking the Centos list if anyone has been here before.
The purpose of running CentOS is to have enterprise level server software .. if you instead want latest and greatest server software, I would recommend that you just run the latest Fedora Server.
I agree with the Centos philosophy and have happily lived without running other distro/repo packages until now. Since I believe providing a way for users of this server to train spamassassin with the spam they have identified, and the false positive messages as well is within the limits of sanity, I am attempting to get there from here (TM). I don't believe switching the entire OS to a bleeding edge one is appropriate. I would rather attempt one bleeding edge (dovecot 2.2x) than everything this machine provides all in one fell swoop.
I only need to understand the mechanics of installing a package with yum, which conflicts with the package it is intended to replace. I will live with the peril of testing this and understand it might break something else. Meanwhile the unbroken bits will keep functioning.
I suspect I need to 'yum remove dovecot-2.0.9x', then 'yum install dovecot22-2.2.x' to get there, but was hoping someone on the Centos list had been there before me.
thanks, -chuck
On 01/08/2015 05:39 AM, Chuck Campbell wrote:
I tried this using yum install dovecot22, but I get a lot of these: file xxx from install of dovecot22-1:2.2.15-1.gf.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-8.el6_6.4.x86_64
I tried yum update dovecot22, but I get: Package(s) dovecot22 available, but not installed.
What is the right way to do this?
yum shell remove dovecot install dovecot22 run
I should warn you that there are subtle changes to dovecot config between 2.0 and 2.2 that may give you issues when switching. You will likely have to tweak a few config options to get it to work the way you want.
If you're using MailDir storage then you can simply move the messages yourself, it's as easy as using the mv command to move them from one directory to another and you won't need the doveadm move command.
If you have any more questions feel free to ask them here or in #ghettoforge on FreeNode IRC.
Peter
On 1/7/2015 4:01 PM, Peter wrote:
On 01/08/2015 05:39 AM, Chuck Campbell wrote:
I tried this using yum install dovecot22, but I get a lot of these: file xxx from install of dovecot22-1:2.2.15-1.gf.el6.x86_64 conflicts with file from package dovecot-1:2.0.9-8.el6_6.4.x86_64
I tried yum update dovecot22, but I get: Package(s) dovecot22 available, but not installed.
What is the right way to do this?
yum shell remove dovecot install dovecot22 run
I should warn you that there are subtle changes to dovecot config between 2.0 and 2.2 that may give you issues when switching. You will likely have to tweak a few config options to get it to work the way you want.
If you're using MailDir storage then you can simply move the messages yourself, it's as easy as using the mv command to move them from one directory to another and you won't need the doveadm move command.
If you have any more questions feel free to ask them here or in #ghettoforge on FreeNode IRC.
Peter _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Peter, thank you, I was guessing this is what might be needed, and I appreciate the heads up on what to expect when I do the update.
The resolution I achieved is a bit more convoluted, but it consists of the following, and remains consistent with centos 6.6 version of dovecot:
wrote a cron script that does the following:
stop fetchmail process stop sendmail process stop spamassassin process run sa-learn against the user's spam_to_learn mailbox run 'doveadm mailbox unsubscribe' to unsubscribe the spam_to_learn mailbox run 'doveadm mailbox rename' to rename the spam_to_learn mailbox to ${date}_spam_learned run 'doveadm mailbox subscribe' to subscribe the ${date}_spam_learned mailbox (for testing and validation purposes, I will disable this eventually) run 'doveadm mailbox create' to create a new spam_to_learn mailbox run 'doveadm mailbox subscribe' to subscribe the new spam_to_learn mailbox then run sa-learn against the user's ham_to_learn mailbox run 'doveadm mailbox unsubscribe' to unsubscribe the ham_to_learn mailbox run 'doveadm mailbox rename' to rename the ham_to_learn mailbox to ${date}_ham_learned run 'doveadm mailbox subscribe' to subscribe the ${date}_ham_learned mailbox (for testing and validation purposes, I will disable this eventually) run 'doveadm mailbox create' to create a new ham_to_learn mailbox run 'doveadm mailbox subscribe' to subscribe the new ham_to_learn mailbox start spamassassin start sendmail start fetchmail
Note that the doveadm-mailbox help indicates that some of these steps can be combined by using the -s option to subscribe or unsubscribe, depending on the function invoked (rename, create, delete), but they don't work. You need to do the steps manually, one at a time as I have them listed here.
When I have more time, I will go ahead with a dovecot 2.2x install and report on any issues I find.
thanks, -chuck
On 01/08/2015 12:16 PM, Chuck Campbell wrote:
Peter, thank you, I was guessing this is what might be needed, and I appreciate the heads up on what to expect when I do the update.
The resolution I achieved is a bit more convoluted, but it consists of the following, and remains consistent with centos 6.6 version of dovecot:
You're welcome and while I'm flattered that you would consider my build of dovecot I do tend to recommend that people only use it if they have a real need for features that are not in 2.0 so I'm not disappointed that you decided to stay with the CentOS version for now. I don't pretend to be as reliable in keeping my packages up to date as RedHat (and hence CentOS) is, either as I have to do it in my spare time of which I do not have a lot. That said if you want to experiment and eventually move to 2.2 I'm happy that you want to use my package for it.
Good luck and I'm happy to help if you have further need.
Peter