LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-04-2010, 11:21 AM   #1
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 93

Rep: Reputation: 14
Exclamation Restrict 60 mails per minute: Sendmail


Hi All

I am having many mails transferred through my Sendmail server, so I want to configure it not to allow more than 60 mails to be sent by my sendmail server per minute. Please help me to optimize my mail server's configuration.

Thanks in advance!!!

Regds
Sushant Chawla
Linux Administrator
 
Old 05-05-2010, 02:23 AM   #2
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
First, can WE get some background.

What OS, what version of sendmail?
How did you calculate 60 messages a minute is your current limit?

Stuart.
 
Old 05-05-2010, 02:56 AM   #3
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 93

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by stuart_cherrington View Post
First, can WE get some background.

What OS, what version of sendmail?
How did you calculate 60 messages a minute is your current limit?

Stuart.
My mail server version is sendmail-8.13.8-2.el5 & OS is RHEL-5.3 64 Bit.
I have not calculated the mails rather I want to put this restriction on my mail server. We are having another shared hosted mail server on lunarpages.com & that server has put up 60 mails per minute limit. The same I want to implement on my local sendmail server.

Regds
Sushant Chawla
Linux Administrator
 
Old 05-05-2010, 04:26 AM   #4
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Hi,

I couldn't see any limit ability in /etc/mail/sendmail.cf, although there are alot of other limits in the file. Can you check the lunarpages.com installation to see the sendmail.cf file and take that attribute across?

Stuart.
 
Old 05-05-2010, 05:29 AM   #5
sushantchawla2005
Member
 
Registered: Jun 2009
Location: India
Distribution: All flavours of linux
Posts: 93

Original Poster
Rep: Reputation: 14
Quote:
Originally Posted by stuart_cherrington View Post
Hi,

I couldn't see any limit ability in /etc/mail/sendmail.cf, although there are alot of other limits in the file. Can you check the lunarpages.com installation to see the sendmail.cf file and take that attribute across?

Stuart.
Stuart

Our lunarpages.com server is shared server & we only have access to GUI, so I can't see these details.

Regds
Sushant Chawla
Linux Administrator
 
Old 05-05-2010, 06:34 AM   #6
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Sushant,

I don't think you can do this with sendmail, qmail seems to have an actual facility to limit a specific numbers of emails delivered (in or out) per minute/hour/day. Sendmail has a limit on the amount of bandwidth, children, memory it can use. I guess you can just turn these down low and then push them up to reach the optimum value.

Stuart.
 
Old 05-05-2010, 06:48 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
It may not be directly possible with sendmail but you may want to look at this http://www.milter.info/sendmail/milter-limit/ for the same.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restrict users who are sending mails using alias. shan_nathan Linux - Server 1 08-04-2009 06:26 PM
To restrict a user to send mails only to 3 e-mails IDs using postfix mail server sharath41 Linux - Newbie 2 07-21-2008 07:38 PM
how to restrict a user to send mails only to 3 email IDs in postfix mail server sharath41 Linux - Server 1 07-04-2008 03:40 PM
Sendmail to restrict user kool_kid Linux - Server 4 02-17-2008 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration