Bug 284183 - Kmail does not send localmail when offline
Summary: Kmail does not send localmail when offline
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 13:38 UTC by Jayesh Badwaik
Modified: 2013-03-10 03:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jayesh Badwaik 2011-10-16 13:38:57 UTC
Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

I have a local mail service setup using postfix. 
It is possible to send the local mail when the computer is connected to the network. However, it is not able to send it when the computer is offline. 

I am able to send the mail when the computer is offline using the command line, but same settings when used with kmail justs queues up the mail in the outbox. I even tried using the sendmail sending account in kmail to specify the exact command to be used to send the mail. However, even that does not work. It works from the command line though.

Reproducible: Always

Steps to Reproduce:
Create a local mail postfix setup as given here https://wiki.archlinux.org/index.php/Local_Mail_Delivery_with_Postfix. 

Verify the mail sends when the computer is connected to a network.
$ mail -s test user
$ sendmail -t user@localhost

Create sending accounts (both smtp and sendmail for localhost)
Verify that both work when network is connected.

Disconnect the network. 
Verify the mail is sent using the mail and sendmail arguments
Try to send mail using kmail. It is not possible



Actual Results:  
Mail is not sent. It gets queued up in outbox.

Expected Results:  
Mail should be sent.

I think the problem is with the Mail Dispatcher Agent which goes offline in the absence of the network. It handles all mail and it was not possible to send the mail when mail dispatcher agent was off earlier.  Either the problem is with the mail dispatcher agent or with the kmail. 

In any case, once i specify which command to use to send the mail (as I do in the sendmail sending account in kmail, kmail should work if command works without worrying about what the mail dispatcher says about it).
Comment 1 Jayesh Badwaik 2013-03-10 03:53:43 UTC
I have tested the functionality again, and it has gone away for me now and everything works correctly as of now.