On Thu, Dec 27, 2007 at 11:30:04AM -0600, Tim Wilson wrote:
> I'd like to create a little server running Ubuntu and postfix that
> would be a mail relay for a few other servers in our school district.
> For example, rather than configuring our Moodle and nagios servers to
> send their own mail, I'd like to point them at the mail relay and have
> it send the mail for them. This box would not need to receive mail,
> only send it. We run GroupWise for our staff email accounts, but it
> can be a hassle to configure other servers to send mail through GW
> sometimes.
>
> I started putting together a main.cf file for postfix and got this far
> (in addition to the other default settings):
>
> mydestination = $myhostname, localhost.$mydomain, $mydomain
> myhostname = bison
> mydomain = buffalo.k12.mn.us
> myorigin = $mydomain
> relayhost = monitor.buffalo.k12.mn.us # This is our nagios server
>
> Am I on the right track here?
You are, but going the wrong way 8^)
mydestination is for e-mail that you are going to deliver locally.
relayhost is what is the next hop for e-mail once it leaves your box -
it is the equivalent of smarthost from sendmail.
I would leave both blank, as you don't want to deliver any e-mail
locally and you want your box to deliver the relayed messages itself.
That being said, I have not implemented a setup like yours, so others
might want to chime in.
Cheers,
florin
--
Bruce Schneier expects the Spanish Inquisition.
http://geekz.co.uk/schneierfacts/fact/163
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20071227/35f79a01/attachment.pgp