LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-26-2011, 07:54 AM   #1
ghpradeep
Member
 
Registered: Mar 2011
Posts: 32

Rep: Reputation: 0
attachment size configuration in qmail.


Hi, I have Installed qmail on fedora12 and its working fine. I have set attachment size 2MB should be sent by mail in php.ini file with upload_max_files=2m but i am able to send mail with more than 2mb size with pop3 configuration in outlook. when i am trying to sent mail from squirrel web mail. Mail just disappear and not showing in sent item folder(mail not going). I am not getting attachment size exceed failure mail.

Please help me how to configure qmail to restrict send mail more than 2mb and also send mail to user about attachment size exceed.
 
Old 09-27-2011, 02:22 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

You should edit the file /var/qmail/control/databytes (or create it if it doesn't exist) and use 2097152 (that is 2M in bytes)

Regards
 
Old 09-27-2011, 02:59 AM   #3
ghpradeep
Member
 
Registered: Mar 2011
Posts: 32

Original Poster
Rep: Reputation: 0
Hi, I have created databytes file to use 2mb.Message stuck as outbox in outlook folder. I am not getting failure mail like attachment exceed mail.
 
Old 09-27-2011, 04:05 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

I don't know about outlook but in thunderbind I get the error in the attached image.
BTW in squirrelmail you should get the following warning on top of the page
Quote:
Message not sent. Server replied:

Requested mail action aborted: exceeding storage allocation
552 sorry, that message size exceeds my databytes limit (#5.3.4)
Attached Thumbnails
Click image for larger version

Name:	screenshot.jpg
Views:	41
Size:	14.0 KB
ID:	8061  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Attachment File Size in Postfix shipon_97 Linux - Networking 1 08-28-2006 05:08 PM
Mail Attachment size hinetvenkat Linux - Security 3 12-26-2004 08:05 AM
qmail local attachment limit lsimon4180 Linux - Software 13 11-04-2004 02:18 PM
Attachment size in Sendmail RajaRC Linux - General 6 03-22-2004 11:05 PM
qmail attachment size? IceNineJon Linux - Software 3 08-25-2002 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration