[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [exim4] rewrite left hand of email on outgoing mail



Jonathan Dowland <jmtd@debian.org> writes:

> My sympathies, I don't think it's an obvious location (ie outside of
> /etc/exim4) and I recall feeling similar when I eventually stumbled
> over it.
>
>> On 18 Oct 2014, at 00:52, Harry Putnam <reader@newsguy.com> wrote:
>> 
>> So, I just insert things the way I want them... and restart exim4?
>
> Yes but I don't think the restart is needed.
>
>> 
>> Do I need to use both of the forms that may occur for my user?
>
> Yes.

Well that did it... thanks for your time and patience.

Now if I can just set things so that this host can accept mail from
the rest of the lan and relay it to my smarthost.

But before I create some openended monster spam hole...
Is that just a matter of inserting the networks who's mail you want to
relay?

I mean in /etc/exim4/update-exim4.conf.conf:

   dc_relay_nets='10.0.0.0/24;192.168.2.0/24'

Those are the two networks making up my home lan.

Or is there some more specific/explicit way to tell exim to relay for them?


Reply to: