ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Valery <belpak@mail.ru>
To: Community <community@altlinux.ru>
Subject: [Comm] Sendmail -> Postfix. Help me, please
Date: Tue, 22 Oct 2002 11:04:07 +0300
Message-ID: <20021022110407.77fdfa77.belpak@mail.ru> (raw)

Добрый день!
 Перешел из sendmail'a на postfix (RedHat -> ALTMaster 2.0) и не получается разобраться с приемом почты.
Ситуация такая, есть зарегистрированный домен domain.by
Postfix запущен на компе host1.domain.by подключенном в инет, на нем же запущен popa3d
Кроме этого есть пользователи локальной сети 192.168.2.0/24 и 
диалапщики 192.168.1.0/29
 
 Со всех машин наружу в инет почта отправляется нормально и принимается нормально
на отправившего почту, если только отправитель в поле е-мейл пишет полный адрес:
user@host?.domain.by
А если почта отправляется с локалки или от диалапщиков и поле адреса е-мейл заполнено:
user@domain.by
обратный ответ отправителю не доходит, почта лежит на сервере host1.domain.by
Помогите разобраться с проблемой, плз.

# /etc/postfix/main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
default_privs = postman
myhostname = host1.domain.by
mydomain = domain.by
myorigin = $mydomain
mydestination = $mydomain, $myhostname, localhost.$mydomain, $config_directory/mydestination
mynetworks_style = subnet
mynetworks = $config_directory/mynetworks
relay_domains = $mydestination
relayhost = $mydomain
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

# /etc/postfix/mydestination

host1.domain.by, host2.domain.by, domain.by

# /etc/postfix/mynetworks

127.0.0.1/32
192.168.2.0/24
192.168.1.0/29


             reply	other threads:[~2002-10-22  8:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22  8:04 Valery [this message]
2002-10-22  8:38 ` Ilya Palagin
2002-10-22 12:32   ` Valery
2002-10-22 22:20 ` Alex Savvin

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=20021022110407.77fdfa77.belpak@mail.ru \
    --to=belpak@mail.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