1 fml with Qmail


1.1 Overview

~/.forward of sendmail corresponds to ~/.qmail. /var/qmail/alias is
similar to /etc/aliases in sendmail case but differs a lot.
Please see manuals and http://www.qmail.org/ and so on.

1.2 Qmail Configuration

fml connnects to MTA via SMTP, so you need RELAYCLIENT configuration
of qmail as follows.  See QMAIL FAQ and the manula of "qmail-smtpd" at
the first. The point is

   1. 	set RELAYCLIENT be null string when SMTP from localhost
	to disable rcpthosts

   2.	enable rcpthosts when SMTP from outside the host


* inetd.conf example

smtp stream tcp nowait qmaild /usr/libexec/tcpd	/var/qmail/bin/tcp-env /var/qmail/bin/qmail-smtpd


* After rewrite inted.conf, send the HUP signal to inetd.
   % kill -HUP `cat /var/run/inetd.pid` 


* Set RELAYCLIENT be null when SMTP from localhost. 

tcp-env: 10.0.0.1, 127.0.0.1: setenv = RELAYCLIENT
tcp-env: ALL



[NEXT CHAPTER]
Copyright (C) 1993-1999 Ken'ichi Fukamachi
All rights of this page is reserved.

# This Document(html format) is automatically geneareted by fwix.pl. 
# fwix (Formatter of WIX Language) is fml document formatter system
# designed to generate plaintext, html, texinfo and nroff from one file.
#
# Copyright (C) 1993-1999 Ken'ichi Fukamachi
#          All rights reserved. 
#               1993-1996 fukachan@phys.titech.ac.jp
#               1996-1999 fukachan@sapporo.iij.ad.jp
# 
# FML is free software; you can redistribute it and/or modify
# it under the terms of GNU General Public License.
# See the file COPYING for more details.