Don"t check domains in addresses

Don"t check domains in addresses

am 14.04.2008 14:29:30 von Joseph Brennan

We have an smtp gateway that processes all incoming mail, and re-sends
what passes filtering to the backend imap hosts. The backends'
access.db tells them to accept mail only from the smtp gateway.

I want the backends to skip checking addresses. It's a waste of time
since that's just been done by the smtp gateway seconds earlier, and
the backends don't have local nameservers like the smtp gateway hosts
do. I have configured FEATURE(`accept_unresolvable_domains') but I
notice they still seem to be checking envelope senders. They pause a
long time at MAIL when the sender's domain has a nameserver that takes
a long time to respond.

What can I add to make it stop checking domains in addresses?

Joseph Brennan
Columbia University IT

Re: Don"t check domains in addresses

am 14.04.2008 14:39:43 von Andrzej Filip

Joe Brennan wrote:

> We have an smtp gateway that processes all incoming mail, and re-sends
> what passes filtering to the backend imap hosts. The backends'
> access.db tells them to accept mail only from the smtp gateway.
>
> I want the backends to skip checking addresses. It's a waste of time
> since that's just been done by the smtp gateway seconds earlier, and
> the backends don't have local nameservers like the smtp gateway hosts
> do. I have configured FEATURE(`accept_unresolvable_domains') but I
> notice they still seem to be checking envelope senders. They pause a
> long time at MAIL when the sender's domain has a nameserver that takes
> a long time to respond.
>
> What can I add to make it stop checking domains in addresses?

In addition to FEATURE(`accept_unresolvable_domains') consider using
FEATURE(`nocanonify').

URL(s):
http://www.sendmail.org/m4/features.html#nocanonify

--
[pl>en: Andrew] Andrzej Adam Filip anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
The first myth of management is that it exists.
The second myth of management is that success equals skill.
-- Robert Heller

Re: Don"t check domains in addresses

am 14.04.2008 21:22:08 von gtaylor

On 04/14/08 07:29, Joe Brennan wrote:
> I want the backends to skip checking addresses. It's a waste of time
> since that's just been done by the smtp gateway seconds earlier, and
> the backends don't have local nameservers like the smtp gateway hosts
> do. I have configured FEATURE(`accept_unresolvable_domains') but I
> notice they still seem to be checking envelope senders. They pause a
> long time at MAIL when the sender's domain has a nameserver that
> takes a long time to respond.

Consider using the same name server on the back end as the front end.
If that means that there is another box in between them that is used for
DNS, then so be it. That way when your back end queries DNS, the answer
*SHOULD* already be in the DNS server's cache.

Of course, if you can get Sendmail to behave the way you want this will
not be an issue. But this will probably help too.



Grant. . . .