Solved

message_size_limit  per domain

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Easy CSR creation in Exchange 2007,2010 and 2013
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

746 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

12 Experts available now in Live!

Get 1:1 Help Now