Here's my qmail-smtpd run file:

su-2.05b# more /var/service/qmail-smtpd/run
#!/bin/sh

PATH=/bin:/usr/bin:/usr/local/bin:/usr/sbin:/var/qmail/bin; export PATH

readdefault() {
  var=$1; shift
  file=$1; shift
  if [ -s /var/qmail/control/$file ]; then
    export $var="`cat /var/qmail/control/$file`"
  else
    export $var="$*"
  fi
}

if [ -x /usr/local/bin/rblsmtpd ]
then
  readdefault domains rbldomains ""
  for domain in $domains; do
    rblopts="$rblopts -r $domain"
  done
  readdefault timeout rbltimeout 60
  if [ -n "$rblopts" ]; then
    rbl="/usr/local/bin/rblsmtpd -t $timeout $rblopts"
  fi
fi

exec envdir /etc/relay-ctrl relay-ctrl-chdir \
softlimit -a 20000000 tcpserver -s 5 -p -R -x /etc/tcp.smtp.cdb -u82 
-g81 -v -c100 0 \
smtp $rbl relay-ctrl-check qmail-smtpd 2>&1


Jarbas Celante - CTE Internet wrote:
> MDB writes:
>> SpamAssassin.  It is my understanding that it's possible to force 
>> SpamAssassin to check mail from a local machine by setting
>> QS_SPAMASSASSIN="1" for the appropriate host entry in the tcp.smtp 
>
> Hi MDB, show us you ~qmail-smtpd/run file. You are using daemontools, 
> aren't you?
> Cheers.
> Jarbas Celante
> CTE Internet - O seu provedor de acesso!
> +55 (54) 3522 9300



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to