Procmail, Sendmail, quotas and bounced Email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, I seem to be working through this....perhaps some day I will be helpful
to someone following the same path.  Here's the problem now:

I 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@xxxxxxxxxxxxxxxxxxxxx>
To: user1@xxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxx>
    (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@xxxxxxxxxxxxxxxxxxxxx>... 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@xxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxx>
To: user2@xxxxxxxxxxxxxxxxxxxxx
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!

-Eucke
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux