[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Increase mail size in sendmail

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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

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…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

650 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