Koozali.org: home of the SME Server

Problem with mails

pippin

Problem with mails
« on: August 01, 2006, 12:37:37 PM »
I can send mail but not recive,i get a failure from my hotmail account when i am sending mail to my mailserver.Where can i look to find out what the problem is?

egerards

Problem with mails
« Reply #1 on: August 01, 2006, 02:56:23 PM »
Is your SME box connected to the internet via a router? If so, make sure that tcp port 25 is forwarded to your SME box.

You might want to go to http://www.grc.com and browse to 'ShieldsUP!' to check which ports are open or not.

pippin

Problem with mails
« Reply #2 on: August 01, 2006, 04:23:58 PM »
i have done that and i have visit canyouseeme.org and the port are open :-D so thats not the problem,i do belive it has something with SME and not my smoothie(Smoothwall router)

1    2.30  65.54.244.104 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.104./
  1    3.17  65.54.244.200 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.200./
  2    2.75  65.54.244.40 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.40./
 17    0.17  This message is looping: it already has my Delivered-To line. (#5.4.6)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem with mails
« Reply #3 on: August 01, 2006, 04:32:57 PM »
Quote from: "pippin"
I can send mail but not recive,i get a failure from my hotmail account when i am sending mail to my mailserver.Where can i look to find out what the problem is?


Looking at the failure message would be a good start. Most failure messages contain text which indicates what didn't work.

For mail delivery to your server to work, DNS must point to your server's IP address, and port 25 connections to your server must be permitted by whatever routers exist between the Internet and your server, and your server must be configured to accept mail for the domain name specified in the mail. That's about it.

pippin

Re: Problem with mails
« Reply #4 on: August 01, 2006, 04:36:13 PM »
Quote from: "CharlieBrady"
Quote from: "pippin"
I can send mail but not recive,i get a failure from my hotmail account when i am sending mail to my mailserver.Where can i look to find out what the problem is?


Looking at the failure message would be a good start. Most failure messages contain text which indicates what didn't work.

For mail delivery to your server to work, DNS must point to your server's IP address, and port 25 connections to your server must be permitted by whatever routers exist between the Internet and your server, and your server must be configured to accept mail for the domain name specified in the mail. That's about it.


This is from the log on SME Server

1    2.30  65.54.244.104 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.104./
  1    3.17  65.54.244.200 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.200./
  2    2.75  65.54.244.40 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.40./
 17    0.17  This message is looping: it already has my Delivered-To line. (#5.4.6)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem with mails
« Reply #5 on: August 01, 2006, 04:49:01 PM »
Quote from: "pippin"

This is from the log on SME Server

1    2.30  65.54.244.104 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.104./
  1    3.17  65.54.244.200 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.200./
  2    2.75  65.54.244.40 does not like recipient./Remote host said: 550 Requested action not taken: mailbox unavailable/Giving up on 65.54.244.40./


Those logs are all of attempts to send mail (outgoing).

Quote

 17    0.17  This message is looping: it already has my Delivered-To line. (#5.4.6)


That's probably a local delivery attempt. It has failed because there is a delivery loop.

You have looked at the qmail log file. You will need to look at the qpsmtpd log file to see inbound mail delivery attempts.

Use google to find tutorials on how to understand mail log files.

pippin

Problem with mails
« Reply #6 on: August 01, 2006, 05:10:16 PM »
2006-08-01 16:53:35.744210500 4513 dispatching MAIL FROM:<xxxxx@hotmail.com>
2006-08-01 16:53:35.749221500 4513 full from_parameter: FROM:<xxxxx@hotmail.com>
2006-08-01 16:53:35.749234500 4513 from email address : [<xxxxx@hotmail.com>]
2006-08-01 16:53:35.751579500 4513 running plugin (mail): require_resolvable_fromhost
2006-08-01 16:53:35.762528500 4513 running plugin (mail): check_badmailfrom
2006-08-01 16:53:35.768945500 4513 getting mail from <xxxxxx@hotmail.com>
2006-08-01 16:53:35.770711500 4513 250 <xxxxxx@hotmail.com>, sender OK - how exciting to get mail from you!
2006-08-01 16:53:36.285849500 3460 cleaning up after 4513
2006-08-01 16:54:36.402891500 4518 Accepted connection 0/40 from 192.168.1.1 / Unknown
2006-08-01 16:54:36.405070500 4518 Connection from Unknown [192.168.1.1]
2006-08-01 16:54:36.409740500 4518 running plugin (connect): check_earlytalker
2006-08-01 16:54:37.416252500 4518 check_earlytalker plugin: remote host said nothing spontaneous, proceeding
2006-08-01 16:54:37.426238500 4518 running plugin (connect): check_relay
2006-08-01 16:54:37.428223500 4518 running plugin (connect): check_norelay
2006-08-01 16:54:37.433376500 4518 check_norelay plugin: check_norelay: 192.168.1.1 denied relaying
2006-08-01 16:54:37.439178500 4518 220 smeserver.xxxxx.homeip.net ESMTP
2006-08-01 16:54:37.633229500 4518 dispatching EHLO bay0-omc1-s6.bay0.hotmail.com
2006-08-01 16:54:37.638228500 4518 running plugin (ehlo): check_spamhelo
2006-08-01 16:54:37.647212500 4518 250-pippin.homeip.net Hi Unknown [192.168.1.1]
2006-08-01 16:54:37.649222500 4518 250-PIPELINING
2006-08-01 16:54:37.651013500 4518 250-8BITMIME
2006-08-01 16:54:37.652985500 4518 250 SIZE 15000000
2006-08-01 16:54:37.848191500 4518 dispatching MAIL FROM:<xxxxxx@hotmail.com>
2006-08-01 16:54:37.853223500 4518 full from_parameter: FROM:<xxxxxx@hotmail.com>
2006-08-01 16:54:37.853235500 4518 from email address : [<xxxxx@hotmail.com>]
2006-08-01 16:54:37.857413500 4518 running plugin (mail): require_resolvable_fromhost
2006-08-01 16:54:37.867799500 4518 running plugin (mail): check_badmailfrom
2006-08-01 16:54:37.874177500 4518 getting mail from <xxxxx@hotmail.com>
2006-08-01 16:54:37.875892500 4518 250 <xxxxxx@hotmail.com>, sender OK - how exciting to get mail from you!
2006-08-01 16:54:38.389975500 3460 cleaning up after 4518

As i can see the mail comes thru,but anyhow i get a mail from postmaster at hotmail that says it cant be delivered,and the mail isnnt comming to my mailserver.
It has work perfectly for months and i have no linux skills so i think i have to take a reinnstall to make it work again

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Problem with mails
« Reply #7 on: August 01, 2006, 06:18:20 PM »
Quote from: "pippin"

2006-08-01 16:54:37.875892500 4518 250 <xxxxxx@hotmail.com>, sender OK - how exciting to get mail from you!
2006-08-01 16:54:38.389975500 3460 cleaning up after 4518

As i can see the mail comes thru


No, the mail starts to come through. The sender is identified. The log you've shown doesn't show any identification of the recipient and doesn't show message transfer and delivery.

Quote

,but anyhow i get a mail from postmaster at hotmail that says it cant be delivered


And will also say why.

Quote

so i think i have to take a reinnstall to make it work again


If you reinstall the same software it will likely behave in the same fashion.

I notice you have some sort of router between your server and the Internet. I would advise you to get rid of it, and use the server in server-gateway mode. There are fewer problems that way.

pippin

Problem with mails
« Reply #8 on: August 01, 2006, 09:50:28 PM »
I have reinnstalled SME Server and it works and i didnt want to change smoothwall with SME Server.To risky to have mail/webserver on a router/firewall.But thats just me

Thanks anyway for your answeres