[TAG] Kmail mystery

Neil Youngman ny at youngman.org.uk
Fri Apr 28 12:00:48 MSD 2006


I noticed this morning that kmail was sending messages via postfix on my 
machine, not via my ISP's mail server and as a consequence some emails 
weren't being delivered because it's a dynamically allocated IP. this was 
unexpected because

a. I thought kmail was set up to deliver via my ISP
b. postfix was set up for local delivery

First off I reconfigured postfix (dpkg-reconfigure postfix) to make sure that 
it was configured for local deliveries only. This made no difference that I 
could see.

I then checked my kmail configuration. Under the accounts/sending tab, I saw 
that none of my sending accounts were marked as the default. That was 
unexpected, but seemed like a reasonable explanation for the problem. I 
selected the sending account for myisp and retested. It still sent via my 
local postfix program.

I took a closer look and that account had no hostname set. I'm starting to 
wonder how my kmail settings got into this state. I fix it and retest. It 
still goes via my local postfix! I stop and restart kmail, check the settings 
and retest. No change. 

I am now completely at a loss. I search through all the visible kmail settings 
and I can't see any other settings that should affect how my email is sent.

My default sending account has the hostname for sending email set to 
mail.myisp.com. I can telnet to the SMTP port at mail.myisp.com, but kmail 
insists on sending mail to localhost. Why? at am I missing?

Neil Youngman





More information about the TAG mailing list