Re: [exim] Webserver relay only exim config

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Andrzej Adam Filip
Dátum:  
Címzett: exim-users
CC: Nathan Ollerenshaw
Tárgy: Re: [exim] Webserver relay only exim config
Nathan Ollerenshaw wrote:
> Does anyone have a config that is suitable for use on a webserver, where the
> webserver will accept messages only on localhost 25 and forward all mail to
> a smarthost, and it will accept mail with the sendmail -oi -t switches
> common to CGI scripts and write the Sender headers, etc, with whatever is
> set in the From: field?


You can use "no daemon" configuration:
* no daemon is listening on port *:25
* queue runs for messages that failed to be delivered "at once" are started as
cron jobs


OR
you can make exim daemon listem only on lopback interface -
set local_interfaces to one element list containing only 127.0.0.1

--
Andrzej [en:Andrew] Adam Filip anfi@??? anfi@???
Home Page http://anfi.homeunix.net/ [ PageRank 6 ]