Koozali.org: home of the SME Server

Mail server problem

Offline matheson

  • *
  • 15
  • +0/-0
Mail server problem
« on: December 10, 2006, 12:12:47 PM »
After I have got a new ip-adress  a month ago from my ISP, i have not recieved any emails.

I have corrected the ip-adress in DNS, and i use my ISP's baxkup-mx server. Homepage is running fine, but when i look at dnsreport.com, my mail server does answer.

Shall i open port 25, and i so, how ?

www.matheson.dk

regards, ian

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Mail server problem
« Reply #1 on: December 10, 2006, 01:24:14 PM »
Check the reverse dns entry fory mail server. Looking at your domain in dns report. the reverse dns entry doesn't point at your ip.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline matheson

  • *
  • 15
  • +0/-0
Mail server problem
« Reply #2 on: December 10, 2006, 01:57:03 PM »
Frem dnsreport.com i get on reverse DNS:
109.77.160.80.in-addr.arpa backup-mx.post.tele.dk. [TTL=21294]
74.208.57.87.in-addr.arpa 0x5739d04a.roennqu1.broadband.tele.dk. [TTL=23274]

It looks OK, as my ip is 87.57.208.74

Offline byte

  • *
  • 2,183
  • +2/-0
Mail server problem
« Reply #3 on: December 10, 2006, 02:29:40 PM »
Moving this topic to the SME Server 7.x forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: Mail server problem
« Reply #4 on: December 10, 2006, 05:32:14 PM »
Your service is not responding:

Initiating server query ...
Looking up IP address for domain: matheson.dk
The IP address for the domain is: 87.57.208.74
Connecting to the server on remote port: 25
[Connected]  No connection greeting was received from the remote server.

You have provided very little information. Try answering these questions:

- confirm sme release?
- confirm server config: server-gateway, server-only?
- how do you connect to the Internet: ADSL, cable, router, firewall, other?
- is e-mail working internally for send/receive to local accounts?
- is e-mail working for sending outbound?
- anything unique in your setup?
- what contribs are installed?
- what does the log show:
 # tail -f /var/log/qpsmtpd/current | tai64nlocal
- what's your base smtp config settings:
 # config show smtpd; config show qpsmtpd

Darrell

Offline matheson

  • *
  • 15
  • +0/-0
Mail server problem
« Reply #5 on: December 10, 2006, 06:36:05 PM »
- SME release 7.0, fully updated
- Servergateway
- ADSL with 1 regular ip-adress. SME with 2 netcards, connected to the adsl-modem, works as router and dhcp server on local network
- I can send and recieve e-mails fine on local network
- I can send e-mails outside in the world
- I don't think anything unique is on my setup. it have worked fine for the past 9 months, but there was a cable-breakdown somewhere between me and the ISP. They fixed it after 18 days, giving me a new ip-adress. Homepage and everything else works fine, only the reception of emails is not working.
- awstats web statitics and phpsysinfo. They work fine.

- [root@sme ~]# tail -f /var/log/qpsmtpd/current |tai64nlocal
2006-12-10 17:00:10.975990500 2957 virus::clamav hooking data_post
2006-12-10 17:00:10.976684500 2957 Initializing spool_dir
2006-12-10 17:00:10.978329500 2957 trying to get config for spool_dir
2006-12-10 17:00:10.998297500 2957 Permissions on spool_dir /var/spool/qpsmtpd/ are not 0700
2006-12-10 17:00:11.028625500 2957 Loading queue/qmail-queue
2006-12-10 17:00:11.029129500 2957 queue::qmail_2dqueue hooking queue
2006-12-10 17:00:11.029929500 2957 Listening on port 25
2006-12-10 17:00:11.030566500 2957 Running as user qpsmtpd, group qpsmtpd
2006-12-10 17:00:11.030915500 2957 trying to get config for size_threshold
2006-12-10 17:00:11.031293500 2957 size_threshold set to 0

-  [root@sme ~]# config show smtpd;config show qpsmtpd
smtpd=service
    Authentication=disabled
    Instances=40
    InstancesPerIP=5
    MaximumDateOffset=0
    PatternsScan=disabled
    Proxy=enabled
    TCPPort=25
    TCPProxyPort=25
    VirusScan=enabled
    access=public
    status=enabled
    tnef2mime=enabled
qpsmtpd=service
    Bcc=disabled
    BccMode=cc
    BccUser=maillog
    DNSBL=disabled
    LogLevel=8
    MaxScannerSize=25000000
    RBLList=sbl-xbl.spamhaus.org,whois.rfc-ignorant.org,dnsbl.njabl.org,relays.ordb.org
    RHSBL=disabled
    RequireResolvableFromHost=no
    SBLList=dsn.rfc-ignorant.org
    access=public
    status=enabled

Offline pfloor

  • *****
  • 889
  • +1/-0
Mail server problem
« Reply #6 on: December 10, 2006, 07:36:41 PM »
Check the following:

1-During the "Cable repair" did your ISP start blocking port 25?

2-If your modem is also a router, did your ISP remotely re-set the modem/router and close port 25?
In life, you must either "Push, Pull or Get out of the way!"

Offline psoren

  • *
  • 371
  • +0/-0
Re: Mail server problem
« Reply #7 on: December 10, 2006, 07:49:48 PM »
I just checked your mail server through this page:

http://skriver.dk/mailtest.html

Got this result:

Tjekker om 'backup-mx.post.tele.dk' har en A record:
 - fandt A record: 80.160.77.109


Forbinder til mailserver programmet på 'backup-mx.post.tele.dk' ... (timeout efter 60 sekunder)

<<< 220 backup-mx.post.tele.dk ESMTP - TDC Solutions
>>> HELO freesbee.wheel.dk
<<< 250 backup-mx.post.tele.dk
>>> MAIL FROM:<hostmaster@tele.dk>
<<< 250 Ok
>>> RCPT TO:<admin@matheson.dk>
<<< 421 <admin@matheson.dk>: Recipient address rejected: Destination too busy

-------------------------------------------------------------------------------------
mail'en kunne ikke afleveres, mailserveren afviste den :-(  sidste response kode 421
-------------------------------------------------------------------------------------

It looks like your server have some kind of a problem.....

Per

Offline JonB

  • *
  • 351
  • +0/-0
Mail server problem
« Reply #8 on: December 10, 2006, 08:58:01 PM »
Ian,

The MX records for matheson.dk point to

mail.matheson.dk (10)
backup-mx.post.tele.dk (20)

The A record for mail.matheson.dk points to IP address 87.57.208.74
which I suspect is your old ip address.

It looks like you updated the A record for www.matheson.dk with your new IP but you didn't update the A record for mail.matheson.dk.

Jon
...

Offline JonB

  • *
  • 351
  • +0/-0
Mail server problem
« Reply #9 on: December 10, 2006, 09:04:10 PM »
Forget my last post. I really should wear my glasses more often :) It all looks correct however I cannot telnet into your mail server.

Do you have port 25 forwarded through your ADSL router to the server?

Jon
...

Offline matheson

  • *
  • 15
  • +0/-0
Mail server problem
« Reply #10 on: December 11, 2006, 05:43:41 AM »
Between the ISP and my sme-server, there's no router, just a adsl-modem. I can't configure anything on that.

My ISP tells me that they have opened port 25 on their side of the connection and out on to the internet .

To me it looks as my SME is not opening port 25, even though it looks as is does at the "config show qsmtpd".

I have tried i server-manager to make a port forward, bort tcp and udp, on the sme, but it makes no difference.

Any other way I can make sure port 25 is open on my server ?

Offline psoren

  • *
  • 371
  • +0/-0
Mail server problem
« Reply #11 on: December 11, 2006, 12:03:19 PM »
Quote from: "matheson"
Between the ISP and my sme-server, there's no router, just a adsl-modem. I can't configure anything on that.

My ISP tells me that they have opened port 25 on their side of the connection and out on to the internet .

To me it looks as my SME is not opening port 25, even though it looks as is does at the "config show qsmtpd".

I have tried i server-manager to make a port forward, bort tcp and udp, on the sme, but it makes no difference.

Any other way I can make sure port 25 is open on my server ?


I would look more in to this:

<<< 421 <admin@matheson.dk>: Recipient address rejected: Destination too busy

To me it looks like its the server giving the problem. Have you looked in your log files?

Per

Offline matheson

  • *
  • 15
  • +0/-0
Mail server problem
« Reply #12 on: December 11, 2006, 12:39:42 PM »
Yes, but it looks as if this my backup-mx server returning that answer.

I get:
backup-mx.post.tele.dk's postmaster response:
>>> RCPT TO:<postmaster@matheson.dk>
<<< 421 <postmaster@matheson.dk>: Recipient address rejected: Destination too busy

I can't find anything wrong in the log files.

Could it be that my ISP haven't opened port 25 ?

Ian

Offline psoren

  • *
  • 371
  • +0/-0
Mail server problem
« Reply #13 on: December 11, 2006, 01:33:39 PM »
Quote from: "matheson"
Yes, but it looks as if this my backup-mx server returning that answer.

I get:
backup-mx.post.tele.dk's postmaster response:
>>> RCPT TO:<postmaster@matheson.dk>
<<< 421 <postmaster@matheson.dk>: Recipient address rejected: Destination too busy

I can't find anything wrong in the log files.

Could it be that my ISP haven't opened port 25 ?

Ian


Yes it's the MXbackup  that answers you, but it says DESTINATION server is too busy. That's your server.

Port 25 should be open from the MXbackup server to you. That is the reason they have it. But why not double check with them, since it worked before.

I used to have some problems with my SME 7, initially installed from 7 rc1, even though it was fully updated to final. That solved after a new install from the SME 7 Final CD. Maybe a bit drastic but an option to try. Especially if you have a spare machine to try it on.

Per

Offline matheson

  • *
  • 15
  • +0/-0
Mail server problem
« Reply #14 on: December 13, 2006, 03:27:17 PM »
Finally it seems to work. My ISP have opened port 25, and i am now recieving mails. Also my ip-adress need to be corrected on a router somewhere in theis system. Everything on the SME stood all-right.

Only dnsreport.com still says i can't accept post to postmaser@matheson.dk, but else it seems to work OK.

Thanks for the answers. I've been tearing my hair out in confussion, so it was great that somebody else gave my litlle problem their time and ideas. Than I felt i wasn't all alone in the world.

Ian