- given a data file sample named
data.log - modify your config to use the stdin input so that you can pipe you sample log file to logstash
input {
stdin {
codec => line
}
}
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)| # Postfix stuff based on https://gist.github.com/jbrownsc/4694374: | |
| QUEUEID (?:[A-F0-9]+|NOQUEUE) | |
| EMAILADDRESSPART [a-zA-Z0-9_.+-=:]+ | |
| EMAILADDRESS %{EMAILADDRESSPART:local}@%{EMAILADDRESSPART:remote} | |
| RELAY (?:%{HOSTNAME:relayhost}(?:\[%{IP:relayip}\](?::[0-9]+(.[0-9]+)?)?)?) | |
| POSREAL [0-9]+(.[0-9]+)? | |
| DELAYS (%{POSREAL}[/]*)+ | |
| DSN %{NONNEGINT}.%{NONNEGINT}.%{NONNEGINT} | |
| STATUS sent|deferred|bounced|expired |