Installing SendMail

Cameron Hutchison lists at xdna.net
Wed Jun 28 01:36:27 UTC 2006


ubuntu at rio.vg wrote:

>Wade Smart wrote:
>> 
>> All Im doing is developing the school systems online apps. Many of the
>> apps need to be able to send mail so, I need to be able to send email
>> from the php apps Im creating on my own system. If I can do this another
>> way - Im all for it. 

>You should have everything you need already installed, use something
>like: `/usr/bin/mail -s [subject] [recipient] < [message file]`  There
>are other options, just type 'man mail' for a list.  Linux makes things
>simple. :)

/usr/bin/mail still requires a mail-transport-agent to be installed and
configured to deliver mail.

A default ubuntu install should have postfix installed, but unless it
has been properly configured to deliver mail externally (ie to another
system), /usr/bin/mail wont work as Wade needs it to.

If your requirements are simple mail forwarding via a user account,
the esmtp and esmtp-run packages may be more appropriate.





More information about the ubuntu-users mailing list