Koozali.org: home of the SME Server

Mails from SME Network to external server classified as Spam

Offline raem

  • *
  • 3,972
  • +4/-0
Mails from SME Network to external server classified as Spam
« Reply #15 on: August 06, 2007, 02:51:02 PM »
antares2001

What does this show, and please do not obfuscate it (delete or hide it).

config show SMTPSmartHost
...

Offline antares2001

  • **
  • 21
  • +0/-0
Mails from SME Network to external server classified as Spam
« Reply #16 on: August 06, 2007, 02:56:28 PM »
The ISP is T-Com and the connection is a standard T-DSL Connection.

Anway - the SMTP server for example.com is Postfix on the server example.com.

Offline raem

  • *
  • 3,972
  • +4/-0
Mails from SME Network to external server classified as Spam
« Reply #17 on: August 06, 2007, 03:24:40 PM »
antares2001

Quote
The ISP is T-Com and the connection is a standard T-DSL Connection


I'm guessing that is www.t-com.hr
If so then the setting for smtp mail server in server manager that you should be using is something like
mail.t-com.hr
(depending of course on what the exact name of their mail server is).

Quote
the SMTP server for example.com is Postfix on the server example.com


That is not relevant. You want to send your mail via the t-com smtp mail server.
...

Offline antares2001

  • **
  • 21
  • +0/-0
Mails from SME Network to external server classified as Spam
« Reply #18 on: August 06, 2007, 03:34:54 PM »
So I am not able to use the example.com mailserver? I don't really get the reason for that, because that is the server I'd like to use (there's some statistics done, further checks, ...).

Is there any possibility to use the SMTP-Server of example.com?

Offline raem

  • *
  • 3,972
  • +4/-0
Mails from SME Network to external server classified as Spam
« Reply #19 on: August 06, 2007, 03:54:15 PM »
antares2001

Quote
I don't really get the reason for that, because that is the server I'd like to use (there's some statistics done, further checks, ...).


Read my earlier explanations, the example.com server is treating your mail as spam. The report is in your first post that shows this.

Quote
Is there any possibility to use the SMTP-Server of example.com?


You say you have already tried using the smtp server of example.com and you get errors or your mail gets detected as spam.
You have to contact whoever is administering mail.example.com and get them to totally whitelist all mail coming from your sme server or your LAN, rather than score it as spam.

I personally don't think you have your system setup correctly but you seem unwilling to provide sufficient details that would help determine this.
...

Offline raem

  • *
  • 3,972
  • +4/-0
Mails from SME Network to external server classified as Spam
« Reply #20 on: August 06, 2007, 04:16:26 PM »
antares2001

As an experiment to see if what I'm suggesting fixes your problem, can you use your ISPs mail server ie mail.t-com.hr or smtp.t-com.hr or whatever it is (find out from T-Com what the correct name is of course).

If it works then you have an answer. Once you have identified the problem, you will then need to find a workaround that uses mail.example.com (if possible).
...

Offline antares2001

  • **
  • 21
  • +0/-0
Mails from SME Network to external server classified as Spam
« Reply #21 on: August 06, 2007, 04:38:42 PM »
I've actually found one error in the SME configuration.

The config-file /var/qmail/control/smtproutes contained the line

Code: [Select]
:localhost:26

what I've now changed to

Code: [Select]
:127.0.0.1:26

and there is no more an error message that localhost can't be found. So this is definitely a configuration problem of qmail on the SME server.

I can't understand this as the SMTP server of example.com wouldn't treat the mails as spam if the SME server logged into example.com's mailserver. But SME didn't do that when mail was sent but always acted itself as SMTP. In example.com's logs are no login-trys of the SME server. :-(

I will now try another SMTP server to see if this fixes the problem.

Offline raem

  • *
  • 3,972
  • +4/-0
Mails from SME Network to external server classified as Spam
« Reply #22 on: August 06, 2007, 04:48:42 PM »
antares2001

Quote
The config-file /var/qmail/control/smtproutes contained the line
:localhost:26
what I've now changed to
:127.0.0.1:26


In that file on my server it says the name of my ISPs mail server
eg
mail.telstra.com.au

What changes have you made to your server ?
What contribs have you installed ?
...

Offline antares2001

  • **
  • 21
  • +0/-0
Mails from SME Network to external server classified as Spam
« Reply #23 on: August 06, 2007, 04:59:43 PM »
Actually this did it.

Now email works fine with no problems.

The SMTP Proxy of SME takes the mail, logs in at examle.com's SMTP, sends the mail from there and everything is perfect.

No false-spam marking, no problems.

Hope this will help anyone who gets into the same troubles as me. Obviously qmail can't resolve localhost to 127.0.0.1 although it is written down in the /etc/hosts file.

Thank you anyway for your assistance.

Offline antares2001

  • **
  • 21
  • +0/-0
Mails from SME Network to external server classified as Spam
« Reply #24 on: August 06, 2007, 05:22:22 PM »
Quote from: "RayMitchell"
antares2001

Quote
The config-file /var/qmail/control/smtproutes contained the line
:localhost:26
what I've now changed to
:127.0.0.1:26


In that file on my server it says the name of my ISPs mail server
eg
mail.telstra.com.au

What changes have you made to your server ?
What contribs have you installed ?


Actually I made no big changes to my server. I've never touched anything connected to email except from the web interface.

I've installed some contribs like SARG, ... which are from the contribs.org site.

But the error message I was mentioning above is in fact correctly pointing to this. But as I've never used qmail before I wasn't able to figure it out immediately. Obviously the regerneration-script in /etc/e-smith/templates doesn't enter the correct information there.

But another question - isn't that 127.0.0.1:26 correct? I mean this is the SMTP proxy, isn't it? This takes the mail, scans it for viruses and then sends it through the SMTP server of example.com.

So far so good... it's doing the job now and I am happy :-) Anyhow the developers should be informed of this so they can build-in extra control mechanisms for that. (Why doesn't it resolve localhost to 127.0.0.1???)

The server was before 7.1.3 and I've upgraded to 7.2

P.S.: As I am no native english speaker I'd like to apologize for my mistakes and errors and perhaps wrong constructed sentences.