🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.mail.mta
Article #62407

Re: postfix - odbiór poczty na dany adres @ tylko z domeny .pl

#62407
From: Krzysztof Szwaba
Date: Sun, 18 Dec 2016 20:44
46 lines
2290 bytes
On 18.12.2016 20:20, Lemat wrote:

>
> popraw, przetestuj,
>

Dzięki, działa w takiej konfiguracji

smtpd_recipient_restrictions =
     check_recipient_access hash:/etc/mail/protected_destinations,
     smtpd_restriction_classes = insiders_only,
     insiders_only = check_sender_access hash:/etc/mail/insiders,
     permit_mynetworks,
     permit_sasl_authenticated,
     check_client_access hash:/etc/mail/rbl_override,
     reject_unauth_destination,
     check_sender_access hash:/etc/mail/kontrola_nadawcow,
     reject_invalid_hostname,
     reject_non_fqdn_hostname,
     reject_non_fqdn_sender,
     reject_non_fqdn_recipient,
     reject_unknown_sender_domain,
     reject_unknown_recipient_domain,
     reject_unauth_pipelining,
     reject_rbl_client zombie.dnsbl.sorbs.net,
     reject_rbl_client zen.spamhaus.org,
     reject_rbl_client cbl.abuseat.org,
     reject_rbl_client bl.spamcop.net,
     reject_rhsbl_sender dsn.rfc-ignorant.org,
     permit

smtpd_restriction_classes = insiders_only
insiders_only = check_sender_access hash:/etc/mail/insiders, reject


/etc/mail/protected_destinations

bok@isp.pl  permit_mynetworks,reject
technika@isp.pl  permit_mynetworks,reject
noc@isp.pl  insiders_only

/etc/mail/insiders
pl      	OK
gmail.com	OK

Krzysztof Szwaba
Technical Details
Message-ID: <o36sfa$mg$1@news.icm.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
References: <o36j2a$406$1@news.icm.edu.pl> <5856e116$0$647$65785112@news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!.POSTED!not-for-mail
From: Krzysztof Szwaba <s003@USUNinfolan.net.pl>
Newsgroups: pl.comp.mail.mta
Subject: Re: postfix - odbiór poczty na dany adres @ tylko z
 domeny .pl
Date: Sun, 18 Dec 2016 21:44:26 +0100
Organization: ICM, Uniwersytet Warszawski
Lines: 47
Message-ID: <o36sfa$mg$1@news.icm.edu.pl>
References: <o36j2a$406$1@news.icm.edu.pl> <5856e116$0$647$65785112@news.neostrada.pl>
Reply-To: s003@infolan.net.pl
NNTP-Posting-Host: 82-160-156-69.tktelekom.pl
Mime-Version: 1.0
X-Trace: news.icm.edu.pl 1482093866 720 82.160.156.69 (18 Dec 2016 20:44:26 GMT)
X-Complaints-To: usenet@news.icm.edu.pl
NNTP-Posting-Date: Sun, 18 Dec 2016 20:44:26 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
In-Reply-To: <5856e116$0$647$65785112@news.neostrada.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit