LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2011, 07:35 AM   #1
mamon23
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Rep: Reputation: 0
Debian mail server


How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.
 
Old 06-09-2011, 01:58 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

It's always advisable to tell us what software you're using to send your mails. Do you use Postfix, Sendmail, ...? Also try to be a bit more specific when asking a question. Are you asking how to configure the maximum size any attachment can have when sending a mail? Or do you want to apply that limit only to certain users?

Kind regards,

Eric
 
Old 06-11-2011, 02:28 AM   #3
mamon23
LQ Newbie
 
Registered: Dec 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Maximum Mail Attachment

How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.I am use postfix

Last edited by mamon23; 06-11-2011 at 02:29 AM.
 
Old 06-11-2011, 06:37 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

Check if you have a line
Code:
message_size_limit
in your main.cf file. If you don't, then add it and set the value to 5120000 (5Mb). Then restart Postfix.

That sets it for all users. You cannot set it on a per user basis (check here).

Kind regards,

Eric

Last edited by EricTRA; 06-11-2011 at 06:39 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Debian Mail server wont send or Recieve mail esigande Linux - Software 5 04-27-2010 05:09 PM
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 11:50 PM
Debian as a Mail Server? carlosinfl Debian 14 03-07-2006 02:44 PM
mail server on debian nabs Debian 6 11-26-2003 01:19 PM


All times are GMT -5. The time now is 02: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration