I am setting up Qmail, but I'm having some problems delivering to external
sites, (550 errors etc) so I just want to check what I'm doing is possible!
Our domain, ourdomain.com, is setup by our ISP + works fine for WWW. The MX
record will point to 'office.ourdomain.com' which will be the address of our
masquerading firewall, which port-forwards to our Qmail server, as well as
provides net access for a group of 6 Windows PC's. The Qmail server works
fine sending to and from users on the mail machine as well as SMTP/Pop3 from
all 'internal' PC's, as well as providing DNS.
However, I am getting something like '550 cannot route to sender
[EMAIL PROTECTED]' errors when I try to e-mail external sites.
I think this is because our IP is not yet setup and so our internal network
is online through a temporary IP address that doesn't correspond to
'office.ourdomain.com' .. is this the problem? However, even when it is set
up, the machine mail.office.ourdomain.com will not be resolvable from the
internet - only office.ourdomain.com and below. Will this be a problem?
When our IP address is permanent I propose to let internal users access the
mailserver via it's internal hostname, and for external clients to send +
receive mail via the external address of the masq box
'office.ourdomain.com'.
To this end I have given the Qmail box the FQDN of
'mail.office.ourdomain.com' and addr. 10.0.0.6, with BIND set to not
distribute these addresses, so does it matter what FQDN I choose?
Finally, I want everything to come from '[EMAIL PROTECTED]' and so put
ourdomain.com into defaulthost, however local mail is still from
'[EMAIL PROTECTED]' have I done something wrong? Could this tie
in with the 550 problem?
OK That's it, please tell me if I'm heading in the right direction - my
previous *nix experience did not really delve into setting up servers :-)
Many many thanks
John