?
Solved

Increase mail size in sendmail

Posted on 2012-03-26
2
Medium Priority
?
445 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

762 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