Re: [Dovecot] getting rid of old spam from +spam Maildir ?
Am 06.08.2012 00:47, schrieb Voytek Eymont: On Mon, August 6, 2012 2:23 am, Charles Marcus wrote: The 'date.saved:' is the date/time that the message was moved into that folder. The clock for these messages is based on the time it was moved into that folder, NOT the date/time the message was received in the message header. Maybe this is what is confusing you? So, if you have issue the command to remove messages older than 7 days, that would be 7 days *since they were moved into the folder*. Charles, thanks these are a user+spam spam basket, the actual messages are either in 'new' or 'cur', depending if a particular user logged to 'spam' basket or not does that mean that say 7 days would clear new messages after 7 days, and, any message that is not 'new' after 7 more days, assuming I run the command daily ? all I want is an auto way to clear +spam baskets after x days an ugly workaround maybe is ,thing like this, if using maidir v1.0 cronjob equivalent For Dovecot v1.0, this can be accomplished by running a daily shell script: # delete 30 day old mails find /var/virtualmail/ -regex '.*/\.\(Trash\|Junk\)\(/.*\)?\/\(cur\|new\)/.*' -type f -ctime +30 -delete # or -exec rm '{}' \; instead of -delete Using ctime means that messages are deleted 30 days after they've been moved to Trash. If mtime was used instead, it would mean the message is deleted 30 days after its original creation, which could be immediately. but i recommend expire plugin, also Timos advices should work for sure -- Best Regards MfG Robert Schetterer
Re: [Dovecot] Just trying to make dovecot work.
On 06/08/12 02:35, Peter Snow wrote: Well you can continue to kid yourselves that the documentation is good if you like. The facts say differently. It would be easier if you started at the correct wiki for the version you have: http://wiki2.dovecot.org/FrontPage I have always found the documentation superb. I think you must have standards to which most other can merely aspire. Alex
Re: [Dovecot] getting rid of old spam from +spam Maildir ?
Charles Marcus cmar...@media-brokers.com writes: On 2012-08-03 6:33 PM, Voytek Eymont voy...@sbt.net.au wrote: don't know, looking this morning it shows like below, the 00:05:05 is probably last time I did 'ls'? I was doing 'ls' or web mail refresh, to see what gets removed from 'spam' box, before and after each attempt to expunge : date.saved: 2012-08-03 00:05:05 The 'date.saved:' is the date/time that the message was moved into that folder. Perhaps this related thread starting at http://dovecot.org/list/dovecot/2012-July/067199.html and ending with the patch by Timo http://dovecot.org/list/dovecot/2012-July/067423.html may be of interest to the OP. Joseph Tam jtam.h...@gmail.com
Re: [Dovecot] Just trying to make dovecot work.
On 06/08/2012 02:35, Peter Snow wrote: Well you can continue to kid yourselves that the documentation is good if you like. The facts say differently. For example, I visit http://wiki.dovecot.org/MainConfig for help with the main config and at the top of the page it tells me that this page is for version 1.x, so I click the link to view the page for 2.x, which takes me to a page saying that the page I want has yet to be created. I therefore have no option but to refer to the version 1.x documentation. I copy mechanisms = plain from it Google is *such* a useful tool.. http://lmgtfy.com/?q=dovecot+%22mechanisms+plain%22 but when I restart dovecot, it fails, telling me that it is not recognized! No, probably it says something different. Please quote the error message, not your interpretation of the error message? I noticed that also and did indeed follow many of them. Many of them though are for version 1.x but don't say so. There are many useful differences between 1.x and 2.x, but its a gradual evolution, not a big change. As such the configuration changed a large amount between 1.x and 2.x, in that it's now stored in multiple files rather than a few big files, but for your concern such a change is relatively minor and the configuration options are largely the same. By the way, I've now got it running. It wasn't failing due to the user being used to run the processes. It was due to misconfiguration of the way that the virtual users were setup, which in the end I managed to fix by interrogating a server with a working implementation (albeit ver 1.x) which was similar to what I needed and copying parts of it's config. Please always post details of your problem and solution - us technical folks learn from people's mistakes, but it's not possible to learn and make things better without knowing what your problem and eventual solution were? Additionally note that this is an opensource project and the documentation is written by people like yourself. Please consider clarifying whatever original document put you on the wrong track? Although mutt now connects to it fine, roundcube doesn't, but don't worry. I'm not planning to bother you further. Well, IMAP is just IMAP no matter which server you are using, so don't treat this as some big black box that you can't open up and inspect. IMAP is a plain text protocol and it shouldn't scare a technical person to debug things. roundcube is also an extremely flexible beast and you will need to get certain key settings correct before it connects correctly, it likely also feels very brittle in that there aren't that many settings to get right, but if any are wrong you will get major breakage Good luck Ed W P.S. You came here with all guns blazing and seems like you are going to leave the same way? Why not try a more softly softly approach?
Re: [Dovecot] Just trying to make dovecot work.
On Mon, Aug 6, 2012 at 3:48 PM, Ed W li...@wildgooses.com wrote: P.S. You came here with all guns blazing and seems like you are going to leave the same way? Why not try a more softly softly approach? Because the 'customer' has right to throw his weight around =). Especially after paying such a large amount of money for the product.
[Dovecot] find virtual users
Hi, Can sendmail find virtual users in /etc/dovecot/passwd ? If yes, what are the necesary changes I have to make ? Urgent help needed. Thanks in advance. Regards, Rafael
Re: [Dovecot] Just trying to make dovecot work.
On 06/08/2012 08:57, Oon-Ee Ng wrote: On Mon, Aug 6, 2012 at 3:48 PM, Ed W li...@wildgooses.com wrote: P.S. You came here with all guns blazing and seems like you are going to leave the same way? Why not try a more softly softly approach? Because the 'customer' has right to throw his weight around =). Especially after paying such a large amount of money for the product. Lets and avoid chasing folks away. Ed
Re: [Dovecot] find virtual users
On 2012-08-06 4:09 AM, Rafael Nathan rafinatha...@gmail.com wrote: Hi, Can sendmail find virtual users in /etc/dovecot/passwd ? If yes, what are the necesary changes I have to make ? Urgent help needed. Thanks in advance. This is the dovecot support list. For sendmail support, you should seek an appropriate venue... -- Best regards, Charles
Re: [Dovecot] find virtual users [sendmail]
On 08/06/2012 10:09 AM, Rafael Nathan wrote: Can sendmail find virtual users in /etc/dovecot/passwd ? If yes, what are the necesary changes I have to make ? Urgent help needed. Thanks in advance. Sendmail/sendmail.cf can do lookups in passwd like files = It should be possible to check recipient existence before RCPT TO: reply. SMTP AUTH is another story. There are a few+ ways to integrate sendmail and dovecot. Which one do you use?