I finally managed to get sendmail working externally so I can configure all my pop3 accounts in my mail client to use it, and it works but locally (serverwise) it does not work. If I try to send mail through the command line I get this:
The original message was received at Tue, 13 Apr 2004 22:57:11 -0400
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
(reason: 550-Verification failed for <email@example.com>)
----- Transcript of session follows -----
... while talking to iceteks.com.:
<<< 550-Verification failed for <firstname.lastname@example.org>
<<< 550-unrouteable mail domain "localhost.localdomain"
<<< 550 Sender verify failed
550 5.1.1 <email@example.com>... User unknown
<<< 503 valid RCPT command must precede DATA
How can I get it to work? I want to be able to use the php mail() function so I can make myself a php based newsletter management system.
Ok, I think I know what I need to do. I need to make it so sendmail does not make mail come from firstname.lastname@example.org
ldomain but rather from a valid email address, since the emails DO make it out of the server in the sense that the smtp server connects to the host I'm trying to send, but the host rejects localhost.localdomain as a from email, which makes sense. So any ways to make it default to something like my real email address or something?