ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Postfix open relay
Date: Mon, 21 Apr 2003 09:36:27 +0400
Message-ID: <3EA3835B.9090009@rmts.donpac.ru> (raw)
In-Reply-To: <3EA37847.1090400@rmts.donpac.ru>

Прокопьев Евгений пишет:
>> smtpd_recipient_restrictions =     permit_mynetworks
>>                     check_relay_domains
>> последняя строчка и закрывает relay. 
> 
> 
> Спасибо, дома проверю.

Проверил на работе. Эта строчка ни на что не влияет.

Вот лог:

Apr 21 09:27:12 john postfix/smtpd[3755]: connect from 
john.rtce.donpac.ru[192.168.10.5]
Apr 21 09:27:12 john postfix/smtpd[3755]: 5FDCF4B3: 
client=john.rtce.donpac.ru[192.168.10.5]
Apr 21 09:27:12 john postfix/cleanup[3756]: 5FDCF4B3: 
message-id=<3EA38130.4090700@rmts.donpac.ru>
Apr 21 09:27:12 john postfix/qmgr[3754]: 5FDCF4B3: 
from=<john@rmts.donpac.ru>, size=746, nrcpt=1 (queue active)
Apr 21 09:27:12 john postfix/smtpd[3755]: disconnect from 
john.rtce.donpac.ru[192.168.10.5]
Apr 21 09:27:12 john postfix/smtp[3758]: 5FDCF4B3: 
to=<john@rmts.donpac.ru>, relay=rmts.donpac.ru[195.161.172.86], delay=0, 
status=sent (250 Ok, message saved)

Вот main.cf без комменариев:

cat /etc/postfix/main.cf | grep -v '#'

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = postman
mydestination = localhost, $myhostname, localhost.$mydomain, 
$config_directory/mydestination
mynetworks = $config_directory/mynetworks
smtpd_recipient_restrictions = permit_mynetworks, check_relay_domains
default_transport = smtp
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
mailbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME
disable_vrfy_command = yes
smtpd_banner = $myhostname ESMTP $mail_name
debug_peer_level = 2
debugger_command =
allow_mail_to_commands = alias
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_helo_required = yes
notify_classes = policy,protocol,resource,software
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /etc/postfix/samples
readme_directory = /etc/postfix/README_FILES

Вот mynetworks:

cat /etc/postfix/mynetworks
127.0.0.1/32

Т.е. ситуация воспроизводится

-- 
С уважением, Прокопьев Евгений



  reply	other threads:[~2003-04-21  5:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-20 17:22 Прокопьев Евгений
2003-04-20 16:34 ` Ilya Palagin
2003-04-21  4:49   ` Прокопьев Евгений
2003-04-21  5:36     ` Прокопьев Евгений [this message]
2003-04-21  5:13       ` Aleks Silin
2003-04-21  7:06         ` Прокопьев Евгений
2003-04-21  7:57           ` Aleks Silin

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=3EA3835B.9090009@rmts.donpac.ru \
    --to=john@rmts.donpac.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