[Pkg-exim4-users] Simple mail forwarder

Steven Wayne swayne at freeshell.org
Thu Jan 26 14:03:50 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?
> 
> Thanks for any hints
> Peter
> 

Silly me, Debian install.

Run "dpkg-reconfigure exim4-config" on your webserver and do the smarthost
configuration.

You might also want to look at /etc/exim4/update-exim4.conf.conf

You'll need:

	dc_eximconfig_configtype='smarthost'

	dc_smarthost='mailserver'


Steven.

-- 
Dying is a very dull, dreary affair.  And my advice to you is to have
nothing whatever to do with it.
		-- W. Somerset Maugham (last words)



More information about the Pkg-exim4-users mailing list