I'm not sure why you would need JAMES for this, but the article at http://code.alexreisner.com/articles/sending-email.html contains a lot of useful advice as to how not to get classified as spam.
I'm afraid that in your situation, without a public IP address, you might have a hard time following some of the advice on that page. Depending on your situation, you might consider using a paid service like http://www.authsmtp.com/ Israel On Wed, Apr 14, 2010 at 3:19 PM, Me Self <[email protected]> wrote: > 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? > >
