1827973 Members
3062 Online
109973 Solutions
New Discussion

Re: sendmail error...

 
K.C. Chan
Trusted Contributor

sendmail error...

Does any one know what this mean?

stat=Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
Reputation of a thousand years can be determined by the conduct of an hour
9 REPLIES 9

Re: sendmail error...

what does your /var/spool look like. Is the partition full? Does it even exist?

Re: sendmail error...

Do you have a qouta system setup at all?
K.C. Chan
Trusted Contributor

Re: sendmail error...

/var/spool looks O.K, it exist and it is not full.
Reputation of a thousand years can be determined by the conduct of an hour
Ivan Ferreira
Honored Contributor

Re: sendmail error...

Have you changed some file system permissions or the sendmail runas user?

Try sending a message with the following command:

sendmail -v -d8 -d38 someone@some.net
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
K.C. Chan
Trusted Contributor

Re: sendmail error...

This was causing that error:

* ^Subject:.*msgs
{
:O B
*.drive
| formail -I "Subject: $SUBJECT $SUBJECT_TAG"
}

:0
* < 256000
* ^Subject:.*msgs
{
SUBJECT=`formail -zx Subject:`
:0 ABfhw
* !^X-Loop: abc@acme.com
* (hda|Drive)
| (formail -I "Subject: DiskError $SUBJECT" -A "X-Loop: abc@acme.com";)
{
:0Bc
* (hda|Drive)
! ha@acme.com,yo@acme.com
}

}

Any idea why, it exit with EX_TEMPFAIL and sendmail exit on code 11.

Basically it rewrites the subject line base on the content of the email and redistribute it to me and others in my group.

Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
Bejoy C Alias
Respected Contributor

Re: sendmail error...

The EX_TEMPFAIL exit code is returned by sendmail to indicate that a temporary error has occurred. Temporary errors mean that the mail message will be put in (or remain in) the queue for the present, and another delivery attempt will be made later.
What does this mean 'Basically it rewrites the subject line base on the content of the email and redistribute it to me and others in my group' can u explain ?
Be Always Joy ......
K.C. Chan
Trusted Contributor

Re: sendmail error...

Bejoy, the procmail code rewrites the subject line and forward the email to respected recipients. The error occurs because of this code. If I take it out, sendmail is happy. Any idea why? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
Bejoy C Alias
Respected Contributor

Re: sendmail error...

I dont have much idea in procmail . Where this code is added ? If there is a way to debug this script execution try doing it.
Be Always Joy ......
Bill Thorsteinson
Honored Contributor

Re: sendmail error...

Try running a file through procmail from
the command line. Check the man page and
increase the debugging level. You should
get an indication of what is failing.

Could be:
- sendmail won't take the message back.
- sendmail can't write the temporary file.
- procmail script is failing (when was it
last changed?
- quota is exceeded somewhere.