-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
61 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ Contents: | |
routing | ||
relaying | ||
mail_objects | ||
receivers | ||
commandline | ||
Salmon API guide <salmon> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Receivers | ||
========= | ||
|
||
Salmon comes with a number of receivers | ||
|
||
Asyncio based receivers | ||
----------------------- | ||
|
||
Salmon's default receivers based on `aiosmtpd <https://github.com/aio-libs/aiosmtpd>`__. | ||
|
||
.. note:: | ||
Although these receivers use Asyncio, your handlers are executed in a | ||
separate thread to allow them to use synchronous code that is easier to | ||
write and maintain. | ||
|
||
:class:`~salmon.server.AsyncLMTPReceiver` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
:class:`~salmon.server.AsyncSMTPReceiver` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
Asyncore based receivers | ||
------------------------ | ||
|
||
Salmon's original receivers based on Python's ``smtpd`` library. | ||
|
||
:class:`~salmon.server.LMTPReceiver` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
:class:`~salmon.server.SMTPReceiver` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. warning:: | ||
This receiver is not suitable for use on an Internet facing port. Try | ||
`AsyncSMTPReceiver`_ instead. | ||
|
||
Other receivers | ||
--------------- | ||
|
||
:class:`~salmon.server.QueueReceiver` | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters