Title: Message
Hello!
I want to setup
log2mail program on my system, but it does not work. I have read the
documentation and made the configuration file:
defaults
sendtime = 10 resendtime = 50 maxlines = 7
template = /etc/log2mail/mail fromaddr = [EMAIL PROTECTED] sendmail =
/usr/bin/procmail sendmail = /usr/sbin/sendmail -t
-oi
file =
/var/log/daemon.log pattern = "Power failure." mailto =
admin
file =
/var/log/daemon.log pattern = "Power is back. UPS running on
mains." mailto = admin
file =
/var/log/auth.log pattern = "Login failed" mailto =
admin
file =
/var/log/proftpd.log.system pattern = "Login failed" mailto
= admin
file =
/var/log/auth.log pattern = "matic" mailto =
admin
Log2mail finds the
line in my log files, but sends only two error messages to my MAILER-DAEMON
address:
1st message
(two files are attached):
unknown: No recipients specified
details.txt:Reporting-MTA: dns;
smtp.sentvid.orgArrival-Date: Wed, 5 Feb 2003 12:31:31 +0100
(CET)
Final-Recipient: rfc822; unknownAction:
failedStatus: 5.0.0Diagnostic-Code: X-Postfix; No recipients
specified
Undelivered Message Headers.txt:Received: by smtp.sentvid.org
(Postfix, from userid 0)id 02FA512C01D; Wed, 5 Feb 2003 12:31:31
+0100 (CET)From: To: Subject: matched your pattern: Message-Id:
[EMAIL PROTECTED]Date:
Wed, 5 Feb 2003 12:31:31 +0100 (CET)
2nd message
(two files attached):
This is the Postfix program at host
smtp.sentvid.org.
I'm sorry to have to inform you that the message
returnedbelow could not be delivered to one
or more destinations.
For further assistance, please send mail to
postmasterIf you do so, please
include this problem report. You can delete your own text from the message
returned below.
The Postfix program
unknown: No recipients
specified
attached file(filename not
specified):
Hello!We have matched your pattern "" in "" times:
Yours,log2mail.
details.txt: same as
above
Does anyone know what is wrong?
Thank you.
Matic
Koncan