Solved

Increase mail size in sendmail

Posted on 2012-03-26
2
421 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Users are often faced with high disk consumption without really knowing where the largest amount of data resides. Disk Usage Analyzer (aka Baobab) is is a graphical, menu-driven application to analyse disk usage in any Gnome environment and can e…
After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now