Kevin N.:
> For example the following transaction will not show any errors in SYSLOG:
>
> In: AUTH LOGIN
> Out: 503 5.5.1 Error: authentication not enabled
> In: QUIT
> Out: 221 2.0.0 Bye
You can use the existing notify_classes based mechamism and pipe
that into syslog.
notify_classes = protocol, ...
error_notice_recipient = syslog@localhost
syslog@localhost can be a transport_maps entry for a pipe(8)
service invokes a script like this to log the body of the
message:
#!/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
sed -n '/^$/,$p' | postlog -p info -t transcript
Wietse