This remains an ongoing issue. It has nothing to do with your phone and everything to do with K9. The first thing your K9 mail client sends after making an SMTP mail submission connection is HELO/EHLO followed by an argument representing its (the client's) identity. The default setting of many clients is to send [<my IP address>], localhost or something similar as the HELO argument. Many mail servers require something like an FQDN, which is what most "legitimate" mail transport clients would send. This protects against a lot of netbot SPAM sources, which almost always use the "simple" defaults. My own server requires at least 2 word strings separated by a dot. Some servers may even check in DNS to see if your HELO argument resolves to your IP address, which is already known from establishing the connection The problem would be solved if K9 included "Announce myself as:" in its outgoing SMTP server settings. This won't sort out DNS resolvers but you would only want to use one of these if you are trying to send mail direct to its destination rather than through a distributing server like gmail.
So, K9 folks, an "Announce myself as:" setting, please. On Thursday, 13 April 2017 14:25:17 UTC+2, Zoltan Barkoczi wrote: > > Dear All, > > I have same error message on Xiaomi Redmi Note 4 Android 6. > Before I change my phone (my old phone was Xiaomi Redmi Note 2 Android 5), > I don't know about this error... > Therefore I see that this error message depends on Android version. > > Here is my error message: > > K9-Mail version: 5.206 > Device make: Xiaomi > Device model: Redmi Note 4 > Android version: 6.0 > > com.fsck.k9.mail.transport.SmtpTransport$NegativeSmtpReplyException: Negative > SMTP reply: 504 5.5.2 <RedmiNote4-ZBarkoczi>: Helo command rejected: need > fully-qualified hostname > at com.fsck.k9.mail.transport.SmtpTransport.checkLine(SmtpTransport.java:639) > at > com.fsck.k9.mail.transport.SmtpTransport.executeSimpleCommand(SmtpTransport.java:680) > at > com.fsck.k9.mail.transport.SmtpTransport.executeSimpleCommand(SmtpTransport.java:644) > at > com.fsck.k9.mail.transport.SmtpTransport.sendMessageTo(SmtpTransport.java:523) > at > com.fsck.k9.mail.transport.SmtpTransport.sendMessage(SmtpTransport.java:496) > at > com.fsck.k9.controller.MessagingController.sendPendingMessagesSynchronous(MessagingController.java:3014) > at > com.fsck.k9.controller.MessagingController.access$1700(MessagingController.java:115) > at > com.fsck.k9.controller.MessagingController$21.run(MessagingController.java:2895) > at > com.fsck.k9.controller.MessagingController.runInBackground(MessagingController.java:204) > at > com.fsck.k9.controller.MessagingController.access$000(MessagingController.java:115) > at > com.fsck.k9.controller.MessagingController$1.run(MessagingController.java:173) > at java.lang.Thread.run <http://java.lang.thread.run/>(Thread.java:818) > > > > > 2016. március 21., hétfő 18:47:23 UTC+1 időpontban [email protected] a > következőt írta: >> >> I just changed my outgoing SMTP password and now I cannot send email at all. >> I'm fairly certain I typed new password in correctly because when I >> deliberately mistype I get an error and can't save server settings >> >> >> When I try send email I get an SMTP error in my notifications but when I try >> to open it I only get the K-9 folder list. From the notification I can tell >> the error begins like this: >> Negative SMTP reply: 504 5.5.2 <android-8 ... >> >> The rest is hidden but propably might be useful. The server I use is a small >> private server, not google. >> >> My phone is Note 4 and I'm using android 5.1.1 Anybody know how I could see >> the error in it's entirety? >> >> -- You received this message because you are subscribed to the Google Groups "K-9 Mail" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
