LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian mail server (https://www.linuxquestions.org/questions/linux-newbie-8/debian-mail-server-885201/)

mamon23 06-08-2011 06:35 AM

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

EricTRA 06-09-2011 12:58 AM

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

mamon23 06-11-2011 01:28 AM

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

EricTRA 06-11-2011 05:37 AM

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


All times are GMT -5. The time now is 05:26 AM.