ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: tosh17 <tosh17@pugr.vng.com.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] авторизация smtp
Date: Tue, 25 Mar 2008 18:17:20 +0300
Message-ID: <47E91780.2060802@pugr.vng.com.ru> (raw)
In-Reply-To: <20080325102030.GD19420@ricom.ru>

Alexey Morsov пишет:
> On Tue, Mar 25, 2008 at 04:10:11PM +0300, tosh17 wrote:
>   
>> Все равно пропускает пропускает и 
>> резрешает без авторизации
>>     
>
> smtpd_helo_required = yes
> strict_rfc821_envelopes = yes
> smtpd_recipient_restrictions = permit_sasl_authenticated,
>    permit_mynetworks,
>    reject_unverified_recipient,
> ...
>
> smtpd_helo_restrictions = permit_mynetworks,
>    permit_sasl_authenticated,
> ...
>
> smtpd_sender_restrictions = permit_mynetworks,
>    permit_sasl_authenticated,
> ...
>
> smtpd_client_restrictions = permit_mynetworks,
>    permit_sasl_authenticated,
>
> ...
>
> Пробуйте. Специально сейчас проверил - если выкинуть permit_mynetworks - 
> без авторизации посылает лесом.
>   
чет не получается :(

вот конфиг
unknown_local_recipient_reject_code = 550
smtpd_recipient_restrictions =permit_sasl_authenticated ,
                              reject_unauth_destination

smtpd_sasl_auth_enable = yes
smtpd_sasl_type = cyrus
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
#smtpd_sasl_path=/etc/postfix/sasl/smtpd.conf


myhostname = mail.*ru

mydomain = *.ru
myorigin = $mydomain
inet_interfaces = all
mydestination = localhost, $myhostname, localhost.$mydomain, $mydomain

mynetworks =  127.0.0.0/8

relay_domains=

default_transport = smtp
mailbox_transport = dbmail-lmtp:localhost:24
local_recipient_maps = pgsql:/etc/postfix/dbmail-mailboxes.cf $alias_maps

smtpd_etrn_restrictions =  reject

smtpd_helo_required = yes


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/libexec/postfix
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix

message_size_limit = 204857600
mailbox_size_limit = 1073741824

smtpd_helo_required = yes
strict_rfc821_envelopes = yes
smtpd_helo_restrictions = permit_sasl_authenticated

smtpd_sender_restrictions = permit_sasl_authenticated

smtpd_client_restrictions = permit_sasl_authenticated



      reply	other threads:[~2008-03-25 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-25 11:53 tosh17
2008-03-25  8:57 ` Alexey Morsov
2008-03-25 11:59   ` tosh17
2008-03-25  9:37     ` Alexey Morsov
2008-03-25 13:10       ` tosh17
2008-03-25 10:20         ` Alexey Morsov
2008-03-25 15:17           ` tosh17 [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=47E91780.2060802@pugr.vng.com.ru \
    --to=tosh17@pugr.vng.com.ru \
    --cc=community@lists.altlinux.org \
    /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