Commit graph

76 commits

Author SHA1 Message Date
Tom Stein
4398bb1053 Fix wrong description in .env.template
The old comment was wrongly copy-pasted
2020-12-02 10:30:45 -05:00
Tom Stein
5e4998f14e fix broken link in Readme
The docker-compose file was renamed
2020-12-02 10:29:42 -05:00
David Cooper
bb8a0671d7 Fix issue #35 2020-11-01 17:16:09 -05:00
lucas_nz
29b356bb2b include OVERWRITE_FROM in .env.example 2020-10-11 12:52:33 -05:00
lucas_nz
99a2397715 Add option to overwrite the From address 2020-10-11 12:52:15 -05:00
Erik Martin-Dorel
c55bcb70ac
Add option always_add_missing_headers (#31)
(adding From:, To:, Date: or Message-ID: headers when not present,
cf. http://www.postfix.org/postconf.5.html#always_add_missing_headers)

This option always_add_missing_headers is set by the environment
variable ALWAYS_ADD_MISSING_HEADERS (default: no)
2020-08-24 14:40:09 -05:00
Juan Luis Baptiste
9603b4070d Updated blog address 2020-06-24 21:54:14 -05:00
dabde
af1f46641b
Add function to load secret/password from file for security (#25)
New feature: Load SMTP password from file to avoid using env variables.
2020-06-19 16:52:21 -05:00
Juan Luis Baptiste
74ea38cd6e Update docker-compose file name to renamed docker-compose.override.yml name. Fixes issue #28. 2020-06-03 10:00:36 -05:00
Juan Luis Baptiste
113fe1c53d Added LICENSE file to fix issue #27 2020-05-27 14:43:09 -05:00
Juan Luis Baptiste
b549ac8228 Renamed docker-compose.dev.yml to docker-compose.override.yml so it
does not need to be explicitly set to build the image.
2020-04-09 12:23:20 -05:00
Juan Luis Baptiste
e6b37122f8 Added an example .env file 2020-04-09 12:13:45 -05:00
Juan Luis Baptiste
0ec4289588 Added information about the migration to Alpine 2020-03-24 12:11:20 -05:00
Juan Luis Baptiste
32fa6bcd68
Merge pull request #19 from solidnerd/patch-1
fix(postfix): Set correct default value for SMTP_PORT
2020-01-21 10:52:43 -05:00
Niclas Mietz
0e9c2d2b23
fix(postfix): Set correct default value for SMTP_PORT 2020-01-21 10:47:27 +01:00
Juan Luis Baptiste
7099763cec Added build status badge to README.md 2019-12-03 15:24:28 -05:00
Juan Luis Baptiste
73c5c7deef
Merge pull request #17 from xr09/exec-supervisor
Run supervisor using exec so it can become PID 1 instead of run.sh.
2019-11-29 14:58:41 -05:00
Manuel Gutierrez
de6031105c Single COPY to reduce number of layers 2019-11-29 11:44:46 +01:00
Manuel Gutierrez
aa1686300a Exec supervisor to make it PID 1 2019-11-29 11:43:51 +01:00
Juan Luis Baptiste
292d1c46c0 In case of mounting /var/spool/postfix, delete master.pid first 2019-10-23 17:20:20 -05:00
Juan Luis Baptiste
3127691529 Set centos image version to 7 as epel for centos 8 does not contain supervisor 2019-10-16 20:13:38 -05:00
Juan Luis Baptiste
194da86eab Improved gmail configuration instructions. 2019-06-27 10:29:51 -05:00
Juan Luis Baptiste
3c9d1ad80b
Merge pull request #12 from turboaaa/turboaaa-patch-1
Add restricted networks option
2019-03-17 19:43:06 -05:00
turboaaa
67e68970d0
Update README.md 2019-03-17 17:19:22 -04:00
turboaaa
b0fde40d8f
Update run.sh
Add trusted networks option
2019-03-17 17:17:51 -04:00
Juan Luis Baptiste
cea37873fa Remove slash scaping, not needed with postconf and was breaking the container (issue #11) 2019-03-10 13:39:33 -05:00
Juan Luis Baptiste
8fe92a8fe5 Fixed conflict 2019-03-06 21:26:30 -05:00
Juan Luis Baptiste
247c3ec0d5 Added info on seeing email logs. 2019-03-06 21:23:48 -05:00
Juan Luis Baptiste
ce934c2f93 Added a note about exposing SMTP_PORT value 2019-03-06 21:20:19 -05:00
Juan Luis Baptiste
d0c793e467 Added a link to the development blog. 2019-03-06 21:18:30 -05:00
Juan Luis Baptiste
6342b77d16
Merge pull request #7 from turboaaa/patch-1
Replace add_config_value with native postconf
2019-03-06 10:56:02 -05:00
turboaaa
132deee541
Update run.sh 2019-02-17 12:50:55 -05:00
turboaaa
25f561db6b
Convert previous function to using postfix. 2019-02-17 12:50:21 -05:00
Juan Luis Baptiste
92b283d6d4
Merge pull request #9 from turboaaa/patch-3
Create tag for optional upstream tracking.
2019-01-27 00:05:11 -05:00
turboaaa
3196395b4e
Update run.sh 2019-01-26 20:50:34 -05:00
turboaaa
3949dcefc0
Update run.sh 2019-01-26 17:12:50 -05:00
turboaaa
640b29d088
Update run.sh 2019-01-20 00:01:55 -05:00
turboaaa
630b283eea
Update run.sh
Updated header tag variable. Configured to only set the header tag if variable is set.
2019-01-19 23:58:15 -05:00
turboaaa
b8e5444956
Update README.md
Updated variable name.
2019-01-19 23:55:18 -05:00
turboaaa
d3f3316ccf
Update run.sh
Formatting.
2019-01-16 13:09:56 -05:00
turboaaa
423c51f9a0
Update run.sh 2019-01-16 12:39:55 -05:00
turboaaa
dff4a29a81
Update README.md 2019-01-16 12:38:15 -05:00
turboaaa
e7eb0a9d8e
Add header tag creation.
This will create a tag in email headers that can be used for filtering by receiving servers. I use this image for relaying through exchange online, and the nature of how I run my containers prevents me from setting static IPs as a filter. With a tag for exchange to look at, I can make sure emails from the relay are not hitting the junk folder.

Without setting the HEADER_TAG variable, the script will create a randomly generated tag and move on. It is not a requirement to make use of this feature.
2019-01-16 12:34:48 -05:00
turboaaa
22f46669db
Replace add_config_value with native postconf
This project saved me a lot of time. With the basic service running in docker I was able to add TLS and authentication for external clients. I am hoping I can help in some small way.
2019-01-08 18:12:45 -05:00
Juan Luis Baptiste
d5fb194c00
Merge pull request #4 from watiko/smtp-port
Configure smtp port and clean yum caches.
2018-06-09 18:28:56 -05:00
watiko
463f87bce4 Clean up yum cahches. 2018-05-24 12:32:10 +09:00
watiko
20decfd2f9 Make the smtp server port configurable. 2018-05-24 12:14:45 +09:00
Juan Luis Baptiste
ccaff2a25e Added a note about debugging. 2018-05-09 02:14:55 -05:00
Juan Luis Baptiste
d6eb7453f7 Added code badges to README file 2018-05-09 02:13:25 -05:00
Juan Luis Baptiste
0cb738084c Don't add duplicate configuration entries. 2018-05-09 02:06:30 -05:00