Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
postfix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
luiz.nunes
postfix
Commits
52e2006a
Commit
52e2006a
authored
Sep 17, 2015
by
Alin Voinea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
f921020c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+2
-2
No files found.
README.md
View file @
52e2006a
...
@@ -15,7 +15,7 @@ The `.secrets` file should be used as a runtime environment variables, to set th
...
@@ -15,7 +15,7 @@ The `.secrets` file should be used as a runtime environment variables, to set th
Basic way to get one instance up and running:
Basic way to get one instance up and running:
docker run --rm -t -i --env-file=.secret -v /etc/localtime:/etc/localtime:ro --name=postfix eeacms/postfix
docker run --rm -t -i -
e MTP_HOST=mydomain.com -
-env-file=.secret -v /etc/localtime:/etc/localtime:ro --name=postfix eeacms/postfix
From the application container, running on the same docker host, one can set the SMTP server to the postfix container address.
From the application container, running on the same docker host, one can set the SMTP server to the postfix container address.
...
@@ -39,7 +39,7 @@ In the `example` folder, there is an example centos container than can be used t
...
@@ -39,7 +39,7 @@ In the `example` folder, there is an example centos container than can be used t
Type "help", "copyright", "credits" or "license" for more information.
Type "help", "copyright", "credits" or "license" for more information.
>>> import smtplib
>>> import smtplib
>>> s = smtplib.SMTP('postfixcontainer')
>>> s = smtplib.SMTP('postfixcontainer')
>>> s.sendmail('test@
example.eionet.europa.eu
', ['user@example.com'], 'test')
>>> s.sendmail('test@
mydomain.com
', ['user@example.com'], 'test')
{}
{}
## Existing container configuration
## Existing container configuration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment