Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send mail, configure ewsmtaresource on 17.04 #35

Open
tkuther opened this issue May 4, 2017 · 16 comments
Open

Unable to send mail, configure ewsmtaresource on 17.04 #35

tkuther opened this issue May 4, 2017 · 16 comments
Labels

Comments

@tkuther
Copy link

tkuther commented May 4, 2017

Hi,

sorry if this is the wrong place to ask, but I'm having a hard time getting mail delivery to work. How do I configure Kmail to use the ewsmtaresource, or what else has to be done to make it work?

Things I tried:

  • add the ewsmtaresource using akonadiconsole (it wasn't running before)
  • try to add a sending account in KMail, but it seems to insist on SMTP and I do not see any way to add anything other than SMTP.

I'm using Kmail 17.04 with latest akonadi-ews git

@tkuther tkuther changed the title Unble to send mail, configure ewsmtaresource Unable to send mail, configure ewsmtaresource May 4, 2017
@KrissN
Copy link
Owner

KrissN commented May 4, 2017

Adding the MTA/outgoing mail resource should be done through the KMail configuration dialogs in the Accounts section. Normally KMail will only offer SMTP as the account option, but if it detects another resource that has the MTA capability it should also list it and allow creation of an account.

I have checked this on my KMail 17.04 and surprisingly I can confirm that there are no options besides SMTP. My existing account works (I've added it before upgrading to 17.04). Something must have changed in that version - I'll investigate.

@KrissN KrissN changed the title Unable to send mail, configure ewsmtaresource Unable to send mail, configure ewsmtaresource on 17.04 May 4, 2017
@tkuther
Copy link
Author

tkuther commented May 4, 2017

Thank you for reproducing.

This seems related: KDE/kmailtransport@b7885d4

@KrissN
Copy link
Owner

KrissN commented May 4, 2017

This looks bad - if there is no alternative then MTA support is essentially broken since 17.04.

EDIT: There seems to be an alternative. I'll have to provide a patch to adopt to the new API.

@KrissN KrissN added the bug label May 4, 2017
@KrissN
Copy link
Owner

KrissN commented Jun 19, 2017

I got a response from Laurent Montel from the KDE PIM team and it looks like he removed support for mail transport over Akonadi resources being unaware that it is actually used.

He has promised to bring back the removed functionality, but it is unclear when that will happen and whether it will also require changes on the EWS resource side.

I'll be monitoring the issue.

@StefanBruens
Copy link
Contributor

Is there some upstream (i.e. bugs.kde.org) bug entry where this is discussed?

@AugisM
Copy link

AugisM commented Jul 6, 2017

It seems that problem is with account type Akonadi.
There is workarroud to configure manually until be fixed:

  1. Add ews account.
  2. Goto akonadiconsole and add ewsmta agent.
  3. Goto kmail and configure smtp outgoing account.
  4. Edit ~/.config/mailtransports and do changes for this smtp account (don't change id number):
    [Transport 44444]
    host=akonadi_ewsmta_resource_0
    id=4444
    name=POST
    type=Akonadi
  5. Logout/login.

@Eig8phei
Copy link

Eig8phei commented Jul 6, 2017

@AugisM great stuff. I confirm it works and successfully sends emails.

@KrissN
Copy link
Owner

KrissN commented Jul 10, 2017

I have tried the latest KDE Applications from Git and I can see that Laurent fixed the issue and I can now add the EWS MTA resource as before. I haven't tested sending e-mail yet (some issues with the VM).

@boospy
Copy link

boospy commented Jul 10, 2017

When can we count on a debpackage?

@KrissN
Copy link
Owner

KrissN commented Jul 11, 2017

The change is on KDE side so you'll have to wait for KDE Applications 17.08.

@Extravert-ir
Copy link

Still have this issue with KDE Applications 17.08
screenshot_20170829_135551

@senarclens
Copy link

Same here :(
Upgraded to KDE PIM 17.08, pulled newest version of akonadi EWS, compiled and installed it. Re-started akonadi. Created EWS account. Tried to add EWS account for sending but only sendmail and smtp are available.

@senarclens
Copy link

@KrissN - any news on this? Thx

@KrissN
Copy link
Owner

KrissN commented Oct 10, 2017

Unfortunately I cannot reproduce this on any of my machines (either running 17.08 or latest master).

@Extravert-ir
Copy link

Workaround described on bugs.kde.org:

https://bugs.kde.org/show_bug.cgi?id=388035

@Elkropac
Copy link

Elkropac commented Apr 3, 2018

Thanks, works also on Debian Sid.

I have suggested adding package kmailtransport-akonadi as recommended package to kdepim-runtime package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants