From: "Roman V. Tutov" <tutov@aston.ru> To: "Community@altlinux.ru" <Community@altlinux.ru> Subject: [Comm] postfix и ограничение прав пользователей (relay) Date: Wed, 8 Dec 2004 16:33:53 +0300 Message-ID: <130451290015.20041208163353@aston.ru> (raw) Здравствуйте, . Задача .разрешить с сервера отправку на любой адрес только с одного ящика , а с других почта может ходить на любой сервер из списка ,а на остальные нет . По русски ...наши филиалы перписываться между собой могут как душе угодно , а вот если хотят писать,например , на mail.ru то будьте добры писать с определенного ящика . реализация _____________main.cf_________________________________ smtpd_recipient_restrictions = check_sender_access hash:/etc/postfix/restricted_senders, permit_sasl_authenticated, permit_auth_destination, reject smtpd_restriction_classes = local_only local_only = check_recipient_access hash:/etc/postfix/local_domains, reject _________________________end of main.cf_______ ____________________________/etc/postfix/local_domains________ mv.aston.ru OK aston.ru OK rostov.aston.ru OK _____________________end of /etc/postfix/local_domains________ ____________________/etc/postfix/restricted_senders______________ tutov@mv.aston.ru local_only _____________________end of /etc/postfix/restricted_senders______ Далее . При отправке письма с адреса tutov@mv.aston.ru на адрес tutov@aston.ru все прекрасно ,письмо уходит .а на Адрес юзер@mail.ru -не уходит .Здесь все OK ! НО пользователь не внесенный в файл /etc/postfix/restricted_senders ВООБЩЕ не может никуда писать . не в пределах своего домена ,не наружу Куда копать ? -- Тутов Роман Викторович Системный администратор ASTON Agro Industrial Company Group Россия,344002, г.Ростов-на-Дону,Промзона "Заречная" ул.1-я Луговая,3 тел.: (863 2) 999049 JID:tutov@jabber.aston.ru mailto:tutov@aston.ru
reply other threads:[~2004-12-08 13:33 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=130451290015.20041208163353@aston.ru \ --to=tutov@aston.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