Solved

Increase mail size in sendmail

Posted on 2012-03-26
2
440 Views
Last Modified: 2012-06-21
Hi experts,

We use SMTP relay through sendmail to send attachments through our scanner.  If the size of the scanned page is bigger that ~1.00MB-1.5MB, that attachment either doesn’t arrive or it will arrive just like encrypted file.  I want to increase the size.  I did my research it says sendmail mail size or attachments is unlimited by default. Then it should work without even changing any setting under sendmail.mc.  our email provider is gmail, that shouldn’t be limited to 1MB too.
Anyway I added some setting to sendmail.mc as shown below (last line only), but didn’t do me any good.

define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
define(`confAUTH_OPTIONS', `A')dnl
define(`confMAX_MESSAGE_SIZE', `5000000')

any idea how to fix this
0
Comment
Question by:uknet80
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 37767422
The sendmail.mc is not a configuration file, but configuration builder source file.
try running
m4 sendmail.mc > sendmail.cf

It it will not help, I think it may be problem with the scanner rather than sendmail itself.
0
 

Author Closing Comment

by:uknet80
ID: 37770675
you are right as if i send mail using my PC I can attache file smaller that 5MB, but not with scanner.

thank you
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question