--Markus Schabel wrote on 15.02.2002 16:10 +0100: > hi > > on my smtp-server i'm running courier and logcheck. im my > logcheck-configuration i need the following entries: > > courieresmtp: id=.*,from=.*: 250 OK > courieresmtp: id=.*,from=.*: 250 Ok > courieresmtp: id=.*,from=.*: 250 ok > courieresmtp: id=.*,from=.*: 250 .* OK > courieresmtp: id=.*,from=.*: 250 .* Ok > courieresmtp: id=.*,from=.*: 250 .* ok
Responses from the remote end, not interesting for logcheck if they dont start with 5xx). Look for "courieresmtpd: error", "status: deferred", "status: failure" and such things. Regexp from a script to manually check the maillog: #!/bin/sh TEMP="/tmp/mailwarn.$$" nice zgrep -Ehi -e "\<(mail\.err|DENY|ALERT|failure|failed|deferred|virtual|deni ed|error|nonzero|unknown|bounce[^-]|invalid|sfilter|virus)\>" /var/log/maillog / var/log/maillog.0.gz >$TEMP 2>/dev/null cat $TEMP | sort -M -r -t /tmp > deferral.log rm -f $TEMP head -n 100 deferral.log | less _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
