Xymon Mailing List Archive search

SMTP greet_pause

4 messages in this thread

list Tim Boyer · Thu, 24 May 2007 14:03:09 -0400 ·
I'm using the greet_pause feature in Sendmail 8.13 to delay giving the smtp
banner by a couple of seconds.  It's a great anti-spam tool.

Unfortunately, it's confusing hobbit:

Service smtp on tolstoy.denmantire.com is not OK : Unexpected service
response


554 denmantire.com ESMTP not accepting messages
550 5.0.0 Command rejected
221 2.0.0 denmantire.com closing connection

If hobbit had waited 2000 milliseconds after the connection before trying to
send, it would have worked just fine.  Is there any way to insert a small
delay there?

-- 
Tim Boyer
Director IT and Engineering Projects
Denman Tire Corporation
list Sladewig · Thu, 24 May 2007 13:08:52 -0500 ·
Tim Boyer said the following, On 05/24/2007 01:03 PM:
quoted from Tim Boyer
I'm using the greet_pause feature in Sendmail 8.13 to delay giving the smtp
banner by a couple of seconds.  It's a great anti-spam tool.
I setup my sendmail access file to not have a greeting pause for my 
internal machines (including hobbit).

GreetPause:127.0.0.1            0
GreetPause:(IP of hobbit)       0

This way there is no delay for my "friends".

--
steve
list Tim Boyer · Thu, 24 May 2007 14:26:03 -0400 ·
quoted from Sladewig
 
Tim Boyer said the following, On 05/24/2007 01:03 PM:
I'm using the greet_pause feature in Sendmail 8.13 to delay giving the smtp
banner by a couple of seconds.  It's a great anti-spam tool.
I setup my sendmail access file to not have a greeting pause for my internal machines (including hobbit).

GreetPause:127.0.0.1            0
GreetPause:(IP of hobbit)       0

This way there is no delay for my "friends".
Hah!  Did not know you could do that in access.  That's absolutely perfect -
thanks much!

-- tim --
list Hobbit User · Thu, 24 May 2007 15:02:10 -0400 (EDT) ·
quoted from Sladewig
On Thu, May 24, 2007 14:08, sladewig wrote:
Tim Boyer said the following, On 05/24/2007 01:03 PM:
I'm using the greet_pause feature in Sendmail 8.13 to delay giving the
smtp
banner by a couple of seconds.  It's a great anti-spam tool.
I setup my sendmail access file to not have a greeting pause for my
internal machines (including hobbit).

GreetPause:127.0.0.1            0
GreetPause:(IP of hobbit)       0
AHA!  Thanks.  I expected the "expect" behavior of waiting for the 220
string before sending the command strings.  This is a great tip.