[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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRl6H0i9SORjhbDpvAQJW+ggAiUDNnfpF1NZDC4CxAwYa0nreNuuIubuI 2IwhekKnclyoCw1mkMNtOQSAgZEKXZIKLTCrr+y4SMxW7qPSCj84PxXwYzypcFAy OpcQMW69mAIBwVnJZ+Na4yBbGq4h8Za3oQjGAF0IXZz8p6EIOKlGweSwBzcKWtxx bwpW85TMs3gWFHgImAyzZi8W38Gb+VZEGtg0Egpg4HJigJ5paymRDqTqVinME44Y Vfw/o8WKTlfR6PZjEizQuQUDQUecX56uDHa5O1k0NP1k+Nz4NG1EXlaueajo9FpD 8HjrSMBVyvWBMOf+aNAZ8Lgr1rjI4gNwVVqfwwviW9Hq+BJgZY+lSg== =0NWu -----END PGP SIGNATURE-----
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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBRmUELi9SORjhbDpvAQLwNAgAvMPDIZsBkjRe9n6MFHicaW366OJAkbo7 v3zO+FvROT7TA3N7bDTPgsx/PPXVO7l+8ctCQ69XcM9MuN1dUbs/9fWG1kZos9Td g0IMYh2OUs/WZzOGD/5HlB4AXqfNx1FWHa7AZX0e1In/JvswF0gDlzgdNvzQgpso BSV7UaeK2RpzPfDhEK0CQi0hzgjfEHZUsny9E4EH1tzlMHARUmaDu9guy0oB8QDg HTnBaIc2yb9snBqpso5PtgTCfvLOigvL6HBD+9dcbUykuXdv25Gw9ml0uPogrId1 JXz2xINi4iBK6FQ1SbHP/GHIAe/o1YaI1EkNcurwWe80U+8eYHN2Jg== =oI9D -----END PGP SIGNATURE-----
participants (3)
-
Charles Marcus
-
Steffen Kaiser
-
Timo Sirainen