W dniu 31.05.2022 o 16:41, Viktor Dukhovni pisze:
On Tue, May 31, 2022 at 03:28:30PM +0200, natan wrote:

I have separate servers for outgoing and incomming e-mail like

One user who have many alias group like:

1)alias...@domain1.ltd - 500 recipients
2)alias...@domain1.ltd - 500 recipients
3)alias...@domain1.ltd - 500 recipients
4)alias...@domain1.ltd - 500 recipients

-all recipients is in domain domain1.ltd)

and user send 1 email with 4 x To:
alias...@domain.ltd
alias...@domain.ltd
alias...@domain.ltd
alias...@domain.ltd
The question to ask is how you've configured delivery to Dovecot.
With LMTP you should be able to deliver many recipients in one
go, with just a small number of processes need to complete all
the deliveries.

Please post the details of the address class for the recipient
domain, and what transports are used to perform delivery.

Full (unmunged, with line folds preserved) "postconf -nf" and
"postconf -Mf" would be very useful.



smtp       inet  n       -       -       -       1       postscreen
smtpd      pass  -       -       -       -       850     smtpd
    -o receive_override_options=no_address_mappings
dnsblog    unix  -       -       -       -       0       dnsblog
tlsproxy   unix  -       -       -       -       0       tlsproxy
pickup     unix  n       -       y       60      1       pickup
cleanup    unix  n       -       y       -       0       cleanup
qmgr       unix  n       -       n       300     1       qmgr
tlsmgr     unix  -       -       y       1000?   1       tlsmgr
rewrite    unix  -       -       y       -       - trivial-rewrite
bounce     unix  -       -       y       -       0       bounce
defer      unix  -       -       y       -       0       bounce
trace      unix  -       -       y       -       0       bounce
verify     unix  -       -       y       -       1       verify
flush      unix  n       -       y       1000?   0       flush
proxymap   unix  -       -       n       -       -       proxymap
proxywrite unix  -       -       n       -       1       proxymap
smtp       unix  -       -       y       -       -       smtp
relay      unix  -       -       y       -       -       smtp
showq      unix  n       -       y       -       -       showq
error      unix  -       -       y       -       -       error
retry      unix  -       -       y       -       -       error
discard    unix  -       -       y       -       -       discard
local      unix  -       n       n       -       -       local
virtual    unix  -       n       n       -       -       virtual
lmtp       unix  -       -       y       -       -       lmtp
anvil      unix  -       -       y       -       1       anvil
scache     unix  -       -       y       -       1       scache
maildrop   unix  -       n       n       -       -       pipe flags=DRhu
    user=vmail argv=/usr/bin/maildrop -d ${recipient}
uucp       unix  -       n       n       -       -       pipe flags=Fqhu
    user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail     unix  -       n       n       -       -       pipe flags=F user=ftn
    argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp      unix  -       n       n       -       -       pipe flags=Fq.
    user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n       n       -       2       pipe flags=R
    user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop}
    ${user} ${extension}
mailman    unix  -       n       n       -       -       pipe flags=FR
    user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop}
    ${user}

smtp-amavis unix -       -       -       -       165     smtp
    -o smtp_data_done_timeout=900s
    -o smtp_send_xforward_command=yes
    -o disable_dns_lookups=yes
    -o max_use=155
10.xxx.xxx.5:10025 inet n  -       n       -       -       smtpd
    -o content_filter=
    -o recipient_delimiter=+
    -o mynetworks_style=host
    -o mynetworks=10.xxx.xxx.0/24
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o strict_rfc821_envelopes=yes
    -o smtp_tls_security_level=none
    -o smtpd_tls_security_level=none
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_end_of_data_restrictions=
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks

xxx.xxx.xxx.199:10027 inet n -    n       -       450     smtpd
    -o smtpd_proxy_timeout=900s
    -o content_filter=
    -o mynetworks_style=host
    -o mynetworks=10.xxx.xxx.0/24
    -o local_recipient_maps=
    -o relay_recipient_maps=
    -o strict_rfc821_envelopes=yes
    -o smtp_tls_security_level=none
    -o smtpd_tls_security_level=none
    -o smtpd_restriction_classes=
    -o smtpd_delay_reject=no
    -o smtpd_client_restrictions=permit_mynetworks,reject
    -o smtpd_helo_restrictions=
    -o smtpd_sender_restrictions=
    -o smtpd_recipient_restrictions=permit_mynetworks,reject
    -o smtpd_end_of_data_restrictions=
    -o smtpd_data_restrictions=
    -o smtpd_error_sleep_time=0
    -o smtpd_soft_error_limit=1001
    -o smtpd_hard_error_limit=1000
    -o smtpd_client_connection_count_limit=0
    -o smtpd_client_connection_rate_limit=0
    -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
    -o syslog_name=postfix/filtered

main.cf
default_process_limit = 850
lmtp_destination_concurrency_limit = 100
lmtp_destination_recipient_limit = 1
virtual_transport = lmtp:inet:10.xxx.xxx.5:24


aliasgroup go to postfix ----->--external--amavis+SA--->---- return to postfix--- rolback-aliasgroup--->--lmtp

--

Reply via email to