Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I configure postfix and dovecot (debian sq, and I have set high limits both on my php and at my postfix configuration file, still I dont recieve large mail or with large attachment files at my webmail , I checked the log and all seems going well... is there any configuration I should look for or something I missed?


File size = 5mb the webclient is squirrelmail

share|improve this question
Why would your php file upload limit matter with your postfix configuration? it sounds like you're testing this through a webmail interface? – thinice Mar 19 '12 at 19:27
Define "large attachments" – Bart Silverstrim Mar 19 '12 at 19:32
Why do you think the limit is on your side, and not at the webmail provider? – Zoredache Mar 19 '12 at 19:34
Repeat after me: Email is NOT a file transfer protocol. You shouldn't be sending anything large via email. Even if YOUR mail server accepts it there is a good chance the recipient's server will not. – voretaq7 Mar 19 '12 at 19:36
If you "don't receive" then you must have an error report or log of it not being received. Post it. Also, a few years back some guys invented a Protocol for Transferring Files; crazy stuff really. It even supports encryption and security stuff these days. Might want to look into it. – Chris S Mar 19 '12 at 19:36
up vote 0 down vote accepted

What paraemters did you change?

On a CentOS 6 box, the /etc/php.ini has upload_max_filesize as 2MB. Was this the parameter you changed? I believe postfix's default max size is 10MB, so there should have been no need to change that.

If it's a PHP error, the problem won't be in your maillog. It will show up in the web server logs.

In your maillog, do you see the SMTP transaction?

share|improve this answer
yea, thanks, I noticed I get an error "not enough free space in mail queue" still I dont know how to set this queue bigger... any idea please? – jpganz18 Mar 19 '12 at 19:59
Huh. You have free disk space in the partition, right? – cjc Mar 19 '12 at 20:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.