×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Postfix smarthost: limit the number of message to recipient by time interval

Postfix smarthost: limit the number of message to recipient by time interval

Postfix smarthost: limit the number of message to recipient by time interval

(OP)
I am trying to configure a postfix server as a smarthost. For authorized email addresses, I have emails sent directly to the relay.
For unauthorized email addresses, I reject send it with the message "error: mail is not deliverable". But I want to allow certain email addresses
temporarily for testing. I want to send in intervals of 15 minutes at most 10 messages per recipient. Here is my configuration:

/etc/postfix/transport

authorized@authorizeddomain relay:[relay_IP]
username1@domain1 testing:[relay_IP]
username2@domain3 testing:[relay_IP]
username3@domain3 testing:[relay_IP]

* error:mail is not deliverable

/etc/postfix/master.cf

testing unix - - n - 10 smtp
-o smtp_header_checks=regexp:/etc/postfix/test_header_checks

/etc/postfix/main.cf
...
testing_destination_concurrency_failed_cohort_limit = 1
testing_destination_concurrency_limit = 10
testing_destination_rate_delay = 15m
...

So during my tests I want to send eg at most 10 messages at the same time to username1 @ domain1 in the interval of 15 min.
But I can't seem to figure out how to do it. When I send 10 simultaneous messages to username1 @ domain1, there is only one message
which is sent every 15 min.
What do I want to do is possible? If so can someone help me?
Thank you

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close