![]() Registered Member ![]()
|
This is probably more of a general UNIX/network question, but it hits me in connection with kmail.
I am using kmail (locally) at work to send mail via exchange/smtp server. This is debian/testing, thus kmail 1.13.7. Sometimes my local email winds up in the junk mail folder of my colleagues. So trying to identify the problem, our sysadmin pointed out that the Received: from envelope field contains a strange domainname (localnet). My email address is ok in all cases, outgoing/incoming/reply, just the system identification towards smtp is funny.
I wonder where kmail gets this information from. On my computer, domainname returns nothing, the resolv.conf looks like
and /etc/hosts is
If anybody could give me a pointer to where the information comes from I could probably fix it... Thanks in advance. |
![]() Administrator ![]()
|
Can you check under KMail configuration > Accounts > Sending? There should be a line edit at the bottom with the domain. Check if it's set.
"Violence is the last refuge of the incompetent."
![]() Plasma FAQ maintainer - Plasma programming with Python |
![]() Registered Member ![]()
|
I assume that your refer to the field 'Default Domain' in 'Setup for Sending and Receving Messages' which one reaches in the way you describe: that field is set to 'ipm.fraunhofer.de'.
Triggered by your comment, I checked again another option that can be reached from that dialog via Sending > Modify > Advanced. There are 'send custom hostname to server' / 'use custom sender address' check boxes and fields. I had both are unchecked and empty. If I fill the hostname field with a FQDN (nbofm020.ipm...), this gets used in the 'Received: from' when communicatin with the smtp server. It doesn't answer the question where the 'localnet' comes from, but it's a reasonable workaround. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]