RedHat9 Qmail Logfiles
-
thefreeman
- Posts: 84
- Joined: 2003-04-24 18:58
- Location: Bayern
RedHat9 Qmail Logfiles
Hallo.
Wo liegen denn bei RedHat9 standardmässig die Log-Files vom qmail?
Unter /var/log/qmail gibt´s bei mir nix. Den Ordner gibt´s gar nicht. ??? :?:
Wo liegen denn bei RedHat9 standardmässig die Log-Files vom qmail?
Unter /var/log/qmail gibt´s bei mir nix. Den Ordner gibt´s gar nicht. ??? :?:
Re: RedHat9 Qmail Logfiles
Was sagt dir das run-Script im log-Unterverzeichnis deines qmail-send-Service-Verzeichnisses? Da wird wohl so etwas in der Art von 'exec setuidgid qmaill multilog t <logdir>' stehen. (Wenn mit daemontools intalliert)
-
thefreeman
- Posts: 84
- Joined: 2003-04-24 18:58
- Location: Bayern
Re: RedHat9 Qmail Logfiles
??
Wo soll das sein?
Find ich nicht.
Wo soll das sein?
Find ich nicht.
Re: RedHat9 Qmail Logfiles
mach mal
Code: Select all
ps -A x | grep multilog-
thefreeman
- Posts: 84
- Joined: 2003-04-24 18:58
- Location: Bayern
Re: RedHat9 Qmail Logfiles
Du wirst es nicht glauben:
Es passiert nichts. :oops:[root supervise]# ps -A x | grep multilog
[root supervise]#
Re: RedHat9 Qmail Logfiles
Dann schau dir eben an, wie dein qmail gestartet wird. Irgendwo in den Startskripten wird sich dann auch finden, wohin geloggt wird.
Noch ne Möglichkeit: locate qmail | grep log
Noch ne Möglichkeit: locate qmail | grep log
-
thefreeman
- Posts: 84
- Joined: 2003-04-24 18:58
- Location: Bayern
Re: RedHat9 Qmail Logfiles
Also folgendes steht drin:
Da steht nur was von einem splogger.#! /bin/sh
#
# This is /etc/rc.d/init.d file for Q-Mail
#
# chkconfig: 345 80 30
# description: qmail Mail Transfer Agent
# processname: qmail-send
#
#
# Source networking configuration.
if [ ! -f /etc/sysconfig/network ]; then
exit 0
fi
# Source function library.
. /etc/rc.d/init.d/functions
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
myname=qmail
qmail_dir=/var/qmail
subsys=/var/lock/subsys/$myname
PATH="$qmail_dir/bin:$PATH"
export PATH
proccess=qmail-send
start()
{
qmail-start ./Maildir/ splogger qmail &
sleep 1
[ "`pidofproc $proccess`" ]
ret=$?
if [ $ret -eq 0 ]; then
action $"Starting $myname: " /bin/true
else
action $"Starting $myname: " /bin/false
fi
[ $ret -eq 0 ] && touch $subsys
return $ret
}
check_and_start()
{
if [ ! -f $subsys ]; then
start
fi
}
stop()
{
if [ -f $subsys ]; then
echo -n $"Stopping $prog: "
killproc $proccess
ret=$?
[ $ret -eq 0 ] && rm -f $subsys
return $ret
else
killall $proccess > /dev/null 2>&1
true
fi
}
restart(){
stop
start
}
condrestart(){
[ -e $subsys ] && restart || true
}
#reload(){
# [ -e /var/lock/subsys/$myname ] && mysqladmin reload
#}
# See how we were called.
case "$1" in
start)
start
;;
condstart)
check_and_start
;;
stop)
stop
;;
status)
status $proccess
;;
reload)
restart
# reload
;;
restart)
restart
;;
condrestart)
condrestart
;;
*)
echo $"Usage: $0 {start|stop|status|reload|condrestart|restart}"
exit 1
esac
Re: RedHat9 Qmail Logfiles
Dann schau dir mal /var/log/mail.* und wenn es die nicht gibt /etc/syslog.conf an.
-
thefreeman
- Posts: 84
- Joined: 2003-04-24 18:58
- Location: Bayern
Re: RedHat9 Qmail Logfiles
Das heißt, das alles mailige in der /var/log/messages steht, oder was?[root@s15145717 supervise]# less /etc/init.d/qmail |grep log
qmail-start ./Maildir/ splogger qmail &
[root@s15145717 supervise]# less /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* /usr/local/psa/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
Da steht aber keine Mledung von meinem SMTPD drin. !!!
Shit.
Was nu?
-
blackdrum23
- Posts: 85
- Joined: 2003-09-30 21:24
- Location: Aying
- Contact:
Logdateien
Ich weiß nicht wie du Q-Mail kompiliert hast.
Normal gibt es eine Datei unter
darin steht wohin Q-Mail loggen soll.
als "service" hast du normalerweise "smtpd" und "send"
Sers Oli
Normal gibt es eine Datei unter
Code: Select all
/service/qmail-"service"/log/run
als "service" hast du normalerweise "smtpd" und "send"
Sers Oli
-
thefreeman
- Posts: 84
- Joined: 2003-04-24 18:58
- Location: Bayern
Re: RedHat9 Qmail Logfiles
So einen Ordner gibt´s bei mir nicht.
Ich dreh noch durch. *heul*
Ich dreh noch durch. *heul*
Re: RedHat9 Qmail Logfiles
Ganz einfach: qmail nach lwq neu aufsetzen, und schon klappt's auch mit den Ordnern.So einen Ordner gibt´s bei mir nicht.
Ich dreh noch durch. *heul*