Thanks for your repsonse.
I've searched for svscan under /etc/init.d
, it's not there (so obviously it's not running).
Output off ps -ef|grep readproctitle
:
root 1560 4013 0 11:15 pts/1 00:00:00 grep readproctitle
Although I followed chmod -R 750 /var/log/qmail
and checked if permissions were set correct (and they are), the error still turns up. Don't know if I can neglect that.
I solved the other issues.
Furthermore, I found out (using your suggested link) that qmail is running and able to send messages, svscan however is not running and I still get these error messages:
'! svscan /service' doesn't seem to be running
! /var/log/qmail has wrong mode, should be 750
...try: chmod 750 /var/log/qmail
! /var/log/qmail/qmail-smtpd has wrong mode, should be 750
...try: chmod 750 /var/log/qmail/qmail-smtpd
! /var/log/qmail/qmail-pop3d has wrong mode, should be 750
...try: chmod 750 /var/log/qmail/qmail-pop3d
! /var/log/qmail/qmail-send has wrong mode, should be 750
...try: chmod 750 /var/log/qmail/qmail-send
Any suggestions?
svscan запускается под /etc/init.d, поэтому вам следует начать поиски там, чтобы увидеть, был ли он запущен. Также попробуйте
ps -ef|grep readproctitle
, возвращает ли это сообщение об ошибках?
далее подробнее: У вас неправильные разрешения в каталогах / var / log / qmail.
Выполните chmod -R 750 / var / log / qmail
, чтобы исправить это.
Также вам необходимо создать файл tcp.smtp
echo '127.:allow,RELAYCLIENT=""' >> /etc/tcp.smtp
, а затем qmailctl cdb
Также вы, похоже, не установили правильные псевдонимы
echo root@mail.com > /var/qmail/alias/.qmail-root
echo postmaster@mail.com > /var/qmail/alias/.qmail-postmaster
echo daemon@mail.com > /var/qmail/alias/.qmail-mailer-daemon
ln -s /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-anonymous
chmod 644 /var/qmail/alias/.qmail*
Наконец, честно говоря, QMailRocks (который, кажется, в значительной степени копирует сайт, за которым вы следите) не поддерживался веками в качестве руководства по настройке Qmail. Попробуйте посетить qmail.jms1.net , чтобы получить немного обновленную информацию
Для будущих пользователей, которые наткнутся на этот пост, как и я ...
Это решило мою следующую проблему.
'! svscan / service 'не работает