Date: Wed, 07 Oct 2009 22:09:41 -0400 From: Steve Bertrand <steve@ibctech.ca> To: David N <davidn04@gmail.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Daily report cannot be emailed to a jailed mail server Message-ID: <4ACD49E5.2010006@ibctech.ca> In-Reply-To: <4d7dd86f0910071849h35e70f9wd1dbbcf6b3b2d47a@mail.gmail.com> References: <4d7dd86f0910071502n4164fd6eu26693ed03cb3cbee@mail.gmail.com> <4ACD26A8.30709@ibctech.ca> <4d7dd86f0910071849h35e70f9wd1dbbcf6b3b2d47a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David N wrote: > 2009/10/8 Steve Bertrand <steve@ibctech.ca>: >> David N wrote: [ big snips ] >>> When i try to send an email i get >>> Oct 8 08:47:07 server sm-mta[95130]: n97Ll7VV095129: SYSERR(root): MX >>> list for anotherdomain.com.au. points back to server.net >> Nonetheless, you can force Sendmail to push email to a different server >> directly (overriding the DNS MX entries) with a 'mailertable' file in >> /etc/mail. Here's one on a secondary MX: >> >> %cat /etc/mail/mailertable >> ibctech.ca smtp:[smtp.ibctech.ca] >> ipv6canada.com smtp:[smtp.ipv6canada.com] >> ... >> >> After the file is created, a simple 'make' in /etc/mail will build the >> mailertable.db file for you and take effect immediately (much like >> 'newaliases'). > Thank you so much, it worked =) > > My MX records are correct, i could get mail from the outside, but just > couldn't get the daily reports to deliver it. I'm glad it worked. Believe me, if that simple change made it work for you, then it was worth my headache to have spent the time to learn it for myself ;) For the last few years, I've only used Sendmail (or sendmail) to act as a backup MX, or to directly deliver mail from the box I am on...hence, it's been a while... There may be other ramifications to using `mailertable' in your particular environment. I don't know how your system will react, given a default setup and a mailertable entry. It's possible (but untested) that if the server that is specified in the mailertable is down, your reports might not make it to you ( whether that's bad or good is up for interpretation... I've always known no news as good news ;) Perhaps Giorgos or someone else may be able to provide a better understanding. Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ACD49E5.2010006>