[email protected] (Don Harper), 2014.11.11 (Tue) 23:51 (CET):
> On 2014-11-11 8:47 PM, Marcus MERIGHI wrote to To Don Harper:
> > [email protected] (Don Harper), 2014.11.11 (Tue) 19:18 (CET):
> > > Hello!
> > > I am in the process of migrating my MTA system from postfix to
> > > opensmtpd. All my clients currently run opensmtpd, but I have a time to
> > > wrap my mind around how to setup for backup MX servers without having a
> > > open relay.
>
> > > If I have the following smtpd.conf:
> > > listen on vtnet0
> > > table aliases file:/usr/local/etc/mail/aliases
> > > accept from any for domain "duckland.org" relay backup
> > > accept for local alias <aliases> deliver to maildir
>
> > > My question is how do I set up the server to handle multiple domains?
> > > Do I just have multiple accept lines? Or, does the line support
> > > database lookup?
>
> > yes, e.g.:
>
> > table relayhosts { x.y.z.a, k.l.m.n }
> > accept from source <relayhosts> for any relay
>
> Hum...I guess I did not make myself clear. I am trying to set up my
> backup MX hosts, so this is for when my primary MX host is down. If I
> am reading that correctly, that would be the config on the primary, yes?
(previous example just allows relaying for certain IPs)
sorry, yes:
table bakmx { "foo.org", "bar.info" }
accept from any for domain <bakmx> relay
Bye, Marcus
> > > Worry often gives a small thing a big shadow. - Swedish proverb
>
> > nice one!
> Thanks!
> !DSPAM:5462932b151541562154586!
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]