Commit graph

50 commits

Author SHA1 Message Date
52efa3ec61 ci: fix linter errors 2023-11-09 15:36:46 +01:00
5dc74aadda ci: fix linter errors 2023-11-09 15:35:14 +01:00
5f4995e65a ci: fix linter errors 2023-11-09 15:34:41 +01:00
07d63f74d3 ci: fix linter errors 2023-11-09 15:33:26 +01:00
0dc508f592 docs 2023-11-03 11:39:21 +01:00
d4ece33bce remove: OVERWRITE_FROM 2023-11-03 11:36:22 +01:00
bedcf8ab7d SMTP_GENERIC_MAP 2023-11-03 11:28:21 +01:00
183167d33e set append_dot_domain 2023-10-31 10:30:45 +01:00
eeb6be696b make inet_protocol configurable 2023-10-31 10:25:38 +01:00
Joost van den Broek
5ba18a151e feat: Add IPv6 support 2022-06-29 18:58:42 -05:00
Nasser
ceab4779d9
feat: Add message_size_limit option (#86)
* feat: Add MESSAGE_SIZE_LIMIT configuration option (PR #86)
2022-06-20 16:38:09 -05:00
Andrey Andreev
7a9b9513a7 fix: read passwords from files 2022-05-13 09:22:27 -05:00
Nico Weichbrodt
a80ceca118 feat: Allow disabling SMTPUTF8 2022-04-20 22:59:41 -05:00
linucksrox
f280c00f87 feat: Add ENV option to enable subject line logging 2022-04-04 16:40:35 -05:00
nick
f831f935b9 Correct sasl_passwd file creation method 2021-07-08 21:23:43 -05:00
nick
222d3fad72 feat: Parameterize destination config value 2021-07-08 21:23:43 -05:00
BuildTools
8011cddf8a feat: Add support to load username from file 2021-05-22 21:54:18 -05:00
Juan Luis Baptiste
1cfdcb5f18 feat: Removed supervisor and rsyslog
As mentioned in discussion #54, since version 3.3.0, postfix can run in
foreground mode, and since 3.4.0 it can log directly to stdout.
2021-05-22 17:49:25 -05:00
Ernesto Baschny
b1ef5ea1d0 Allow to use a SMTP server without authentication 2021-03-30 16:35:54 -05:00
Juan Luis Baptiste
2264af0bca Add smtp_host_lookup=native,dns parameter
to allow the lookup of hosts added to /etc/hosts file via docker options
(issue #51).
2021-03-17 17:17:39 -05:00
Juan Luis Baptiste
1976cf8400 Fix issue #45: Update alpine image to v3.13, had to remove cyrus-sasl-plain
package as is not present on that version and switch sasl map from
hash to lmdb.
2021-02-03 15:26:44 -05:00
Rev (Tsuyoshi Yamasaki)
f4b70c83e2 add smtp_tls_wrappermode and smtp_tls_security_level.
You need both parameters when you send emails with TLS(465).
2021-01-02 14:01:56 -05:00
David Cooper
c53377f8a5 Fix issue #35 2020-11-01 17:14:35 -05: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
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
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
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
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
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
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
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
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
watiko
20decfd2f9 Make the smtp server port configurable. 2018-05-24 12:14:45 +09:00
Juan Luis Baptiste
0cb738084c Don't add duplicate configuration entries. 2018-05-09 02:06:30 -05:00
Juan Luis Baptiste
58f40b3cab Also validate SERVER_HOSTNAME. 2018-03-06 01:18:30 -05:00
Juan Luis Baptiste
4a528463da Also set mydestination. 2015-05-22 23:45:58 -05:00
Juan Luis Baptiste
cb373828fc Set myhostname and myorigin, some providers like 1&1 will do MX lookups on them so they need to be valid. 2015-05-13 01:06:38 -05:00
Juan Luis Baptiste
38c13fe385 First version 2015-04-19 17:30:41 -05:00