Autor: Bryn Jones Data: Para: Henry S. Thompson CC: exim-users@lists.exim.org, Always Learning Asunto: Re: [exim] server for Gmail problem: NULL character(s) present
On 20 Nov 2010, at 19:38, Henry S. Thompson wrote:
> Always Learning <exim@???> writes:
>
>> On Sat, 2010-11-20 at 15:44 +0000, Henry S. Thompson wrote:
>>
>>> I've followed the instructions for getting set up so I can use my
>>> exim4 (4.69 on Debian) server to send mail from my Gmail account, but
>>> when I try to connect from google I get
>>>
>>> 2010-11-20 15:19:19 [15973] SMTP connection from [209.85.215.44]:39470
>>> I=[64.15.147.59]:25 (TCP/IP connection count = 1)
>>> 2010-11-20 15:19:20 [16070] SMTP syntax error in
>>> "\200(\001\003\001?\017???\020??\004\001?\200??\005??"
>>> ...................
>>
>> Have you changed a setting in Gmail to forward encrypted mail to your
>> Exim ?
>
> Thank you, unticking the 'Use SSL' box fixed the problem, but I
> thought that was the whole point of configuring exim with TLS enabled,
> that it _would_ work with SSL.
>
Yes, ticking that box seems to make gmail use SSL on connect rather than starting a smtp session and then issuing a STARTTLS command which is what exim is expecting.
> Still confused, but at least it's working, thanks again,
>
> ht
> --
It's easy to configure exim to do SSL on connect, the usual port for it is 465, but it is only by convention rather than by a standard. STARTTLS on port 587 (submission port) is of course preferred where possible.