From: Afanasov Dmitry <ender@comp-mir.ru> To: community@altlinux.ru Subject: [Comm] [ender@comp-mir.ru: отпределения маршрута в фильтрах postfix] Date: Sat, 1 Oct 2005 12:05:55 +0400 Message-ID: <20051001080555.GB19171@nick.comp-mir.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 2161 bytes --] мне тут isp-list матерится: host relay.altlinux.org.ua[212.40.36.150] said: 450 Client host rejected: cannot find your hostname, [194.186.184.44] (in reply to RCPT TO command) когда dig @212.40.36.150 -x 194.186.184.44 показывает, что ns.altlinux.org.ua. - их primary dns сервер - мой ip знает. так что бум захламлять тут., блин ----- Forwarded message from Afanasov Dmitry <ender@comp-mir.ru> ----- Date: Sat, 1 Oct 2005 12:00:21 +0400 From: Afanasov Dmitry <ender@comp-mir.ru> To: isp-list@altlinux.org.ua Subject: отпределения маршрута в фильтрах postfix здравствуйте меня тут такая мысля терзает - есть after queue фильтр в postfix, срабатывает по записи mydomain FILTER filter:dummy в check_recipient_access таблице. что мне надо: мне не хочется заного проверять, локальный ли это recipient, либо виртуальный. можно сделать эту штуку через 1st domain FILTER .. 2nd domain FILTER .. но таким макаром в access таблице повторится список виртуальных доменов из virtual_domains_maps и локальныйх из mydestination. когда мне просто надо получить _следующий_ транспорт для recipient'а - это virtual, local, smtp. как в таких фильтрах такое сделать? так же хотелось суметь из него определить, куда относится sender - родной или нет. далее, мне надо, чтобы spam не просто метился, как это делает spamassassin, но и складывался в _отдельный_ каталог ящика пользователя - в INBOX.Junk (оттуда они могут посмотреть, правильный ли у нас спам через imap). sendmail просто меняет recipient'а, а тут recipient один. пока есть идея для каждого пользователя создать отдельный чисто лоакальный ящик, куда с maildrop'ом в =.Junk и доставлять почту туда. но тут придётся делать дополнительные операции при добавлении пользователя (вместо одного узла в ldap создавать два), чего не хотелось бы. P.S. так, я забыл, есть же result_format в ldap_table. подумаем, можно ли сварганить что из того же аккаунта, только в другом представлении :) пока второй вопрос снимается. остаётся первый. -- С уважением, Афанасов Дмитрий ----- End forwarded message ----- -- С уважением, Афанасов Дмитрий [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2005-10-01 8:05 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-01 8:05 Afanasov Dmitry [this message] 2005-10-05 21:28 ` [Comm] @altlinux.org.ua / @lists.osdn.org.ua Michael Shigorin 2005-10-06 5:32 ` Vladimir V. Kamarzin 2005-10-06 12:29 ` Afanasov Dmitry
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=20051001080555.GB19171@nick.comp-mir.ru \ --to=ender@comp-mir.ru \ --cc=community@altlinux.ru \ /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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git