WIP: POP3 support - #769
Conversation
kiwiz
commented
Mar 2, 2025
The server currently compiles and runs, but I haven't tested it with a non-empty mailbox. Is there an easy way to generate/import test data for that purpose? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| // client is greater than than the number of lines in the | ||
| // body, then the POP3 server sends the entire message. | ||
| func (endp *Endpoint) Top(user pop3backend.User, msgId int, n int) (lines []string, err error) { | ||
| return nil, fmt.Errorf("pop3: unimplemented") |
There was a problem hiding this comment.
Is there code I can reference for formatting the message headers?
There was a problem hiding this comment.
Hmm, that one is tricky. I guess, you would need to consume Literals returned by ListMessages and format them yourself. It is okay to partially consume returned value.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| replace github.com/libdns/gandi => github.com/foxcpp/libdns-gandi v1.0.4-0.20240127130558-4782f9d5ce3e // v1.0.3+maddy.1 | ||
| replace github.com/kiwiz/popgun v0.0.0 => ../popgun |
There was a problem hiding this comment.
These references will need to be updated
ehfd
commented
Mar 17, 2026
Any progress? It would be really nice to have this. |
Adds support for the POP3 protocol. A lot of work is still needed, but I wanted to get some early feedback on the direction I'm taking. The code was based off
imap, so there may be some dead code remaining.Implements #650