OT: sendmail relay question, please

Steve Campbell campbell at CNPAPERS.COM
Wed Jun 30 13:51:47 IST 2004


Mr. Burns
> >Will it still avoid the MX record though?
> >
> >
> When you specify/use the square brackets, that suppresses the MX lookup.
> That part of your config looked right to me (and matches the way I use
> it here)

Somehow, when I was using the brackets, earlier in the day, I was still
consulting DNS. This, in a nutshell, was my problem. I was aware of the
bracket issue, it just wasn't working. Something else I had configured was
causing a DNS lookup
>
> Note: (off-off topic) An interesting alternative here is that you can
> configure a totally different domain name (without square brackets) and
> give that domain name a bunch of MX records just for routing purposes.
> That way you can be a gateway to a group of servers, instead of just
> one. You can make up any domain name here, as long as you control the
> name server for it. The "target" mail servers will be unaware of the
> "imaginary" domain.

I assume here you mean a non-public name server and this would only apply to
inside-firewall mail service for our users only? If so, what does
resolv.conf look like for the mail servers and how would it resolve outside
IPs? Wouldn't "real" name servers also have to be included somewhere in the
bottom of resolv.conf? Th

>
> >>3) Instead of "esmtp:", my mailertable has "smtp:"
> >>
> >>
> >
> >I think this is preference, and counting on others to support the
extended
> >protocol. I may be wrong.
> >
> >
> >
> >>4) In my version of sendmail, in the access file, I have something like:
> >> > To:cnpapers.com   RELAY
> >>(I don't use the relay-domains file)
> >>
> >>
> >
> >I totally forgot about this way.
> >
> >
> >
> >>5) I think it was already mentioned, but you'll want to do a "make
> >>access.db" and "make mailertable.db" to rebuild those files.
> >>
> >>
> >
> >Webmin will re-make these tables as they are changed.
> >
> >
> Double-check this by running the "strings" command on those ".db" files.
> (or, I suppose, an ls -l if you just check the date-stamps)
>

Yes, I had checked the time stamps, and they had in fact been updated. I'm
using Webmin as an administrative tool for the first time, and little things
like this are things I'll discover as I go along..
> -Bill

Thanks again for sharing your knowledge with me and others.

Steve Campbell
campbell at cnpapers.com
Charleston Newspapers

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html



More information about the MailScanner mailing list