UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Technical Support > Tutorials / How to?

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-11-2008, 13:21
Rsync's Avatar
System Administrator(eUKhost.com)
 
Join Date: Mar 2007
Posts: 327
Arrow Some useful commands to manage an Exim server.

Some useful commands to manage an Exim server.

The message-IDs that Exim uses to refer to messages in its queue are mixed-case alpha-numeric, and take the form of: XXXXXX-YYYYYY-ZZ. Below bold alpha-numeric letters is message-IDs [it's just for an example]
Quote:
2008-11-05 12:37:22 1KxhdN-0000VQ-Uq => supp0rt <supp0rt@eukhost.com> R=virtual_user T=virtual_userdelivery
2008-11-05 12:37:22 1KxhdN-0000VQ-Uq Completed
Most commands related to managing the queue and logging use these message-ids.

Files in /var/spool/exim/msglog contain logging information for each message and are named the same as the message-id.

Files in /var/spool/exim/input are named after the message-id, plus a suffix denoting whether it is the envelope header (-H) or message data (-D).

Here are some useful exim commands. These commands are useful, if you have an overloaded queue and need to clear it out.

Print a count of the messages in the queue
Quote:
root@supp0rt007# exim -bpc
Try to send the message with id
Quote:
root@supp0rt007# exim -M id
Count how many frozen mails in the queue
Quote:
root@supp0rt007# exim -bpr | grep frozen | wc -l
Delete frozen mails in the queue
Quote:
root@supp0rt007# exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm
To deliver all emails forcefully
Quote:
root@supp0rt007# exim -qff -v -C /etc/exim.conf &
Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals)
Quote:
root@supp0rt007# exim -bp | exiqsumm
Generate and display Exim stats from a logfile
Quote:
root@supp0rt007# eximstats /var/log/exim_mainlog
Generate and display Exim stats from a logfile, for one particular day
Quote:
root@supp0rt007# grep 2008-11-04 /var/log/exim_mainlog | eximstats
__________________
RsyNc.
VPS Support Team

VPS Hosting ||Cloud Hosting 100% UPTIME!
Follow eUKhost on Twitter || Join eUKhost Community on Facebook
MSN: johnr @ eukhost.com
SKYPE: john_rodricks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 01:27.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles