[Pkg-exim4-users] Simple mail forwarder

Steven Wayne swayne at freeshell.org
Thu Jan 26 13:59:37 UTC 2006

On Thu, Jan 26, 2006 at 02:16:19PM +0100, Peter Velan wrote:
> Date: Thu, 26 Jan 2006 14:16:19 +0100
> From: Peter Velan <pv0001 at dynapic.net>
> To: pkg-exim4-users at lists.alioth.debian.org
> Subject: [Pkg-exim4-users] Simple mail forwarder
> Hello,
> I have two machines which are locally connected: "webserver" and
> "mailserver".
> I would like to transfer any mails which are generated on "webserver"
> (sources are apache, php, internal processes) to "mailserver", running a
> full-blown exim4 4.60. There's no need to send emails TO "webserver".
> What is the simplest way to accomplish this task?
> Do I need a MTA on "webserver" at all?
> If I need one, I would prefer an exim-based solution. Does anybody could
> direct me to a simple config for exim4?

Something involving this in exim.conf on your webserver

begin routers

	driver = manualroute
	domains = !+local_domains
	transport = remote_smtp
	route_list = mailserver

There are probably examples in the docs/wiki.

The plot was designed in a light vein that somehow became varicose.
		-- David Lardner

More information about the Pkg-exim4-users mailing list