Bouncing mail because of a non-existing domain
Hello all, I have standard SuSE8.1 setup at home and Kmail can receive mails fine, but it can't send mail. IKmail is using Postfix. My smtp setup in Kmail is in the form : "smtp.isp_mail_address" When I use kmail to send I keep getting the following message... "Sending failed .... Sender address rejected: Domain not found" I pinged "smtp.isp_mail_address" and added "smtp.isp_mail_address" plus the returned IP address to /etc/hosts file but that didn't change anything. What gives? I surely don't need have a registered domain to use kmail. Any ideas would be appreciated. Thanks in advance James
* James PEARSON <jpearson3@wanadoo.fr> [03-30-03 06:01]:
I have standard SuSE8.1 setup at home and Kmail can receive mails fine, but it can't send mail. Kmail is using Postfix. My smtp setup in Kmail is in the form : "smtp.isp_mail_address"
When I use kmail to send I keep getting the following message...
"Sending failed .... Sender address rejected: Domain not found"
Sounds like you are not sending your local address to your isp. Check, prompt:~> hostname prompt:~> domainname You can set them in Yast2. -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
On Sun, Mar 30, 2003 at 07:23:00AM -0500, Patrick Shanahan wrote:
* James PEARSON <jpearson3@wanadoo.fr> [03-30-03 06:01]:
I have standard SuSE8.1 setup at home and Kmail can receive mails fine, but it can't send mail. Kmail is using Postfix.
Kmail using Postfix might very well be your problem IINM. Haven't been using Kmail in a while, but I've been messing around setting up a couple of Postfixes recently. Postfix will send out mail in the form of user@localhost.whatever or user@host.foobar and not worry much that it's sending domain is unqualified.
My smtp setup in Kmail is in the form : "smtp.isp_mail_address"
When I use kmail to send I keep getting the following message...
"Sending failed .... Sender address rejected: Domain not found"
Yep.
Sounds like you are not sending your local address to your isp. Check, prompt:~> hostname prompt:~> domainname
I think on the contrary, that that *is* the problem.
You can set them in Yast2.
True, but I'll wager that what James needs to do is use some form of 'canonical' address rewriting. Basically you can get postfix to rewrite the from: headers of your mail by putting something like james@unqualified.domain realaccount@mail.isp.tld in /etc/postfix/sender_canonical and then running: root@linux:~ # postmap /etc/postfix/sender_canonical root@linus:~ # rcpostfix reload at least that's how I got it working so I can send mail out from jon@a13.kinkon and receive it on dsl23212@vip.cybercity.dk... HTH Jon Clausen
Hello Thank you for your come back
Sounds like you are not sending your local address to your isp. Check, prompt:~> hostname prompt:~> domainname
Here's what I get linux:~ # hostname linux linux:~ # domainname
You can set them in Yast2.
What (values) should one normally set hostname and domainname to? This is my home computer. James
* James PEARSON (jpearson3@wanadoo.fr) [030331 15:16]:
Here's what I get linux:~ # hostname linux linux:~ # domainname
domainname(1) returns the yp domain name, not what you're looking for. Either 'hostname -f' or 'dnsdomainname'. -- -ckm
participants (4)
-
Christopher Mahmood
-
James PEARSON
-
Jon Clausen
-
Patrick Shanahan