ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] 5.7.1 relay access denied postfix
@ 2007-08-22  9:14 Антон щербаков
  2007-08-22 12:37 ` Vladimir V. Kamarzin
  0 siblings, 1 reply; 2+ messages in thread
From: Антон щербаков @ 2007-08-22  9:14 UTC (permalink / raw)
  To: sysadmins

Доброе время суток

Проблема вот в чем:
   Перехожу с Master 2.4 на server 4. Все заводится хорошо кроме почты
 и сам не могу отправить через почтовый клиент и пробывал себе письма писать с маил.ру результат один 5.7.1 relay access denied postfix

main.cf

mailbox_command = /usr/bin/procmail -m /usr/etc/procmailrc
unknown_local_recipient_reject_code = 550
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated , reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth



main.cf.dist

myhostname = x.y.z.com.ru
mydomain = y.z.com.ru
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $config_directory/mydestination, $mydomain
unknown_local_recipient_reject_code = 550
mynetworks = 192.168.1.0/28, 127.0.0.0/8
relay_domains = list.ru,
                mail.ru,
                yandex.ru
relayhost = $mydomain
default_transport = smtp
home_mailbox = Maildir/
mailbox_command = /usr/bin/procmail -m /usr/etc/procmailrc
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_helo_required = yes
message_size_limit = 10240000
mailbox_size_limit = 51200000
readme_directory = /etc/postfix/README_FILES
sample_directory = /etc/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
command_directory = /usr/sbin
manpage_directory = /usr/share/man
daemon_directory = /usr/lib/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix



master
smtp    inet    n       -       -       -       -       smtpd
pickup  fifo    n       -       -       60      1       pickup
cleanup unix    n       -       -       -       0       cleanup
qmgr    fifo    n       -       -       300     1       qmgr
tlsmgr  unix    -       -       -       1000?   1       tlsmgr
rewrite unix    -       -       -       -       -       trivial-rewrite
bounce  unix    -       -       -       -       0       bounce
defer   unix    -       -       -       -       0       bounce
trace   unix    -       -       -       -       0       bounce
verify  unix    -       -       -       -       1       verify
flush   unix    n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp    unix    -       -       -       -       -       smtp
relay   unix    -       -       -       -       -       smtp
        -o fallback_relay=
showq   unix    n       -       -       -       -       showq
error   unix    -       -       -       -       -       error
discard unix    -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp    unix    -       -       -       -       -       lmtp
anvil   unix    -       -       -       -       1       anvil
scache  unix    -       -       -       -       1       scache
filter    unix  -       n       n       -       10      pipe
        flags=Rq user=_filter argv=content-filter -f ${sender} -- ${recipient}
 



                                      Щербаков А.В.


                                      Щербаков А.В.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Sysadmins] 5.7.1 relay access denied postfix
  2007-08-22  9:14 [Sysadmins] 5.7.1 relay access denied postfix Антон щербаков
@ 2007-08-22 12:37 ` Vladimir V. Kamarzin
  0 siblings, 0 replies; 2+ messages in thread
From: Vladimir V. Kamarzin @ 2007-08-22 12:37 UTC (permalink / raw)
  To: ~~~~~ ~~~~~~~~; +Cc: ALT Linux sysadmin discuss

>>>>> On 22 Aug 2007 at 15:14 "t" == tosh17  writes:

 t> Доброе время суток Проблема вот в чем: Перехожу с Master 2.4 на server
 t> 4. Все заводится хорошо кроме почты и сам не могу отправить через почтовый
 t> клиент и пробывал себе письма писать с маил.ру результат один 5.7.1 relay
 t> access denied postfix

 t> main.cf

 t> mailbox_command = /usr/bin/procmail -m /usr/etc/procmailrc
 t> unknown_local_recipient_reject_code = 550
 t> smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated , reject_unauth_destination
 t> smtpd_sasl_auth_enable = no
 t> smtpd_sasl_type = dovecot
 t> smtpd_sasl_path = private/auth

Нужно настроить main.cf - этого ^^^ недостаточно.

 t> main.cf.dist

 t> myhostname = x.y.z.com.ru
 t> mydomain = y.z.com.ru
 t> myorigin = $mydomain

Вот это нужно написать в main.cf, а не в main.cf.dist. Этот файл вообще
трогать не надо.

 t> relay_domains = list.ru,
 t>                 mail.ru,
 t>                 yandex.ru

Похоже вы чего-то не того выкурили перед написанием этого ;)

-- 
vvk

Russian Postfix irc: irc.freenode.net #postfix-ru


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-22 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-22  9:14 [Sysadmins] 5.7.1 relay access denied postfix Антон щербаков
2007-08-22 12:37 ` Vladimir V. Kamarzin

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git