> It is set in the GUI but mail goes out to the internet from that server
> and I think if I
> it up in the cf file all should then go to the firewall first, Right?
Hi Richard,
The setting in the GUI is exactly the same as the setting in the cf
file. If your sending it to your firewall then I assume that your
firewall can accept mail on port 25?
Remember that the smarthost uses the MX record first. For example, if
you had the following DNS set up...
smarthost.example.com A 111.111.111.111
smarthost.example.com MX wibble.example.com
wibble.example.com A 222.222.222.222
... and you had "smarthost.example.com" as your smarthost then mail
would be delivered to 222.222.222.222 and NOT 111.111.111.111 as is
sometimes expected.
Aditional: (cos I am drunk, very late at night and I'm on a roll)
Because smarthost uses MX records you can use the priorities of MX
records for much power! Such as the following DNS...
smarthost.example.com MX 10 server1.example.com
smarthost.example.com MX 10 server2.example.com
smarthost.example.com MX 40 isp-just-in-case.example.com
I hope this helped!
Regards, Dan