[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: smtp command-line arguments and illegal hostnames
From rsalz@osf.org Tue Nov 3 14:55:48 1992
Date: Tue, 3 Nov 92 14:55:21 -0500
From: rsalz@osf.org
To: gamiddleton@math, zmailer@cs.toronto.edu
Subject: Re: smtp command-line arguments and illegal hostnames
> This patch to smtp.c lets one do "smtp -t host" instead of "smtp host".
> You need to change scheduler.conf as well.
Is there a reason why "smtp -- host" would not work? It's standard getopt.
Of course, Rich is right, so the only change necessary is to scheduler.conf:
*** 1.2 1992/11/03 20:03:06
--- scheduler.conf 1992/11/03 20:03:24
***************
*** 46,52 ****
interval=10m
retries="1"
skew=1
! command="smtp -sl ${LOGDIR}/smtp $host"
# Connections to the outside shouldn't duplicate effort so we only allow one
# per destination.
--- 46,52 ----
interval=10m
retries="1"
skew=1
! command="smtp -sl ${LOGDIR}/smtp -- $host"
# Connections to the outside shouldn't duplicate effort so we only allow one
# per destination.
***************
*** 53,59 ****
smtp/* maxchannel=8
maxhosts=1
gangschedule
! command="smtp -sl ${LOGDIR}/smtp $host"
# Error messages. Delivery can be retried at leisure.
error/* interval=5m
--- 53,59 ----
smtp/* maxchannel=8
maxhosts=1
gangschedule
! command="smtp -sl ${LOGDIR}/smtp -- $host"
# Error messages. Delivery can be retried at leisure.
error/* interval=5m