Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2011 14:31:18 +0200
From:      "Frank Brendel" <>
To:        <>
Subject:   relayd.conf interval and timeout values
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi list,

I have a question regarding the interval and timeout values.

Here is my relayd.conf

interval 5
timeout 3000
table <host_table> { $host1 $host2 }
relay smtp_relay {
         listen on $host_ext port smtp
         forward to <host_table> port smtp interval 15 timeout 14000=20
check script "/tmp/"

and the little script to test the intervals and timeouts:

while true; do
   echo "PID: $$ - HOST: $1 - DATE:" $(date) >>/tmp/chk_test.txt
   sleep 1

As I understand relayd should start the script /tmp/ every 15 =

seconds and kills it after 14 seconds since the table configuration=20
overwrites the global configuration.
But relayd starts the script every 5 seconds and kills it after 3 =

Have I misunderstood something?

I've installed relayd-4.6.20090813_5 from the ports.
And the FreeBSD version is:
# uname -vp
FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011    =20  amd64

Many thanks

Want to link to this message? Use this URL: <>