![]() Registered Member ![]()
|
Hi all, first post here.
I have used kmail as my mua for years and I have never had problems. Recently however I switched to a payed mail domain (@mysurname.info) and since then all the email I send through kmail and that domain is considered spam by most providers (gmail, for example). The smtp server is a local one (192.168.1.1). But the strange thing is, messages sent by thunderbird or even squirrelmail (webmail) are correctly sent! Here is the source of a mail sent by kmail (considered spam): Subject: Prova lorem ipsum To: <my other email address, hosted at virgilio.it> From: <my payed-domain email address> Date: Fri, 21 May 2010 15:02:55 +0200 X-KMail-Transport: Intranet X-KMail-QuotePrefix: > MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201005211502.55556.myname@mysurname.info> Status: RO X-Status: RS X-KMail-EncryptionState: N X-KMail-SignatureState: N X-KMail-MDN-Sent: Email text And here is the same email sent by squirrelmail (properly received): Received: from 79.40.166.223 (SquirrelMail authenticated user myname) by webmail.mysurname.info with HTTP; Fri, 21 May 2010 15:04:13 +0200 Message-ID: <5d6d3b1c6e3f21bd3c88c51c2f0eda21.squirrel@webmail.mysurname.info> Date: Fri, 21 May 2010 15:04:12 +0200 Subject: Prova lorem ipsum From: <my payed-domain email address> To: <my other email address, hosted at virgilio.it> User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Same email text Any clues? I'm really desperate about that, since I love KMail and would like to continue using it. Thanks
Last edited by kbios on Wed May 26, 2010 1:47 pm, edited 1 time in total.
|
![]() Administrator ![]()
|
Is KMail using the same server as Squirrel Mail?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hi bcooksley, thanks for your answer.
Yes: both are using my home server (postfix on 192.168.1.1). The only difference is that since squirrelmail is installed on the same machine where postfix is, it refers to it as localhost:25, while kmail uses server.intranet.home:25 which points at 192.168.1.1:25. Would you find it useful to see the source of two received messages (one sent from KMail and one from Squirrelmail), the first marked as spam, the second correctly received? Thanks again |
![]() Administrator ![]()
|
Yes that would likely be most helpful.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Manager ![]()
|
It sounds to me as though those mails are being seen as relays, which would explain their spam status. Try sending everything through your server. Set up poast fix server transport something along these lines:
.mydomain.lan smtp:[192.168.1.40] mydomain.lan smtp:[192.168.1.40] * smtp:[smtp:your.isp] .* smtp:[smt[:your.isp] adapted as necessary. Don't forget to run 'postmap transport' when you have edited the file.
annew, proud to be a member of KDE forums since 2008-Oct and a KDE user since 2002.
Join us on http://userbase.kde.org |
![]() Registered Member ![]()
|
@bcooksley
Here it is (long message following ![]() Email sent by KMail and considered spam:
Corresponding Postfix log:
Email sent by Thunderbird and correctly received:
Corresponding Postfix log:
Sources seem pretty similar to me, and that's why I'm desperating. @annew Thanks for your answer. I'm not sure about what you are suggesting: all the messages are currently relayed through my ISP server [out.alice.it] because otherwise some providers wouldn't accept them. Here is my Postfix main.cf:
Thanks again for any help |
![]() Administrator ![]()
|
The only key difference I could find is that one of KMail's headers appears to be damaged.
I would recommend checking what type of mail KMail is sending, and its encoding.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Thanks for your answer. Yes, that was an earlier attempt to work around the problem. Unfortunately resetting it didn't solve the problem
![]() |
![]() Administrator ![]()
|
The Message-ID shouldn't be related as it is before any Recieved: header entries.
Can you please try setting your name in KMail > Settings > Configure KMail > Identities? Also, make sure the IP addresses of your system are not on any Spamhaus ( or other such service ) listing.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hi bcooksley, I've solved it!
Unfortunately setting my name didn't work. So I played a bit with telnet sending emails with custom headers (I started from working Thunderbird headers and substituded one by one with KMail ones). It turned out that the default Message-ID sent by KMail is not good for some antispam filters. So I changed the option "Use custom Message-ID suffix" in Settings to a random string and now it works! Thanks for all the time you gave me. Karma +1 |
![]() Administrator ![]()
|
Good to know it is solved. Can you file a bug report at bugs.kde.org so that KMail can be adjusted to create a string that spam filters do not block?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Here it is: https://bugs.kde.org/show_bug.cgi?id=239864
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], ourcraft