Re: Need help with configuration using DNS aliases

2016-02-12 Thread Edgar Pettijohn
Yes it can. However, By default, when connecting to a remote server, smtpd(8) advertises its default server name. A hostname parameter may be specified to advertise the alternate hostname name. If the source parameter is used, the hostnames parameter may be specified to advertise a hostname ba

Re: Need help with configuration using DNS aliases

2016-02-12 Thread Michael Burk
After some experimentation I think I can compress this problem down to one question: Is it possible for an OpenSMTPD host to process email addressed to two different host names, both of which resolve to the same address? When I set "mailname," any mail sent to that name works fine. Mail addressed

Re: Need help with configuration using DNS aliases

2016-02-09 Thread Michael Burk
Thanks Craig for the reply. I changed the CNAME to an A record as you suggested. Sadly, it still loops when I send the email to the "alternate" name. It seems that OpenSMTPD doesn't realize that the two names are the same server. I should mention that the whole reason we have an alias is that I h

Re: Need help with configuration using DNS aliases

2016-02-09 Thread Craig Skinner
Hi Michael, On 2016-02-08 Mon 16:49 PM |, Michael Burk wrote: > > If I send a message to the server's CNAME, it goes into a loop which is > eventually detected and shut down: > Try switching from DNS CNAMES to DNS A records: RFC2181 has: "10.3. MX and NS records The domain name used as the v