d...@duckland.org (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

> Worry often gives a small thing a big shadow. - Swedish proverb

nice one!

Bye, Marcus

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to