[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Internal mail server complications
And Lo! The Great Prophet "Chris Johnson" (aka mini me :-) ) uttered these
words of wisdom:
> Can anybody point me at a good source of information on how to set up an
> internal email server. Its not quite as simple as I thought. Currently we
> just have an SMTP server running for outgoing emails. Incoming emails are
> collected directly from our ISPs POP3 server. This is great but it means
> internal mail has to go out to the ISP and then back in again. I want to
> set up a server so that internal emails are sent to a local POP3 server for
> collection over the LAN but external emails get sent out via the normal
> routes.
That should be a normal configuration option for any MTA; just configure
the server to recognise which domains are local (ie, ones it should deal
with). For example, in qmail you'd put the domains that qmail handles in
control/rcpthosts and control/locals. In postfix, it's the mydomains
parameter in main.cf. Other MTA's have their own way of specifiying what is
local (does any one else have visions of Royston Vassey at this point?).
> Could this be set so that some internal emails still get posted to the ISPs
> POP3 server. We have some mobile/part time workers who collect their email
> from our ISPs web based email service when they are not in the office.
> Other workers are in the office all the time and its their email I want to
> prevent from going outside our LAN.
Possibly; the easiest thing to do would be have mails be forwarded for
those users to the ISP. So the mail is /still/ delivered locally, however
using .forward / .qmail / <insert other mapping techniques here>, the mail
is then forwarded to the ISP. This would mean having at least two domains
though; one for your mail server (wibble.net) and then whatever your ISP
has (myisp.com) just so you can forward. External users need only need know
about the "wibble.net" domain, but if both can be treated as one and the
same by the ISP then there are no problems.
If you've only got one domain, you might be able to do something depending
on the MTA :) Basically, anything is possible...
Chris...
--
\ Chris Johnson \ NP: Hackers - 11. Ramshackle - Eyes Lips Body
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.