Commit graph

15 commits

Author SHA1 Message Date
Boky
e95e1a5a9c
Create CODE_OF_CONDUCT.md 2018-10-06 16:50:49 +02:00
Boky
fc47db0529
Fixed a typo in readme 2018-10-06 16:48:00 +02:00
Bojan Čekrlić
707b8407e4 Additional fix when no domain given. 2018-07-31 15:04:00 +02:00
Bojan Čekrlić
bd4b3ce754 Relax SMTPD accept and relay restrictions.
There are some use cases when using `reject_unverified_recipient`
(http://www.postfix.org/postconf.5.html#reject_unverified_recipient)
doesn't seem to be as good idea. This patch fixes this.

While in theory it seems good, in practice (for our use case) it's not:
- the service cannot send out emails as fast, as each "RCPT TO" will
result in a DNS lookup (and connection to the target server), which can
slow things down considerably.
- the target server might just be busy or temporarily offline. This will
prevent the service from sending out the email, which defeats the
purpose of mail bagging.
- we might be behind a firewall and not even be able to connect to the
target server for email validation

Furthermore, this patch include the following line:
`smtpd_relay_restrictions = permit`

This basically opens up relay functionality to any address. Previously
there was an issue if you wanted to send an email to the address which
was listed in the `$ALLOWED_SENDER_DOMAINS`.
2018-07-30 08:30:14 +02:00
Bojan Čekrlić
0638d349bd Minor edits for easier understanding.
The Dockerfile has been reformatted a bit to make it more clear and easy
to understand. README.md has been updated with the postfix's user
account details.
2018-07-27 16:42:35 +02:00
Bojan Čekrlić
50ad64dc4e Updated documentation, added info about project status. 2018-07-19 08:49:51 +02:00
Bojan Čekrlić
2797040faa NEW FEATURE: A new feature has been added -- it's now posible to specify a RELAY
hosts's username and password, if your remote host requires
authentication.

NEW FEATURE: The possibility to execute third party scripts. This should
make extending this image easier.

REFACTORING: Dockerfile now starts with run.sh instead of suprevisor.
This makes it much easier to see any errors that might creep into the
code. Also note that the script now relies on POSIX-compliant commands
only so the executor has been changed from /bin/bash to /bin/sh.
2017-11-02 14:20:28 +01:00
Bojan Čekrlić
387af8e285 Added a bit more documentation 2017-10-27 12:08:04 +02:00
Boky
246a4aa1fb Create LICENSE 2017-10-27 11:31:17 +02:00
Riaan Hanekom
9ef3f944af Fixed issue where relayhost was set instead of mynetworks. (#3) 2017-10-27 11:29:09 +02:00
Bojan Čekrlić
56e02ffd33 Fixed an issue with ALLOWED_SENDER_DOMAINS. Fixed an issue with pthread_setname_np: symbol not found. 2017-07-24 08:17:04 +02:00
Stefan S
3f4df6062a readme and MYNETWORKS via ENV (#1)
* mynetworks via ENV

* Create README.md

* <br>
2016-12-14 17:29:59 +01:00
Bojan Čekrlić
d83c121323 Minor tweaks -- create alias file, disable SMTPUTF8 support, which is not possible anyways 2016-04-22 14:23:36 +02:00
Bojan Čekrlić
f9f7935ae0 Fix for postfix; it now checks properly for allowed domains and sends off the email if the domain matches. 2016-04-22 14:16:12 +02:00
Bojan Čekrlić
d2487b475b Postfix, initial release 2016-03-18 00:06:12 +01:00