Re: [Exim] Exim for root mail only

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Kevin W. Reed
Data:  
Para: exim-users
Assunto: Re: [Exim] Exim for root mail only
David Fisher said:
> Hi,
>
> I have 2 machines I am remotely administering for which I want exim to
> only send root mail. I do not want it to accept any mail from other
> hosts, which is always only spam and ends up getting frozen for the
> lack of a local part.
>
> The root mail is to go to my ordinary user account on the machines, from
> where it is handled by a .forward to my account on my home machine.
>
> I am looking for the config to stop exim accepting external mail but so
> far cannot find it.


If you don't want them to receive any email, just don't run exim in the
background. It can't accept mail if it is not running.

Then you can have your system setup to call exim for outbound mail and if
for some reason mail between the systems could be delayed, setup a cron
job to flush the exim buffer occasionally for mail that was delayed.

--
Kevin