🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #231333

Re: socket_connect(): unable to connect [111]: Connection refused

#231333
From: Lemat
Date: Tue, 24 May 2016 15:35
24 lines
2611 bytes
W dniu 24.05.2016 o 15:31, jivanmukta@poczta.onet.pl pisze:

> smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination permit
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128


Wybecz nie śledzę wątku od początku - ostatnio mam na głowie inne sprawy.

Moim zdaniem wystarczy abyś dopisał adres IP klienta (serwera www) do 
parametru mynetworks.
Wtedy serwer pocztowy wpuści cię bez logowania.
Jeżeli jednak chcesz zrobić kod, który się będzie logował to serwer 
poczty potrzebuje wiedzieć skąd ma brać loginy i hasła - a raczej z czym 
postfix ma się komunikować w tej sprawie. Do wyboru masz dovecota albo 
cyrrus-sasl.

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

Ja bym polecał Dovecota czyli powyższy dokument od akapitu
http://www.postfix.org/SASL_README.html#server_dovecot

-- 
Pozdrawiam
Lemat
Technical Details
Message-ID: <57447444$0$654$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!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: <f5d07c84-a3ba-49f1-87ad-ada24bd924f5@googlegroups.com> <57057d1f$0$678$65785112@news.neostrada.pl> <943666e5-91b8-4cff-aa19-ee7034e20dab@googlegroups.com> <7ai5y3n2xljm.7y0w4gvtu5t3$.dlg@40tude.net> <a05466c6-a5b2-4556-b2ae-f5dae914618e@googlegroups.com> <r32htdfnq983$.11pztiqf0exyp.dlg@40tude.net> <b0921e5d-145a-4b63-aca8-07d16762237c@googlegroups.com> <1bdyzhjxr6bpk$.c818fbntfuq2.dlg@40tude.net> <662b778b-dfe2-4aea-8a2c-ce1ff031b8c2@googlegroups.com> <tz2y9ii7o8ii.2258yefkv9hw$.dlg@40tude.net> <643a99d1-fecd-478b-91f3-21bd3d17c36c@googlegroups.com> <3uwzf1631vpi.2nf4gmgc4dqh.dlg@40tude.net> <d8d829a6-32df-4ff0-a09a-d0f60445e115@googlegroups.com> <573dd8c2$0$651$65785112@news.neostrada.pl> <ac663f66-bf25-4446-8a8f-7d0eebf531c8@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!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: socket_connect(): unable to connect [111]: Connection refused
Newsgroups: pl.comp.lang.php
References: <f5d07c84-a3ba-49f1-87ad-ada24bd924f5@googlegroups.com> <57057d1f$0$678$65785112@news.neostrada.pl> <943666e5-91b8-4cff-aa19-ee7034e20dab@googlegroups.com> <7ai5y3n2xljm.7y0w4gvtu5t3$.dlg@40tude.net> <a05466c6-a5b2-4556-b2ae-f5dae914618e@googlegroups.com> <r32htdfnq983$.11pztiqf0exyp.dlg@40tude.net> <b0921e5d-145a-4b63-aca8-07d16762237c@googlegroups.com> <1bdyzhjxr6bpk$.c818fbntfuq2.dlg@40tude.net> <662b778b-dfe2-4aea-8a2c-ce1ff031b8c2@googlegroups.com> <tz2y9ii7o8ii.2258yefkv9hw$.dlg@40tude.net> <643a99d1-fecd-478b-91f3-21bd3d17c36c@googlegroups.com> <3uwzf1631vpi.2nf4gmgc4dqh.dlg@40tude.net> <d8d829a6-32df-4ff0-a09a-d0f60445e115@googlegroups.com> <573dd8c2$0$651$65785112@news.neostrada.pl> <ac663f66-bf25-4446-8a8f-7d0eebf531c8@googlegroups.com>
From: Lemat <#@lemat.priv.pl>
Date: Tue, 24 May 2016 17:35:14 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
MIME-Version: 1.0
In-Reply-To: <ac663f66-bf25-4446-8a8f-7d0eebf531c8@googlegroups.com>
Lines: 24
Message-ID: <57447444$0$654$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 79.189.200.118
X-Trace: 1464104004 unt-rea-b-01.news.neostrada.pl 654 79.189.200.118:58768
X-Complaints-To: abuse@news.neostrada.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit