For example:
If I do this:
CODE
nc myserver.com 25
ehlo anyserver.com
mail from: me@mydomain.com
rcpt to: me@mydomain.com
data
subject: test
test.
.
ehlo anyserver.com
mail from: me@mydomain.com
rcpt to: me@mydomain.com
data
subject: test
test.
.
the email will be sent. Basically, it's accepting the email, even though the from addres hasn't authenticated. Now, if I do this:
CODE
nc myserver.com 25
ehlo anyserver.com
mail from: me@mydomain.com
rcpt to: anyone@hotmail.com
ehlo anyserver.com
mail from: me@mydomain.com
rcpt to: anyone@hotmail.com
then the email will be rejected because the recipient is not a destination on my server - which is correct. However, I'm finding that I need to ensure that the From: address, if it is me or anyone at my domain that it should be rejected unless authenticated.
Anyone any ideas on that? Hope I explained it clearly enough