forked from dovecot/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented SMTP submission proxy service.
- Loading branch information
1 parent
211caf3
commit 2cbbe9b
Showing
35 changed files
with
3,624 additions
and
4 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
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
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
## | ||
## Settings specific to SMTP Submission | ||
## | ||
|
||
# SMTP Submission logout format string: | ||
# %i - total number of bytes read from client | ||
# %o - total number of bytes sent to client | ||
# %{command_count} - Number of commands received from client | ||
# %{reply_count} - Number of replies sent to client | ||
# %{session} - Session ID of the login session | ||
# %{transaction_id} - ID of the current transaction, if any | ||
#submission_logout_format = in=%i out=%o | ||
|
||
# Host name reported by the SMTP service, for example to the client in the | ||
# initial greeting and to the relay server in the HELO/EHLO command. | ||
# Default is the system's real hostname@domain. | ||
#hostname = | ||
|
||
# Maximum size of messages accepted for relay. This announced in the SIZE | ||
# capability. If not configured, this is either determined from the relay | ||
# server or left unlimited if no limit is known (relay will reply with error | ||
# if some unknown limit exists there, which is duly passed to our client). | ||
#submission_max_mail_size = | ||
|
||
# Maximum number of recipients accepted per connection (default: unlimited) | ||
#submission_max_recipients = | ||
|
||
# Relay server configuration: | ||
# | ||
# The Dovecot SMTP submission service directly proxies the mail transaction | ||
# to the SMTP relay configured here. | ||
|
||
# Host name for the relay server (required) | ||
#submission_relay_host = | ||
|
||
# Port for the relay server | ||
#submission_relay_port = 25 | ||
|
||
# Is the relay server trusted? This determines whether we try to send | ||
# (Postfix-specific) XCLIENT data to the relay server | ||
#submission_relay_trusted = no | ||
|
||
# Authentication data for the relay server if authentication is required | ||
#submission_relay_user = | ||
#submission_relay_master_user = | ||
#submission_relay_password = | ||
|
||
# SSL configuration for connection to relay server | ||
#submission_relay_ssl = no | ||
#submission_relay_ssl_verify = yes | ||
|
||
# Write protocol logs for relay connection to this directory for debugging | ||
#submission_relay_rawlog_dir = | ||
|
||
# BURL is configured implicitly by IMAP URLAUTH | ||
|
||
protocol submission { | ||
# Space-separated list of plugins to load (default is global mail_plugins). | ||
#mail_plugins = $mail_plugins | ||
|
||
# Maximum number of SMTP submission connections allowed for a user from | ||
# each IP address. | ||
# NOTE: The username is compared case-sensitively. | ||
#mail_max_userip_connections = 10 | ||
} | ||
|
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 |
---|---|---|
|
@@ -58,6 +58,8 @@ SUBDIRS = \ | |
imap-urlauth \ | ||
pop3-login \ | ||
pop3 \ | ||
submission-login \ | ||
submission \ | ||
lda \ | ||
lmtp \ | ||
log \ | ||
|
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,32 @@ | ||
pkglibexecdir = $(libexecdir)/dovecot | ||
|
||
pkglibexec_PROGRAMS = submission-login | ||
|
||
AM_CPPFLAGS = \ | ||
-I$(top_srcdir)/src/lib \ | ||
-I$(top_srcdir)/src/lib-settings \ | ||
-I$(top_srcdir)/src/lib-sasl \ | ||
-I$(top_srcdir)/src/lib-auth \ | ||
-I$(top_srcdir)/src/lib-master \ | ||
-I$(top_srcdir)/src/lib-smtp \ | ||
-I$(top_srcdir)/src/login-common | ||
|
||
submission_login_LDADD = \ | ||
$(LIBDOVECOT_LOGIN) \ | ||
$(LIBDOVECOT) \ | ||
$(SSL_LIBS) | ||
submission_login_DEPENDENCIES = \ | ||
$(LIBDOVECOT_LOGIN) \ | ||
$(LIBDOVECOT_DEPS) | ||
|
||
submission_login_SOURCES = \ | ||
client.c \ | ||
client-authenticate.c \ | ||
submission-login-settings.c \ | ||
submission-proxy.c | ||
|
||
noinst_HEADERS = \ | ||
client.h \ | ||
client-authenticate.h \ | ||
submission-login-settings.h \ | ||
submission-proxy.h |
Oops, something went wrong.