View Single Post

  #2 (permalink)  
Old 01-30-2005
Christian Schmidt
 
Posts: n/a
Default Re: How do I configure Exim 3.36 for outgoing mail ?

Hello Mark,

Mark Hobley schrieb/wrote:

> Mark Hobley <markhobley@hotpop.deletethisbit.co.uk> wrote:
>
>> host_accept_relay = 127.0.0.1 : ::::1 : 10.0.0.0

>
> I've changed this line to read:
>
> host_accept_relay = 127.0.0.1 : ::::1 : 10.0.0.0/8
>
> Outgoing mail now works.
>
> The next problem that I have is that my email address on the outgoing messages
> shows as:
>
> muser@machinename.markhobley.yi.org
>
> I need this to read muserbox@hotpop.com


Just take a look at the exim "standard" configuration that comes with
Debian Linux.
This file reads the contents of the file /etc/email-addresses (pairs
of "local" username and "external" eMail address) and this rewrites
the addresses.
The correspondig lines of the exim.conf file are:

begin rewrite
*@server.domain.tld ${lookup{$1}lsearch{/etc/email-addresses}\
{$value}fail} bcfrF


For additional information take a look at the exim docs.

Regards,
Christian
--
Christian Schmidt | Germany | ChriSchmiLi@gmx.de
No HTML Mails, please!!
De eene hett 'n Rittergut, de annere ritt 'n Gitter rut.
Reply With Quote