[______TOC_______] [NEXT CHAPTER]
1 Caution


1.1	when you receive a mail

The address rewriting rule of qmail differs a lot from other MTA's.

Let your account be "fml" and domain is "fml.org". You can extend your
address. This is called "extension address".  You can run fml at the
address "fml-elena@fml.org" by using ~fml/.qmail-elena file.

If you want to use "elena@fml.org" not fml-elena sytle, you have to do
add a few configurations.

~/.forward of sendmail corresponds to ~/.qmail. /var/qmail/alias is
similar to /etc/aliases of sendmail. Please see manuals and
http://www.qmail.org/ for more details.


1.2	in distribution of ML articles


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. 

Let us consider inetd csse. You should modify /etc/inetd.conf to be
that "RELAYCLIENT is null string when SMTP from localhost to disable
rcpthosts in /etc/inetd.conf".


* 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


[______TOC_______] [NEXT CHAPTER]
Copyright (C) 1993-2001 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.