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
372beca9
Commit
372beca9
authored
Jun 02, 2015
by
Alex Eftimie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme.
parent
5909f323
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
README.md
README.md
+14
-5
No files found.
README.md
View file @
372beca9
...
...
@@ -12,12 +12,21 @@ Usage:
## Example usage
Run:
In the
`example`
folder, there is an example centos container than can be used to test connectivity.
cd example
docker build -t example .
docker run --rm -it --link=postfix:postfixcontainer example
mail test@example.com
# mail should be sent by the postfix container
\ No newline at end of file
# from commandline:
$ mail test@example.com
# from an application, python:
$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[
GCC 4.4.7 20120313 (Red Hat 4.4.7-4)
]
on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import smtplib
>>> s = smtplib.SMTP('postfixcontainer')
>>> s.sendmail('test@example.eionet.europa.eu', ['user@example.com'], 'test')
{}
\ No newline at end of file
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