Koozali.org: home of the SME Server

Mail Servers doubling is this normal???

stukirk

Mail Servers doubling is this normal???
« on: June 19, 2007, 01:06:29 PM »
Hi,

I have a SME system sat as server only handling email and ibays users etc and I have a second SME acting as a gateway firewall and DHCP for the local network of PC's (this is due to a problem not allowing 1 older upgraded machine to do it all yet)

I thought everything was fine delegating all email tasks to the stand alone server and disabling all email access on the gateway machine... then I noticed emails were not getting out to external addresses..... further investigation found them to be sat on the gateway SME machine in the qmail queue????  I had not put in my ISP SMTP server details on the gateway SME as I assumed it was putting all email requests etc over to the other local SME email server (which does have the ISP details)?  I put the relay server details in on the gateway SME and now emails are going out but is this right?

Should the SME when acting as a pure gateway with all email delegated to another machine etc collect email from the local email server and process it like a piggy back I would have thought it would just go through without looking at/processing anything????

Unless I am just totally misunderstanding this????

Cheers,

Stu

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Mail Servers doubling is this normal???
« Reply #1 on: June 19, 2007, 04:59:32 PM »
By default, SME attempts to deliver email directly to the recipient's SMTP server - so your server-only system is trying to deliver email all over the Internet...

By default, SME has an "SMTP Proxy" enabled in server-gateway mode to intercept all outbound smtp traffic and relay it.  I'm not sure what is required to make this work; I always turn it off...

So, you'll probably get behavior closer to what you're expecting if you disable the SMTP proxy on the server-gateway system at server-manager:Security:Proxy settings

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Mail Servers doubling is this normal???
« Reply #2 on: June 20, 2007, 02:51:30 AM »
Is this a host name issue ?

Try going into hostnames via server manager on the gateway/dhcp machine and changing mail.your.domain from self to local and put the ip in of your mail server.

This will probably not be the cause if your using ip's for the mailserver in your mail clients.
Regards,
William

IF I give advise.. It's only if it was me....

stukirk

Mail Servers doubling is this normal???
« Reply #3 on: June 21, 2007, 01:13:40 PM »
It was the SMTP Proxy Setting, thanks....

Stu