Re: [Exim] rejected EHLO from localhost [127.0.0.1]: syntact…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Bowyer
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] rejected EHLO from localhost [127.0.0.1]: syntactically invalid argument(s): (no argument given)
prince <prince@???> wrote:
> I have a java application which the customers can submit requests
> to "support@???". I don't know much about this program. I
> recetly installed exim with mysql support and has broken the mail
> interface of this program. Now, when the customers submit some
> requests to support@???, I am getting the following message
> in the /var/spool/exim/(rejectlog,mainlog)
>
> 2004-02-16 21:30:39 rejected EHLO from localhost [127.0.0.1]:
> syntactically invalid argument(s): (no argument given)
> 2004-02-16 21:30:39 rejected HELO from localhost [127.0.0.1]:
> syntactically invalid argument(s): (no argument given)


The clue is in the error message - your java application is sending an
improperly-formed HELO or EHLO. By default, Exim (correctly) rejects this.

The proper way to fix it is to make the Java RFC-compliant. It probably
can't resolve your hostname properly - I've seen this before with a
JavaMail-based app, but I can't remember how it got fixed.

But you can patch round the problem by making Exim less fussy - look for
helo_accept_junk_hosts in the Exim docs.

Peter