[H-GEN] Configuring Mutt
mls
s340350 at student.uq.edu.au
Sat Sep 26 06:51:09 EDT 1998
On Sat, 26 Sep 1998, Anthony Towns wrote:
> On Fri, Sep 25, 1998 at 08:45:49AM +1000, James McPherson wrote:
> > mls writes:
> > > I've just installed Mutt on my Linux box and have used it successfully to
> > > retreive my mail from student, but I'm having problems when I try
> > > to send mail -- basically it is trying to send the mail from my
> > > local address rather than from my student address. I'm sure there is a
> > > simple solution, but I haven't yet been able to find it. I'd greatly
> > > appreciate any help anyone can give me.
> > I believe you need to setup mutt to use smtp.uq.edu.au as your mail relay
> > host. Either that or configure your box's sendmail/qmail/exim(one true mailer)
> > to use smtp.uq.edu.au as a smart relay host. To do that in sendmail, look for
> > the line starting DS and change it to DSsmtp.uq.edu.au
Yes, I have done this.
> Hmmm? My impression was that the problem was the "From: " line that mutt
> was putting on the mails, not the actual "get it to the recipient" part
> (which is what setting a smart-host fixes).
>
> I *think* something like
> my_hdr "From: Foo <foo at bar.baz>"
> in your ~/.muttrc should do it, but I couldn't tell you for sure.
This *did* fix my headers in Mutt -- as far is Mutt is concerned, my
messages are being sent. The problem is that they are not reaching their
destination.
I can only assume that it is a Sendmail problem. Here is what happens when
I try to send a message to my student account (please humour me):
<cut here>
This is a MIME-encapsulated message
--IAA00444.906762562/localhost.localdomain
The original message was received at Sat, 26 Sep 1998 08:29:19 +1000
from mls at localhost
----- The following addresses had permanent fatal errors -----
s340350 at student.uq.edu.au
----- Transcript of session follows -----
... while talking to smtp.uq.edu.au.:
>>> MAIL From:<mls at localhost.localdomain> SIZE=298
<<< 501 <mls at localhost.localdomain>... Sender domain must exist
501 s340350 at student..uq.edu.au... Data format error
--IAA00444.906762562/localhost.localdomain
Content-Type: message/delivery-status
Reporting-MTA: dns; localhost.localdomain
Arrival-Date: Sat, 26 Sep 1998 08:29:19 +1000
Final-Recipient: RFC822; s340350 at student.uq.edu.au
Action: failed
Status: 5.5.2
Remote-MTA: DNS; smtp.uq.edu.au
Diagnostic-Code: SMTP; 501 <mls at localhost.localdomain>... Sender domain
must exist
Last-Attempt-Date: Sat, 26 Sep 1998 08:29:22 +1000
--IAA00444.906762562/localhost.localdomain
Content-Type: message/rfc822
Return-Path: <mls>
Received: (from mls at localhost)
by localhost.localdomain (8.8.5/8.8.5) id IAA00442
for s340350 at student.uq.edu.au; Sat, 26 Sep 1998 08:29:19 +1000
Message-ID: <19980926082919.A436 at student.uq.edu.au>
Date: Sat, 26 Sep 1998 08:29:19 +1000
From: mls <s340350 at student.uq.edu.au>
To: s340350 at student.uq.edu.au
Subject: Test
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
Testing, testing...
--IAA00444.906762562/localhost.localdomain--
<cut here>
Any ideas? I'm afraid none of my Linux books are very expansive when it
comes to setting up electronic mail. I apologise if this all seems
rather ignorant and obtuse, but I am rather new to this aspect of Linux (I
have just made the transition from 75% Linux and 25% Windows to 100%
Linux, except for occasionally running Smalltalk).
> The best solution is to get your computer a real name
> (foobar.humbug.org.au), and call it that, and have that accept mail. This
> requires more pain if you're on a private IP (ie, a customer of an ISP
> like UQ), but is probably worth it in the long run.
I think so too -- I'm going to come to your next meeting (or at least the
next one after the election, when I am working) to take a look at how you
guys are set up.
Anyway, the situation is not urgent -- I can always use my shell account
or even pine (I *think*) to send my mail in the meantime. Thanks to
everyone who replied to my original question, and sorry for bothering you
with all this newbie stuff.
mls
--
Michael Scott <s340350 at student.uq.edu.au>
University of Queensland,
1st Year Computer Science/ 3rd Year Law
More information about the General
mailing list