Checking the Email Queue

Checking the email queue via SSH will allow you to acquire valuable information. For instance, a high email queue may be the reason your server is experiencing high load.

Use this command to find the number of emails in the queue:

exim -bpc

Example:

root@fakeserver.dizinc.com(~)$ exim -bpc 58

Use this command to see the number of emails in the queue and print out their name, destination, and source:

exim -bp

Example:

root@webgo.com.au(~)$ exim -bp

7h  1.2K 1Vno3b-0003ia-Es <accubarc@webgo.com.au> eth.anl.q2.53@webgo.com.au

7h  1.2K 1Vno40-0003lZ-09 <accubarc@webgo.com.au> yul.e.vw.nd.13.5@webgo.com.au

7h  1.8K 1Vno7L-00040C-8I <stackpl@webgo.com.au> (stackpl) certificates@webgo.com.au

6h  1.2K 1Vnoo5-00009h-9b <accubarc@webgo.com.au> louisesmarting1@webgo.com.au 5h 

1.5K 1VnpaB-0005Cx-GE <mailman-bounces@webgo.com.au> Ozzie@webgo.com.au 4h 

1.9K 1Vnqgn-0003kg-F5 <stackpl@webgo.com.au> (stackpl) training@webgo.com.au

Finding email header information:

Use this command to find the headers of a particular message. Note that ID below should be replaced with the actual message ID:

exim -Mvh ID

Example:

root@webgo.com.au(~)$ exim -Mvh 1Vno7L-00040C-8I

1Vno7L-00040C-8I-H

stackpl 32194 32407

<stackpl@webgo.com.au>

1386069975 0

-ident stackpl

-received_protocol local

-body_linecount 27

-max_received_linelength 171

-auth_id stackpl

-auth_sender stackpl@dime41.dizinc.com

-allow_unqualified_recipient

-allow_unqualified_sender

-local -sender_set_untrusted

XX

1

certificates@webgo.com.au

208P Received: from stackpl by webgo.com.au with local (Exim 4.80.1)

(envelope-from <stackpl@webgo.com.au>)

id 1Vno7L-00040C-8I for certificates@webgo.com.au; Tue, 03 Dec 2013 06:26:15 -0500

018  Mime-Version: 1.0

025  Content-Type: text/plain 047 

X-Boxtrapper: v5R_7JXbwciJ_3TVyryf1_oPeKjGFXb8 048 

X-Autorespond: v5R_7JXbwciJ_3TVyryf1_oPeKjGFXb8

023  Precedence: auto_reply

025  X-Precedence: auto_reply

014* From: stackpl

039T To: certificates@webgo.com.au

083  Subject: Your email requires verification verify#TUPgMGzJgkB7aFdbZ5228-1386069975)

035F From:  <stackpl@webgocom.au>

050I Message-Id: <E1Vno7L-00040C-8I@webgo.com.au>

038  Date: Tue, 03 Dec 2013 06:26:15 -0500

Use this command to find the body of a particular message. ID below is the actual message ID:

exim -Mvb ID

Example:

root@webgo.com.au(~)$ exim -Mvb 1Vno7L-00040C-8I

1Vno7L-00040C-8I-D

The message you sent requires that you verify that you are a real live human being and not a spam source. To complete this verification, simply reply to this message and leave the subject line intact or click the link below:

https://www.webgo.com.au/cgi-sys/bxd.cgi?a=stackpl&id=TUPgMGzJgkB7aFdbZ5228-1386069975

The headers of the message sent from your address are shown below:

From Certificates@webgo.com.au

Tue Dec 03 06:26:15 2013

Received: from webgo.com.au

([64.34.206.128]:16852) by webgo.com.au with esmtp (Exim 4.80.1)

(envelope-from <Certificates@webgo.com.au>)

id 1Vno7K-0003zt-GA for sandra@webgoe.com.au; Tue, 03 Dec 2013 06:26:14 -0500 Received: by webgo.com.au id hjmvtc1o0n8s for <sandra@webgo.com.au>; Mon, 2 Dec 2013 22:20:42 -0500 (envelope-from <Certificates@webgo.com.au>)

Date: Mon, 02 Dec 2013 22:20:42 -0500

X-Sender: Certificates@webgo.com.au

To: sandra@webgo.com.au

From: Certificates for Compliance <Certificates@webgo.com.au>

Subject: Certificate

Mime-Version: 1.0

Content-Type: multipart/alternative;

boundary="=====================_1734012==_"

Was this answer helpful? 0 Users Found This Useful (1 Votes)