Results 1 to 1 of 1
I've been running Linux for a few months now, and usually when I've had a problem I could read the man pages and online resources and get it. But with ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-09-2004 #1
- Join Date
- Jul 2004
(simple?) problem setting up sendmail
All I want to do is send email from the command line. My impression is that I have to do it through another server (in my case, my SBC Yahoo DSL server), since emails I send straight from my box will usually get rejected as spam. If that's wrong, I'm happy to just send them through some server on my own machine -- whatever works.
I'm running Mandrake 10.0, I got sendmail 8.12.11 and sendmail-cf installed and have spent a lot of time messing with the sendmail.mc file, following the instructions from multiple sites:
I put the server's SMTP address in brackets in the SMART_HOST definition and did everything they said, I make sure to run the m4 command and restart sendmail every time I change sendmail.mc, I've generated the authinfo.db file, and yet I still get the same error message every time.
This is the output I get when I do: mail -v email@example.com . I don't type any of it in -- this all happens automatically, leaving me quite bewildered.
WARNING: local host name (localhost) is not qualified; fix $j in config file firstname.lastname@example.org... Connecting to [localhost] via relay... 220 localhost ESMTP Sendmail 8.12.11/8.12.11; Wed, 8 Dec 2004 01:32:34 -0800 >>> EHLO localhost 250-localhost Hello localhost [127.0.0.1], pleased to meet you 250 ENHANCEDSTATUSCODES >>> MAIL From:<root@localhost> 550 5.0.0 Access denied root... Using cached ESMTP connection to [localhost] via relay... >>> RSET 250 2.0.0 Reset state >>> MAIL From:<> 550 5.0.0 Access denied postmaster... Using cached ESMTP connection to [localhost] via relay... >>> RSET 250 2.0.0 Reset state >>> MAIL From:<> 550 5.0.0 Access denied Closing connection to [localhost] >>> QUIT 221 2.0.0 localhost closing connection
If there's any other information that would be valuable, just ask and I'll post it ASAP. Thanks in advance for any help.[/url][/code]