More Mutt, Root Mail, No Mailbox Stuff
Leonard Chatagnier
lenc5570 at sbcglobal.net
Wed Nov 21 18:50:00 UTC 2007
--- Peter Garrett <peter.garrett at optusnet.com.au>
wrote:
> On Wed, 21 Nov 2007 05:33:59 -0800 (PST)
> Leonard Chatagnier <lenc5570 at sbcglobal.net> wrote:
>
> > Just finished installing gutsy and up to date.
> After
> > bootup and logging into terminal, messages say I
> have
> > mail(there should be as there were many messages
> from
> > the upgrade that root should get) so I open mutt
> and
> > the status bar at bottom say "no mailbox".
> However,
> > there are two such mailboxes in /var/mail and
> > /var/spool/mail.
>
> Try this, perhaps:
>
> 1) Move your ~/.muttrc out of the way, if you have
> one ( your personal
> muttrc, not the global one in /etc ) This is so that
> Mutt won't do its
> usual lookups etc. as defined in that file. For
> instance:
>
> mv ~/.muttrc ~/.muttrc.bak
>
> 2) Send root a test email
>
> echo "hello root" | mail -s Test root
>
> 3) Now run mutt, telling it to look in
> /var/mail/your-username
>
> mutt -f /var/mail/your-username
>
> You should see mail there...
>
> If not, then postfix is putting root mail in the
> wrong place.
> In that case, I would re-run
>
> sudo dpkg-reconfigure postfix
>
> and check your settings there.
>
Hey Peter, thanks for the reply. I have no ~/,muttrc
but followed your outline(which I'd done earlier).
There was no reference to the sent root mail in mutt.
Don't really understand why I have to use mutt -f
/var/mail/username now and not before gutsy. So, I
reconfigured postfix selecting "local" only and
removed all reference to lan IP addr and 127.0.0.1.
Also discovered that examples.org is a real FQDN and
removed it from /etc/mailname and main.cf and
examples.com which was originally recommended to try
appears to be a hostile site so didn't try that
either. I now have in main.cf after some modification:
myhostname = ubuntu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = ubuntu, localhost
relayhost =
mailbox_size_limit = 0
recipient_delimiter =
inet_interfaces = loopback-only
inet_protocols = ipv4
mydomain = localhost
myorigin = ubuntu
After sending the root mail again twice I get 2 bounce
notices of the sent root mail all which seem to me to
be FQDN related. Also, there is listed
username at ubuntu.gateway.2wire.net and there is no
mention of gateway.2wire.net in main.cf. I've include
a copy of the notice as both are identical:
From: Mail Delivery System <MAILER-DAEMON at ubuntu>
Subject: Undelivered Mail Returned to Sender
To: lchata at ubuntu
Auto-Submitted: auto-replied
[-- Attachment #1: Notification --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.5K --]
This is the mail system at host ubuntu.
I'm sorry to have to inform you that your message
could not
be delivered to one or more recipients. It's attached
below.
For further assistance, please send mail to
postmaster.
If you do so, please include this problem report. You
can
delete your own text from the attached returned
message.
The mail system
<lchata at ubuntu.gateway.2wire.net> (expanded from
<root>): Host or domain name
not found. Name service error for
name=ubuntu.gateway.2wire.net type=A:
Host not found
[-- Attachment #2: Delivery report --]
[-- Type: message/delivery-status, Encoding: 7bit,
Size: 0.4K --]
Reporting-MTA: dns; ubuntu
X-Postfix-Queue-ID: 770C0108128
X-Postfix-Sender: rfc822; lchata at ubuntu
Arrival-Date: Wed, 21 Nov 2007 12:18:16 -0600 (CST)
Final-Recipient: rfc822;
lchata at ubuntu.gateway.2wire.net
Original-Recipient: rfc822; root
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not
found. Name service error
for name=ubuntu.gateway.2wire.net type=A: Host not
found
[-- Attachment #3: Undelivered Message --]
[-- Type: message/rfc822, Encoding: 7bit, Size: 0.4K
--]
To: root at ubuntu
Subject: Test
From: sole user <lchata at ubuntu>
hello root
....Hope this help zero in on the problem and doesn't
foul up the previous thread reply.
Leonard Chatagnier
lenc5570 at sbcglobal.net
More information about the ubuntu-users
mailing list