Thanks for your reply.
It seems that the Java Mail Library sends an HELO command without the
hostname, while the correct syntax is "HELO <hostname>", and my SMTP
server, Postfix-based, is replying:
"501 Syntax: HELO hostname"
requiring the hostname after the HELO command.
I tried to lower postfix requirements about the hostname issued after
the HELO command, but I think it is not possible to remove the
parameter completely.
I also found this FAQ in
http://java.sun.com/products/javamail/FAQ.html
:
Q: I get "MessagingException: 501 HELO requires domain address" when
trying to send a message.
A: The SMTP provider uses the results of
InetAddress.getLocalHost().getHostName() in the SMTP HELO command. If
that call fails to return any data, no name is sent in the HELO
command. Check your JDK and name server configuration to ensure that
that call returns the correct data. You may also set the
"mail.smtp.localhost" property to the name you want to use for the
HELO command.
But, as I am a newbie, I can't figure out now what to change in my
Ubuntu box. I'll try to find out.
On 13 Mar, 17:01, "Sebastian Wagner" <
seba.wag...@gmail.com> wrote:
> hmm you cannot bypass the mail-handler at the moment.
> "Error:Invalid EMail".
> is a message java-mail-library should throw before sending a message. It
> should be a mail adress at least with name + @ + domainname + . +
> top-level-domain
> like:
>
exam...@example.com
> all other errors should be connected to your mail-server.
>
> sebastian
>
> 2008/3/13, Netdiver <
lorenzo.maur...@gmail.com>:
> > org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived
> > (AbstractIoFilterChain.java:
> > 299)
> > at org.apache.mina.common.support.AbstractIoFilterChain.access
> > $1100(AbstractIoFilterChain.java:53)
> > at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl
> > $1.messageReceived(AbstractIoFilterChain.java:648)
> > at
> > org.apache.mina.filter.executor.ExecutorFilter.processEvent(
> > ExecutorFilter.java:
> > 220)
> > at org.apache.mina.filter.executor.ExecutorFilter
> > $ProcessEventsRunnable.run(ExecutorFilter.java:264)
> > at java.util.concurrent.ThreadPoolExecutor
> > $Worker.runTask(ThreadPoolExecutor.java:885)
> > at java.util.concurrent.ThreadPoolExecutor
> > $Worker.run(ThreadPoolExecutor.java:907)
> > at java.lang.Thread.run(Thread.java:619)
>
> > What should I do to make Openmeetings work?
> > Thanks in advance for any help.
>
> > Netdiver
>
> --
> Sebastian Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://
www.laszlo-forum.de
> seba.wag...@gmail.com- Nascondi testo tra virgolette -
>
> - Mostra testo tra virgolette -