Results 1 to 2 of 2

Thread: restricting size on sendmail

  1. #1

    restricting size on sendmail

    I have an RH73 box and I would like to restric all incoming/outgoing mail to 25 MB. Those are the instructions I've found on the net:
    "Find records starting with M and containing P= in sendmail.cf,
    and add a M=<number of bytes> parameter.
    # Local and Program Mailer specification
    Mlocal, P=/bin/mail, F=flsSDFMmnP, M=10485760, S=10, R=20, A=mail -d $u
    Mprog, P=/bin/sh, F=lsDFMeuP, M=10485760, S=10, R=20, A=sh -c $u"

    This the way lines look in my sendmail.cf
    Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
    T=DNS/RFC822/X-Unix, A=procmail -Y -a $h -d $u
    Mprog, P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
    T=X-Unix/X-Unix/X-Unix, A=smrsh -c $u

    Should I replace my local entry "S=EnvFromL/HdrFromL" with
    S=10 ?

    What is S=EnvFromL/HdrFromL stands for?
    Thanks.

  2. #2

    Re:restricting size on sendmail

    Configging sendmail can be a real beast. Do yourself a favor and admin it with something like Webmin. It will make your life a lot easier. You should be able to set a MB limit easily with Webmin.

Similar Threads

  1. Checking size of file/folders
    By tech291083 in forum Redhat / Fedora
    Replies: 2
    Last Post: 10-20-2007, 09:14 AM
  2. Seems sendmail still relaying spam. Please take a look.
    By usa_serega in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 01-23-2006, 09:45 AM
  3. Help Required with SendMail
    By aakash_ahuja in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 04-22-2005, 09:04 PM
  4. Sendmail masqureade confusion
    By therock112 in forum Linux - General Topics
    Replies: 1
    Last Post: 04-03-2005, 07:28 PM
  5. SENDMAIL
    By drjones in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 07-31-2002, 11:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •