Solved

Limit connectio delivery to a mx server

Posted on 2004-09-18
5
300 Views
Last Modified: 2013-12-17
Hello,

several mx servers are limiting connection from one especific IP Addr. How can I configure the sendmail to delivery just "n" messages or make "n" simultaneous connection to one host in the same time?
In the Postfix I can do it using: default_destination_concurrency_limit parameter...

0
Comment
Question by:gjaber
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12096024
That can be done with confHOST_STATUS_DIRECTORY & confSINGLE_THREAD_DELIVERY, e.g.:

confHOST_STATUS_DIRECTORY
[undefined] If set, host status is kept on disk between sendmail runs in the named directory tree.  This need not be a full pathname, in which case it is interpreted relative to the queue directory.

confSINGLE_THREAD_DELIVERY
[False] If this option and the HostStatusDirectory option are both set, single thread deliveries to other hosts.  That is, don't allow any two sendmails on this host to connect simultaneously to any other single host.  This can slow down delivery in some cases, in particular since a cached but otherwise idle connection to a host will prevent other sendmails from connecting to the other host.

And the functionality could be enabled by adding the following to sendmail.mc:

define(`confHOST_STATUS_DIRECTORY', `/var/spool/host-status')dnl
define(`confSINGLE_THREAD_DELIVERY', `True')dnl

You'll need to create the host status directory:

mkdir /var/spool/host-status
chown root.mail /var/spool/host-status
chmod 0700 /var/spool/host-status

The ownership of the host status directory could be different on your system. Just make it the same as /var/spool/mqueue.
0
 

Author Comment

by:gjaber
ID: 12320406
I have resolved this problem running in the same server Sendmail to receive and Postfix to delivery :-)
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12363945
PAQed, with points refunded (125)

Computer101
E-E Admin
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

623 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