ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] 5.7.1 relay access denied postfix
@ 2007-08-22 10:14 Антон щербаков
  2007-08-22 10:24 ` Алексей Шенцев
  2007-08-22 10:32 ` Dmitry Lebkov
  0 siblings, 2 replies; 3+ messages in thread
From: Антон щербаков @ 2007-08-22 10:14 UTC (permalink / raw)
  To: community

|тогда уж лучша покажите результат работы команды postconf -n
|
config_directory = /etc/postfix
mailbox_command = /usr/bin/procmail -m /usr/etc/procmailrc
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated , reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_path = smtpd
smtpd_sasl_type = cyrus
unknown_local_recipient_reject_code = 550

|>
|> main.cf.dist
|
|Этот файл в работе постфикса не используется -- править его бессмыссленно.

спасибо буду знать



когда догоняю main.cf до этого вида
# postconf -n
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
default_transport = smtp
home_mailbox = Maildir/
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail -m /usr/etc/procmailrc
mailbox_size_limit = 51200000
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 10240000
mydestination = $myhostname, localhost.$mydomain, localhost, $config_directory/mydestination, $mydomain
mydomain = pugr.vng.com.ru
myhostname = mail.pugr.vng.com.ru
mynetworks = 192.168.1.0/28, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
relay_domains = list.ru,                mail.ru,                yandex.ru
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_etrn_restrictions = permit_mynetworks, reject
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated , reject_unauth_destination
smtpd_sasl_auth_enable = no
smtpd_sasl_path = smtpd
smtpd_sasl_type = cyrus
unknown_local_recipient_reject_code = 550

после этого постфих не грузится
Checking postfix configuration: postfix/postfix-script: fatal: no Postfix master program /usr/lib/postfix/master!

С уважением инженер-программист ПУГР ОАО "Волгоград НефтеГеофизика"
                                      Щербаков А.В.


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

* Re: [Comm] 5.7.1 relay access denied postfix
  2007-08-22 10:14 [Comm] 5.7.1 relay access denied postfix Антон щербаков
@ 2007-08-22 10:24 ` Алексей Шенцев
  2007-08-22 10:32 ` Dmitry Lebkov
  1 sibling, 0 replies; 3+ messages in thread
From: Алексей Шенцев @ 2007-08-22 10:24 UTC (permalink / raw)
  To: Антон
	щербаков,
	ALT Linux Community

В сообщении от Wednesday 22 August 2007 14:14:09 Антон щербаков написал(а):
<skip>
> когда догоняю main.cf до этого вида
> # postconf -n
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/lib/postfix
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
замените на /usr/libexec/postfix и попробуйте выполнить 
service postfix restart

-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

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

* Re: [Comm] 5.7.1 relay access denied postfix
  2007-08-22 10:14 [Comm] 5.7.1 relay access denied postfix Антон щербаков
  2007-08-22 10:24 ` Алексей Шенцев
@ 2007-08-22 10:32 ` Dmitry Lebkov
  1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Lebkov @ 2007-08-22 10:32 UTC (permalink / raw)
  To: Антон
	щербаков,
	ALT Linux Community

Антон щербаков пишет:
> |тогда уж лучша покажите результат работы команды postconf -n
> |
> config_directory = /etc/postfix
> mailbox_command = /usr/bin/procmail -m /usr/etc/procmailrc
> smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated , reject_unauth_destination
> smtpd_sasl_auth_enable = no
> smtpd_sasl_path = smtpd
> smtpd_sasl_type = cyrus
> unknown_local_recipient_reject_code = 550
> 
> |>
> |> main.cf.dist
> |
> |Этот файл в работе постфикса не используется -- править его бессмыссленно.
> 
> спасибо буду знать
> 
> 
> 
> когда догоняю main.cf до этого вида

postconf -d|grep '_directory ='
  и сравнить результат с
postconf -n|grep '_directory ='

После чего поправить пути в main.cf и все должно работать.

-- 
WBR, Dmitry Lebkov


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-22 10:14 [Comm] 5.7.1 relay access denied postfix Антон щербаков
2007-08-22 10:24 ` Алексей Шенцев
2007-08-22 10:32 ` Dmitry Lebkov

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