Skip to content

Added support for Dovecot and Postfix LDAP TLS#800

Merged
johansmitsnl merged 5 commits intodocker-mailserver:masterfrom
madmath03:master
Jan 25, 2018
Merged

Added support for Dovecot and Postfix LDAP TLS#800
johansmitsnl merged 5 commits intodocker-mailserver:masterfrom
madmath03:master

Conversation

@madmath03
Copy link
Copy Markdown
Contributor

@madmath03 madmath03 commented Jan 24, 2018

Added 2 parameters:

  • LDAP_START_TLS to enable Postfix LDAP TLS
  • DOVECOT_TLS to enable Dovecot LDAP TLS

Tests and README updated.

Wiki will need to be updated to once PR has been accepted.

@madmath03 madmath03 closed this Jan 24, 2018
@madmath03 madmath03 reopened this Jan 24, 2018
Comment thread target/postfix/ldap-domains.cf Outdated
search_base = ou=people,dc=domain,dc=com
server_host = mail.domain.com
start_tls = no
version = 3 No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add the new line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. It's done.

While I was at it, I also added some more tests on the Postfix STARTTLS config.

@johansmitsnl johansmitsnl merged commit d270fcd into docker-mailserver:master Jan 25, 2018
johansmitsnl pushed a commit that referenced this pull request Jan 31, 2018
* fail2ban handling integrated in setup.sh

- calling \"./setup debug fail2ban\" lists all iptable chains whith blocked IPs (like: Banned in dovecot: 91.200.12.164
										       Banned in postfix-sasl: 91.200.12.164)
- calling \"./setup debug fail2ban unban xxx.xxx.xxx.xxx [yyy.yyy.yyy.yyy ...]\" unbans/removes those IPs from all jails.
- calling \"./setup debug fail2ban unban\" (without an IP) gives an descriptive error: (You need to specify an IP address. Run "./setup.sh debug fail2ban" to get a list of banned IP addresses.)

* disable_vrfy_command: (#798)

Prevents Spammers from collecting existing mail-addresses by probing the mailserver for them.

* Added support for Dovecot and Postfix LDAP TLS (#800)

* Allow setup of LDAP STARTTLS for Dovecot and Postfix

* Added tests for TLS config override

* Add missing Postfix TLS options

* Added missing new line at the end of the file

* Added STARTTLS tests for Postfix config

* tests added
and made the script output look more shiny.

* setup.sh enhancements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants