Marc Haber <mh+exim-users@???> wrote:
>On Thu, 1 Dec 2005 22:19:09 +0800, Feifei Jia
><feifei.jia@???> wrote:
>>Yeah, it works. I'd like to change the startup script of exim4
>>(/etc/init.d/exim4), but I cannot quite understand the "start_exim"
>function
>>in the script. Do you have any suggestions?
>
>That's a Debian issue, but you might want to look at
>/etc/default/exim4.
>
>Actually, I don't think that our init script is _that_
>incomprehensible. The non-Debianists on this lists might take a look
>at
>http://svn.debian.org/wsvn/pkg-exim4/exim/trunk/debian/exim4-base.init?op=file&rev=0&sc=0
>
>Greetings
>Marc
>
Hi, I modified the "SMTPLISTENEROPTIONS" in /etc/default/exim4 to "-oX
'0.0.0.0.465' -tls-on-connect" and set the "QUEUERUNNER" to
"'separate'".
But the daemon which listen on "port 465" has no pidfile (exim.pid) in
/var/run/exim4 (only one eximqr.pid), thus it could not be stopped by the
"stop_exim" function. That's weird :(
The following is my /etc/default/exim4 file:
QUEUERUNNER='separate'
# how often should we run the queue
QUEUEINTERVAL='30m'
# options common to quez-runner and listening daemon
COMMONOPTIONS=''
# more options for the daemon/process running the queue (applies to the one
# started in /etc/ppp/ip-up.d/exim4, too.
QUEUERUNNEROPTIONS=''
# special flags given to exim directly after the -q. See exim(8)
QFLAGS=''
# options for daemon listening on port 25
SMTPLISTENEROPTIONS='-oX '0.0.0.0.465' -tls-on-connect'
Thanks a lot.