[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Mail, sends to dead.letter once in a while, to black

From: Gene Heskett
Subject: Re: [bug-mailutils] Mail, sends to dead.letter once in a while, to black hole mostly
Date: Thu, 4 Jul 2013 11:10:00 -0400

On Thursday 04 July 2013 10:52:15 Sergey Poznyakoff did opine:

> Gene Heskett <address@hidden> ha escrit:
> > It /almost/ worked last nite.  But the email was sent to
> > /var/spool/mail/amanda, with 0600 perms.
> These are correct permissions for any mailbox.
> > It should have been sent to
> > /var/spool/mail/gene.  I had to reset perms to 0666 before kmail,
> > running as me, could read it.
> Oh, you shouldn't have done so.  Of course it couldn't, because
> mailboxes have 0600 permissions set expressly for that reason: to
> prevent users from peeking into each others' mailboxes :)
> > Where would I look to see where that was getting miss-directed?
> First of all, examine your sendmail logs.  There you will find exact
> description of how your mail was delivered.  Again, if you have any
> difficulties interpreting them, you can post the related fragments to
> the list.
> Regards,
> Sergey

sendmail was not logging, and when it is, apparently sends this stuff to 
the rsyslog.  Shame on sendmail, it should keep its own logs instead of 
having to search thru /var/log/messages.  I saw no way to set the path to 
the logfile in sendmail.conf.

I changed LOG_CMDS from "No" to "Yes" and ran
/usr/sbin/sendmailconfig, answering yes to all cli queries.

As far as perms, I am the only user on this system.  And I am behind a NAT 
of a DD-WRT firewall. The only reason anyone else has to sit down in this 
chair, is if I've expired, and that doesn't include the wife, who is 
computer illiterate.

So I have added my self to the /etc/group file for those users I need to be 
able to see without doing a sudo -i.  That did not suffice for this.  Is 
there a better way?

The whole point was that the user amanda, was sending me, the user gene, an 
email, but it was not delivered to me, but went instead to amanda.

Thanks Sergey.

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
My views 
Don't tell me how hard you work.  Tell me how much you get done.
                -- James J. Ling
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]