* [Sysadmins] postfix & sasl
@ 2009-01-17 9:25 altlinux
2009-01-19 7:52 ` altlinux
2009-01-19 7:56 ` Mike Grozak
0 siblings, 2 replies; 3+ messages in thread
From: altlinux @ 2009-01-17 9:25 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Добрый день!
Подскажите как настроить так что бы можно было отправлять почту только с
локалки И только при авторизации.
вот кусочек main.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_recipient_restrictions = permit_mynetworks
permit_sasl_authenticated reject_unauth_destination
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Sysadmins] postfix & sasl
2009-01-17 9:25 [Sysadmins] postfix & sasl altlinux
@ 2009-01-19 7:52 ` altlinux
2009-01-19 7:56 ` Mike Grozak
1 sibling, 0 replies; 3+ messages in thread
From: altlinux @ 2009-01-19 7:52 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
почитав доки сделал так
smtpd_sender_restrictions = permit_mynetworks reject_unauth_destination
smtpd_recipient_restrictions = permit_sasl_authenticated
reject_unauth_destination
> Добрый день!
> Подскажите как настроить так что бы можно было отправлять почту только
> с локалки И только при авторизации.
> вот кусочек main.cf
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_authenticated_header = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_path = private/auth
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_type = dovecot
> smtpd_recipient_restrictions = permit_mynetworks
> permit_sasl_authenticated reject_unauth_destination
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Sysadmins] postfix & sasl
2009-01-17 9:25 [Sysadmins] postfix & sasl altlinux
2009-01-19 7:52 ` altlinux
@ 2009-01-19 7:56 ` Mike Grozak
1 sibling, 0 replies; 3+ messages in thread
From: Mike Grozak @ 2009-01-19 7:56 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
altlinux@aaanet.ru wrote:
> Добрый день!
> Подскажите как настроить так что бы можно было отправлять почту только
> с локалки И только при авторизации.
> вот кусочек main.cf
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_authenticated_header = yes
> smtpd_sasl_local_domain = $myhostname
> smtpd_sasl_path = private/auth
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_type = dovecot
> smtpd_recipient_restrictions = permit_mynetworks
> permit_sasl_authenticated reject_unauth_destination
параметр mynetworks установите в нужное вам значение, и судя по конфигу,
у вас всё должно заработать. Можно ещё подумать по поводу ограничений.
Читайте документацию по рестрикшенам.
---
WBR, Mike Grozak, TvSU IC
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-19 7:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-17 9:25 [Sysadmins] postfix & sasl altlinux
2009-01-19 7:52 ` altlinux
2009-01-19 7:56 ` Mike Grozak
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