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

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
LVL 19
Greg AlexanderLead DeveloperAsked:
Who is Participating?
 
wesly_chenConnect With a Mentor Commented:
> 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
 
wesly_chenCommented:
> 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
 
Greg AlexanderLead DeveloperAuthor Commented:
@wesly_che

that is actually Qmail instead of gmail... my server uses qmail
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Greg AlexanderLead DeveloperAuthor Commented:
My bad on that
0
 
wesly_chenCommented:
http://wiki.qmailtoaster.com/index.php/Attachment_size_limitations
--------
/var/qmail/control/databytes

The size is defined in bytes.
0
 
Greg AlexanderLead DeveloperAuthor Commented:
OK, I see that file, but it is blank when I vi it.. do I write something in that file?
0
 
wesly_chenCommented:
Add something like

50000000

(47,68MB)
0
 
Greg AlexanderLead DeveloperAuthor Commented:
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
 
wesly_chenCommented:
did you restart qmail to take effect?
0
 
Greg AlexanderLead DeveloperAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.