Smail & multihomed systems
I have a few www virtual hosts on my system, and I'm using Smail.
I would like Smail to handle the mail for the domains I setup that
point to the system.
The way I understand it, is that you should not input the domain info
in /etc/smail/config under 'hostname' as that is used only for the
main host name/names for the system. I tried it anyway and it seems to
work just find.
The correct way to do this is to create a seperate config file for each
domain, and have smail startup a new smail/config for each...?
(I read this from the doc/multihome file)
Has anyone done this ? If so, maybe you could post the smail configuration
files that allow this to work...
In /etc/smail/routers are the directives done in order ? Here is mine:
#---------
inet_addrs:
driver=gethostbyaddr, transport=smtp;
check_for_local, fail_if_error
inet_hosts:
driver=bind, transport=smtp;
defer_no_connect, -local_mx_okay, defnames,
ignore_domains=uucp:bitnet
smart_host:
driver=smarthost, transport=smtp;
path=pop.idsi.net
#-------
So if inet_addrs fails Smail tries inet_hosts then smart_host ?
I would assume that I have to put an entry for my other domains first
here, so smail would check that first.
Something like:
multihome:
driver-pathalias,
transport=multihome;
file=homes,
proto=lsearch,
optional
This is all way to confusing.....can't someone make a nice easy to use
X-windows based config screen for an easy to setup MTA ??? :)
Matthew
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: