View previous topic :: View next topic |
Author |
Message |
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Sun Apr 18, 2004 3:22 pm Post subject: Postfix |
|
|
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Sun Apr 18, 2004 3:40 pm Post subject: |
|
|
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 |
|
|
_troll_ Bodhisattva
Joined: 04 Feb 2004 Posts: 1971 Location: Warszawa, Poland
|
Posted: Sun Apr 18, 2004 4:17 pm Post subject: |
|
|
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
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Sun Apr 18, 2004 4:44 pm Post subject: |
|
|
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
|
_________________ 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 |
|
|
_troll_ Bodhisattva
Joined: 04 Feb 2004 Posts: 1971 Location: Warszawa, Poland
|
Posted: Sun Apr 18, 2004 5:03 pm Post subject: |
|
|
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Sun Apr 18, 2004 5:18 pm Post subject: |
|
|
dziala jupii 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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Sun Apr 18, 2004 5:29 pm Post subject: |
|
|
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Sun Apr 18, 2004 5:41 pm Post subject: |
|
|
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 |
|
|
_troll_ Bodhisattva
Joined: 04 Feb 2004 Posts: 1971 Location: Warszawa, Poland
|
Posted: Sun Apr 18, 2004 7:40 pm Post subject: |
|
|
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 |
|
|
misterLu Guru
Joined: 14 Sep 2003 Posts: 430 Location: Poland
|
Posted: Sun Apr 18, 2004 8:21 pm Post subject: |
|
|
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Mon Apr 19, 2004 5:25 am Post subject: |
|
|
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Mon Apr 19, 2004 5:38 am Post subject: |
|
|
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 |
|
|
Astral_ Tux's lil' helper
Joined: 24 Mar 2004 Posts: 137 Location: Poland (Tarnów)
|
Posted: Mon Apr 19, 2004 5:47 am Post subject: |
|
|
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 |
|
|
|