MTA configuration (postfix)

default domain (example: fml.org)

set up /etc/postfix/main.cf like this:

allow_mail_to_commands = alias,forward,include

alias_maps	=	hash:/etc/mail/aliases
			hash:/var/spool/ml/etc/mail/aliases

Warning

Please check that $mydestination contains the default domain (may be $mydomain).

virtual domain (example: nuinui.net)

You need to edit both main.cf and virtual_map.

allow_mail_to_commands = alias,forward,include

alias_maps	=	hash:/etc/mail/aliases
			hash:/var/spool/ml/etc/mail/aliases
			hash:/var/spool/nuinui.net/etc/mail/aliases

virtual_maps	=	hash:/var/spool/nuinui.net/etc/postfix/virtual
/var/spool/nuinui.net/etc/postfix/virtual is updated by makefml automatically.

Warning

$mydestination should contain the default domain (may be $mydomain) but not virtual domain. Please see postfix document for more details.

When a new virtual domain is added, add the new aliases file to $alias_maps but do not edit virtual_maps.

fml 8.0 (fml-devel) project homepage is www.fml.org/software/fml-devel/.
fml 4.0 project homepage is www.fml.org/fml/menu.ja.html.
about one floppy bsd routers, see www.bsdrouter.org/.
other free softwares are found at www.fml.org/software/.

author's homepage is www.fml.org/home/fukachan/.
Also, visit nuinui's world :) at www.nuinui.net.

For questions about FML, e-mail <fml-bugs@fml.org>.