Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd June 2010, 05:23
lead97 lead97 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Newbie ? with $ reward - Postfix: Limit the # of messages sent per SMTP Connections

Hello everyone - this is my first board message. I hate to ask for help but i'm new to Postfix and I'm trying to solve an issue with mail delivery. I appreciate everyone's time and if someone helps me solve this issue i'll send them a token paypal $5 payment - I know its nothing much but it is a show of my appreciation.

This should be a simple solution for a Postfix admin. I want to limit the number of messages that I send per SMTP connection because some of the larger mail providers (Yahoo) recommend that I send a MAX of 20 emails per SMTP connection ( http://help.yahoo.com/l/us/yahoo/mai...8ccwmpkWMIJHdG ) - how would I limit that in postfix?

I'm guessing its somewhere in the main.cf or master.cf files.

Thanks in advance!
Reply With Quote
Sponsored Links
  #2  
Old 22nd June 2010, 08:45
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

The only way you can do that with postfix is to use a policy daemon. a good one is http://www.policyd.org/ here is the documentation to setup the limits.

http://www.policyd.org/tiki-index.ph...=Documentation
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 23rd June 2010, 06:37
lead97 lead97 is offline
Junior Member
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I set the smtp_destination_recipient_limit to 20 and I hope that will limit the number of emails delivered per SMTP connection to 20 - if anyone has any thoughts i'm all ears!
Reply With Quote
Reply

Bookmarks

Tags
postfix

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 14:49
Attacks on MTA dclardy Installation/Configuration 4 29th September 2009 16:50
Undelivered Mail Returned to Sender Error202 General 5 7th May 2009 11:14
localhost postfix/master: fatal: bind 127.0.0.1 port 125: Permission denied g18c Installation/Configuration 4 24th March 2009 17:39
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 16:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.