I have a virtual ubuntu 18.04 install with postgres 10. I am trying to get
apache james 3.4 to work as a simple smtp server and pop3 server.
I unzip'ed the install and edited the james.
I was getting an error on startup so I did this:
mailetcontainer.xml
Was:
<mailet matcher="All" class="WithPriority">
<value>8</value>
</mailet>
Changed:
<mailet matcher="All" class="WithPriority">
<priority>8</priority>
</mailet>
I am running smtp on two ports
smtpserver.xml
<bind>0.0.0.0:25,0.0.0.0:27</bind>
SEtting auth required to true
<authRequired>true</authRequired>
My ISP is blocking 25 so I am sending on port 27.
I am adding my domain via james-cli.
<domainlist class="org.apache.james.domainlist.jpa.JPADomainList">
<!--
<autodetect>true</autodetect>
<autodetectIP>true</autodetectIP>
-->
</domainlist>
I used james-cli to add a domain and user with a password. I checked the
derby database and both were added correctly.
I have my mx record set at my DNS provider. I am using thunderbird and I
have my smtp server set to this system
I send an email from gmail to the user on this system.
INFO 21:06:39,470 | org.apache.james.smtpserver.SendMailHandler |
Successfully spooled mail
Mail1571951199365-0550fcd4-2530-4595-a4bd-8e2900e90728 from
MaybeSender{mailAddress=Optional[[email protected]]} on
mail-vs1-f46.google.com/209.85.217.46 for [[email protected]]
XXXXX and YYYYY are changed...
I then pop my mail from thunderbird and it connects OK I know this because
if I enter the wrong password I get an error. and POP always says that no
new emails.
it is the same when i send from thunderbird to a gmail account using james
as my smtp server.I get this in the log:
INFO 21:12:10,931 | org.apache.james.domainlist.lib.AbstractDomainList |
Local host is: email.
INFO 21:12:11,071 | org.apache.james.smtpserver.SendMailHandler |
Successfully spooled mail
Mail1571951531021-8f8e30e7-ed3d-4520-8649-b4203ce5b408 from
MaybeSender{mailAddress=Optional[[email protected]]} on
63.228.129.34/63.228.129.34 for [[email protected]]
but I never get the email.
Where can I go see the spooled email? I changed the logging to DEBUG but I
am still not getting much. POP is not showing much of anything....
actually nothing.
HELP!!!!!!!!
Thanks,
Mark
--
Mark Gordon <[email protected]>
OrderTech Corporation | 819 W Fairmont Dr Ste 2 | Tempe, AZ 85282
*o:* (480) 285-1403 <4802851403> | *f:* (480) 464-5824 <4804645824> | *m:*
(602) 549-0488 <6025490488>
www.ordertech.com
LinkedIn <http://www.linkedin.com/company/ordertech-corp> | Twitter
<https://twitter.com/OrderTech> | Facebook
<https://www.facebook.com/OrderTech>