Koozali.org: home of the SME Server

e-mail issues

Offline belyache

  • **
  • 28
  • +0/-0
e-mail issues
« on: May 15, 2006, 11:27:54 PM »
I am experiencing issues with SME and Microsoft Exchange.

I am using SME as a proxy/webfiltering device.

I port forward SMTP to my exchange server. However it seems that all of the outgoing mail, goes through the SME mail server after going through Exchange.

Is there a way to avoid this? I would like to turn off Qmail. I am having problems with Qmail coming to grinding halt, and my e-mail stops flowing. Then if I restart the SME server, it all starts working again.

As a test, I try to log into a remote SMTP server using telnet serveraddress 25. When the SME server is having problems, it says there are too many connections from my exchange server.

BTW, the SME server always takes over the telnet session and sends the port 25 query to it, and not the remote SMTP sever that I was trying to telnet into.

Any ideas would be helpful.

Glenn

Offline JonB

  • *
  • 351
  • +0/-0
e-mail issues
« Reply #1 on: May 15, 2006, 11:55:41 PM »
By default SME enables SMTP proxy. You can disable this in the server-manager under Proxy Settings.


Jon
...

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
MX record
« Reply #2 on: May 19, 2006, 07:18:34 PM »
I don't know why but I thought my email system was working

I can send mail but not recieve mail is bouncing back

Here are the MX records, do I need to set something for MX record for the mail to work properly.

Mail Server Host Name:   Priority:

foolishlys.com   60(recently added this one to fix my problem)
mx1.biz.mail.yahoo.com   20
mx5.biz.mail.yahoo.com   30

perhaps is should be mail.foolishlys.com

I thought that the mail was working correctly but appearantly it is not.

What is required for SME mail system, I'm basically just using webmail right now.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: MX record
« Reply #3 on: May 20, 2006, 05:10:30 PM »
Quote from: "Agent86"
I
foolishlys.com   60(recently added this one to fix my problem)
mx1.biz.mail.yahoo.com   20
mx5.biz.mail.yahoo.com   30


This will send most of your mail to yahoo. Will they know what to do with it?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
I don't know
« Reply #4 on: May 27, 2006, 02:28:31 AM »
I'm not sure what to put there, everything was working fine, I've got my A records and Cnames appears to work correctly

I'll post all my info settings perhaps someone can explain how this is suppose to work

I've read every things I could find on the subject I don't think I'm understanding how to setup the mx record

should I delete the yahoo mx record and only use something like foolishlys.com or perhaps mail.foolishlys.com

?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: I don't know
« Reply #5 on: May 27, 2006, 05:25:46 AM »
Quote from: "Agent86"

should I delete the yahoo mx record and only use something like foolishlys.com


Yes.

tandum

e-mail issues
« Reply #6 on: May 27, 2006, 03:04:25 PM »
I see your mx records as :

> server ns.telstra.com.au
Default Server:  ns.telstra.com.au
Address:  202.12.144.10

> foolishlys.com
Server:  ns.telstra.com.au
Address:  202.12.144.10

Name:    foolishlys.com
Address:  70.91.72.77

> set type=mx
> foolishlys.com
Server:  ns.telstra.com.au
Address:  202.12.144.10

foolishlys.com  MX preference = 30, mail exchanger = mx5.biz.mail.yahoo.com
foolishlys.com  MX preference = 20, mail exchanger = mx1.biz.mail.yahoo.com
foolishlys.com  nameserver = yns1.yahoo.com
foolishlys.com  nameserver = yns2.yahoo.com
foolishlys.com  nameserver = ns8.san.yahoo.com
foolishlys.com  nameserver = ns9.san.yahoo.com
mx1.biz.mail.yahoo.com  internet address = 67.28.113.13
mx1.biz.mail.yahoo.com  internet address = 4.79.181.18
mx5.biz.mail.yahoo.com  internet address = 68.142.224.244
mx5.biz.mail.yahoo.com  internet address = 68.142.202.13
ns8.san.yahoo.com       internet address = 66.218.71.205
ns9.san.yahoo.com       internet address = 216.109.116.20
yns1.yahoo.com  internet address = 66.218.71.205
yns2.yahoo.com  internet address = 216.109.116.20
>

Your server is not listed as a mail exchanger. You need to add your server with a preference less than 20 so it is the prefered mail exchanger. The lower the preference the higher on the list it is. This needs to be added to the name server at yahoo.com.

[edit]
It's best to connect to an external dns server when checking dns records. If you do nslookups against your SME box your not really seeing what is being published on the Internet. Find your ISP's DNS server address and issue a server <dns server address>  from inside nslookup. I use ns.telstra.com.au as a server when doing external lookups.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Here is what I have so far
« Reply #7 on: May 27, 2006, 05:28:27 PM »
Hi and thanks for the help everyone

Here is what I have setup so far, not sure if it's correct, but I'm having difficulty understanding the concept.

I've read the yahoo help menu's etc. which sounds as though it's easy to understand, but for some reason I'm just not getting the results I would like

Anyhow any suggestions would be great, fyi I do not have yahoo hosting only registered my domain with them, and using my SME box for hosting etc.

Please see my screen shot, which I've taken out the links and java script, but this is the settings I have on my yahoo account thus far:

http://www.flashbuilder.net/host/agent86/adns.HTM

Thanks for any adise on this.

I don't know why, but it was working with yahoo in the MX records, now it just quit.
But perhaps it was not suppose to be working to begin with i just don't know?

Please advise

tandum

e-mail issues
« Reply #8 on: May 27, 2006, 07:56:11 PM »
I now see your server as priority 20 but the backup servers are gone.

You need the secondary mail servers for when yours is offline.

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Seems to send and recieve now ?
« Reply #9 on: May 28, 2006, 12:01:00 AM »
Hi and thanks

It appears to send and recieve now with webmail.

So regarding the adding a secondary MX record for backup mail server

Please describe how this might work, should I have left one of the yahoo servers entact, or perhaps set them to priority 30 and 40 or something like that ?

I"m not sure how they would work, if they were not working as the primary to begin with, unless I'm missing something?

Please advise, on the secondary mail server subject and should I use yahoo as it was in the MX prior or not ??

Thanks

Offline swissis

  • ***
  • 61
  • +0/-0
e-mail issues
« Reply #10 on: June 06, 2006, 09:48:41 AM »
Is there a way to filter for spam when using sme as a proxyserver only?
On my sme server port 25 is mapped to the exchange server.
...

Offline raem

  • *
  • 3,972
  • +4/-0
e-mail issues
« Reply #11 on: June 06, 2006, 12:28:46 PM »
swissis

> Is there a way to filter for spam when using sme as a proxyserver only?
> On my sme server port 25 is mapped to the exchange server


I think the way to do that is to let your sme server accept incoming mail (ie remove the port 25 forwarding), and then Delegate mail handling to your exchange server's IP, using the server manager email settings panel.
...