james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Me Self <wmso...@gmail.com>
Subject How to relay smtp from localhost?
Date Wed, 24 Mar 2010 10:23:57 GMT
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

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])
mail from: <testuser>
250 2.1.0 Sender <testuser@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
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%3Ax@gmail.com>]

Is this James or gmail thats rejecting the mail?

I modified config.xml to allow more addresses but to no avail:

<authorizedAddresses>, 192.168.*, localhost</authorizedAddresses>

 <mailet match="RemoteAddrNotInNetwork=, 192.168.*, localhost"
            <processor> relay-denied </processor>
            <notice>550 - Requested action not taken: relaying

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message