HowTo: Enable extended logging for exim
When troubleshooting mail or attempting to discover the source of spam
originating from your server, it is often useful to enable extended Exim
logging.
You can enable extended logging for exim though your shell prompt as well as through WHM interface. I am giving the steps for both ways one by one:
1. Through shell prompt:
1. Open exim.conf
2) Find this:
hostlist auth_relay_hosts = *
3) After hostlist auth_relay_hosts = *
add the following:
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn
4) The final result should look like this
hostlist auth_relay_hosts = *
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn
5) Save and restart exim.
DONE!
2. Through WHM interface:
1. Login to WHM
2. Go to Service Configuration >> Exim Configuration Editor
3. Click on advanced section.
4. A blank box will be present in there.
5. Add the following line there:
log_selector=+all
6. Click the save button and exim will be restarted automatically and the changes will be affected.
DONE!
To check spamming
=============
Run the following script through shell:
# grep "cwd=" /var/log/exim_mainlog|awk '{for(i=1;i<=10;i++){print $i}}'|sort|uniq -c|grep cwd|sort -n
The output will look like this:
=============
root@vps [/usr/local/apache/domlogs]# grep "cwd=" /var/log/exim_mainlog|awk '{for(i=1;i<=10;i++){print $i}}'|sort|uniq -c|grep cwd|sort -n
2 cwd=/tmp
2 cwd=/var/spool/exim/input/1
6 cwd=/home/wwwalpha
30 cwd=/root
529 cwd=/home/italian/public_html
1164 cwd=/var/spool/exim
=============
Then check domlogs for that domain.
Thank you.
You can enable extended logging for exim though your shell prompt as well as through WHM interface. I am giving the steps for both ways one by one:
1. Through shell prompt:
1. Open exim.conf
2) Find this:
hostlist auth_relay_hosts = *
3) After hostlist auth_relay_hosts = *
add the following:
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn
4) The final result should look like this
hostlist auth_relay_hosts = *
log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_sender +received_recipients +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn
5) Save and restart exim.
DONE!
2. Through WHM interface:
1. Login to WHM
2. Go to Service Configuration >> Exim Configuration Editor
3. Click on advanced section.
4. A blank box will be present in there.
5. Add the following line there:
log_selector=+all
6. Click the save button and exim will be restarted automatically and the changes will be affected.
DONE!
To check spamming
=============
Run the following script through shell:
# grep "cwd=" /var/log/exim_mainlog|awk '{for(i=1;i<=10;i++){print $i}}'|sort|uniq -c|grep cwd|sort -n
The output will look like this:
=============
root@vps [/usr/local/apache/domlogs]# grep "cwd=" /var/log/exim_mainlog|awk '{for(i=1;i<=10;i++){print $i}}'|sort|uniq -c|grep cwd|sort -n
2 cwd=/tmp
2 cwd=/var/spool/exim/input/1
6 cwd=/home/wwwalpha
30 cwd=/root
529 cwd=/home/italian/public_html
1164 cwd=/var/spool/exim
=============
Then check domlogs for that domain.
Thank you.
0caneugnoshe Robin Brown https://wakelet.com/wake/K9MKVCK3X59WJyLSI5Vew
ReplyDeletezievatycatch
WriaabXstir-ru Zach Kingery Install
ReplyDeleteAvast Cleanup
Your Uninstaller
menwhiwichpe
düzce evden eve nakliyat
ReplyDeletedenizli evden eve nakliyat
kırşehir evden eve nakliyat
çorum evden eve nakliyat
afyon evden eve nakliyat
4GOS
adıyaman evden eve nakliyat
ReplyDeletekastamonu evden eve nakliyat
kırklareli evden eve nakliyat
diyarbakır evden eve nakliyat
ankara evden eve nakliyat
LZJQ
yalova evden eve nakliyat
ReplyDeletetunceli evden eve nakliyat
giresun evden eve nakliyat
ağrı evden eve nakliyat
van evden eve nakliyat
Q76C
tekirdağ evden eve nakliyat
ReplyDeletekocaeli evden eve nakliyat
yozgat evden eve nakliyat
osmaniye evden eve nakliyat
amasya evden eve nakliyat
YZ0N
4B945
ReplyDeleteBartın Şehir İçi Nakliyat
Bayburt Lojistik
Erzurum Lojistik
Ordu Evden Eve Nakliyat
Bitranium Coin Hangi Borsada
Kilis Şehirler Arası Nakliyat
Niğde Parça Eşya Taşıma
Kars Evden Eve Nakliyat
Giresun Evden Eve Nakliyat
19438
ReplyDeleteVan Şehir İçi Nakliyat
Karaman Parça Eşya Taşıma
Kilis Parça Eşya Taşıma
Düzce Şehirler Arası Nakliyat
Kırşehir Evden Eve Nakliyat
Bilecik Parça Eşya Taşıma
Antalya Şehir İçi Nakliyat
Çerkezköy Cam Balkon
buy primobolan
474A1
ReplyDeleteEtlik Parke Ustası
Mardin Lojistik
Muş Evden Eve Nakliyat
Altındağ Parke Ustası
Adana Şehirler Arası Nakliyat
Çerkezköy Koltuk Kaplama
Aksaray Lojistik
Diyarbakır Lojistik
Kırıkkale Şehirler Arası Nakliyat
1036F
ReplyDeleteAydın Şehirler Arası Nakliyat
Nevşehir Parça Eşya Taşıma
Isparta Parça Eşya Taşıma
Ordu Lojistik
Şırnak Parça Eşya Taşıma
Kırıkkale Evden Eve Nakliyat
Antep Lojistik
Amasya Lojistik
Kütahya Evden Eve Nakliyat
BB05F
ReplyDeleteÜnye Parke Ustası
Artvin Parça Eşya Taşıma
Batman Şehir İçi Nakliyat
Uşak Parça Eşya Taşıma
Edirne Evden Eve Nakliyat
Ankara Fayans Ustası
Konya Parça Eşya Taşıma
Düzce Şehir İçi Nakliyat
Çerkezköy Çamaşır Makinesi Tamircisi
D2534
ReplyDeleteKayseri Şehirler Arası Nakliyat
Düzce Evden Eve Nakliyat
Referans Kimliği Nedir
Muş Şehir İçi Nakliyat
Clysterum Coin Hangi Borsada
Ünye Televizyon Tamircisi
Hatay Lojistik
Kastamonu Şehirler Arası Nakliyat
Bursa Parça Eşya Taşıma
F73CA
ReplyDeleteAydın Lojistik
Tunceli Evden Eve Nakliyat
Silivri Cam Balkon
Elazığ Şehir İçi Nakliyat
Ordu Evden Eve Nakliyat
Etlik Fayans Ustası
Malatya Şehirler Arası Nakliyat
Burdur Parça Eşya Taşıma
Kocaeli Şehir İçi Nakliyat
HJMJKHUKUJK,M
ReplyDeleteشركة تسليك مجاري بالقطيف