Hi,

Thanks a ton Suresh.

You know what I did(Please read on, I have some more
queries)

> From: Suresh Ramasubramanian <[EMAIL PROTECTED]>
> Subject: [LIH] Re: Problems with mails
> Do a mailq... then check permissions on wherever
> your mail spool is located
> (1777, ideally).

I did mailq and saw 103 mails queued for delivery,
that gave me a sigh of relief that my mails are not
lost. Then I checked the /var/ spool/mqueue
permissions, they were 755, and I changed it to 777.

> so run "newaliases"

I ran newaliases, but again same message
/etc/mail/aliases not found.
I went through man of newaliases and aliases and
atleast understood what is the need of these files,
but couldn't understand, why do I need it, so I
decided to create a blank aliases and as root I did
touch aliases 
and then run
newaliases
I got a warning that /var/mqueue is world readable,
but did the job of creating /etc/mail/aliases.db

Now I did sendmail -q and then as ajitabhpandey opened
mutt and found my mails.

But  one thing I couldn't understand that:
(1.) The /var/spool/mqueue is world accesible (777)
isn't it a security/privacy threat? I poll the mail as
a user, so what can I do to so that it does the job
and is not 777(755 is ok)

(2.) The purpose of aliases file in my case

(3.) I checked /var/spool/mail and found that only the
mailbox of one user i.e. ajitabhpandey is present,
what if I want the mails of other users to be received
on the system, will their system mailboxes be
automatically created.

Regards.
Ajitabh Pandey 

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to