0

I configured postfix and dovecot on Debian 6.0. I have set high limits both for my php and my postfix configuration file, but I am still unable to receive large email messages or messages with large attachment files (5 MB or greater) via the SquirrelMail client. I checked the log and all seems to be going well; is there any configuration I should look for or something I missed?

Thanks.

plr108
  • 129
  • 6
jpganz18
  • 271
  • 3
  • 11
  • 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
  • 2
    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
  • 5
    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
  • 1
    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
  • No, I am sending 5mb of attachment files, I set the limit of my php higher because I needed for upload files, my webmail client is squirrelmail, but I also read them throught gmail, I checked the logs but still... there is no message of error... all seems to be fine – jpganz18 Mar 19 '12 at 19:38

1 Answers1

0

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?

cjc
  • 24,916
  • 3
  • 51
  • 70
  • 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
  • 1
    Huh. You have free disk space in the partition, right? – cjc Mar 19 '12 at 20:10