[Dovecot] testink
# Protocols we want to be serving: # imap imaps pop3 pop3s #protocols = imap imaps
# IP or host address where to listen in for connections. It's not currently # possible to specify multiple addresses. "*" listens in all IPv4 interfaces. # "[::]" listens in all IPv6 interfaces, but may also listen in all IPv4 # interfaces depending on the operating system. You can specify ports with # "host:port". #imap_listen = * #pop3_listen = *
On Thu, 2007-05-31 at 01:44 +0300, Timo Sirainen wrote:
Whops :) What happened to my filter that was supposed to prevent all mails coming from me if they weren't properly pgp-signed..
On Thu, 2007-05-31 at 01:45 +0300, Timo Sirainen wrote:
On Thu, 2007-05-31 at 01:44 +0300, Timo Sirainen wrote:
Whops :) What happened to my filter that was supposed to prevent all mails coming from me if they weren't properly pgp-signed..
Oh, right. Since I'm sending my own mails via dovecot.org it doesn't check my mails at all. So I guess that pgp check is a bit pointless. But I guess it doesn't hurt either.
Anyway, the test is complete. :)
dovecot@dovecot.org: permission denied. Command output: Don't post your whole dovecot.conf. Use dovecot -n instead.
It greps for a comment inside dovecot.conf that hasn't changed since v0.99:
"^# IP or host address where to listen in for connections."
The next thing would be to figure out a rule to stop people from posting new messages by replying to existing messages. I suppose it should be done only if:
- Message contains In-Reply-To: header
- Subject doesn't contain Re:
- Body doesn't contain any quotes
- User's first message to list
The last check is the difficult one. I guess I'll leave this alone for a while.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, 31 May 2007, Timo Sirainen wrote:
Hello Timo,
I suggest, that you shouldn't try to do that.
- Message contains In-Reply-To: header
- Subject doesn't contain Re:
Localized Outlook uses a localized "Re". There are implementations that use Re[\d+]: beginning with the 2nd reply. E.g.: "Re: AW: SV: Re[2]: original subject" Re[2]: 2nd reply to the first post SV: 3rd reply by a Swedish Outlook user AW: 4th reply by a German Outlook user Re: 5th (or so) reply
Maybe it's OK to probe if the original subject is part of the reply.
- Body doesn't contain any quotes
"Quotes" in bodies are not standardized. Not all use "> ". I did found: "} ", ":-", "|". There also might be reasons not to quote anything of the followed-up mail, e.g. because the subject contains enough question to answer. Then there are top posters.
- User's first message to list
Hmm, I find this test a bit strange. One need to ask a question first, before one can answer others questions.
Bye.
Steffen Kaiser
On Thu, 2007-05-31 at 10:31 +0200, Steffen Kaiser wrote:
I suggest, that you shouldn't try to do that.
- Message contains In-Reply-To: header
- Subject doesn't contain Re:
..
- Body doesn't contain any quotes
..
- User's first message to list
Hmm, I find this test a bit strange. One need to ask a question first, before one can answer others questions.
I'm not sure if you understood that those were all AND conditions. Only if all of them matched, the message would be rejected. The Re: and quote checks aren't perfect on their own, but I find it highly unlikely that the user's first message to a list would be a valid reply to someone else's mail without Re: and without quotes.
But I'm not planning on doing this anytime soon. Too much trouble.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 4 Jun 2007, Timo Sirainen wrote:
I'm not sure if you understood that those were all AND conditions. Only
Yes, I missed it.
Bye,
Steffen Kaiser
participants (3)
-
Charles Marcus
-
Steffen Kaiser
-
Timo Sirainen