Commit Graph

77 Commits

Author SHA1 Message Date
David Cooper c53377f8a5 Fix issue #35 2020-11-01 17:14:35 -05:00
lucas_nz 66372ab6c2 include OVERWRITE_FROM in .env.example 2020-09-29 21:42:18 +13:00
lucas_nz 6783d68f42 Add option to overwrite the From address 2020-09-29 21:34:55 +13:00
Erik Martin-Dorel e0d3ab0af7
Add option always_add_missing_headers (#32)
(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:41:08 -05:00
Juan Luis Baptiste d0bd8bae59 Updated blog address 2020-06-24 21:53:48 -05:00
Niclas Mietz eaa38b4fd7 fix(postfix): Set correct default value for SMTP_PORT 2020-06-24 21:08:49 -05:00
dabde 39ac3ab672 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-24 20:51:35 -05:00
Juan Luis Baptiste 1e0e3be0b6 Update docker-compose file name to renamed docker-compose.override.yml name. Fixes issue #28. 2020-06-24 20:51:23 -05:00
Juan Luis Baptiste 425c1b330d Added LICENSE file to fix issue #27 2020-06-24 20:51:07 -05:00
Juan Luis Baptiste 9518e01dee Renamed docker-compose.dev.yml to docker-compose.override.yml so it
does not need to be explicitly set to build the image.
2020-06-24 20:50:51 -05:00
Juan Luis Baptiste 39ab0f7434 Added an example .env file 2020-06-24 20:50:24 -05:00
Juan Luis Baptiste 28dae2b6b2
Merge pull request #22 from swedishborgie/migrate_to_alpine
Adds the cyrus-sasl-login package to provide feature parity with CentOS image and fix #21.
2020-04-16 15:40:17 -05:00
Michael Powers 6f0a49a8c8
Adds the cyrus-sasl-login package to provide feature parity with CentOS image and fix #21.
Fixes an unterminated line preventing cache cleaning from working correctly.
2020-04-16 16:13:35 -04:00
Juan Luis Baptiste 1ab78c1feb Added information about the migration to Alpine 2020-03-23 18:54:43 -05:00
Juan Luis Baptiste 73dcfc381c Fix awk expression, it worked before because of a bug, it does not work with more recent awk versions. 2020-03-23 18:30:00 -05:00
Juan Luis Baptiste 9fd2173200 Change base image from CentOS 7 to alpine linux 2020-03-22 23:17:24 -05: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