Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using Linux 11.04 and just installed the most recent version of Postfix. I'm trying to send a simple email (through a relay) but when I run the command
I've never tried sending email this way, though I've seen the examples. If you're running sendmail on your box by cron or as a daemon, I send mail off the server using the mail utilities. If that's not installed, it should be.
The example I gave is just something I ran from the shell. What way do you use? Could you provide an example? I'm searching for something that will give me a little more information about what's going wrong.
If your talking about Ubuntu 11.04 you might want to check out the following links. I had set up system email alerts via google once before using a combination of the tutorials on these following links. I found that the exim4 config had changed a little bit; so, had to kinda mix things up a bitt. Also, you can send the email using the -vv switch to get it to be more verbose and run tail -f /var/log/daemon.log in another terminal to see if you can get any errors.
The example I gave is just something I ran from the shell. What way do you use? Could you provide an example? I'm searching for something that will give me a little more information about what's going wrong.
Thanks, - Dave
mail -s "test" someone@somewhere.com
this is line 1
this is line 2
the next line is a '.' which terminates the message
.
<Prompted for Cc:>
end of mail.
You'd need to make sure mail utilities were installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.