[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

How to solve "Deferred: Invalid argument" problems in sendmail (bounces bouncing)

Asked by ChrisDrake in SendMail Email Server

Tags: invalid, argument

I have a constant large number of items in my sendmail queue, most of them containing "Deferred: Invalid argument" in the "q" file.

I know most of these should be deliverable, but it seems sendmail is somehow sending something stupid to the receiving server (if it's even trying that at all) or something else, because these sit here for 5 days then hit my "postmaster" address.

It seems the majority of these emails are bounces.

In other words - my mail server is having problems delivering some bounces, so they sit for 5 days and then bounce into my postmaster account.

I notice that they all have a strange line: H?P?Return-Path: <g>

In case you can't see it - there's a strange character before the "g" (in "vi" it shows up as <<81>g>). This may or may not be a problem? I've no idea where it came from.

Below is an example file (domain names have been changed to protect against spam, but otherwise it's unedited).  The RPF line is a valid email address (well, it was before I obscured it to protect against spam).  It happens to be my own address, on a different server running the same version of sendmail as the server having the problem sending it.

Any help, clues, hints, advice, or anything you can provide would be most welcome!!!


[root@my mqueue]# pwd
/var/spool/mqueue
[root@my mqueue]# grep -l "Deferred: Invalid argument" * |wc
     39      39     663

[root@my mqueue]# dir *fi9PMqwvt019196  
-rw-------    1 root     smmsp        1414 Oct 25 23:59 dfi9PMqwvt019196
-rw-------    1 root     smmsp         896 Oct 27 08:42 qfi9PMqwvt019196
[root@my mqueue]#
[root@my mqueue]# cat qfi9PMqwvt019196
V6
T1098748757
K1098866550
N33
P2970000
I104/2/9831242
MDeferred: Invalid argument
Frns
$_localhost
$r
$slocalhost
${daemon_flags}b h
${if_addr}127.0.0.1
SMAILER-DAEMON@maindomain.com
MDeferred: Invalid argument
Ccnd:500:500:cnd
rRFC822; postmaster@otherdomain.com
RPF:"cnd@recipient.net.au"
H?P?Return-Path: <g>
H??Received: from localhost (localhost)
        by otherdomain.com (8.12.10/8.12.10) id i9PMqwvt019196;
        Mon, 25 Oct 2004 23:59:17 GMT
H?D?Date: Mon, 25 Oct 2004 23:59:17 GMT
H?F?From: Mail Delivery Subsystem <MAILER-DAEMON@maindomain.com>
H?x?Full-Name: Mail Delivery Subsystem
H?M?Message-Id: <200410252359.i9PMqwvt019196@otherdomain.com>
H??To: postmaster
H??MIME-Version: 1.0
H??Content-Type: multipart/report; report-type=delivery-status;
        boundary="i9PMqwvt019196.1098748757/otherdomain.com"
H??Subject: Postmaster notify: see transcript for details
H??Auto-Submitted: auto-generated (postmaster-notification)
.
[root@my mqueue]#
[root@my mqueue]# cat dfi9PMqwvt019196
This is a MIME-encapsulated message

--i9PMqwvt019196.1098748757/otherdomain.com

The original message was received at Wed, 20 Oct 2004 23:13:02 GMT
from localhost
with id i9KMWfDp019382

   ----- The following addresses had permanent fatal errors -----
<jamas@xyzwebmail.net>

   ----- Transcript of session follows -----
<jamas@xyzwebmail.net>... Deferred: Invalid argument
Message could not be delivered for 5 days
Message will be deleted from queue

--i9PMqwvt019196.1098748757/otherdomain.com
Content-Type: message/delivery-status

Reporting-MTA: dns; otherdomain.com
Arrival-Date: Wed, 20 Oct 2004 23:13:02 GMT

Final-Recipient: RFC822; jamas@xyzwebmail.net
Action: failed
Status: 4.4.7
Remote-MTA: DNS; ns3.xyzwebmail.com
Last-Attempt-Date: Mon, 25 Oct 2004 23:59:17 GMT

--i9PMqwvt019196.1098748757/otherdomain.com
Content-Type: text/rfc822-headers

Return-Path: <MAILER-DAEMON@maindomain.com>
Received: from localhost (localhost)
        by otherdomain.com (8.12.10/8.12.10) id i9KMWfDp019382;
        Wed, 20 Oct 2004 23:13:02 GMT
Date: Wed, 20 Oct 2004 23:13:02 GMT
From: Mail Delivery Subsystem <MAILER-DAEMON@maindomain.com>
Message-Id: <200410202313.i9KMWfDp019382@otherdomain.com>
To: <jamas@xyzwebmail.net>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="i9KMWfDp019382.1098313982/otherdomain.com"
Subject: Return receipt
Auto-Submitted: auto-generated (return-receipt)

--i9PMqwvt019196.1098748757/otherdomain.com--

[root@my mqueue]#
 
Related Solutions
Keywords: How to solve "Deferred: Invalid argu…
 
Loading Advertisement...
 
[+][-]10/28/04 11:50 PM, ID: 12441830Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: SendMail Email Server
Tags: invalid, argument
Sign Up Now!
Solution Provided By: anfi
Participating Experts: 2
Solution Grade: A
 
[+][-]10/27/04 04:52 AM, ID: 12420674Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/04 06:22 AM, ID: 12421685Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/27/04 03:09 PM, ID: 12427883Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/27/04 03:13 PM, ID: 12427921Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/28/04 06:52 AM, ID: 12433714Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/28/04 01:10 PM, ID: 12438044Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/28/04 04:35 PM, ID: 12439909Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/04 04:02 AM, ID: 12503370Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/04 04:15 AM, ID: 12503464Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/04 04:24 AM, ID: 12503535Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/04 04:32 AM, ID: 12503574Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/04 04:36 AM, ID: 12503601Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/04 05:08 AM, ID: 12503837Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/04 05:29 AM, ID: 12504024Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92