И вывод из этого какой? Vladimir Sharun wrote: > Привет, > > local_domains - это макрос, такой же как и dovecot_domains в примере - т.е. > что-то, что "доставка", а не "редирект". > > 31 травня 2021, 09:52:50, від "Victor Sudakov" <[email protected]>: > > Привет, > > Спасибо, только есть нюанс: [email protected] это не local mailbox > в том смысле, что mydomain.example не в local_domains, а в отдельном > списке dovecot_domains: > > domainlist dovecot_domains = dsearch;/home/vmail > > # Redirect virtual users > virtual_redirect: > driver = redirect > allow_fail > allow_defer > data = ${lookup{$local_part@$domain}lsearch{/etc/dovecot/aliases}} > > # The dovecot server > dovecot: > driver = accept > domains = +dovecot_domains > transport = dovecot_lmtp > > > > Vladimir Sharun wrote: > > Привет, > > > > 5. Redirecting to a local mailbox > > A redirection item may safely be the same as the address currently under > > consideration. This does not cause a routing loop, because a router is > > automatically skipped if any ancestor of the address that is being > > processed is the same as the current address and was processed by the > > current router. Such an address is therefore passed to the following > > routers, so it is handled as if there were no redirection. When making this > > loop-avoidance test, the complete local part, including any prefix or > > suffix, is used. > > > > > > 31 травня 2021, 07:22:10, від "Victor Sudakov" <[email protected]>: > > > > Коллеги, > > > > В документации написано, что Exim has its own method of loop detection. > > Всё же хочется уточнить. В aliases есть запись > > > > [email protected] : [email protected], [email protected] > > > > И вроде она интуитивно правильно отрабатывает, идет локальному > > пользователю и одновременно форвардится: > > > > # exim -bt [email protected] > > [email protected] > > <-- [email protected] > > router = dovecot, transport = dovecot_lmtp > > [email protected] > > <-- [email protected] > > router = dnslookup, transport = remote_smtp > > host gmail-smtp-in.l.google.com [74.125.195.27] MX=5 > > host alt1.gmail-smtp-in.l.google.com [142.250.115.26] MX=10 > > host alt2.gmail-smtp-in.l.google.com [64.233.171.27] MX=20 > > host alt3.gmail-smtp-in.l.google.com [142.250.152.27] MX=30 > > host alt4.gmail-smtp-in.l.google.com [172.253.113.27] MX=40 > > # > > > > Но всё же хочется уточнить, такая рекурсивная конструкция штатная и > > всегда будет работать, или мне просто повезло на этот раз? > > > > > > -- > > Victor Sudakov VAS4-RIPE > > http://vas.tomsk.ru/ > > 2:5005/49@fidonet > > > > _______________________________________________ > > Exim-users mailing list > > [email protected] > > http://mailground.net/mailman/listinfo/exim-users > > > > > _______________________________________________ > > Exim-users mailing list > > [email protected] > > http://mailground.net/mailman/listinfo/exim-users > > > > > -- > Victor Sudakov VAS4-RIPE > http://vas.tomsk.ru/ > 2:5005/49@fidonet > > _______________________________________________ > Exim-users mailing list > [email protected] > http://mailground.net/mailman/listinfo/exim-users >
> _______________________________________________ > Exim-users mailing list > [email protected] > http://mailground.net/mailman/listinfo/exim-users > -- Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet
signature.asc
Description: PGP signature
_______________________________________________ Exim-users mailing list [email protected] http://mailground.net/mailman/listinfo/exim-users
