Im new to smtp and Im trying to figure out how to make James 2.3.2 forward smtp from localhost to addresses across the net.
I created a testuser that I use as "mail from" but I get relay denied so far: 220 myserver1 SMTP Server (JAMES SMTP Server 2.3.2) ready Wed, 24 Mar 2010 11:01:06 +0100 (CET) ehlo localhost 250-myserver1 Hello localhost (0:0:0:0:0:0:0:1 [0:0:0:0:0:0:0:1]) 250-PIPELINING 250 ENHANCEDSTATUSCODES mail from: <testuser> 250 2.1.0 Sender <testu...@localhost> OK rcpt to: <x...@gmail.com> 550 5.7.1 Requested action not taken: relaying denied The smtp log says: 24/03/10 10:54:48 INFO smtpserver: Connection from 0:0:0:0:0:0:0:1 (0:0:0:0:0:0:0:1) 24/03/10 10:55:13 ERROR smtpserver: Rejected message - 0:0:0:0:0:0:0:1 not authorized to relay to gmail.com [to:x...@gmail.com <to%...@gmail.com>] [from:testu...@localhost] Is this James or gmail thats rejecting the mail? I modified config.xml to allow more addresses but to no avail: <authorizedAddresses>127.0.0.0/8, 192.168.*, localhost</authorizedAddresses> <mailet match="RemoteAddrNotInNetwork=127.0.0.1, 192.168.*, localhost" class="ToProcessor"> <processor> relay-denied </processor> <notice>550 - Requested action not taken: relaying denied</notice> </mailet>