At 18:26 28.04.01 -0400, kamesh jayachandran wrote:
>Hai ,
>I previously had sendmail that was with stock install of RHL6.2.
>Now I removed that.And installed the qmail.
>I have gone through the INSTALL.mbox for how to transfer mails from
>/var/spool/mail to ~Mailbox.
>I have done the following things
>1)moved each file from /var/spool/mail to respective home directories.
ok you can do
>2)given a symbollic link to ~user/Mailbox from /var/spool/mail/user as a root
why, you set the delivery into the homedirs by the defaultdelivery-file in
/var/qmail/control. Here you can set delivery using maildir. For the right
syntax have a look into LWQ
>3)chmod 1777 /var/spool/mail
So you can write a mail into a securitylist an invite all hacker to visit
your mailserver and make nonsense with it. The maildirs should set to 703.
>4)Now the problem is when one user sends mail to other user he recieves
>the mail but it has no content.And the symbollic link in the
>/var/spool/mail/user changes to Bogus.user.Cnq something like this.
When I remember you have no directory user under /var/spool/mail. You only
have a file user.mbx. This is a ascii-textfile that contains the mails in
appending form.
Better you use /home/user/Maildir and use qmail-pop3 for getting the mails
with the different clients. To configure qmail-pop3 have a look into LWQ.
Test the delivery by using qmail-inject and sending a mail to the
email-account. Use telent mailserver 110 to test if you can receive the
mail by authenticating you on the server and retrieve the mail with the
command retr [No.]. The right Mail-No. you will get by using list in the
telnetsession.
Regards,
Ruprecht