Solved

message_size_limit  per domain

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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

831 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