Koozali.org: home of the SME Server

Using my ISP SMTP

Ronson

Using my ISP SMTP
« on: April 22, 2006, 06:34:00 PM »
When sending mail through my ISP's SMTP server smtp.mail.dk, I always get a failure notice from qmail on my SME server with "sender was rejected". Why..?

Iptables hijacking all trafic on port 25?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Using my ISP SMTP
« Reply #1 on: April 22, 2006, 06:40:27 PM »
Quote from: "Ronson"
When sending mail through my ISP's SMTP server smtp.mail.dk, I always get a failure notice from qmail on my SME server with "sender was rejected". Why..?


Presumably the failure notice will give you some clue as to why the server was rejected. If you want someone to help, you will need to post one of the failure notices.

You also might ask your ISP.

Offline psc

  • *
  • 151
  • +0/-0
Re: Using my ISP SMTP
« Reply #2 on: April 22, 2006, 06:48:21 PM »
Quote from: "Ronson"
When sending mail through my ISP's SMTP server smtp.mail.dk, I always get a failure notice from qmail on my SME server with "sender was rejected". Why..?

Iptables hijacking all trafic on port 25?

This is a SMTP Proxy.
I think, you try to send Mails with a senders domain, not known by SME.
First, solve the problem. Then, write the code.

Ronson

Using my ISP SMTP
« Reply #3 on: April 22, 2006, 06:53:21 PM »


yier.dk & dumo.dk = SME domains

195.41.46.252 = ISP SMTP

Offline psc

  • *
  • 151
  • +0/-0
Using my ISP SMTP
« Reply #4 on: April 22, 2006, 07:00:08 PM »
Quote from: "Ronson"

Yep, ronson__dumo.dk is unkown, just use your real adress:

ronson__yier.dk

Or add a virtual domain "dumo.dk" to SME
First, solve the problem. Then, write the code.

Ronson

Using my ISP SMTP
« Reply #5 on: April 22, 2006, 07:02:12 PM »
dumo.dk is already added as a virtual domain

Ronson

Using my ISP SMTP
« Reply #6 on: April 22, 2006, 07:05:29 PM »
I might be wrong, but as I read it, its the ISP SMTP server that rejects the mail, not SME. But I've always sent email this way, it worked before using SME as a gateway :/

Offline psc

  • *
  • 151
  • +0/-0
Using my ISP SMTP
« Reply #7 on: April 22, 2006, 07:27:05 PM »
If you use your ISP SMTP (via the E-Mail Panel in SME), in most cases you have to authenticate your self (with a account at this ISP).
In SME 7RC1 you can do this in the E-Mail Panel. If you do not do this, you are a unkown Sender, who use the ISP SMTP Server as a relay.
First, solve the problem. Then, write the code.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Using my ISP SMTP
« Reply #8 on: April 22, 2006, 07:31:58 PM »
Quote from: "Ronson"
I might be wrong, but as I read it, its the ISP SMTP server that rejects the mail, not SME. But I've always sent email this way, it worked before using SME as a gateway :/


Well ask them what has changed.

I suspect that they are demanding authentication. If so, you will need to configure SME's proxy to authenticate.

Ronson

Using my ISP SMTP
« Reply #9 on: April 22, 2006, 07:38:15 PM »
I have never used authentication before, the SMTP server has always been 'open' (for the ISP's customers that is).

I switched to SME about a week ago, before that I used Kerio Mail Server for a couple of years - and no SMTP relay server authentication.

So I'm prettu sure I don't need to authenticate

Offline psc

  • *
  • 151
  • +0/-0
Using my ISP SMTP
« Reply #10 on: April 22, 2006, 07:45:53 PM »
Quote from: "Ronson"


I switched to SME about a week ago, before that I used Kerio Mail Server for a couple of years - and no SMTP relay server authentication.

So I'm prettu sure I don't need to authenticate

It´s a good idea to use Kerio WITH SME.
Just have a look at the KERIO Adminstration Console: "SMTP Server", "SMTP Delivery":
There you can define the ISP´s SMTP Server and the authentication.

If you do not use Kerio now, search for "smtp auth" at your ISP´s Support site and enter the account informations at the SMTP-Proxy Panel.
First, solve the problem. Then, write the code.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Using my ISP SMTP
« Reply #11 on: April 22, 2006, 08:01:32 PM »
Quote from: "Ronson"
I have never used authentication before, the SMTP server has always been 'open' (for the ISP's customers that is).

I switched to SME about a week ago, before that I used Kerio Mail Server for a couple of years - and no SMTP relay server authentication.

So I'm prettu sure I don't need to authenticate


The evidence suggests otherwise. You need to ask your ISP. Only they know why "<user @ domain> is not allowed to use this service".

Ronson

Using my ISP SMTP
« Reply #12 on: April 22, 2006, 08:34:31 PM »
ARGH! I posted the failure notice as an image to protect my email adresses from spam bots..

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Using my ISP SMTP
« Reply #13 on: April 25, 2006, 02:10:15 PM »
I've got the same problem. Mails are rejected for the same reason.
I have 2 servers side by side: 6.5 & 7.0
The definition (smarthost = isp-smtp) works for 6.5 and does not work for 7.

The solution was to send directly without using isp-smtp but some servers might reject mails because they're sent from a ADSL IP address.
Sophie from Montréal

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Using my ISP SMTP
« Reply #14 on: April 25, 2006, 03:07:44 PM »
Quote from: "soprom"
I've got the same problem. Mails are rejected for the same reason.
I have 2 servers side by side: 6.5 & 7.0
The definition (smarthost = isp-smtp) works for 6.5 and does not work for 7.

The solution was to send directly without using isp-smtp ....


That's not a solution, just a workaround.

The solution is to find out why your ISP isn't accepting mail at their gateway, and fix that problem. If there is a problem with 7, we need to fix it. Please post full details to the Bug Tracker. Thanks.