Advertisement
Guest User

Untitled

a guest
Mar 27th, 2015
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. >host -t mx example.com
  2. ;; connection timed out; no servers could be reached
  3.  
  4. > time echo "This is a test message" | /usr/lib/sendmail -ftest@test.com test@example.com
  5. real 2m36.252s
  6. user 0m0.004s
  7. sys 0m0.005s
  8.  
  9. > grep resolver /etc/mail/sendmail.cf
  10. Timeout.resolver.retrans=5s
  11. Timeout.resolver.retry=4
  12.  
  13. timeout: n
  14. sets the amount of time the resolver will wait for a response from a remote name server before retrying the query via a different name server. Measured in seconds, the default is RES_TIMEOUT (see <resolv.h> ).
  15. attempts: n
  16. sets the number of times the resolver will send a query to its name servers before giving up and returning an error to the calling application. The default is RES_DFLRETRY (see <resolv.h> ).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement