I would like to use James 2.3.2 for sending mails when users create an
account on my website. I tried setting up James to only enable SMTP
but when I send testmails they are usually rejected by gmail as spam.
I havent set up a DNS MX record or incoming POP3 could this have any
influence on what the receiving mailservers will accept?
Inconfig.xml I set the servername:
<servernames autodetect="true" autodetectIP="true">
<servername>mydomain.com</servername>
</servernames>
The server only has a local ip number 192.168.1.x because its behind a
number if routers etc.
I enabled relay from local users:
<mailet match="RemoteAddrNotInNetwork=127.0.0.1, 192.168.1*"
class="ToProcessor">
<authorizedAddresses>127.0.0.0/8, 192.168.1.*, localhost</authorizedAddresses>
To send the test mails I do this from the server (using a James user
account named "noreply" created earlier):
telnet localhost 25
ehlo mydomain.com
mail from: <[email protected]>
rcpt to: <[email protected]>
data
subject: this is a message
some message
.
quit
What am I missing to make the mails acceptable to other servers?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]