From: "Carry Ram" <hexacon@mail.ru> To: mandrake-russian@altlinux.ru Subject: Re[3]: [mdk-re] Postfix Date: Fri Feb 8 06:27:11 2002 Message-ID: <E16Z1l1-000DsT-00@f2.mail.ru> (raw) In-Reply-To: <19578461062.20020207145149@mail.ru> >>>Подскажите, что надо сделать, в сабже, чтобы составить acccess list и >>>реджектить нежелательную почту? > >CR> main.cf >CR> ---------------------- >CR> smtpd_sender_restrictions= check_sender_access hash=/etc/postfix/access, permit > >CR> (Все одной строкой) >CR> помоему так, давно делал. Вообще у postfix хороший хелп. > >>>Как я думаю, в /etc/postfix надо составить файл access примерно такого >>>содержания: e-mail REJECT >>>И так далее. А потом засунуть все это в базу access.db. > >CR> Правильно, потом его обработать postmap (он его и засунет) > >>>Можно по-подробнее, будет ли так работать и что для этого надо с >>>постфиксом сделать? > >CR> Не надо, он и так хорошо работает. > >УРА! Все работает! >Единственное, некая ругань в maillog-ах: >Feb 7 14:50:47 server postfix/smtpd[5631]: warning: restriction check_sender_access requires maptype:mapname > >Это смертельно? Нет... А, блин, посмотрел в конфиге, там в описании параметра типа *.db файла и пути к нему разделитель ":" (maptype:mapname), а не "=". Сорри, очепятался.
prev parent reply other threads:[~2002-02-08 6:27 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-07 12:45 Andrew Nazarkin 2002-02-07 14:29 ` Carry Ram 2002-02-07 14:48 ` Re[2]: " Andrew Nazarkin 2002-02-08 1:09 ` [mdk-re] Postfix Mikhail Zabaluev 2002-02-08 10:58 ` Andrew Nazarkin 2002-02-08 14:29 ` [mdk-re] [JT] Postfix Sergei 2002-02-08 6:27 ` Carry Ram [this message]
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=E16Z1l1-000DsT-00@f2.mail.ru \ --to=hexacon@mail.ru \ --cc=mandrake-russian@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