[Users] Unable to send email using claws mail, fedora 20

webreg.claws-mail.org at panscend.com webreg.claws-mail.org at panscend.com
Mon Jan 26 02:18:20 CET 2015


On Sun, 25 Jan 2015 18:41:31 -0500
Pierre Fortin <pf at pfortin.com> wrote:

> On Sun, 25 Jan 2015 17:04:15 -0600 webreg.claws-mail.org at panscend.com
> wrote:
> 
> >Windows log
> >[16:54:30] ESMTP> EHLO localhost
> >[16:54:30] ESMTP< 250-mx.google.com at your service, [173.31.180.217]
> >[16:54:30] ESMTP< 250-SIZE 35882577
> >[16:54:30] ESMTP< 250-8BITMIME
> >[16:54:30] ESMTP< 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
> >PLAIN-CLIENTTOKEN [16:54:30] ESMTP< 250-ENHANCEDSTATUSCODES
> >[16:54:30] ESMTP< 250-PIPELINING
> >[16:54:30] ESMTP< 250-CHUNKING
> >[16:54:30] ESMTP< 250 SMTPUTF8
> >[16:54:31] ESMTP> AUTH LOGIN
> >[16:54:31] ESMTP< 334 VXNlcm5hbWU6           # base64 -d: "Username:"
> >[16:54:31] ESMTP> [USERID]
> >[16:54:31] ESMTP< 334 UGFzc3dvcmQ6           # base64 -d: "Password:"
> >[16:54:31] ESMTP> [PASSWORD]
> >[16:54:31] ESMTP< 235 2.7.0 Accepted
> >[16:54:31] ESMTP> MAIL FROM:<XXXXXXXXXX at gmail.com> SIZE=577
> >[16:54:31] SMTP< 250 2.1.0 OK 14sm4965540iot.22 - gsmtp
> >[16:54:31] SMTP> RCPT TO:<XXXXXXXXXX at gmail.com>
> >[16:54:31] SMTP< 250 2.1.5 OK 14sm4965540iot.22 - gsmtp
> >[16:54:31] SMTP> DATA
> >[16:54:31] SMTP< 354  Go ahead 14sm4965540iot.22 - gsmtp
> >[16:54:31] SMTP> . (EOM)
> >[16:54:31] SMTP< 250 2.0.0 OK 1422226465 14sm4965540iot.22 - gsmtp
> >* Mail sent successfully.
> >
> >Linux log
> >
> >* Account 'XXXXXXXXXX': Connecting to SMTP server: 
> >smtp.googlemail.com:465...
> 
> Google greets you:
> >[16:41:30] SMTP< 220 mx.google.com ESMTP vk4sm4817764igc.11 - gsmtp
> 
> You say:
> >[16:41:30] ESMTP> EHLO #localhost.localdomain
> >panlap.guypan
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   What is this???
> 
> Google responds:
> >[16:41:30] ESMTP< 250-mx.google.com at your service, [173.31.180.217]
> >[16:41:30] ESMTP< 250-SIZE 35882577
> >[16:41:30] ESMTP< 250-8BITMIME
> >[16:41:30] ESMTP< 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
> >PLAIN-CLIENTTOKEN [16:41:30] ESMTP< 250-ENHANCEDSTATUSCODES
> >[16:41:30] ESMTP< 250-PIPELINING
> >[16:41:30] ESMTP< 250-CHUNKING
> >[16:41:30] ESMTP< 250 SMTPUTF8
> End of Google response.
> 
> You try to login; but I think Google choked way back at your EHLO...
> >[16:41:30] ESMTP> AUTH LOGIN
> >[16:41:30] ESMTP< 502 5.5.1 Unrecognized command. vk4sm4817764igc.11
> >- gsmtp ** error occurred on SMTP session
> >*** Error occurred while sending the message:
> >502 5.5.1 Unrecognized command. vk4sm4817764igc.11 - gsmtp
> 
> WAG:  Have you set a "Domain name" in the Advanced tab?
> 
> Pierre
> _______________________________________________
> Users mailing list
> Users at lists.claws-mail.org
> http://lists.claws-mail.org/cgi-bin/mailman/listinfo/users

There was not a domain name in the advanced tab of Claws. There
was however an anomaly in the /etc/hostname file. 

During the install of F20, I had entered an alternate host and
domain name instead of the usual default of
"localhost.localdomain". Somehow, not sure how, the hostname
file ended up with 2 lines like this:

#localhost.localdomain
panlap.guypan

As you observed, that was all picked up by Claws for the EHLO.

I've been poking around search and there seems to be a split
opinion on what is valid in the hostname file. Some say lines starting
with # is a comment like many other system config files. Some say
hostname should only have a single line.

Regardless, getting rid of the extra line in hostname allowed Claws to
function correctly. This reply is actually coming from Claws on Linux.

Thanks (I'm already putting to use a couple of the things Claws has
that were missing in TB)

Cameron



More information about the Users mailing list