LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-14-2006, 12:40 AM   #1
mickyman
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Rep: Reputation: 0
Lightbulb Procmail, Sendmail, quotas and bounced Email


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!
 
Old 02-14-2006, 06:06 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Search for sendmail configuration directive "confPRIVACY_FLAGS", option "nobodyreturn".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
sendmail, bounced messages suser Linux - Software 0 07-10-2004 06:15 AM
Sendmail - Bounced messages returned to SmartHost Postmaster not locally... Vince0000 Linux - General 0 12-02-2003 01:54 PM
Redhat 7.2 Procmail and Quotas johnpayback Linux - Newbie 0 08-07-2002 04:22 PM
quotas with sendmail problem minor Linux - General 4 08-19-2001 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration