Joy: > Thanks for the reply but my problem is little bit different .. Here is what > i am looking for. > > 1. I am using postfix as MTA which is correctly delivering mails to local > and remote users. > 2. I am willing to limit recipient per message which i achieved using > smtpd_recipient_limit but it counts local recipient as well. > 3. Now i configured relay server with smtpd_recipient_limit feature and > used relayhost feature in main.cf to send all outgoing mails to my relay > server and deliver local mails locally without touching relay server. > 4. I configured smtpd_recipient_limit in relay server so that i can limit > outgoing recipient in every mail but this strategy is not working for me.
You are making a configuration mistake. What mistake? Unfortunately, the crystal ball does not work today. Wietse