Re: Weird problem when sending mail with ERJavaMail
Re: Weird problem when sending mail with ERJavaMail
- Subject: Re: Weird problem when sending mail with ERJavaMail
- From: Maik Musall <email@hidden>
- Date: Sat, 27 Apr 2019 15:49:23 +0200
Hi Markus,
do you have reverse DNS records in place that would resolve 192.168.56.46 to a
FQDN?
Maik
> Am 27.04.2019 um 14:45 schrieb Markus Ruggiero <email@hidden>:
>
> When I try to send mail I get that weird error and mail fails. Why would the
> receiver address be rejected? I never had problems so far. Anyone can spot
> something I miss? I am sending from the development machine which has a local
> DHCP address and thus no fully qualified host name, but the error mesage
> suggests that the receiver address is bad. DNS is working.
>
> 220 miniserver.rucotec.ch <http://miniserver.rucotec.ch/> ESMTP Postfix
> DEBUG SMTP: connected to host "miniserver.rucotec.ch
> <http://miniserver.rucotec.ch/>", port: 25
>
> EHLO 192.168.56.46
> 250-miniserver.rucotec.ch <http://250-miniserver.rucotec.ch/>
> 250-PIPELINING
> 250-SIZE 20971520
> 250-VRFY
> 250-ETRN
> 250-STARTTLS
> 250-AUTH LOGIN PLAIN CRAM-MD5 DIGEST-MD5
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250-DSN
> 250-SMTPUTF8
> 250-BINARYMIME
> 250 CHUNKING
> DEBUG SMTP: Found extension "PIPELINING", arg ""
> DEBUG SMTP: Found extension "SIZE", arg "20971520"
> DEBUG SMTP: Found extension "VRFY", arg ""
> DEBUG SMTP: Found extension "ETRN", arg ""
> DEBUG SMTP: Found extension "STARTTLS", arg ""
> DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN CRAM-MD5 DIGEST-MD5"
> DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
> DEBUG SMTP: Found extension "8BITMIME", arg ""
> DEBUG SMTP: Found extension "DSN", arg ""
> DEBUG SMTP: Found extension "SMTPUTF8", arg ""
> DEBUG SMTP: Found extension "BINARYMIME", arg ""
> DEBUG SMTP: Found extension "CHUNKING", arg ""
> NOOP
> 250 2.0.0 Ok
> DEBUG SMTP: use8bit false
> MAIL FROM:<email@hidden <mailto:email@hidden>>
> 250 2.1.0 Ok
> RCPT TO:<email@hidden <mailto:email@hidden>>
> 504 5.5.2 <192.168.56.46>: Helo command rejected: need fully-qualified
> hostname
> DEBUG SMTP: Invalid Addresses
> DEBUG SMTP: email@hidden <mailto:email@hidden>
> DEBUG SMTP: Sending failed because of invalid destination addresses
> RSET
> 250 2.0.0 Ok
> DEBUG SMTP: MessagingException while sending, THROW:
> javax.mail.SendFailedException: Invalid Addresses;
> nested exception is:
> com.sun.mail.smtp.SMTPAddressFailedException: 504 5.5.2
> <192.168.56.46>: Helo command rejected: need fully-qualified hostname
>
> at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:2064)
> at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1286)
> at er.javamail.ERMailSender._sendMessageNow(ERMailSender.java:245)
> at er.javamail.ERMailSender.run(ERMailSender.java:389)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 504 5.5.2
> <192.168.56.46>: Helo command rejected: need fully-qualified hostname
>
> at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1964)
> ... 4 more
> Apr 27 13:40:09 SampleRegistration[13010] ERROR er.javamail.ERMailSender -
> Can't send message: <er.javamail.ERMessage To: email@hidden
> <mailto:email@hidden>>
> SMTPAddressFailedException: 504 5.5.2 <192.168.56.46>: Helo command rejected:
> need fully-qualified hostname
> at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1964)
> at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1286)
> at er.javamail.ERMailSender._sendMessageNow(ERMailSender.java:245)
> at er.javamail.ERMailSender.run(ERMailSender.java:389)
> ... skipped 1 stack elements
> Apr 27 13:40:09 SampleRegistration[13010] DEBUG NSLog - url
> /cgi-bin/WebObjects/SampleRegistration.woa/_wr_/wodata=/Developer/SourceDistributions/WonderSource/Framewo
>
> Confused....
> ---markus---
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden