1 |
A few things to bear in mind here, if you setup a mail server, you need |
2 |
a domain. Let's call that domain 123.com then can you send an email |
3 |
locally as user@×××.com. That should work, if it doesn't you have a |
4 |
problem with your qmail setup. Now if you can then the problem would lie |
5 |
on the java side, maybe an incorrect hostname such as localhost.123.com |
6 |
in your configuration of your applet. |
7 |
|
8 |
If it happens to be the first problem look here |
9 |
/var/qmail/control/locals |
10 |
/var/qmail/control/me |
11 |
/var/qmail/control/rcpthosts |
12 |
|
13 |
If you manage to figure out that it's sending to localhost.123.com you |
14 |
can also fix it server-side by adding that domain to rcpthosts. |
15 |
|
16 |
Benjamin Coles |
17 |
Gentoo Infrastructure |
18 |
|
19 |
On Thu, 2004-05-27 at 19:22, Ben Munat wrote: |
20 |
> I'm really, really hoping that someone on this list is a qmail wizard... |
21 |
> I'm completely stuck. |
22 |
> |
23 |
> I've written a Java Servlet application which I'm running on my gentoo |
24 |
> server. When a transaction is completed, the servlet uses JavaMail to |
25 |
> send an email regarding the transaction. The problem is that I keep |
26 |
> getting "553 sorry, that domain isn't in ... rcpthosts". |
27 |
> |
28 |
> I've read up extensivley on lifewithqmail.org and palomine.net/qmail and |
29 |
> I understand the purpose of rcpthosts. I have the domain name of the |
30 |
> server in rcpthosts, but it still doesn't work. I tried localhost, |
31 |
> 127.0.0.1, and the actual ip address of the server in rcphosts... still |
32 |
> no go. |
33 |
> |
34 |
> It would seem that one of those entries in rcpthosts would work, but |
35 |
> since it didn't I also tried setting up tcpserver to allow the |
36 |
> connection from itself. Following the palomine.net example I made a |
37 |
> tcp.smtp file like this: |
38 |
> |
39 |
> x.x.x.x:allow,RELAYCLIENT="" |
40 |
> :allow |
41 |
> |
42 |
> where x.x.x.x is my server's ip address. And I compiled it into |
43 |
> tcp.smtp.cdb. But still, it doesn't work... |
44 |
> |
45 |
> Haayyyllp! |
46 |
> |
47 |
> Ben |
48 |
> |
49 |
> |