Solved

message_size_limit  per domain

Posted on 2011-03-15
5
927 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now