We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Exim Stops Automatically
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Exim Stops Automatically
Don't know how but exim stop automatically, i checked exim logs..
there are two type of log files:
1. main.log
2.panic.log
In main logs
Where as in panic.log i found below lines:
Please help me to rectify.
there are two type of log files:
1. main.log
2.panic.log
In main logs
SpoilerShow
2016-08-21 03:50:02 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 03:55:02 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 04:00:03 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 04:05:03 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 04:10:02 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
...........
Suggested action: use keep_environment and add_environment.
2016-08-21 03:55:02 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 04:00:03 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 04:05:03 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
2016-08-21 04:10:02 WARNING: purging the environment.
Suggested action: use keep_environment and add_environment.
...........
SpoilerShow
2016-08-23 04:17:22 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 04:56:43 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:22:05 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:30:53 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:40:35 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 04:56:43 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:22:05 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:30:53 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:40:35 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
Many Thanks for such prompt reply Sir
it gave me the result mentioned below:
it gave me the result mentioned below:
Code: Select all
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 104.237.0.183:8443 0.0.0.0:* LISTEN 2566/httpd
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 3283/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 3283/dovecot
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3091/mysqld
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN 3327/clamd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 3283/dovecot
tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN 3541/spamd.pid
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 3283/dovecot
tcp 0 0 104.237.0.183:80 0.0.0.0:* LISTEN 24582/nginx
tcp 0 0 104.237.0.183:8080 0.0.0.0:* LISTEN 2566/httpd
tcp 0 0 127.0.0.1:8081 0.0.0.0:* LISTEN 2566/httpd
tcp 0 0 0.0.0.0:8083 0.0.0.0:* LISTEN 5702/nginx
tcp 0 0 127.0.0.1:8084 0.0.0.0:* LISTEN 24582/nginx
tcp 0 0 104.237.0.183:53 0.0.0.0:* LISTEN 3178/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 3178/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 2595/vsftpd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1479/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4137/master
tcp 0 0 104.237.0.183:25 0.0.0.0:* LISTEN 4137/master
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 3178/named
tcp 0 0 :::22 :::* LISTEN 1479/sshd
tcp 0 0 ::1:25 :::* LISTEN 4137/master
tcp 0 0 ::1:953 :::* LISTEN 3178/named
udp 0 0 104.237.0.183:53 0.0.0.0:* 3178/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 3178/named
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
:) GREAT - Loved it ! (for such nice gesture and language) - mushkil se koi forum me apni language me reply karta hai na
==============================================================================================================
actually ab ek error aane lagi hai, exim failed to restart.
kya ye lines sabse niche input karu ya koi specific jagah hai...
and one more thing exim.conf is in etc/exim/exim.conf
==============================================================================================================
actually ab ek error aane lagi hai, exim failed to restart.
kya ye lines sabse niche input karu ya koi specific jagah hai...
and one more thing exim.conf is in etc/exim/exim.conf
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
First Thing:
Mera OS : CentOS 6 hai.
exim .conf mein below mentioned paste kiya hai
Exim Restart karne par : Exim restart failed aa raha hai.
2. [journalctl -x] execute karne pare command not found aa raha hai.
3. panic.log
Every command giving an error - check screenshots
# echo TEST | mail -s "Hello this is testing email" nasty-exim.com
# exim -bt localhost
# exim -bvs [email protected]
# exim -bvs [email protected]
Mera OS : CentOS 6 hai.
exim .conf mein below mentioned paste kiya hai
Code: Select all
######################################################################
# #
# Exim configuration file for Vesta Control Panel #
# #
######################################################################
SPAMASSASSIN = yes
SPAM_SCORE = 50
CLAMD = yes
domainlist local_domains = dsearch;/etc/exim/domains/
domainlist relay_to_domains = dsearch;/etc/exim/domains/
hostlist relay_from_hosts = 127.0.0.1
hostlist whitelist = net-iplsearch;/etc/exim/white-blocks.conf
hostlist spammers = net-iplsearch;/etc/exim/spam-blocks.conf
no_local_from_check
untrusted_set_sender = *
acl_smtp_connect = acl_check_spammers
acl_smtp_mail = acl_check_mail
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
acl_smtp_mime = acl_check_mime
add_environment = <; PATH=/bin:/usr/bin
keep_environment =
openssl_options = +no_sslv2 +no_sslv3
disable_ipv6 = true
domainlist local_domains = dsearch;/etc/exim/domains/
domainlist relay_to_domains = dsearch;/etc/exim/domains/
hostlist relay_from_hosts = 127.0.0.1 : 104.237.0.183
2. [journalctl -x] execute karne pare command not found aa raha hai.
Code: Select all
/$ journalctl -x
-bash: line 11: journalctl: command not found
Code: Select all
2016-08-23 04:17:22 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 04:56:43 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:22:05 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:30:53 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:40:35 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:48:38 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 06:05:20 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 09:01:15 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:01:20 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:16:10 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:16:13 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-24 00:04:33 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:05:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:10:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
Every command giving an error - check screenshots
# echo TEST | mail -s "Hello this is testing email" nasty-exim.com
# exim -bt localhost
# exim -bvs [email protected]
# exim -bvs [email protected]
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
Ok,
han maine cross check kiya two time double parameter dala tha...rectified and ab exim restart ho gaya, but after 2-3 minutes fir se close. panic.log is mentioned below:
han maine cross check kiya two time double parameter dala tha...rectified and ab exim restart ho gaya, but after 2-3 minutes fir se close. panic.log is mentioned below:
Code: Select all
2016-08-23 04:17:22 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 04:56:43 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:22:05 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:30:53 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:40:35 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:48:38 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 06:05:20 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 09:01:15 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:01:20 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:16:10 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:16:13 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-24 00:04:33 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:05:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:10:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:13:15 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:13:32 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:15:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:20:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:25:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:30:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:35:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:40:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:45:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:50:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:55:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:00:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:05:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:10:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:15:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:20:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:25:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:30:01 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:35:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:40:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:45:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:50:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:55:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 02:00:07 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
Hi,
line 28 to blank tha..still maine double line break tha to i deleted one...
panic.log - NOW
exim.conf - line 383 par panie ek comment dala tha..wo maine delete kar diya
line 28 to blank tha..still maine double line break tha to i deleted one...
panic.log - NOW
Code: Select all
2016-08-23 04:17:22 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 04:56:43 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:22:05 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:30:53 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:40:35 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 05:48:38 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 06:05:20 socket bind() to port 25 for address (any IPv6) failed: Address already in use: daemon abandoned
2016-08-23 09:01:15 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:01:20 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:16:10 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-23 09:16:13 Exim configuration error in line 383 of /etc/exim/exim.conf:
unknown rewrite flag character '<' (could be missing quotes round replacement item)
2016-08-24 00:04:33 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:05:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:10:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:13:15 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:13:32 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:15:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:20:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:25:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:30:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:35:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:40:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:45:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:50:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 00:55:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:00:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:05:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:10:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:15:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:20:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:25:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:30:01 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:35:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:40:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:45:03 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:50:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 01:55:02 Exim configuration error in line 28 of /etc/exim/exim.conf:
duplicate name "local_domains" for a named domain list
2016-08-24 02:00:07 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
2016-08-24 02:17:55 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
Code: Select all
######################################################################
# #
# Exim configuration file for Vesta Control Panel #
# #
######################################################################
SPAMASSASSIN = yes
SPAM_SCORE = 50
CLAMD = yes
domainlist local_domains = dsearch;/etc/exim/domains/
domainlist relay_to_domains = dsearch;/etc/exim/domains/
hostlist relay_from_hosts = 127.0.0.1 : 104.237.0.183
hostlist whitelist = net-iplsearch;/etc/exim/white-blocks.conf
hostlist spammers = net-iplsearch;/etc/exim/spam-blocks.conf
no_local_from_check
untrusted_set_sender = *
acl_smtp_connect = acl_check_spammers
acl_smtp_mail = acl_check_mail
acl_smtp_rcpt = acl_check_rcpt
acl_smtp_data = acl_check_data
acl_smtp_mime = acl_check_mime
add_environment = <; PATH=/bin:/usr/bin
keep_environment =
openssl_options = +no_sslv2 +no_sslv3
disable_ipv6 = true
.ifdef SPAMASSASSIN
spamd_address = 127.0.0.1 783
.endif
.ifdef CLAMD
av_scanner = clamd: /var/run/clamav/clamd.sock
.endif
tls_advertise_hosts = *
tls_certificate = /usr/local/vesta/ssl/certificate.crt
tls_privatekey = /usr/local/vesta/ssl/certificate.key
daemon_smtp_ports = 25 : 465 : 587 : 2525
tls_on_connect_ports = 465
never_users = root
host_lookup = *
rfc1413_hosts = *
rfc1413_query_timeout = 5s
ignore_bounce_errors_after = 2d
timeout_frozen_after = 7d
DKIM_DOMAIN = ${lc:${domain:$h_from:}}
DKIM_FILE = /etc/exim/domains/${lc:${domain:$h_from:}}/dkim.pem
DKIM_PRIVATE_KEY = ${if exists{DKIM_FILE}{DKIM_FILE}{0}}
######################################################################
# ACL CONFIGURATION #
# Specifies access control lists for incoming SMTP mail #
######################################################################
begin acl
acl_check_spammers:
accept hosts = +whitelist
drop message = Your host in blacklist on this server.
log_message = Host in blacklist
hosts = +spammers
accept
acl_check_mail:
deny condition = ${if eq{$sender_helo_name}{}}
message = HELO required before MAIL
drop message = Helo name contains a ip address (HELO was $sender_helo_name) and not is valid
condition = ${if match{$sender_helo_name}{\N((\d{1,3}[.-]\d{1,3}[.-]\d{1,3}[.-]\d{1,3})|([0-9a-f]{8})|([0-9A-F]{8}))\N}{yes}{no}}
condition = ${if match {${lookup dnsdb{>: defer_never,ptr=$sender_host_address}}\}{$sender_helo_name}{no}{yes}}
delay = 45s
drop condition = ${if isip{$sender_helo_name}}
message = Access denied - Invalid HELO name (See RFC2821 4.1.3)
drop condition = ${if eq{[$interface_address]}{$sender_helo_name}}
message = $interface_address is _my_ address
accept
acl_check_rcpt:
accept hosts = :
deny message = Restricted characters in address
domains = +local_domains
local_parts = ^[.] : ^.*[@%!/|]
deny message = Restricted characters in address
domains = !+local_domains
local_parts = ^[./|] : ^.*[@%!] : ^.*/\\.\\./
require verify = sender
accept hosts = +relay_from_hosts
control = submission
accept authenticated = *
control = submission/domain=
deny message = Rejected because $sender_host_address is in a black list at $dnslist_domain\n$dnslist_text
hosts = !+whitelist
dnslists = ${readfile {/etc/exim/dnsbl.conf}{:}}
require message = relay not permitted
domains = +local_domains : +relay_to_domains
deny message = smtp auth requried
sender_domains = +local_domains
!authenticated = *
require verify = recipient
.ifdef CLAMD
warn set acl_m0 = no
warn condition = ${if exists {/etc/exim/domains/$domain/antivirus}{yes}{no}}
set acl_m0 = yes
.endif
.ifdef SPAMASSASSIN
warn set acl_m1 = no
warn condition = ${if exists {/etc/exim/domains/$domain/antispam}{yes}{no}}
set acl_m1 = yes
.endif
accept
acl_check_data:
.ifdef CLAMD
deny message = Message contains a virus ($malware_name) and has been rejected
malware = *
condition = ${if eq{$acl_m0}{yes}{yes}{no}}
.endif
.ifdef SPAMASSASSIN
warn !authenticated = *
hosts = !+relay_from_hosts
condition = ${if < {$message_size}{100K}}
condition = ${if eq{$acl_m1}{yes}{yes}{no}}
spam = nobody:true/defer_ok
add_header = X-Spam-Score: $spam_score_int
add_header = X-Spam-Bar: $spam_bar
add_header = X-Spam-Report: $spam_report
set acl_m2 = $spam_score_int
warn condition = ${if !eq{$acl_m2}{} {yes}{no}}
condition = ${if >{$acl_m2}{SPAM_SCORE} {yes}{no}}
add_header = X-Spam-Status: Yes
message = SpamAssassin detected spam (from $sender_address to $recipients).
.endif
accept
acl_check_mime:
deny message = Blacklisted file extension detected
condition = ${if match {${lc:$mime_filename}}{\N(\.ade|\.adp|\.bat|\.chm|\.cmd|\.com|\.cpl|\.exe|\.hta|\.ins|\.isp|\.jse|\.lib|\.lnk|\.mde|\.msc|\.msp|\.mst|\.pif|\.scr|\.sct|\.shb|\.sys|\.vb|\.vbe|\.vbs|\.vxd|\.wsc|\.wsf|\.wsh)$\N}{1}{0}}
accept
######################################################################
# AUTHENTICATION CONFIGURATION #
######################################################################
begin authenticators
dovecot_plain:
driver = dovecot
public_name = PLAIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1
dovecot_login:
driver = dovecot
public_name = LOGIN
server_socket = /var/run/dovecot/auth-client
server_set_id = $auth1
######################################################################
# ROUTERS CONFIGURATION #
# Specifies how addresses are handled #
######################################################################
begin routers
#smarthost:
# driver = manualroute
# domains = ! +local_domains
# transport = remote_smtp
# route_list = * smartrelay.vestacp.com
# no_more
# no_verify
dnslookup:
driver = dnslookup
domains = !+local_domains
transport = remote_smtp
no_more
userforward:
driver = redirect
check_local_user
file = $home/.forward
allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
procmail:
driver = accept
check_local_user
require_files = ${local_part}:+${home}/.procmailrc:/usr/bin/procmail
transport = procmail
no_verify
autoreplay:
driver = accept
require_files = /etc/exim/domains/$domain/autoreply.${local_part}.msg
condition = ${if exists{/etc/exim/domains/$domain/autoreply.${local_part}.msg}{yes}{no}}
retry_use_local_part
transport = userautoreply
unseen
aliases:
driver = redirect
headers_add = X-redirected: yes
data = ${extract{1}{:}{${lookup{$local_part@$domain}lsearch{/etc/exim/domains/$domain/aliases}}}}
require_files = /etc/exim/domains/$domain/aliases
redirect_router = dnslookup
pipe_transport = address_pipe
unseen
localuser_fwd_only:
driver = accept
transport = devnull
condition = ${if exists{/etc/exim/domains/$domain/fwd_only}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/fwd_only}{true}{false}}}}
localuser_spam:
driver = accept
transport = local_spam_delivery
condition = ${if eq {${if match{$h_X-Spam-Status:}{\N^Yes\N}{yes}{no}}} {${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}{yes}{no_such_user}}}}
localuser:
driver = accept
transport = local_delivery
condition = ${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}{true}{false}}
catchall:
driver = redirect
headers_add = X-redirected: yes
require_files = /etc/exim/domains/$domain/aliases
data = ${extract{1}{:}{${lookup{*@$domain}lsearch{/etc/exim/domains/$domain/aliases}}}}
file_transport = local_delivery
redirect_router = dnslookup
terminate_alias:
driver = accept
transport = devnull
condition = ${lookup{$local_part@$domain}lsearch{/etc/exim/domains/$domain/aliases}{true}{false}}
######################################################################
# TRANSPORTS CONFIGURATION #
######################################################################
begin transports
remote_smtp:
driver = smtp
#helo_data = $sender_address_domain
dkim_domain = DKIM_DOMAIN
dkim_selector = mail
dkim_private_key = DKIM_PRIVATE_KEY
dkim_canon = relaxed
dkim_strict = 0
procmail:
driver = pipe
command = "/usr/bin/procmail -d $local_part"
return_path_add
delivery_date_add
envelope_to_add
user = $local_part
initgroups
return_output
local_delivery:
driver = appendfile
maildir_format
maildir_use_size_file
user = ${extract{2}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}
group = mail
create_directory
directory_mode = 770
mode = 660
use_lockfile = no
delivery_date_add
envelope_to_add
return_path_add
directory = "${extract{5}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}/mail/$domain/$local_part"
quota = ${extract{6}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}M
quota_warn_threshold = 75%
local_spam_delivery:
driver = appendfile
maildir_format
maildir_use_size_file
user = ${extract{2}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}
group = mail
create_directory
directory_mode = 770
mode = 660
use_lockfile = no
delivery_date_add
envelope_to_add
return_path_add
directory = "${extract{5}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}/mail/$domain/$local_part/.Spam"
quota = ${extract{6}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}M
quota_directory = "${extract{5}{:}{${lookup{$local_part}lsearch{/etc/exim/domains/$domain/passwd}}}}/mail/$domain/$local_part"
quota_warn_threshold = 75%
address_pipe:
driver = pipe
return_output
address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add
address_reply:
driver = autoreply
userautoreply:
driver = autoreply
file = /etc/exim/domains/$domain/autoreply.${local_part}.msg
from = "${local_part}@${domain}"
subject = "${if def:h_Subject: {Autoreply: ${quote:${escape:$h_Subject:}}} {Autoreply Message}}"
to = "${sender_address}"
devnull:
driver = appendfile
file = /dev/null
######################################################################
# RETRY CONFIGURATION #
######################################################################
begin retry
# Address or Domain Error Retries
# ----------------- ----- -------
* * F,2h,15m; G,16h,1h,1.5; F,4d,6h
######################################################################
# REWRITE CONFIGURATION #
######################################################################
begin rewrite
######################################################################
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
Nothing in panic.log
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
ok this is in panic.log
Code: Select all
2016-08-24 06:25:10 socket bind() to port 25 for address (any IPv4) failed: Address already in use: daemon abandoned
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
kya mujhe OS reinstall karna chahiye like centos7..
usse kya ye sab thik ho sakta hai..??
usse kya ye sab thik ho sakta hai..??
-
- Posts: 14
- Joined: Thu Apr 23, 2015 6:05 am
Re: Exim Stops Automatically
so what i did is reinsatll centos 7..
Now i got this in panic.log
exim starts but clamav is not starting
Now i got this in panic.log
exim starts but clamav is not starting
Code: Select all
2016-08-27 08:42:41 1bddsf-0007u4-Cb malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): No such file or directory
2016-08-27 08:55:43 1bde5H-00016F-R5 malware acl condition: clamd: unable to connect to UNIX socket (/var/run/clamav/clamd.sock): Permission denied