Hi!  Thanks for your advise!  I will try it out!  

This solution looks promising! :)

I should have read more docs on tcpserver ...


On 5 Aug 1999 [EMAIL PROTECTED] wrote:

#In order to invoke maildirsmtp, you have to know the host, the
#prefix, and the dir. The AUTOTURN file describes a method in which
#all these things are obtained from $TCPREMOTEIP.  You can do it any
#other way.
#
#For your case, I would do it this way.  In virtualdomains:
#  virt.dom:autoturn-username
#In /etc/tcp.smtp.cdb:
#  1.2.3.4:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
#  9.8.7.6:...,DIR='username',MXS='1.2.3.4 9.8.7.6'
#(These are the 2 mail servers for your dialup client)
#In the startup script:
#  tcpserver -x /etc/tcp.smtp.cdb ... \
#  sh -c 'qmail-smtpd
#  [ -z "$DIR" -o -z "$MXS" ] && exit 0
#  cd /var/qmail/autoturn
#  for mx in $MXS; do
#    setlock -nx ./$DIR/seriallock \
#      maildirsmtp ./$DIR/ autoturn-$DIR- $mx AutoTURN && exit 0
#  done
#  '
#
#-harold
#

Reply via email to