am working with procmail invoked through sendmail. Quota's are turned on
and working. However, the bounced Email has WAY too much information to
feed back to some sender who's receiving their message back. The scenario
here is that User 1 is using Pine to Email User2. User2 is over quota.
User 1 receives back a message that looks like this:
Date: Sat, 10 Jul 2004 15:00:28 -0700
From: Mail Delivery Subsystem <MAILER-DAEMON@localhost.localdomain>
To:
user1@localhost.localdomain
Subject: Returned mail: see transcript for details
Parts/Attachments:
1 Shown 16 lines Text
2 Shown 300 bytes Message, "Delivery Status"
3 Shown 1 KB Message, "test today 2 - Checked by Vexira DEMO
ver
3.1 Shown 2 lines Text
----------------------------------------
The original message was received at Sat, 10 Jul 2004 15:00:21 -0700
from euckevmrh [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<user2@localhost.localdomain>
(reason: Can't create output)
----- Transcript of session follows -----
procmail: Unrecognised options: "b"
Usage: procmail [-vptoY] [-f fromwhom] [parameter=value | rcfile] ...
Or: procmail [-toY] [-f fromwhom] [-a argument] ... -d recipient ...
Or: procmail [-ptY] [-f fromwhom] -m [parameter=value] ... rcfile [arg]
...
Or: procmail [-toY] [-a argument] ... -z
Processing continued
procmail: Quota exceeded while writing "/var/spool/mail/user2"
550 5.0.0 <user2@localhost.localdomain>... Can't create output
[ Part 2: "Delivery Status" ]
Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; euckevmrh
Arrival-Date: Sat, 10 Jul 2004 15:00:21 -0700
Final-Recipient: RFC822;
user2@localhost.localdomain
Action: failed
Status: 5.3.0
Diagnostic-Code: X-Unix; 73
Last-Attempt-Date: Sat, 10 Jul 2004 15:00:28 -0700
[ Part 3: "Included Message" ]
Date: Sat, 10 Jul 2004 15:00:21 -0700 (PDT)
From: Eucke <user1@localhost.localdomain>
To:
user2@localhost.localdomain
Subject: test today 2 - Checked by Vexira DEMO version -
test today 2
--------------------------------------------------------------------------
Ok, all the sender really needs to see is "Recipient Mailbox overquota -
Returned" or something similar....not this overly verbose output. Suggestions on where to look. My googling
has turned up nothing as yet as I cannot seem to hit upon the right keywords
to get me close. Any suggestions will be greatly appreciated. Thanks guys!