On Wed, Apr 02, 2003 at 01:07:10AM +0200, James PEARSON wrote:
Help anyone,
I have standard SuSE8.1 setup at home and Kmail can receive mails fine, but I can only send mail with Kmail when I am logged in as root and even then I eventully get an error message some 30-40 seconds later saying that "Could not connect to host smtp.isp.xx"... But at least the mail transfer works...
hmmm.
However, when I logged into linux under my normal (non root) user account, kmail tkeeps giving the following message...
"Sending failed .... Sender address rejected: Domain not found"
Is this the entire error message? If not, then post it in its entirety.
The email stays put.
Not sure, but I think this might confound the problem further. Because this mail has 'bad' headers, it doesn't get sent. And thus blocks anything else from getting sent, by staying in the queue. Try deleting it, before sending new (test) mails.
I don't understand what the problem is. I have double checked and I am sure that I identical Kmail setups under root and my normal linux user compte.
root is a special case. I'm not sure exactly why you get what you get, but let's ignore 'root' for a moment.
I tried setting up "Mail Transfer Agent" under Network/Basic so that my outgoing mail server is smtp.isp.xx but it makes no difference.
In your first post, you said you were using postfix. Kmail has some smtp-capability, so it can send mail without an actual mail server (like postfix or sendmail). I don't know Kmail these days, so I can't tell you how to do it, but you should check which of the two apply; Kmail uses your local postfix to send mail, or Kmail does not.
Kmail works works under root (with a warning messag) but is KO under my linux user.
What gives here? These same setting work flawlessly under Windows.
dunno... maybe the mail-client you're using in W$ sends mail direct?
Is this me or my Internet Service Provider ? My ISP doesn't support Linux.
Any help would be greatly appreciated!
If Kmail is using postfix, then you can find info in /var/log/mail (you probably need to be root to read it though) If (as I suspect) you *are* using postfix, and you haven't changed hostname/domain from the default, then postfix is trying to send mail out as james@linux.local or something similar. Your isps mail server rejects this, because that address is not fully 'qualified'. So (if I'm correct) you'd need to get postfix to rewrite *that* address to something 'real', which is what I was talking about in my first reply. For now; Gather as much, and as precise, info as possible and post it here. (though not the entire /var/log/mail ;) grep rejected /var/log/mail should get you a bunch of output. If there's a miilion lines that are all the same, except for the date/time, then just post a couple of them. HTH Jon Clausen