<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: limiting attachment size in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407437#M14533</link>
    <description>This is a fairly simple process and can be accomplished by sendmail. Please note that it is a server-wide setting and cannot be configured on a per-user basis. Simply do the following:&lt;BR /&gt;&lt;BR /&gt;1. Locate your sendmail.cf&lt;BR /&gt;2. Edit your sendmail.cf and search for the following line:&lt;BR /&gt;&lt;BR /&gt;# maximum message size&lt;BR /&gt;#O MaxMessageSize=1000000&lt;BR /&gt;&lt;BR /&gt;3. Simply uncomment the line begining with #0 to look as follows:&lt;BR /&gt;&lt;BR /&gt;O MaxMessageSize=1000000&lt;BR /&gt;4. You may then set the mail size limit to whatever you want from there.&lt;BR /&gt;5. Save your sendmail.cf and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, should take less than 2 minutes to implement.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;John</description>
    <pubDate>Tue, 26 Oct 2004 10:35:25 GMT</pubDate>
    <dc:creator>John Pretti</dc:creator>
    <dc:date>2004-10-26T10:35:25Z</dc:date>
    <item>
      <title>limiting attachment size</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407434#M14530</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How do I limit the attachment size for e-mails?&lt;BR /&gt;&lt;BR /&gt;eg. user1 - can send 1MB attachments&lt;BR /&gt;    user2 - can send 200kb attachments&lt;BR /&gt;&lt;BR /&gt;I am running sendmail with the MailScanner/SpamAssassin packages.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Jano&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Oct 2004 15:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407434#M14530</guid>
      <dc:creator>Jano_1</dc:creator>
      <dc:date>2004-10-25T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: limiting attachment size</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407435#M14531</link>
      <description>A good front end mail tool is squirrelmail. I  know in the general config file you can limit attachment size for all users. But by user, not so sure.&lt;BR /&gt;&lt;BR /&gt;sendmail does not have this functionality built in native, but it probably can be done with sendmail.mc macros, but on a server basis, not user by user.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 25 Oct 2004 17:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407435#M14531</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-10-25T17:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: limiting attachment size</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407436#M14532</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;As you say I am looking for a solution to implement on the server side.&lt;BR /&gt;&lt;BR /&gt;Are there any comercial packages available?&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Jano</description>
      <pubDate>Tue, 26 Oct 2004 07:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407436#M14532</guid>
      <dc:creator>Jano_1</dc:creator>
      <dc:date>2004-10-26T07:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: limiting attachment size</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407437#M14533</link>
      <description>This is a fairly simple process and can be accomplished by sendmail. Please note that it is a server-wide setting and cannot be configured on a per-user basis. Simply do the following:&lt;BR /&gt;&lt;BR /&gt;1. Locate your sendmail.cf&lt;BR /&gt;2. Edit your sendmail.cf and search for the following line:&lt;BR /&gt;&lt;BR /&gt;# maximum message size&lt;BR /&gt;#O MaxMessageSize=1000000&lt;BR /&gt;&lt;BR /&gt;3. Simply uncomment the line begining with #0 to look as follows:&lt;BR /&gt;&lt;BR /&gt;O MaxMessageSize=1000000&lt;BR /&gt;4. You may then set the mail size limit to whatever you want from there.&lt;BR /&gt;5. Save your sendmail.cf and restart sendmail.&lt;BR /&gt;&lt;BR /&gt;Hope this helps, should take less than 2 minutes to implement.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;John</description>
      <pubDate>Tue, 26 Oct 2004 10:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407437#M14533</guid>
      <dc:creator>John Pretti</dc:creator>
      <dc:date>2004-10-26T10:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: limiting attachment size</title>
      <link>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407438#M14534</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I solved the problem by updating MailScanner, and using the "Maximum Attachment Size" field with a ruleset to specify the attachment size per user.&lt;BR /&gt;&lt;BR /&gt;(I wish I could award myself points. :) )&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;Jano</description>
      <pubDate>Wed, 27 Oct 2004 09:20:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/limiting-attachment-size/m-p/3407438#M14534</guid>
      <dc:creator>Jano_1</dc:creator>
      <dc:date>2004-10-27T09:20:14Z</dc:date>
    </item>
  </channel>
</rss>

