From: Sergey Vlasov <vsu@altlinux.ru> To: community@altlinux.ru Subject: Re: [Comm] Письма от Postfix Date: Tue, 17 Dec 2002 21:18:52 +0300 Message-ID: <20021217211852.780fc4d2.vsu@altlinux.ru> (raw) In-Reply-To: <200212172102.29641.dvukol@rosmail.ru> On Tue, 17 Dec 2002 21:02:29 +0300 Dima Vukolov <dvukol@rosmail.ru> wrote: > Подскажите, если кто знает, почему postfix шлёт мне иногда письма > следующего содержания: ... > In: RCPT to:<china9988@21cn.com> > Out: 554 <china9988@21cn.com>: Recipient address rejected: Relay > access denied Спамеры, @$#@$$@#$#@$@#. Ищут, через чей бы чужой сервер пропихнуть свою дрянь. Postfix их с такими запросами посылает в соответствующее место, о чем и докладывает. Если прием сообщений снаружи по SMTP на этой машине не нужен (судя по localhost.localdomain, это так и есть), надо либо отключить smtpd в postfix совсем, либо (если почтовая программа хочет использовать для отсылки писем именно SMTP, а не /usr/sbin/sendmail) разрешить его только для localhost. Первый вариант в новых сборках postfix делается удалением пакета postfix-smtpd; в более старых нужно закомментировать в /etc/postfix/master.cf строку, начинающуюся с smtp. После этого отправлять сообщения можно будет только через вызов /usr/sbin/sendmail с соответствующими параметрами - например, mutt только так и делает; Sylpheed тоже так умеет (но эту опцию надо включать в настройках). Для второго варианта (ограничить доступ к порту smtp) есть несколько способов: - Закрыть доступ средствами iptables (заодно можно вообще настроить firewall и закрыть все лишнее на всякий случай). - Изменить в /etc/postfix/main.cf параметр inet_interfaces (поставить туда только localhost). - Управлять доступом через параметр smtpd_client_restrictions (там же).
prev parent reply other threads:[~2002-12-17 18:18 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-17 18:02 Dima Vukolov 2002-12-17 18:08 ` [Comm] " Aleksandr Blokhin 2002-12-17 18:08 ` Igor Solovyov 2002-12-17 18:16 ` Dima Vukolov 2002-12-17 20:02 ` Vitaly Lipatov 2002-12-17 20:26 ` Valentin Nechayev 2002-12-17 18:14 ` [Comm] [hi!] спамеры-админы, или новые казаки-разбойники (was: Письма от Postfix) Michael Shigorin 2002-12-17 18:18 ` Sergey Vlasov [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=20021217211852.780fc4d2.vsu@altlinux.ru \ --to=vsu@altlinux.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