Monthly Archives: May 2020

yum install php without httpd

yum install php-cli

Installing:
php-cli x86_64 7.3.18-1.el6.remi remi-php73 4.4 M
Installing for dependencies:
libargon2 x86_64 20161029-7.el6.remi remi 21 k
php-common x86_64 7.3.18-1.el6.remi remi-php73 1.1 M
php-json x86_64 7.3.18-1.el6.remi remi-php73 65 k

Transaction Summary
Install 4 Package(s)
Total download size: 5.6 M

exim check outgoing sender domain

vi /etc/localdomains
domaina.com
domainb.com

vi /etc/exim/exim.conf
domainlist sender_domains = lsearch;/etc/localdomains

acl_check_rcpt:

accept hosts = +relay_from_hosts
sender_domains = +sender_domains
control = submission
control = dkim_disable_verify

accept hosts = +relay_from_hosts
sender_domains = +sender_domains
control = submission
control = dkim_disable_verify

require message = bad sender domain
domains = +sender_domains

tail -f /var/log/exim/main.log
2020-05-20 20:55:55 H=mail.server.com [xx.xx.xx.xx] F=<> rejected RCPT : bad sender domain
2020-05-20 20:55:55 H=mail.server.com [xx.xx.xx.xx] F=<> rejected RCPT : bad sender domaim