Yes, the "smtphosts" file seems to be some sort of mistake that's
published in places.

So then with smtproutes, it can serve two purposes:

1. To relay all outbound mail through a trusted host, via:

:mail.somedomain.com

or

2. To relay/send selected mail to a specific domain, bypassing an MX
lookup via:

somedomain.com:mx-static-record-for-somedomain.com

Correct?

Just wanting to confirm because I've never needed to use the second option.

Thanks,
Tim

On Thu, September 29, 2011 11:58 am, Eric Shubert wrote:
> On 09/29/2011 09:48 AM, Tim Pleiman wrote:
>> To anyone who might know,
>>
>> I find various online references to a qmail control file:
>>
>> /var/qmail/control/smtphosts
>>
>> that is not generally used in all qmail installations, whereby:
>>
>> "If the file
>>
>> /var/qmail/control/smtphosts
>>
>> exists and contains an entry for hisdomain.com, qmail will not perform a
>> DNS MX-lookup to figure out the mail server for hisdomain.com; it will
>> use
>> the one specified there, such as:
>>
>> .hisdomain.com:pop2.hisdomain.com
>>
>> Otherwise, qmail will perform a DNS/MX lookup."
>>
>> The reason I ask has to do with something I mentioned earlier concerning
>> mail client lookups of mx records returning "451--DNS temporary failure"
>> and stubbornly refusing to place such messages in the queue even though
>> I
>> know the message will be delivered.
>>
>> I'm having periodic trouble with a couple of Chinese DNS mx lookups (as
>> they fool around with their DNS servers over there), and if the above is
>> working in qmailtoaster, then that will alleviate this problem on
>> specific
>> domains entirely without having to disable the CHKUSER feature that
>> prevents such messages from being queued.
>>
>> Thanks!
>> Tim
>
> This sounds like the /var/qmail/control/smtproutes file in QMT:
> http://wiki.qmailtoaster.com/index.php/Smtproutes
>
> --
> -Eric 'shubes'
>
>
> ---------------------------------------------------------------------------------
> Qmailtoaster is sponsored by Vickers Consulting Group
> (www.vickersconsulting.com)
>     Vickers Consulting Group offers Qmailtoaster support and
> installations.
>       If you need professional help with your setup, contact them today!
> ---------------------------------------------------------------------------------
>      Please visit qmailtoaster.com for the latest news, updates, and
> packages.
>
>       To unsubscribe, e-mail:
> [email protected]
>      For additional commands, e-mail:
> [email protected]
>
>
>


-- 
Tim Pleiman
Bravo Systems Technologies
"Advanced Open Source Solutions for Business"
Chicago, IL USA


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]


Reply via email to