I installed Apache James Server v2.3.2 and configured it as described in the HOW section.
It works fine, sends emails as expected, but only in my Gmail account and is filtered as spam. I don’t know why my other email accounts reject it, I can find them in the inbox.
I tried to find a solution in the mailing list archive, but with no result.
Has anyone encountered this problem? Am I missing some required SMTP headers or something else?
A typical raw message (java mail debugging mode) is as follows: ( some_email@somehost.some _domain):
DEBUG: setDebug: JavaMail version 1.4.3
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "localhost", port 25, isSSL false
220 alex SMTP Server (JAMES SMTP Server 2.3.2) ready Mon, 21 Feb 2011 23:15:02 +0200 (EET)
DEBUG SMTP: connected to host "localhost", port: 25
EHLO alex
250-alex Hello alex (localhost [127.0.0.1])
250-PIPELINING
250 ENHANCEDSTATUSCODES
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<alex@localhost>
250 2.1.0 Sender <alex@localhost> OK
RCPT TO:<some_email@somehost.some_domain>
250 2.1.5 Recipient <some_email@somehost.some_domain> OK
DEBUG SMTP: Verified Addresses
DEBUG SMTP: some_email@somehost.some_domain
DATA
354 Ok Send data ending with <CRLF>.<CRLF>
From: alex@localhost
To: some_email@somehost.some_domain
Message-ID: <7704521.0.1298322902328.JavaMail.Administrator@alex>
Subject: re[2]: hello
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
body is here
.
250 2.6.0 Message received
QUIT
221 2.0.0 alex Service closing transmission channel
source
share