From: "Vladimir V. Kamarzin" <vvk@vvk.pp.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] local recipient table for postfix via dovecot passdb Date: Thu, 15 Nov 2007 11:55:41 +0500 Message-ID: <m3d4ucngk2.fsf@vvk.distance.ru> (raw) In-Reply-To: <473B6E14.9060604@solin.spb.ru> (Aleksey Avdeev's message of "Thu, 15 Nov 2007 00:52:20 +0300") >>>>> On 15 Nov 2007 at 02:52 "AA" == Aleksey Avdeev writes: >> В принципе можно вообще не использовать таблицы, а обойтись лишь recipient >> verification, заведя отдельный restriction_class, в котором бы осуществлялась >> проверка reject_unverified_recipient для локальных доменов. См. пример >> http://www.freesource.info/wiki/Dokumentacija/Postfix/BackupMX/recipientverification/rejectunverifiedrecipient?v=ze5& >> >> Допустим, SMTP-клиент пытается залить нам мыло для юзера user@domain. Постфикс >> генерирует конверт и пытается доставить его допустим по lmtp dovecot-у. Если >> Dovecot говорит 550 user unknown, постфикс SMTP-клиента посылает тоже с 550, а >> точнее, клиенту будет процитирован ответ dovecot-а. Соответственно, если >> Dovecot говорит 450, SMTP-клиенту отдаётся тоже 450. AA> А можно ли вклиниться в эту идиллию так, чтобы при этом (срыве AA> доставки по lmtp) сообщения о недоставке (от MAILER-DAEMON@), AA> отправителю не уходили (кроме списка доменов заданного руками)? Гмм, я вижу только один вариант "срыва доставки по lmtp", приводящий к генерации баунсов: если в кэше результат проверки конкретного реципиента положительный (status=deliverable), а MDA по какой-либо причине перестал принимать почту для данного реципиента (например исчерпана квота, юзера удалли, и т.п.), то постфикс будет слать баунсы на envelope-from до тех пор, пока не истечёт время address_verify_positive_refresh_time (default: 7d). В общем, тут важно правильно подобрать параметры кэширования. >> Подробнее см ADDRESS_VERIFICATION_README, man 8 verify. -- vvk Russian Postfix irc: irc.freenode.net #postfix-ru
next prev parent reply other threads:[~2007-11-15 6:55 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-11-12 13:28 Eugene Prokopiev 2007-11-14 8:57 ` Vladimir V. Kamarzin 2007-11-14 21:52 ` Aleksey Avdeev 2007-11-15 6:55 ` Vladimir V. Kamarzin [this message] 2007-11-15 10:07 ` Aleksey Avdeev 2007-11-15 12:07 ` Vladimir V. Kamarzin 2007-11-16 8:11 ` Aleksey Avdeev 2007-11-16 12:07 ` Vladimir V. Kamarzin 2007-11-16 14:22 ` Aleksey Avdeev 2007-11-16 9:47 ` Anton Kvashin 2007-11-16 14:21 ` Aleksey Avdeev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=m3d4ucngk2.fsf@vvk.distance.ru \ --to=vvk@vvk.pp.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git