[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

linux qmail email messages appear to have an attachment limit but can't figure out where to up it

Posted on 2011-05-11
10
Medium Priority
?
553 Views
Last Modified: 2012-05-11
I am trying to figure out why I can't send a 20M file attachment from my server to an external address. I get a gmail 552 error and nothing.. I can send it internally to another address on the server. Where should I start?

Thanks for the help
0
Comment
Question by:Greg Alexander
  • 5
  • 5
10 Comments
 
LVL 38

Expert Comment

by:wesly_chen
ID: 35743081
> gmail 552 error
It sounds like gmail reject the email.

Check this URL:
http://www.google.com/support/forum/p/gmail/thread?tid=02c1b34170f11452&hl=en

Someone suggested use winrar instead of zip.
0
 
LVL 19

Author Comment

by:Greg Alexander
ID: 35743128
@wesly_che

that is actually Qmail instead of gmail... my server uses qmail
0
 
LVL 19

Author Comment

by:Greg Alexander
ID: 35743134
My bad on that
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
LVL 38

Expert Comment

by:wesly_chen
ID: 35743151
http://wiki.qmailtoaster.com/index.php/Attachment_size_limitations
--------
/var/qmail/control/databytes

The size is defined in bytes.
0
 
LVL 19

Author Comment

by:Greg Alexander
ID: 35743178
OK, I see that file, but it is blank when I vi it.. do I write something in that file?
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 35743196
Add something like

50000000

(47,68MB)
0
 
LVL 19

Author Comment

by:Greg Alexander
ID: 35743256
I made it 50000000 still bounced back and made it 0 and it bounced back with the same error message 552, any other ideas?
0
 
LVL 38

Expert Comment

by:wesly_chen
ID: 35743266
did you restart qmail to take effect?
0
 
LVL 19

Author Comment

by:Greg Alexander
ID: 35743273
Here is what Qmail says... I wonder if this means the server I am sending it to is rejecting it?

Hi. This is the qmail-send program at ip-XX-XX-XXX-XXX.ip.XXXXXXXX.net.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<XXXXXXX@XXXXXXXX.net>:
XXX.XXX.XX.XXX failed after I sent the message.
Remote host said: 552 Sorry, that message exceeds the maximum message length.
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 2000 total points
ID: 35743305
> Remote host said: 552 Sorry, that message exceeds the maximum message length.
It sounds that the receiver email server reject your email.
Could you try to send the 20MB attachment via yahoo mail or gmail to the receiver?
If it bounced back, then the issue is on receiver side.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month17 days, 22 hours left to enroll

831 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