Server Fault Asked by vivek jain on December 23, 2021
I have total 4000 mail for an outgoing recipient and I want to send mail 2 mail every 1 minute. so I have configured postfwd.
#/etc/postfwd.cf
id=RATE01 ; action=rate($$recipient_domain/1/60/450 4.7.1 Message delivery request rate limit exceeded)
and
smtpd_recipient_restrictions =
permit_mynetworks,
check_policy_service inet:127.0.0.1:10040,
permit_sasl_authenticated,
127.0.0.1:10040_time_limit = 3600,
reject_unauth_destination
after 2 mails all the mails rejected and mailq empty. my requirment is send 2 mail and hold the mail for 1 minutes and send mail again.
Your current PostFWD rate limiting approach affects mail before it gets to queue, causing your Postfix to reject mail.
Take a look at these configuration parameters that controls behaviour of outbound connections:
default_destination_rate_delay
(default:0s
)The default amount of delay that is inserted between individual deliveries to the same destination; the resulting behavior depends on the value of the corresponding per-destination recipient limit.
default_destination_recipient_limit
(default:50
)The default maximal number of recipients per message delivery. This is the default limit for delivery via the lmtp(8), pipe(8), smtp(8) and virtual(8) delivery agents.
Answered by Esa Jokinen on December 23, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP