Solved

message_size_limit  per domain

Posted on 2011-03-15
5
935 Views
Last Modified: 2012-05-11
I have a postfix ( amavisd-new, spamassassin, clamav)mx gateway with 5 domains. The message_size_limit is 15M, but one of my clientes needs a conf of message_size_limit=5M(for example).
 I know that message_size_limit is a global configuration and i dont want to install another postfix with another configuration at the same machine. Some one told me to use www.policyd.org. Can i have some examples of configuration? Or another way to do this ?
0
Comment
Question by:marlley
  • 3
  • 2
5 Comments
 
LVL 7

Expert Comment

by:waleeda
ID: 35141554
you can create deferent send connectors for each domain, and give message limit on each connector
0
 
LVL 1

Author Comment

by:marlley
ID: 35141594
give me an example ( some code ) please.
0
 
LVL 7

Accepted Solution

by:
waleeda earned 500 total points
ID: 35141624
The way you would do this is create two SMTP Connectors and set the size limits on each one, create a Mail-Enabled group for the users who are going to have the small message size limit and put their accounts into this group.

Now what you need to do is go to the SMTP Connector with the largest message size and add the group you just created to the "Delivery Restrictions" tab.

This should do the trick for you.
0
 
LVL 1

Author Comment

by:marlley
ID: 35141663
Sorry but we are talking about postfix right , i think what you are saying  is related to exchange.
0
 
LVL 1

Author Closing Comment

by:marlley
ID: 35183270
No solution for my problem.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What is linux 4.8.22? Is it the same as ubuntu 16.10 ?? 2 56
linux 13 77
CentOS 7 Linux for HP DL380 G4 32Bits 7 49
LogmeIn using Linux Ubuntu 16.04 6 66
Resolve DNS query failed errors for Exchange
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question