Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Postfix
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Sun Apr 18, 2004 3:22 pm    Post subject: Postfix Reply with quote

Gdy wpisuje telnet localhost 25 to


Code:


Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

 




POWINNO JEDNAK WYRZUCIC WIECEJ IFORMACJI


Code:



Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.com ESMTP Postfix
EHLO domain.com
250-mail.domain.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
^]
telnet> quit





kto potrafi pomoc ?
_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Sun Apr 18, 2004 3:40 pm    Post subject: Reply with quote

Code:
EHLO moja.domena nic nie wyrzuca :/



gdy wysylam zpoprzz pine poczte uzywajac servera smtp to wyrzuca ze bleedne polaczenia z severem na porcie 25 :/
_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Sun Apr 18, 2004 4:17 pm    Post subject: Reply with quote

Astral_ wrote:
Code:
EHLO moja.domena nic nie wyrzuca :/



gdy wysylam zpoprzz pine poczte uzywajac servera smtp to wyrzuca ze bleedne polaczenia z severem na porcie 25 :/


Wydaje mi sie, ze blad sie pojawia kiedy przy okazji sciagasz pliki z sieci eDonkey - ale tylko podczas sciagania muzyki; filmy moga troche zamulac,a programy mozna sciagac do woli...........

Czy ktos cos z tego zrozumial? Nie - i tak samo jest z Twoim problemem. Nie podales wersji postfix'a, nie podales jego configa, nie powiedziales czy wygenerowales klucze ssh....... Czy my tu jestesmy wrozkami?

Troche jeszcze musisz sie nauczyc.....

Na start (jesli idzie o konfiguracje postfix'a) polecam http://linio.terramail.pl - znajdziesz tam dwa artykuly o podstawach konfiguracji postfix'a oraz o spieciu go z sasl'em. Niestety nie ma nic o dodaniu tsl'a do configa postfix'a.

BTW. Polecenie
Code:
postconf -n

daje listing z config'iem postfix'a. Jesli znowu bedziesz zglaszal jakis blad jego dzialania to jest to absolutne minimum zeby ktos mogl _postarac_ sie Ci pomoc.

Pozdrawiam,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Sun Apr 18, 2004 4:44 pm    Post subject: Reply with quote

mail.err

Code:
Apr 25 18:38:19 goa postfix/smtpd[6255]: fatal: parameter "smtpd_recipient_restrictions":
 specify at least one working instance of: check_relay_domains, reject_unauth_destination,
 reject, defer or defer_if_permit


wynik postcon -n
Quote:


alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 2
home_mailbox = .maildir/
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydomain = goa.trance.okay.pl
myhostname = goa.trance.okay.pl
mynetworks_style = host
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.19/readme
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.0.19/sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_recipient_restrictions =
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = goa.trance.okay.pl
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 450
Code:

_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Sun Apr 18, 2004 5:03 pm    Post subject: Reply with quote

W /etc/postfix/main.cf odpowiednio dodaj lub zmodyfikuj stosowne linijki na cos takiego:
Code:
smtpd_client_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_unknown_client, reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_non_fqdn_sender
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


Powinno pomoc.

Pozdrawiam,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Sun Apr 18, 2004 5:18 pm    Post subject: Reply with quote

dziala jupii :D thx
_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Sun Apr 18, 2004 5:29 pm    Post subject: Reply with quote

skad wiedziales ze to akurat to ?:)
w Kmail mam problme z certyfikatem :/
_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Sun Apr 18, 2004 5:41 pm    Post subject: Reply with quote

Quote:

root@goa misc # ./CA.pl -sign
Using configuration from /etc/ssl/openssl.cnf
17845:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:329:group=CA_default name=unique_subject
Enter pass phrase for ./demoCA/private/cakey.pem:

_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
_troll_
Bodhisattva
Bodhisattva


Joined: 04 Feb 2004
Posts: 1971
Location: Warszawa, Poland

PostPosted: Sun Apr 18, 2004 7:40 pm    Post subject: Reply with quote

Astral_ wrote:
skad wiedziales ze to akurat to ?:)

Po logu, ktorego dales i upewnilem sie po obejrzeniu postconf'a.

Astral_ wrote:
w Kmail mam problme z certyfikatem :/

Nie uzywam. I nie spotkalem sie z Twoim problemem. Mozliwosci sa dwie:
a) masz zwalonego openssl'a - mozna reemerge'owac (strzelam po dziwnym komunikacie jaki dostajesz.... nie edytowlem nigdy tego pliku - nie bylo mi to potrzebne)
b) masz zwalona konfigurajce, ale nie moge dojrzec gdzie.

Na poczatek wyprobuj opcje b) . Pod adresami
http://docs.biostat.wustl.edu/postfix/html/TLS/myownca.html
http://docs.biostat.wustl.edu/postfix/html/TLS/setup.html
znajdziesz podstawy konfiguracji i tworzenia certyfikatow - przeczytaj (sic!!), wygeneruj ponownie klucze, przejrzyj czy konfiguracja jest taka jaka w tych howto'sach. Moze pomoc. Opisy sa sensowne, chociaz na redhat'a.

Pozdrawiam,
Przemek
_________________
Życie jest jak pudełko czekoladek....
Nigdy nie wiesz na co trafisz" by mother of Forrest Gump
Back to top
View user's profile Send private message
misterLu
Guru
Guru


Joined: 14 Sep 2003
Posts: 430
Location: Poland

PostPosted: Sun Apr 18, 2004 8:21 pm    Post subject: Reply with quote

Astral_: chcesz mieć szyfrowane połączenie Kmail'a z twoim Postfixem ?
Bo jak nie, to ssl nie jest Ci w ogóle potrzebne.
a żeby Kmail (Outlook) sie mogł połączyć z Postfixem, to do tego wystarczy saslauth.
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Mon Apr 19, 2004 5:25 am    Post subject: Reply with quote

heh :) Dziekuje


Hm .. nie wiem czy problem nie tkwi w tym ze mail host jest taki sma jak cetryfkatu hm ..


zaraz przestudiujesz te linki co mi dales ... :)

jak juz wposmnialem robilem wg. gentoo.org :)



Pozdrawiam :)
_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Mon Apr 19, 2004 5:38 am    Post subject: Reply with quote

Code:
Using configuration from /etc/ssl/openssl.cnf
5316:error:0E06D06C:configuration file routines:NCONF_get_string:no value:conf_lib.c:329:group=CA_default name=unique_subject
Enter pass phrase for ./demoCA/private/cakey.pem

_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
Astral_
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 137
Location: Poland (Tarnów)

PostPosted: Mon Apr 19, 2004 5:47 am    Post subject: Reply with quote

wywalilem calego openssl;a razem z configiem i tymi certyfikatami ktore robilem :) hehe

przeemerguje is ie pobawie po szkole :)
_________________
Pozdrawiam £ukasz
Gentoo 1.4
KDE 3.2.1
Kernel 2.6.4-ck1
Kadu 0.3.8

Electric Universe - The Prayer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum