Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

message_size_limit  per domain

Posted on 2011-03-15
5
Medium Priority
?
955 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 1000 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
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.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Suggested Courses

927 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