[PREVIOUS CHAPTER] [NEXT CHAPTER]
2 Set up mailing lists


Consider creating elena ML. Several types are available. It may look
functional to use "qmail-users" described just below.


2.1	qmail-users 


Let "makefml newml elena" to create elena ML.
It makes examples under $ML_DIR/etc/qmail.


* Become root and edit /var/qmail/users/assign to add

   +elena:fml:100:1000:/var/spool/ml/etc/qmail/alias:-:elena:
   .


After this edit, run /var/qmail/bin/qmail-newu. This is just an
example. User name, uid, gid, home is customizable (If your account is
used, you have not only to su).


Please see manual of qmail-users(5).


2.2	:include: cannot be used


:include: style is not used under qmail but used via qmsmac. But
qmsmac does not support program running under it. 1998/04 qmsmac
becomes obsolete and is replaced to "fastfoward" (not tested).

/var/qmscma/man/cat5/aliases.0

MAJOR COMPATIBILITY ISSUES
       sendmail's handling of quotes and backslashes violates RFC
       821  and  RFC  822,  and  is not supported by qmsmac.  The
       qmail-alias delivery mechanism lets each user manage  sev-
       eral  addresses,  so there is no need for a special syntax
       to get around forwarding.

       sendmail and smail support file and program deliveries out
       of  /etc/aliases  and  :include:  files.  qmsmac does not.
       You can use the delivery  mechanism  described  in  qmail-
       alias(8) to set up secure file and program deliveries.

2.3	~alias/.qmail-list style


Create a virtual user "alias" and make .qmail-list style in alias's
home directory.


Run "makefml newml elena". Take out examples .qmail-elena* under
/var/spool/ml/etc/qmail/alias/ to ~alias/. Change owner of ~
alias/.qmail-elena* to "alias".  The files in ~alias/ follows:

	~alias/.qmail-elena
	~alias/.qmail-elena-ctl
	~alias/.qmail-elena-admin
	~alias/.qmail-elena-request


~alias/.qmail-elena
|/usr/local/fml/fml.pl /var/spool/ml/elena

~alias/.qmail-elena-ctl
|/usr/local/fml/fml.pl /var/spool/ml/elena --ctladdr

~alias/.qmail-elena-admin:


~alias/.qmail-elena-admin:
your-email-address

~alias/.qmail-elena-request:


~alias/.qmail-elena-request:
your-email-address


It has the same format as sendmail's include files but without '"'.


If you use "makefml", you should switch user (su) to "alias".

2.4	Create "elena" user virtually.


Similar to alias, but the virtual user name is equal to the ML itself.
Change owner files under /var/spool/ml/elena to be "elena".

~elena/.qmail
|/usr/local/fml/fml.pl /var/spool/ml/elena

~elena/.qmail-ctl
|/usr/local/fml/fml.pl /var/spool/ml/elena --ctladdr

~elena/.qmail-admin:


~elena/.qmail-admin:
your-email-address

~elena/.qmail-request:


~elena/.qmail-request:
your-email-address


[PREVIOUS CHAPTER] [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.