🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: postfix - odbiór poczty na dany adres @ tylko z lokalnych adresów IP

#62387
From: Lemat
Date: Thu, 06 Oct 2016 18:04
21 lines
1545 bytes
W dniu 06.10.2016 o 19:50, Krzysztof pisze:
>
> Czy jest możliwość takiej konfiguracji postfix-a aby poczta na dany
> adres e-mail lub daną skrzynkę pocztową była dostarczana tylko z
> lokalnych adresów IP ?

http://www.postfix.org/RESTRICTION_CLASS_README.html

bierzesz przykład z insiders_only i zamiast

insiders_only = check_sender_access hash:/etc/postfix/insiders, reject

dajesz

insiders_only = check_client_access hash:/etc/postfix/insiders, reject

i oczywiście w pliku interesujące Cię adresy IP.

-- 
Pozdrawiam
Lemat
Technical Details
Message-ID: <57f69225$0$657$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <nt62s8$m6v$1@news.icm.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-02.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Subject: Re: postfix - odbiór poczty na dany adres @ tylko z
 lokalnych adresów IP
Newsgroups: pl.comp.mail.mta
References: <nt62s8$m6v$1@news.icm.edu.pl>
From: Lemat <#@lemat.priv.pl>
Date: Thu, 6 Oct 2016 20:04:53 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <nt62s8$m6v$1@news.icm.edu.pl>
Lines: 21
Message-ID: <57f69225$0$657$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 79.189.200.118
X-Trace: 1475777061 unt-rea-b-01.news.neostrada.pl 657 79.189.200.118:59293
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit