At 9:19 pm +0200 2004/12/22, Viorel Dragomir wrote: >Hi there.
>
>Perl sends mail, Java don't. Same server. [I guess] same options.
>Exim sayz that it can not relay for user xxx with java but why it
>can relay in perl...
>
>Today I'm out of luck, so I appreciate [I don't know how yet] your
>effort to look at this stuff.
it is not a question of luck...
[...] >2004-12-22 19:47:51 1ChBWZ-0008Kp-Mw <= root@??? U=root P=local S=533
>2004-12-22 19:47:51 1ChBWZ-0008Kp-Mw => name@??? R=dnslookup
>T=remote_smtp H=smtp.other.com [194.146.226.164]
>2004-12-22 19:47:51 1ChBWZ-0008Kp-Mw Completed
>
>When trying the same stuff with java I get:
>2004-12-22 19:55:43 H=domain.com [10.0.1.24] F=<root@???>
>rejected RCPT <name@???>: relay not permitted
simple. Perl does not send over TCP, javamail does. Either allow
relaying from 10.0.1.24 (bad idea), or enable SMTP auth and use
authentication in javamail (possible, I've done it).