TEST.deliver failed

2000-08-31 Thread Alberto Meroni

I have a Linux box connected to an ISP vvia ppp and I am trying
to install qmail+serialmail. I am running slackware 7.0 with
named daemon and I have several problems.
I created var/qmail and the users and group and compiled and installed
the programs. Then I try ./config which fails
Mandrake:~/qmail-1.03# ./config
Your hostname is mandrake.
soft error
Sorry, I couldn't find your host's canonical name in DNS.
You will have to set up control/me yourself.
Mandrake:~/qmail-1.03#
This is in a way unexcpected because I am running named and in /etc/hosts
I have 
127.0.0.1   localhost
127.0.0.1   Mandrake.tin.it Mandrake
127.0.0.1 clubnet.tin.it
# End of hosts.
but I am not a real expert so.
Having read "Mail with qmail" by D. L. Vander Woude
I followed the suggestion and did 

Mandrake:~/qmail-1.03# echo 'Mandrake.tinit'  /var/qmail/control/me
and I created the alias.
Then I moved /var/spool/mail/root to /root/Mailbox (I did this also
for another user just in case)
and did a

Mandrake:~/qmail-1.03# ln -s ~/Mailbox /var/spool/mail/root

I copy /var/qmail/boot/home /var/qmail/rc and I launch /var/qmail/rc
then I pass to TEST.deliver
In /var/adm messages I read 

Aug 31 16:18:42 Mandrake qmail: 967731522.987914 status: local 0/10 remote 0/20

and ps aux | grep qmail gives me

Mandrake:~/qmail-1.03# ps aux | grep qmail
qmails   10287  1.4  2.6  1080  380 tty1 S16:18   0:00 qmail-send
qmaill   10288  0.2  2.8  1056  408 tty1 S16:18   0:00 splogger qmail
root 10289  0.3  2.2  1048  324 tty1 S16:18   0:00 qmail-lspawn ./Maqmailr 
  10290  0.1  2.2  1048  324 tty1 S16:18   0:00 qmail-rspawn
qmailq   10291  0.1  2.3  1040  340 tty1 S16:18   0:00 qmail-clean
root 10293  2.0  2.8  1124  400 tty1 S16:18   0:00 grep qmail
Mandrake:~/qmail-1.03#


then in local to local test I do

Mandrake:~/qmail-1.03# echo to: root | /var/qmail/bin/qmail-inject

and in /var/adm/messages I have 

Aug 31 16:20:08 Mandrake qmail: 967731608.155147 new msg 51107
Aug 31 16:20:08 Mandrake qmail: 967731608.156201 info msg 51107: bytes 211 from
[EMAIL PROTECTED] qp 10307 uid 0
Aug 31 16:20:08 Mandrake qmail: 967731608.288595 starting delivery 1: msg 51107
to local [EMAIL PROTECTED]
Aug 31 16:20:08 Mandrake qmail: 967731608.289410 status: local 1/10 remote 0/20
Aug 31 16:20:08 Mandrake qmail: 967731608.522444 delivery 1: success: did_1+0+0/Aug 31 
16:20:08 Mandrake qmail: 967731608.523365 status: local 0/10 remote 0/20
Aug 31 16:20:08 Mandrake qmail: 967731608.523843 end msg 51107

which seems OK but /root/Mailbox is empty 
I tried several variations, I have for root a .qmail file
reading 

./Mailbox | /var/qmail/bin/qbiff

I tried the longname dns patch, I did a ./config-fast Mandrake.tin.it
but the result is the same.
Can someone help me ?
Sorry for the long message

Alberto Meroni
[EMAIL PROTECTED]



Re: TEST.deliver failed

2000-08-31 Thread Gerrit Pape

On Thu, Aug 31, 2000 at 04:23:52PM +0200, Alberto Meroni wrote:
 
 which seems OK but /root/Mailbox is empty 

qmail never delivers to root. Please read the docs again and LWQ should help.

Regards, Pape.

-- 
[EMAIL PROTECTED]
 innominate AG
 networking people
tel: +49.30.308806-0  fax: -77http://innominate.de



Re: TEST.deliver failed

2000-08-31 Thread Dave Sill

Alberto Meroni [EMAIL PROTECTED] wrote:

   Mandrake:~/qmail-1.03# ./config
   Your hostname is mandrake.
   soft error
   Sorry, I couldn't find your host's canonical name in DNS.
   You will have to set up control/me yourself.
   Mandrake:~/qmail-1.03#
This is in a way unexcpected because I am running named

Yuck.

and in /etc/hosts
I have 
   127.0.0.1   localhost
   127.0.0.1   Mandrake.tin.it Mandrake

qmail doesn't look at /etc/hosts. Ever.

Mandrake:~/qmail-1.03# echo 'Mandrake.tinit'  /var/qmail/control/me

The capital "M" might be causing problems. Domain names are case
insensitive, but you should use lowercase everywhere just in case.

   Mandrake:~/qmail-1.03# ln -s ~/Mailbox /var/spool/mail/root

qmail doesn't deliver mail to privileged users.

I suggest you take a few minutes and scan "Life with qmail". See:

  http://lwq.w3.to

-Dave