alienscience / imapsrv

An IMAP server written in Go
BSD 3-Clause "New" or "Revised" License
48 stars 9 forks source link

Advertise available addresses to MTA #32

Open EtienneBruines opened 9 years ago

EtienneBruines commented 9 years ago

Let's say we have one e-mail account test@example.com. If we want to store e-mail from this e-mail address, we should configure the MTA (Postfix in this example) to receive this e-mail, and forward it to our IMAP server.

If it forwards it to the IMAP server, the IMAP server can say "OK, received", or something like "NO, I don't know that user". In the latter case, the MTA often tries to send an Undelivered Mail Returned to Sender e-mail to the sender-address (which does not have to be the actual sender). This causes backscatter.

So, we should tell the MTA which e-mails should be forwarded, and which e-mails should not.

Possibilities

... more?

This issue is there for discussion / new possibilities to implement.