Trouble sending email
Hi,
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 sendmail davea@mydomain.com FROM: fromemail@gmail.com SUBJECT: hello world this is a test email . It just hangs there. There is nothing in /var/log/mail.log or in any of its accompanying files. Any ideas how I can figure out what's going wrong? Thanks, - Dave |
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.
Thanks, - Dave |
Hi,
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. http://wiki.debian.org/GmailAndExim4 http://www.howtogeek.com/<<this one helped, but referenced config entries that did not seem to match./ http://www.cyberciti.biz/faq/apt-get...des-available/ http://kleinekevin.freeforumit.com/v...php?f=38&t=316 Good Luck! |
Example
Quote:
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. |
All times are GMT -5. The time now is 04:31 PM. |