secret
Created

postfix patterns

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13
# maillog stuff:
QUEUEID (?:[A-F0-9]+|NOQUEUE)
ADDRESSPART [a-zA-Z0-9_.+-]+
ADDRESS <%{ADDRESSPART:local}@%{ADDRESSPART:remote}>
RELAY (?:%{HOSTNAME}(?:\[%{IP:ip}\]:%{POSREAL:port})|none)
POSREAL [0-9]+(.[0-9]+)?
DELAYS %{POSREAL:a}/%{POSREAL:b}/%{POSREAL:c}/%{POSREAL:d}
DSN %{POSINT}.%{POSINT}.%{POSINT}
STATUS sent|deferred|bounced|expired
PERMERROR 5[0-9]{2}
RESPONSE %{DATA}
COMMAND %{DATA}
POSTFIXSMTPLOG %{SYSLOGBASE2} %{QUEUEID}: to=%{ADDRESS:to}, relay=%{RELAY:relay}, delay=%{POSREAL:delay}, delays=%{DELAYS}, dsn=%{DSN}, status=%{STATUS} \(%{DATA:reason}\)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.