Viktor Dukhovni:
You've provided no information on where the performance bottleneck lies.
What are the averages of the delays=a/b/c/d log values?
Thanks to Viktor for the reminder to "proof the performance bottleneck"
Today I send 5k messages and /measure/ the times.
time for i in `seq 1 5000`; do sendmail -f $sender $recipient <
msgfile; done
real 3m34.281s
user 0m13.120s
sys 0m9.764s
first message
Apr 24 10:45:22 submitter postfix/pickup[14884]: 3wBKfp0Q7MzDYR:
uid=12345 from=<$sender>
Apr 24 10:45:23 submitter postfix/smtp[17141]: 3wBKfp0Q7MzDYR:
to=<$recipient>, relay=$MSA:25, delay=1.5, delays=0.05/0.01/0.49/1,
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 3wBKfp49pbz3h1D)
last message
Apr 24 10:48:56 submitter postfix/pickup[29155]: 3wBKkw1tlJzGNV:
uid=12345 from=<$sender>
Apr 24 10:51:43 submitter postfix/smtp[30768]: 3wBKkw1tlJzGNV:
to=<$recipient>, relay=$MSA:25, delay=167, delays=0.03/165/0.41/1.2,
dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 3wBKp60c9kzXN9)
and some minutes later:
Apr 24 10:55:03 submitter postfix/scache[17300]: statistics: start
interval Apr 24 10:45:23
Apr 24 10:55:03 submitter postfix/scache[17300]: statistics: domain
lookup hits=0 miss=4995 success=0%
the last message arrived ~4 minutes later at $recipient mailbox
-> there is no problem (for me)
lesson learned: measure, don't suspect
Andreas