Koozali.org: home of the SME Server

mail server with dynamic ip

atlantis7

mail server with dynamic ip
« on: April 19, 2005, 05:46:28 PM »
I'm running an e-smith home server and gateway on a dyndns account. Now more and more of the emails sent through the gateway are rejected from the receipient's mail servers because they come from a dynamic ip, sometimes I don't even get notified about it and I'm getting pissed. Unfortunately I can't get a static ip from my provider. Does anyone have an idea what can be done?

Regards
Martin

Offline raem

  • *
  • 3,972
  • +4/-0
mail server with dynamic ip
« Reply #1 on: April 19, 2005, 06:22:36 PM »
You need to specify your ISPs smtp server in the Email panel. All your email will then be sent via your ISP rather than directly, and recipients will not reject mail anymore (as long as your ISPs IP is not RBL listed).
...

atlantis7

mail server with dynamic ip
« Reply #2 on: April 19, 2005, 09:00:57 PM »
Well that's what I've done, but it doesn't work like that. Below is the header of one of those mails that came back and not just vanished:

Code: [Select]
X-Flags: 0000
Delivered-To: GMX delivery to ***@gmx.ch
Date: 6 Apr 2005 10:11:19 -0000
From: MAILER-DAEMON@***.mine.nu
To: ***@gmx.ch
Subject: failure notice
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Antispam: 0 (Sender is in whitelist: MAILER-DAEMON)
X-GMX-UID: n9AhYpgjeSE5RzXi03QhaXN2IGRvbwCH


Hi. This is the qmail-send program at ***.mine.nu.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.


<***@hispeed.ch>:
62.2.95.11 does not like recipient.
Remote host said: 554 5.7.1 Rejected 217.162.125.202 we do not accept mail from dynamic IPs. Details http://www.hispeed.ch/blacklist
Giving up on 62.2.95.11.


--- Below this line is a copy of the message.


The smtp server was mail.gmx.ch, why then was it handled by qmail on my server (***.mine.nu is my server)? I wonder what's going on.

Regards
Martin

Offline raem

  • *
  • 3,972
  • +4/-0
mail server with dynamic ip
« Reply #3 on: April 20, 2005, 11:41:37 AM »
atlantis7

> Remote host said: 554 5.7.1 Rejected
> 217.162.125.202 we do not accept mail from dynamic > IPs. Details http://www.hispeed.ch/blacklist
> Giving up on 62.2.95.11.

That looks to me like your ISP is blacklisted, time to change to a better quality ISP or contact them and complain.


> The smtp server was mail.gmx.ch, why then was it
> handled by qmail on my server (***.mine.nu is my server)?

If you send mail via your server, qmail will always  be used.

If you bypass your server and setup your email client to talk directly to your ISP smtp server then qmail is not involved. You will need to disable smtp proxy on v6.x though.
...

Offline raem

  • *
  • 3,972
  • +4/-0
mail server with dynamic ip
« Reply #4 on: April 20, 2005, 11:44:14 AM »
...

Offline raem

  • *
  • 3,972
  • +4/-0
...