Author Archives: Vitalijus Ryzakovas

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

repomd.xml: [Errno 14] HTTP Error 404 – Not Found


yum install centos-release-scl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.fra10.de.leaseweb.net
* epel: mirror.init7.net
* extras: ftp.tu-chemnitz.de
* updates: mirror1.hs-esslingen.de
http://mirror.fra10.de.leaseweb.net/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://ftp.plusline.net/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.psw.services/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centosmirror.netcup.net/centos/7.7.1908/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.

Fix:
yum clean all