Hi,
I receive this alert mail from my server:
exim failed @ Fri Jul 3 18:34:15 2009. A restart was attempted automagically.
Service Check Method: [check command]
Cmd Service Check Raw Output: Exim is not running
Exim may have crashed or it may not have responded to the last check it did correctly due to the server overloading.
Generally if you only get those once in awhile, if you start to get a few of them something is going on that probably needs to be looked into.
John W
www.eth0.us
If exim is unable to start on port 25, you have a mail configuration issue
or even more likely another process or firewall that is already hooked
into port 25 and blocking exim from launching on that port.
My bets are on a misconfigured firewall application based on what you said.
Hi all
exim-4.69-4 freebsd 6.2
_________________________
myhost# exiwhat
43770 daemon: -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
43773 daemon: no queue runs, listening for SMTPS on port 465 (IPv6 and IPv4)
myhost#
_________________________
myhost# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
myhost#
_________________________
Main >> Restart Services >> Mail Server (Exim)
Restarting Exim Mail Server
Waiting for exim to restart..............finished.
exim (/usr/local/sbin/exim -bd -q30m (exim-4.69-4)) running as mailnull with PID 42584
exim (/usr/local/sbin/exim -tls-on-connect -bd -oX 465 (exim-4.69-4)) running as mailnull with PID 42587
exim: [ != 220]
exim has failed, please contact the sysadmin.
_________________________
myhost# netstat -a
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 localhost.smtp localhost.59811 TIME_WAIT
tcp4 0 0 *.smtps *.* LISTEN
tcp6 0 0 *.smtps *.* LISTEN
tcp4 0 0 *.smtp *.* LISTEN
tcp6 0 0 *.smtp *.* LISTEN
tcp4 0 0 *.2087 *.* LISTEN
tcp4 0 0 *.2086 *.* LISTEN
tcp4 0 0 *.2096 *.* LISTEN
tcp4 0 0 *.2083 *.* LISTEN
tcp4 0 0 *.2095 *.* LISTEN
tcp4 0 0 *.2082 *.* LISTEN
tcp4 0 0 *.pop3s *.* LISTEN
tcp4 0 0 *.pop3 *.* LISTEN
tcp4 0 0 *.2078 *.* LISTEN
tcp4 0 0 *.2077 *.* LISTEN
tcp4 0 0 *.2084 *.* LISTEN
tcp4 0 0 *.imap *.* LISTEN
tcp4 0 0 *.6666 *.* LISTEN
tcp4 0 0 *.3306 *.* LISTEN
tcp4 0 0 *.* *.* CLOSED
tcp46 0 0 *.https *.* LISTEN
tcp46 0 0 *.8080 *.* LISTEN
tcp4 0 0 *.* *.* CLOSED
tcp46 0 0 *.http *.* LISTEN
tcp6 0 0 *.ftp *.* LISTEN
tcp4 0 0 *.ftp *.* LISTEN
tcp4 0 0 localhost.rndc *.* LISTEN
tcp4 0 0 localhost.domain *.* LISTEN
udp6 0 0 *.63882 *.*
udp4 0 0 *.63881 *.*
udp6 0 0 *.60706 *.*
udp4 0 0 *.60705 *.*
udp4 0 0 localhost.domain *.*
udp4 0 0 *.syslog *.*
udp6 0 0 *.syslog *.*
_________________________
mainlog
2009-10-07 10:36:33 Start queue run: pid=44799
2009-10-07 10:36:33 exim 4.69 daemon started: pid=44800, no queue runs, listening for SMTPS on port 465 (IPv6 and IPv4)
2009-10-07 10:36:33 End queue run: pid=44799
2009-10-07 10:40:25 1MvOK9-000BlP-Im Cannot lock /var/spool/exim/input/9/1MvOK9-000BlP-Im-D (22): Invalid argument
2009-10-07 10:40:25 1MvOK9-000BlQ-J1 Cannot lock /var/spool/exim/input/9/1MvOK9-000BlQ-J1-D (22): Invalid argument
2009-10-07 10:40:25 exim 4.69 daemon started: pid=45235, -q30m, listening for SMTP on port 25 (IPv6 and IPv4)
2009-10-07 10:40:25 Start queue run: pid=45237
2009-10-07 10:40:25 End queue run: pid=45237
2009-10-07 10:40:25 exim 4.69 daemon started: pid=45238, no queue runs, listening for SMTPS on port 465 (IPv6 and IPv4)
2009-10-07 10:44:00 1MvONc-000Bq4-RW Cannot lock /var/spool/exim/input/c/1MvONc-000Bq4-RW-D (22): Invalid argument
_________________________
paniclog:
2009-10-07 10:40:25 1MvOK9-000BlQ-J1 Cannot lock /var/spool/exim/input/9/1MvOK9-000BlQ-J1-D (22): Invalid argument
2009-10-07 10:44:00 1MvONc-000Bq4-RW Cannot lock /var/spool/exim/input/c/1MvONc-000Bq4-RW-D (22): Invalid argument
????????
please help!
I experienced this previously. Check your csf config for SMTP_ALLOWLOCAL = "0"
It should be 1 if smtp_block = "1", also be sure to open both 25,26 right below that.