Re: [exim] Final Solution

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andrew - Supernews
Datum:  
To: Exim-Users (E-mail)
Betreff: Re: [exim] Final Solution
>>>>> "Ron" == Ron McKeating <R.J.Mckeating@???> writes:

Ron> The second daemon is started with the


Ron> daemon exim -bd -q15m -tls-on-connect -C /usr/local/exim/configure-AOL


Ron> command. The configure-AOL file tells it to listen on port 465 for
Ron> tls-on-connect traffic.


As others have pointed out the separate config is unnecessary.

We currently run 3 daemons (one each for ports 25, 587, 465 - there is no
benefit to us in combining port 25 and port 587 since we need to keep the
connection limits different between the two) as follows:

exim -bd -q17m
exim -bd -oX 587 -oP /var/run/exim-submit.pid
exim -bd -oX 465 -tls-on-connect -oP /var/run/exim-smtps.pid

In the config, items such as ACL checks that need to differ according to
which port is used explicitly check $interface_port, for example:

IS_SMTP_PORT = ={$interface_port}{25}

acl_smtp_connect = ${if IS_SMTP_PORT {check_connect}{accept}}
acl_smtp_helo = ${if IS_SMTP_PORT {check_helo}{accept}}
acl_smtp_mail = ${if IS_SMTP_PORT {check_mail}{accept}}
acl_smtp_rcpt = ${if IS_SMTP_PORT {check_recipient}{check_submission}}
acl_smtp_mime = check_mime_part
acl_smtp_data = check_message

--
Andrew, Supernews
http://www.supernews.com