+++ Ajitabh Pandey [linux-india] <19/02/02 08:12 -0800>:
> I did mailq and saw 103 mails queued for delivery,
yeah good.
> 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.
cool
> > so run "newaliases"
> I ran newaliases, but again same message
> /etc/mail/aliases not found.
# cp /etc/aliases /etc/mail/aliases
# newaliases
Or grab /etc/aliases from any other linux box you have access to ...
> I got a warning that /var/mqueue is world readable,
Hmm... I must have been drunk (on chinese tea?) I told you to make
/var/spool/mail that ... I think, and I hope.
> 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.
good
> 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
Did I say 777? Make the permissions 1777 (chmod 1777 /var/spool/mail)
> a user, so what can I do to so that it does the job
> and is not 777(755 is ok)
mqueue - keep it as 755
> (2.) The purpose of aliases file in my case
just that sendmail needs it.
> (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.
Just add more ids in fetchmailrc
-srs
--
Suresh Ramasubramanian <----> mallet <at> efn dot org
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin
[Linux One Stanza Tip] From : <[EMAIL PROTECTED]>
LOST #015 -**< Sub : Knowing contents of .tgz files >**-
To know the contents of a .tgz file without decompressing:
$tar -ztvf filename.tgz | less
A .tgz file is essentially a gzipped tarball (.tar.gz) file.
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help