On Thu, Oct 09, 2008 at 05:12:53PM +0100, Mark Rogers wrote:
I'm sure I should be able to solve this one easily with help from Google but I've drawn a blank so far.
I have a basic box installed with Ubuntu-server (8.04), pretty much a default install. I want to send a couple of files from that box as attachments by email.
I'm looking for the minimum necessary to do this. I don't really see the need for a mail server (it just needs to do a DNS lookup for an MX record then SMTP direct to that). I have so far installed mutt but that's unable to send without something extra being installed.
Mutt *does* have minimal SMTP capability now, since about version 1.5.15 I think it is. On Ubuntu 8.10 (beta) I get version 1.5.18 of mutt so that can do SMTP itself.
See what version of mutt you have got and, if it's new enough, then you probably need some configuration magic to get it going (though it *might* not be compiled in I suppose).
If your mutt really doesn't have SMTP then you have two alternatives (using mutt anyway):-
Compile your own mutt, a version that does SMTP
Get one of the minimal MTAs, there are several, if you take a look at the mutt web site (www.mutt.org) there are two or three recommended.
Personally I'd go for a mutt with SMTP built in, I found the 'simple' MTAs for mutt weren't usually very simple.