Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Custom returned error messages

Posted on 2005-04-14
5
Medium Priority
?
314 Views
Last Modified: 2013-12-17
I have quotas setup and I verified that they are working correctly by sending a message to a user account with an attachment that is larger then the quota. The email was bounced back with the following message.

  ----- The following addresses had permanent fatal errors -----
<test@mydomain.com>
    (reason: Can't create output)

   ----- Transcript of session follows -----
procmail: Couldn't chdir to "/home/test"
procmail: Lock failure on "./mailbox.lock"
procmail: Error while writing to "./mailbox"
procmail: Quota exceeded while writing "/var/spool/mail/tet"


Is there any way to clean up the message so that it says "Users mailbox is full."
I am also curious on how to edit other messages that sendmail could return to the sender.
0
Comment
Question by:CUTTHEMUSIC
  • 2
3 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 13787165
What VERSION of sendmail?

Also, note that the error here is really from Procmail, not sendmail.
0
 
LVL 2

Author Comment

by:CUTTHEMUSIC
ID: 13788045
version 8.13.4
I do realize that the message is from procmail.
0
 
LVL 34

Accepted Solution

by:
PsiCop earned 500 total points
ID: 13792200
Congrats on keeping current on your versions of sendmail.

The issue I see is that sendmail is not going to really "understand" that there's a problem in a way sufficient for it to generate a really meaningful error message. Best thing I could image it being able to do is generate something like "451 4.3.2 Try again later" or something like that. All sendmail really knows is that delivery to a program failed, it doesn't understand that the disk quota was an underlying cause.

At least, that's what it seems to me. Mebbe jlevie will have a different take, but I'm not sure how to get sendmail to perceive a root cause in this situation.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main intent of this article is to make you aware of ‘Exchange fail to mount’ error, its effects, causes, and solution.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question