|
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
Hello,
Iam using Postfix on a debian linux. When Iam open the Postfix Port local with "telnet localhost 25" everythin is fine. Now when Iam try this from a remote machine, postfix denies the trial. That ist normaly correct, but whem Iam try to send a mail from a java programm on the remote machine, the following Error occours: Could not connect to SMTP host: 192.168.1.1, port: 25; nested exception is: java.net.SocketException: Software caused connection abort: connect OK, this could be a java problem, but when Iam using an exchange server everything works fine. So which parameters do I have to set in the postfix master.cf to give the remote machine access to send mails over postfix? I`ved tried many, but with no result. Thanks for all answers. |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
Thomas Weiler wrote:
> Hello, > > Iam using Postfix on a debian linux. When Iam open the Postfix Port > local with "telnet localhost 25" everythin is fine. > > Now when Iam try this from a remote machine, postfix denies the trial. > That ist normaly correct, but whem Iam try to send a mail from a java > programm on the remote machine, the following Error occours: > > Could not connect to SMTP host: 192.168.1.1, port: 25; > nested exception is: > java.net.SocketException: Software caused connection abort: connect > > OK, this could be a java problem, but when Iam using an exchange server > everything works fine. > > So which parameters do I have to set in the postfix master.cf to give > the remote machine access to send mails over postfix? I`ved tried many, > but with no result. > > Thanks for all answers. The first thing would be to verify whether the java program ever reached Postfix. If it did, both the connection info and any reject or error info would be contained in the syslog files, usually in /var/log/maillog -- Greg |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
Hi Greg,
many thanks for your answer that ed me a lot. It is a little blaming. My Virus-Scanner has blocked any access to Port 25 because of Mass Mail Worms. After disable it, everything works fine. Greg Hackney schrieb: > Thomas Weiler wrote: > >> Hello, >> >> Iam using Postfix on a debian linux. When Iam open the Postfix Port >> local with "telnet localhost 25" everythin is fine. >> >> Now when Iam try this from a remote machine, postfix denies the trial. >> That ist normaly correct, but whem Iam try to send a mail from a java >> programm on the remote machine, the following Error occours: >> >> Could not connect to SMTP host: 192.168.1.1, port: 25; >> nested exception is: >> java.net.SocketException: Software caused connection abort: connect >> >> OK, this could be a java problem, but when Iam using an exchange >> server everything works fine. >> >> So which parameters do I have to set in the postfix master.cf to give >> the remote machine access to send mails over postfix? I`ved tried >> many, but with no result. >> >> Thanks for all answers. > > > The first thing would be to verify whether the java program ever reached > Postfix. > If it did, both the connection info and any reject or error info would > be contained > in the syslog files, usually in /var/log/maillog > > -- > Greg |
|
![]() |
| Outils de la discussion | |
|
|