Displaying 4 results from an estimated 4 matches for "sendmailto".
Did you mean:
sendmail
2013 Feb 10
1
Patch to add gpg support to logcheck.
...=0
@@ -174,7 +175,13 @@
$(export)
EOF
- } | eval mime-construct $MIMECONSTRUCTARGS \
+ } | if [ "$MAILASGPG" -eq 1 ]; then
+ debug "Sending error as gpg"
+ mime-construct $MIMECONSTRUCTARGS --subpart \
+ --file - | {
+ gpg --encrypt --batch --quiet --armor -r "$SENDMAILTO" 2>&1; }
+ else cat; fi |
+ eval mime-construct $MIMECONSTRUCTARGS \
--subject "'Logcheck: $HOSTNAME $DATE exiting due to errors'"
--encoding "7bit" \
--file - --to "$SENDMAILTO"
@@ -300,12 +307,32 @@
debug "Sent report to STD...
2004 May 26
5
Bug#251046: logcheck: invalid mktemp -p option
...s
/var/log/lpr.log
/var/log/auth.log
/var/log/debug
/var/log/mail.err
/var/log/mail.info
/var/log/kern.log
/var/log/mail.warn
/var/log/uucp.log
/var/log/user.log
--- End /etc/logcheck/logcheck.logfiles
--- Begin /etc/logcheck/logcheck.conf (modified conffile)
DATE=`date +'%Y/%m/%d %H:%M'`
SENDMAILTO=root
--- End /etc/logcheck/logcheck.conf
--- Begin /etc/logcheck/logcheck.logfiles (modified conffile)
/var/log/syslog
/var/log/mail.log
/var/log/daemon.log
/var/log/messages
/var/log/lpr.log
/var/log/auth.log
/var/log/debug
/var/log/mail.err
/var/log/mail.info
/var/log/kern.log
/var/log/mail.war...
2009 Apr 03
1
ssh failed login rule problem
...]: pam_unix(sshd:auth): authentication
failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=123.233.245.226
user=root
Which as you see seems a correct rule.
And yes, my report level is configured to server. This is my config
(whithout comments/blank lines):
INTRO=0
REPORTLEVEL="server"
SENDMAILTO="root"
MAILASATTACH=0
FQDN=1
TMP="/tmp"
But the line keeps coming. Please... HELP! :)
--
www.sargue.net
2008 Jul 03
2
Bug#489172: logcheck: please add Auto-Submitted header field to mailouts
...header should be supported by many email
autoresponders and should prevent the need to set up logcheck specific
rules for "vacation"-type autoresponders.
Headers can be added in mail using the -a switch, e.g.
mail -a Auto-Submitted: auto-generated" -s "$subject" "$SENDMAILTO"
For details regarding the Auto-Submitted header field, see RFC 3834 sec 5
http://tools.ietf.org/html/rfc3834#section-5