[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to route all mail to a host
> What would be a db/routes entry that would result in forwarding
> all mail (including local users) to the smtp channel?
With zmailer-2.99.41 you can do it with TWO entries:
$MAILVAR/db/routes:
. smtp!relay.host
/etc/zmailer.conf:
PUNTHOST=relay.host
The first routes everything non-local to the relay.host,
and the second one sends all local (that don't match
in aliases-file, for example) stuff to relay.host
You do need ..41 for that, the "." does not work before it.
Also the proto/cf/aliases.cf needs to be from same release.
> --
> Peter Ziobrzynski, pzi@netmediatech.com
> netMedia Technology Inc.
/Matti Aarnio <mea@nic.funet.fi>