Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-03 Thread Aleksander
Jesse Norell wrote: Hello, I don't think the idea will work because IMAP doesn't have a "move" command. To move a message, it is first copied from one folder to another (via APPEND, I believe), then a second command is issued to delete the original message. Is it done the same way in dbmail?

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Jesse Norell
Hello, I don't think the idea will work because IMAP doesn't have a "move" command. To move a message, it is first copied from one folder to another (via APPEND, I believe), then a second command is issued to delete the original message. The IMAP server could try to second-guess that the clien

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Aleksander
Jonathan Feally wrote: Now why would a user delete mail from the spam folder if the script is going to do it for you? Because there might be false positives. Of course there may be a script which deletes mail in the spam folders, that are older than, say, a week. My entire setup requires ve

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Jonathan Feally
Now why would a user delete mail from the spam folder if the script is going to do it for you? My entire setup requires very little training of users. They move spam into folder. If it is a message that was marked as posible spam they copy it into the notspam folder. Thats it. They continue wi

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Aleksander
Magnus Sundberg wrote: How do you know that the content of the deleted mail was spam? Sorry if I didn't express myself good enough, I'll try again: Spam is delivered to the user's SPAM folder. Good mail is delivered to the users INBOX. That's how it works. Now dspam can make a mistake, esp

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Magnus Sundberg
Aleksander wrote: Jonathan Feally wrote: As far as getting what your want done, I would suggest using a script driven via cron every half hour or so. Yes, I know of such a possibility but there's always the chance, that the user deletes the mails before the cron shedule. And you would n

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Aleksander
Jonathan Feally wrote: Triggers do sound interesting, however i'd rather see the effort put into server-side filters for sorting purposes then special execution of other applications. I agree with that, I'm not in a hurry just asking for feedback. Any info and ideas concering this trigger me

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Jonathan Feally
Triggers do sound interesting, however i'd rather see the effort put into server-side filters for sorting purposes then special execution of other applications. As far as getting what your want done, I would suggest using a script driven via cron every half hour or so. I have SpamAssassin's sa-l

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Aleksander
Thomas Mueller wrote: I use a cron job that fetches mails using IMAP from users INBOX/Spam/ folders. That is possible, but how do you train ham? One solution might be moving false positives to another special folder, wait an amount of time and only then move to a folder where it actually sh

Re: [Dbmail] Feature Request: trigger in dbmail

2006-02-02 Thread Adam Kosmin
Hello Aleksander, I struggled with dspam for over 2 weeks due to its lack of flexibility concerning user authentication. I switched to Maia Mailguard and could not be happier. Everything works exactly like I want it to. You might consider giving it a look. Best, Adam Kosmin Aleksander wr

[Dbmail] Feature Request: trigger in dbmail

2006-02-01 Thread Aleksander
I'm interested in the following feature. A trigger mechanism for IMAP folders. If a message is moved to folder X, specified (external) command is executed. Likewise when message is moved from folder X. If required, dbmail-imap would give the whole msg to the program executed too. Example.