This commit is contained in:
parent
04ad6017e6
commit
0bf33c582f
@ -7,6 +7,8 @@ LABEL ImageName="quay.io/wollud1969/exim-docker"
|
|||||||
ENV LOCALMAILNAME=""
|
ENV LOCALMAILNAME=""
|
||||||
# smarthost to send mail to
|
# smarthost to send mail to
|
||||||
ENV SMARTHOST=""
|
ENV SMARTHOST=""
|
||||||
|
ENV SMARTHOST_USER=""
|
||||||
|
ENV SMARTHOST_PASS=""
|
||||||
# ip addresses or networks to allow for relaying, separate multiple ones by semicolon
|
# ip addresses or networks to allow for relaying, separate multiple ones by semicolon
|
||||||
ENV RELAYNETS=""
|
ENV RELAYNETS=""
|
||||||
|
|
||||||
|
@ -15,6 +15,18 @@ smarthost_smtp:
|
|||||||
driver = smtp
|
driver = smtp
|
||||||
port = 25
|
port = 25
|
||||||
multi_domain
|
multi_domain
|
||||||
|
hosts_require_auth = *
|
||||||
|
|
||||||
|
begin authenticators
|
||||||
|
plain:
|
||||||
|
driver = plaintext
|
||||||
|
public_name = PLAIN
|
||||||
|
client_send = ^%SMARTHOST_USER%^%SMARTHOST_PASS%
|
||||||
|
|
||||||
|
login:
|
||||||
|
driver = plaintext
|
||||||
|
public_name = LOGIN
|
||||||
|
client_send = : %SMARTHOST_USER% : %SMARTHOST_PASS%
|
||||||
|
|
||||||
begin acl
|
begin acl
|
||||||
acl_check_rcpt:
|
acl_check_rcpt:
|
||||||
|
2
start.sh
2
start.sh
@ -7,6 +7,8 @@ cat exim.conf.tmpl \
|
|||||||
-e 's#%RELAYNETS%#'$RELAYNETS'#' \
|
-e 's#%RELAYNETS%#'$RELAYNETS'#' \
|
||||||
-e 's/%LOCALMAILNAME%/'$LOCALMAILNAME'/' \
|
-e 's/%LOCALMAILNAME%/'$LOCALMAILNAME'/' \
|
||||||
-e 's/%SMARTHOST%/'$SMARTHOST'/' \
|
-e 's/%SMARTHOST%/'$SMARTHOST'/' \
|
||||||
|
-e 's/%SMARTHOST_USER%/'$SMARTHOST_USER'/' \
|
||||||
|
-e 's/%SMARTHOST_PASS%/'$SMARTHOST_PASS'/' \
|
||||||
> exim.conf
|
> exim.conf
|
||||||
|
|
||||||
exim -bd -q15m -v
|
exim -bd -q15m -v
|
||||||
|
Loading…
x
Reference in New Issue
Block a user