Compare commits
19 Commits
e00ba6f4ce
...
master
Author | SHA1 | Date | |
---|---|---|---|
cb9e958d39 | |||
761a3a3b34 | |||
ae06305069 | |||
e50851b519 | |||
c82ff77bbe | |||
f4c7453675 | |||
06914fcade | |||
230ab94ca6 | |||
7cc2369ea0 | |||
4aaeae3b1a | |||
692e76ad1d | |||
6f02a45023 | |||
e971f26c75 | |||
bbc3cf87f1 | |||
195e3f65ee | |||
0270997761 | |||
6e19d1a938 | |||
5a9dcc4b8f | |||
94a1895873 |
@ -3,9 +3,15 @@
|
||||
## - some litle tests ##
|
||||
## -------------------------------------- ##
|
||||
|
||||
## -
|
||||
## - test smtp (STARTTLS), submission (587) (STARTTLS), smtp (SSL),
|
||||
## - pop3 (SSL), pop3 (STARTTLS), imap (SSL) and imap (STARTTLS)
|
||||
## -
|
||||
|
||||
# ---
|
||||
# test - localhost
|
||||
# ---
|
||||
|
||||
openssl s_client -crlf -starttls smtp -connect localhost:25 [-state -debug]
|
||||
openssl s_client -crlf -starttls smtp -connect localhost:587
|
||||
openssl s_client -crlf -connect localhost:465
|
||||
@ -15,9 +21,24 @@ openssl s_client -crlf -connect localhost:993
|
||||
openssl s_client -crlf -starttls imap -connect localhost:143
|
||||
|
||||
|
||||
# ---
|
||||
# tests - remote mailserver
|
||||
# ---
|
||||
|
||||
mailserver="mx.gemeinschaft-altenschlirf.de"
|
||||
|
||||
openssl s_client -crlf -starttls smtp -connect ${mailserver}:25 [-state -debug]
|
||||
openssl s_client -crlf -starttls smtp -connect ${mailserver}:587
|
||||
openssl s_client -crlf -connect ${mailserver}:465
|
||||
openssl s_client -crlf -connect ${mailserver}:995
|
||||
openssl s_client -crlf -starttls pop3 -connect ${mailserver}:110
|
||||
openssl s_client -crlf -connect ${mailserver}:993
|
||||
openssl s_client -crlf -starttls imap -connect ${mailserver}:143
|
||||
|
||||
|
||||
# Test RSA based TLS connection
|
||||
#
|
||||
echo "quit" | openssl s_client -connect a.mx.oopen.de:25 -starttls smtp -tls1_2 -cipher ECDHE-RSA-AES256-GCM-SHA384
|
||||
echo "quit" | openssl s_client -connect ${mailserver}:25 -starttls smtp -tls1_2 -cipher ECDHE-RSA-AES256-GCM-SHA384
|
||||
|
||||
echo "quit" | openssl s_client -connect a.mx.oopen.de:25 -starttls smtp -tls1_2
|
||||
echo "quit" | openssl s_client -connect a.mx.oopen.de:25 -starttls smtp
|
||||
echo "quit" | openssl s_client -connect ${mailserver}:25 -starttls smtp -tls1_2
|
||||
echo "quit" | openssl s_client -connect ${mailserver}:25 -starttls smtp
|
61
DOC/dovecot/README.maildir-size-fix.pl
Normal file
61
DOC/dovecot/README.maildir-size-fix.pl
Normal file
@ -0,0 +1,61 @@
|
||||
# ----------
|
||||
# Fix Maildir Size
|
||||
#
|
||||
# falls sich die tatsächliche Größe einer E-mail im Maildir Format
|
||||
# von der Größenangabe im Dateinamen unterscheidet, dann läuft
|
||||
# dovecot auf fehler.
|
||||
#
|
||||
# Es gibt 2 Möglichekeiten das zu verhindern:
|
||||
#
|
||||
# 1. in der dovecot.conf (z.Bsp. in 10-mail.conf deb Parameter
|
||||
# 'maildir_broken_filename_sizes' auf 'yes' setzen
|
||||
#
|
||||
# maildir_broken_filename_sizes = yes
|
||||
#
|
||||
#
|
||||
# 2. Die Größenangaben im Dateinamen korrigieren. Dafür gint es ein Skript
|
||||
# namens 'maildir-size-fix.pl'. Dieses Skript steht bei Githup's
|
||||
# 'dovecot/tools' zur Verfügung:
|
||||
#
|
||||
# https://github.com/dovecot/tools
|
||||
#
|
||||
# Das Perl-Skript maildir-size-fix.pl ist ein Werkzeug, das im Dovecot-Projekt
|
||||
# verwendet wird, um Probleme mit der Größe von Maildir-Dateien zu beheben.
|
||||
#
|
||||
# Nützliche Optionen
|
||||
#
|
||||
# - add_missing_size: Fügt die Größeninformation hinzu, wenn sie fehlt.
|
||||
#
|
||||
# - fix_existing_size: Überprüft und korrigiert bestehende Größeninformationen.
|
||||
#
|
||||
# - recursive: Scannt das Maildir rekursiv, um auch Unterordner zu berücksichtigen.
|
||||
#
|
||||
# - verbose: Ermöglicht detaillierte Protokollierung der Vorgänge.
|
||||
#
|
||||
#
|
||||
# ---------------------------------------------------------------------------------------
|
||||
#
|
||||
# Jede E.Mail in einem Maildir Ordner ist eine eigene Datei, dess dateiname üblicherweise
|
||||
# die Größe der datei selbst enthält (..,S=<dateigrösse>,W=..)
|
||||
#
|
||||
# ein typische Datei innerhalb eines Maildirordners sieht so aus:
|
||||
#
|
||||
# 1755713024.M837247P2624513.rage,S=38568,W=39101:2,Sc
|
||||
# | | |
|
||||
# Zeitstempel | Hostname
|
||||
# eind. ID
|
||||
#
|
||||
# S= und ,W=: Dateigröße und "Weighted size" (für IMAP/Quota).
|
||||
#
|
||||
# wobei die flags folgende bedeitung haben:
|
||||
#
|
||||
# +-------+-----------------------------+
|
||||
# | Flag | Bedeutung |
|
||||
# +-------+-----------------------------+
|
||||
# | S | Seen (gelesen) |
|
||||
# | R | Replied (beantwortet) |
|
||||
# | F | Flagged (markiert / wichtig)|
|
||||
# | T | Trashed (zum Löschen mark.) |
|
||||
# | D | Draft (Entwurf) |
|
||||
# | P | Passed (weitergeleitet) |
|
||||
# +-------+-----------------------------+
|
@ -2387,6 +2387,45 @@ virtual_alias_domains =
|
||||
btree:/etc/postfix/virtual_alias_domains
|
||||
|
||||
|
||||
#======= Postfix DSN Support ============
|
||||
|
||||
#
|
||||
# Use the smtpd_discard_ehlo_keyword_address_maps feature if you wish to allow DSN
|
||||
# requests from trusted clients but not from random strangers
|
||||
#
|
||||
# smtpd_discard_ehlo_keyword_address_maps =
|
||||
# cidr:/etc/postfix/esmtp_access
|
||||
#
|
||||
# /etc/postfix/esmtp_access:
|
||||
# # Allow DSN requests from local subnet only
|
||||
# 192.168.0.0/28 silent-discard
|
||||
# 0.0.0.0/0 silent-discard, dsn
|
||||
# ::/0 silent-discard, dsn
|
||||
#
|
||||
#smtpd_discard_ehlo_keyword_address_maps =
|
||||
|
||||
|
||||
# If you want to disallow all use of DSN requests from the network, use the
|
||||
# smtpd_discard_ehlo_keywords feature:
|
||||
#
|
||||
# /etc/postfix/main.cf:
|
||||
# smtpd_discard_ehlo_keywords = silent-discard, dsn
|
||||
#
|
||||
#
|
||||
#
|
||||
# A case insensitive list of EHLO keywords (pipelining, starttls, auth, etc.) that
|
||||
# the Postfix SMTP server will not send in the EHLO response to a remote SMTP client.
|
||||
#
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# Specify the silent-discard pseudo keyword to prevent this action from being logged.
|
||||
#
|
||||
# Use the smtpd_discard_ehlo_keyword_address_maps feature to discard EHLO keywords selectively.
|
||||
#
|
||||
#smtpd_discard_ehlo_keywords = silent-discard, dsn
|
||||
|
||||
|
||||
#======= Rate Limiting ============
|
||||
|
||||
# anvil_rate_time_unit (default: 60s)
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user