Postfix, dovecot nie wysy

Konfiguracja serwerów, usług, itp.
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Postfix, dovecot nie wysyła poczty na zewnątrz

Post autor: szlejk »

Witam.
Zainstalowałem na swoim serwerze serwer poczty, wzorowałem się tym poradnikiem: http://tmp.pr0geek.com/postfix.html.

Wszystko przebiegło poprawnie, mogę wysyłać wiadomości do użytkowników systemu. Problem pojawia się w przypadku wysyłania wiadomości "na zewnątrz"

Będę wdzięczny za wszelką pomoc.

Pozdrawiam
Mirek

main.cf

Kod: Zaznacz cały

command_directory = /usr/sbinmail_owner = postfix
mydomain = donga-server.pl
myhostname = donga-server


myorigin = /etc/mailname
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $mydomain, $myhostname, localhost, localhost.localdomain,


mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
inet_interfaces = all
inet_protocols = ipv4
home_mailbox = Maildir/
mail_spool_directory = /home/
smtpd_banner = ESMTP on $myhostname 


mailbox_size_limit = 0
recipient_delimiter = +


biff = no
append_dot_mydomain = no
relayhost =


#AUTH SMTP
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname


#ZABESPIECZENIE PRZED SPAMEM
smtpd_recipient_restrictions =
    permit_mynetworks,
    permit_sasl_authenticated,
    reject_unauth_destination,
    reject_unknown_recipient_domain,
    reject_non_fqdn_recipient
smtpd_client_restrictions =
    permit_sasl_authenticated,
    #reject_unknown_client,
    reject_rbl_client dul.dnsbl.sorbs.net,
    reject_rbl_client list.dsbl.org,
    reject_rbl_client sbl.spamhaus.org,
    reject_rbl_client cbl.abuseat.org
smtpd_sender_restrictions =
    permit_sasl_authenticated,
    reject_unknown_sender_domain,
    reject_non_fqdn_sender,
    reject_unknown_address


#TLS
smtpd_tls_auth_only = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/mail.pem
smtpd_tls_cert_file = /etc/postfix/ssl/mail.pem
smtpd_tls_CAfile = /etc/postfix/ssl/mail.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
tls_random_source = dev:/dev/urandom
dovecot.conf

Kod: Zaznacz cały

base_dir = /var/run/dovecot/protocols = imap imaps pop3 pop3s
listen = *
disable_plaintext_auth = no
shutdown_clients = yes


#logi
log_path= /var/log/dovecot.log
info_log_path = /var/log/mail.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
syslog_facility = mail


login_process_size = 64
login_greeting = Welcome. I’m ready ...
login_log_format_elements = user=<%u> method=%m rip=%r lip=%l %c
login_log_format = %$: %s


login_chroot = no
login_user = dovecot
login_process_per_connection = yes
login_processes_count = 3
login_max_processes_count = 128
mail_location = maildir:~/Maildir


#SSL
ssl= yes
ssl_cert_file = /etc/postfix/ssl/mail.pem
ssl_key_file = /etc/postfix/ssl/mail.pem
verbose_ssl = yes
mail_access_groups = postfix
protocol imap {
}
protocol pop3 {
pop3_uidl_format = %08Xu%08Xv
} 


protocol lda {
postmaster_address = postmaster@donga-server.pl
}
auth_verbose = yes
auth_debug = yes
auth default {
mechanisms = plain login
passdb pam {
}
userdb passwd {


}
user = root


socket listen {
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
dict {
}
plugin {
}
mail.log

Kod: Zaznacz cały

2013-04-01 18:52:19 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 18:52:19 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
2013-04-01 18:52:21 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=37872    resp=<hidden>
2013-04-01 18:52:21 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 18:52:21 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 18:52:21 auth(default): Info: new auth connection: pid=1470
2013-04-01 18:52:21 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 18:52:21 auth(default): Info: master in: REQUEST    7    1468    1
2013-04-01 18:52:21 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 18:52:21 auth(default): Info: master out: USER    7    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 18:52:21 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 18:52:21 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
2013-04-01 18:52:25 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=37873    resp=<hidden>
2013-04-01 18:52:25 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 18:52:25 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 18:52:26 auth(default): Info: new auth connection: pid=1472
2013-04-01 18:52:26 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 18:52:26 auth(default): Info: master in: REQUEST    8    1470    1
2013-04-01 18:52:26 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 18:52:26 auth(default): Info: master out: USER    8    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 18:52:26 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 18:52:26 IMAP(szlejk): Info: Disconnected: Logged out bytes=117/1398
Apr  1 18:54:03 donga-server postfix/master[1330]: reload -- version 2.7.1, configuration /etc/postfix
Apr  1 18:54:11 donga-server postfix/master[1330]: terminating on signal 15
Apr  1 18:54:12 donga-server postfix/master[1593]: daemon started -- version 2.7.1, configuration /etc/postfix
Apr  1 18:54:35 donga-server postfix/tlsmgr[1603]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix
Apr  1 18:54:35 donga-server postfix/tlsmgr[1603]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr  1 18:54:35 donga-server postfix/tlsmgr[1603]: warning: request to update table btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Apr  1 18:54:35 donga-server postfix/tlsmgr[1603]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr  1 18:54:35 donga-server postfix/smtpd[1601]: connect from localhost[127.0.0.1]
Apr  1 18:54:37 donga-server postfix/smtpd[1601]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<bankowskimiroslaw@gmail.com> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 18:54:37 donga-server postfix/smtpd[1601]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 18:54:37 donga-server postfix/smtpd[1601]: disconnect from localhost[127.0.0.1]
2013-04-01 19:02:22 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=40354    resp=<hidden>
2013-04-01 19:02:22 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:02:22 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:02:22 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:02:22 auth(default): Info: master in: REQUEST    9    1472    1
2013-04-01 19:02:22 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:02:22 auth(default): Info: master out: USER    9    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:02:22 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:02:23 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
2013-04-01 19:02:23 auth(default): Info: new auth connection: pid=1609
2013-04-01 19:05:16 dovecot: Info: Dovecot v1.2.15 starting up (core dumps disabled)
2013-04-01 19:05:17 auth(default): Info: new auth connection: pid=1634
2013-04-01 19:05:17 auth(default): Info: new auth connection: pid=1635
2013-04-01 19:05:17 auth(default): Info: new auth connection: pid=1636
2013-04-01 19:05:17 auth(default): Info: new auth connection: pid=1633
2013-04-01 19:05:17 auth(default): Info: new auth connection: pid=1632
2013-04-01 19:05:17 auth(default): Info: new auth connection: pid=1637
Apr  1 19:05:35 donga-server postfix/smtpd[1640]: connect from localhost[127.0.0.1]
Apr  1 19:05:45 donga-server postfix/smtpd[1640]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<bankowskimiroslaw@gmail.com> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 19:05:45 donga-server postfix/smtpd[1640]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 19:05:45 donga-server postfix/smtpd[1640]: disconnect from localhost[127.0.0.1]
2013-04-01 19:06:16 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=40518    resp=<hidden>
2013-04-01 19:06:16 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:06:16 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:06:16 auth(default): Info: new auth connection: pid=1645
2013-04-01 19:06:17 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:06:17 auth(default): Info: master in: REQUEST    1    1637    1
2013-04-01 19:06:17 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:06:17 auth(default): Info: master out: USER    1    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:06:17 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:06:17 IMAP(szlejk): Info: Disconnected: Logged out bytes=117/1398
Apr  1 19:06:41 donga-server postfix/smtpd[1640]: connect from localhost[127.0.0.1]
Apr  1 19:06:41 donga-server postfix/smtpd[1640]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<szlejk@plusnet.pl> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 19:06:41 donga-server postfix/smtpd[1640]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 19:06:41 donga-server postfix/smtpd[1640]: disconnect from localhost[127.0.0.1]
Apr  1 19:11:28 donga-server postfix/smtpd[1661]: connect from localhost[127.0.0.1]
Apr  1 19:11:34 donga-server postfix/smtpd[1661]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<szlejk@plusnet.pl> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 19:11:34 donga-server postfix/smtpd[1661]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 19:11:34 donga-server postfix/smtpd[1661]: disconnect from localhost[127.0.0.1]
2013-04-01 19:12:23 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41057    resp=<hidden>
2013-04-01 19:12:23 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:12:23 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:12:23 auth(default): Info: new auth connection: pid=1669
2013-04-01 19:12:24 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:12:24 auth(default): Info: master in: REQUEST    2    1645    1
2013-04-01 19:12:24 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:12:24 auth(default): Info: master out: USER    2    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:12:24 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:12:24 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
Apr  1 19:13:23 donga-server postfix/master[1593]: terminating on signal 15
Apr  1 19:13:23 donga-server postfix/master[1771]: daemon started -- version 2.7.1, configuration /etc/postfix
Apr  1 19:13:30 donga-server postfix/master[1771]: reload -- version 2.7.1, configuration /etc/postfix
Apr  1 19:13:32 donga-server postfix/master[1771]: terminating on signal 15
Apr  1 19:13:33 donga-server postfix/master[1890]: daemon started -- version 2.7.1, configuration /etc/postfix
Apr  1 19:13:49 donga-server postfix/tlsmgr[1900]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix
Apr  1 19:13:49 donga-server postfix/tlsmgr[1900]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr  1 19:13:49 donga-server postfix/tlsmgr[1900]: warning: request to update table btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Apr  1 19:13:49 donga-server postfix/tlsmgr[1900]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr  1 19:13:49 donga-server postfix/smtpd[1898]: connect from localhost[127.0.0.1]
Apr  1 19:13:49 donga-server postfix/smtpd[1898]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<szlejk@plusnet.pl> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 19:13:49 donga-server postfix/smtpd[1898]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 19:13:49 donga-server postfix/smtpd[1898]: disconnect from localhost[127.0.0.1]
Apr  1 19:14:02 donga-server postfix/smtpd[1898]: connect from localhost[127.0.0.1]
Apr  1 19:14:02 donga-server postfix/smtpd[1898]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<szlejk@tlen.pl> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 19:14:02 donga-server postfix/smtpd[1898]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 19:14:02 donga-server postfix/smtpd[1898]: disconnect from localhost[127.0.0.1]
Apr  1 19:14:22 donga-server postfix/smtpd[1898]: connect from localhost[127.0.0.1]
Apr  1 19:14:22 donga-server postfix/smtpd[1898]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<szlejk@gg.pl> proto=ESMTP helo=<[192.168.1.2]>
Apr  1 19:14:22 donga-server postfix/smtpd[1898]: lost connection after RCPT from localhost[127.0.0.1]
Apr  1 19:14:22 donga-server postfix/smtpd[1898]: disconnect from localhost[127.0.0.1]
2013-04-01 19:14:30 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41247    resp=<hidden>
2013-04-01 19:14:30 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:14:30 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:14:30 auth(default): Info: new auth connection: pid=1902
2013-04-01 19:14:31 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:14:31 auth(default): Info: master in: REQUEST    3    1669    1
2013-04-01 19:14:31 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:14:31 auth(default): Info: master out: USER    3    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:14:31 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:14:31 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
2013-04-01 19:15:55 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41384    resp=<hidden>
2013-04-01 19:15:55 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:15:55 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:15:55 auth(default): Info: new auth connection: pid=1904
2013-04-01 19:15:56 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:15:56 auth(default): Info: master in: REQUEST    4    1902    1
2013-04-01 19:15:56 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:15:56 auth(default): Info: master out: USER    4    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:15:56 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:15:56 IMAP(szlejk): Info: Disconnected: Logged out bytes=117/1398
2013-04-01 19:15:58 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41385    resp=<hidden>
2013-04-01 19:15:58 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:15:58 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:15:58 auth(default): Info: new auth connection: pid=1906
2013-04-01 19:15:59 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:15:59 auth(default): Info: master in: REQUEST    5    1904    1
2013-04-01 19:15:59 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:15:59 auth(default): Info: master out: USER    5    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:15:59 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:15:59 IMAP(szlejk): Info: Disconnected: Logged out bytes=294/3065
2013-04-01 19:16:09 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41392    resp=<hidden>
2013-04-01 19:16:09 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:16:09 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:16:10 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:16:10 auth(default): Info: master in: REQUEST    6    1906    1
2013-04-01 19:16:10 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:16:10 auth(default): Info: master out: USER    6    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:16:10 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:16:10 auth(default): Info: new auth connection: pid=1908
2013-04-01 19:16:10 IMAP(szlejk): Info: Disconnected: Logged out bytes=150/1074
2013-04-01 19:16:11 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41393    resp=<hidden>
2013-04-01 19:16:11 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:16:11 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:16:11 auth(default): Info: new auth connection: pid=1910
2013-04-01 19:16:11 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:16:11 auth(default): Info: master in: REQUEST    7    1908    1
2013-04-01 19:16:11 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:16:11 auth(default): Info: master out: USER    7    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:16:11 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:16:12 IMAP(szlejk): Info: Disconnected: Logged out bytes=114/1398
Apr  1 19:21:45 donga-server postfix/master[1890]: reload -- version 2.7.1, configuration /etc/postfix
Apr  1 19:21:52 donga-server postfix/master[1890]: terminating on signal 15
Apr  1 19:21:53 donga-server postfix/master[2038]: daemon started -- version 2.7.1, configuration /etc/postfix
2013-04-01 19:22:22 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41837    resp=<hidden>
2013-04-01 19:22:22 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:22 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:22 auth(default): Info: new auth connection: pid=2046
2013-04-01 19:22:23 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:23 auth(default): Info: master in: REQUEST    8    1910    1
2013-04-01 19:22:23 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:23 auth(default): Info: master out: USER    8    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:23 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:23 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
2013-04-01 19:22:25 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41839    resp=<hidden>
2013-04-01 19:22:25 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:25 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:25 auth(default): Info: new auth connection: pid=2048
2013-04-01 19:22:26 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:26 auth(default): Info: master in: REQUEST    9    2046    1
2013-04-01 19:22:26 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:26 auth(default): Info: master out: USER    9    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:26 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:26 IMAP(szlejk): Info: Disconnected: Logged out bytes=117/1398
2013-04-01 19:22:28 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41841    resp=<hidden>
2013-04-01 19:22:28 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:28 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:28 auth(default): Info: new auth connection: pid=2050
2013-04-01 19:22:29 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:29 auth(default): Info: master in: REQUEST    10    2048    1
2013-04-01 19:22:29 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:29 auth(default): Info: master out: USER    10    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:29 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:29 IMAP(szlejk): Info: Disconnected: Logged out bytes=120/1395
2013-04-01 19:22:32 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41842    resp=<hidden>
2013-04-01 19:22:32 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:32 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:32 auth(default): Info: new auth connection: pid=2052
2013-04-01 19:22:33 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:33 auth(default): Info: master in: REQUEST    11    2050    1
2013-04-01 19:22:33 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:33 auth(default): Info: master out: USER    11    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:33 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:33 IMAP(szlejk): Info: Disconnected: Logged out bytes=114/1398
2013-04-01 19:22:35 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41843    resp=<hidden>
2013-04-01 19:22:35 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:35 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:35 auth(default): Info: new auth connection: pid=2054
2013-04-01 19:22:36 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:36 auth(default): Info: master in: REQUEST    12    2052    1
2013-04-01 19:22:36 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:36 auth(default): Info: master out: USER    12    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:36 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:36 IMAP(szlejk): Info: Disconnected: Logged out bytes=297/3397
2013-04-01 19:22:44 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41845    resp=<hidden>
2013-04-01 19:22:44 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:44 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:44 auth(default): Info: new auth connection: pid=2056
2013-04-01 19:22:45 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:45 auth(default): Info: master in: REQUEST    13    2054    1
2013-04-01 19:22:45 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:45 auth(default): Info: master out: USER    13    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:45 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:45 IMAP(szlejk): Info: Disconnected: Logged out bytes=122/1082
2013-04-01 19:22:45 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=41846    resp=<hidden>
2013-04-01 19:22:45 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:22:45 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:22:45 auth(default): Info: new auth connection: pid=2058
2013-04-01 19:22:46 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:22:46 auth(default): Info: master in: REQUEST    14    2056    1
2013-04-01 19:22:46 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:22:46 auth(default): Info: master out: USER    14    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:22:46 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:22:46 IMAP(szlejk): Info: Disconnected: Logged out bytes=117/1398
Apr  1 19:31:53 donga-server postfix/qmgr[2045]: 4D1396764: from=<root@donga-server.pl>, size=434, nrcpt=1 (queue active)
Apr  1 19:31:53 donga-server postfix/tlsmgr[2066]: warning: request to update table btree:/var/spool/postfix/smtpd_scache in non-postfix directory /var/spool/postfix
Apr  1 19:31:53 donga-server postfix/tlsmgr[2066]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr  1 19:31:53 donga-server postfix/tlsmgr[2066]: warning: request to update table btree:/var/spool/postfix/smtp_scache in non-postfix directory /var/spool/postfix
Apr  1 19:31:53 donga-server postfix/tlsmgr[2066]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfix
Apr  1 19:31:54 donga-server postfix/smtp[2065]: connect to donga-sever.pl[217.74.65.145]:25: Connection refused
Apr  1 19:31:54 donga-server postfix/smtp[2065]: 4D1396764: to=<szlejk@donga-sever.pl>, relay=none, delay=75306, delays=75306/0.2/0.14/0, dsn=4.4.1, status=deferred (connect to donga-sever.pl[217.74.65.145]:25: Connection refused)
2013-04-01 19:32:23 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=42243    resp=<hidden>
2013-04-01 19:32:23 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:32:23 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:32:23 auth(default): Info: new auth connection: pid=2068
2013-04-01 19:32:24 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:32:24 auth(default): Info: master in: REQUEST    15    2058    1
2013-04-01 19:32:24 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:32:24 auth(default): Info: master out: USER    15    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:32:24 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:32:24 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
2013-04-01 19:42:24 auth(default): Info: client in: AUTH    1    PLAIN    service=imap    secured    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=42558    resp=<hidden>
2013-04-01 19:42:24 auth-worker(default): Info: pam(szlejk,127.0.0.1): lookup service=dovecot
2013-04-01 19:42:24 auth-worker(default): Info: pam(szlejk,127.0.0.1): #1/1 style=1 msg=Password: 
2013-04-01 19:42:24 auth(default): Info: new auth connection: pid=2078
2013-04-01 19:42:25 auth(default): Info: client out: OK    1    user=szlejk
2013-04-01 19:42:25 auth(default): Info: master in: REQUEST    16    2068    1
2013-04-01 19:42:25 auth(default): Info: passwd(szlejk,127.0.0.1): lookup
2013-04-01 19:42:25 auth(default): Info: master out: USER    16    szlejk    system_groups_user=szlejk    uid=1000gid=1000    home=/home/szlejk
2013-04-01 19:42:25 imap-login: Info: Login: user=<szlejk>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
2013-04-01 19:42:25 IMAP(szlejk): Info: Disconnected: Logged out bytes=79/682
szlejk@donga-server:~$ 
Awatar użytkownika
LordRuthwen
Moderator
Posty: 2341
Rejestracja: 18 września 2009, 21:45
Lokalizacja: klikash?

Post autor: LordRuthwen »

Zakładam, że chodzi o to:

Kod: Zaznacz cały

NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 554 5.7.1 Service unavailable; Client host [127.0.0.1] blocked using dul.dnsbl.sorbs.net; from=<szlejk@donga-server.pl> to=<szlejk@plusnet.pl> proto=ESMTP helo=<[192.168.1.2]>
Na początek wywal tą linię:

Kod: Zaznacz cały

reject_rbl_client dul.dnsbl.sorbs.net,
A potem się zobaczy.
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Post autor: szlejk »

Witam.

Już to zrobiłem wcześniej zmieniłem co nie co w konfiguracji, ale dalej błąd

main.cf

Kod: Zaznacz cały

command_directory = /usr/sbinmail_owner = postfix
mydomain = donga-server.pl
myhostname = donga-server


myorigin = /etc/mailname
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = $mydomain, $myhostname, localhost, localhost.localdomain,


mynetworks = 127.0.0.1
inet_interfaces = all
inet_protocols = ipv4
home_mailbox = Maildir/
mail_spool_directory = /home/
smtpd_banner = ESMTP on $myhostname 


mailbox_size_limit = 0
recipient_delimiter = +


biff = no
append_dot_mydomain = no
relayhost =


#AUTH SMTP
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_authenticated_header = yes


#zabezpieczenia
#Zezwalaj na połączenia z zaufanych sieciach tylko 
smtpd_client_restrictions = permit_mynetworks


#Nie mów do systemów pocztowych, które nie znają własnej nazwy.
smtpd_helo_restrictions = reject_unknown_helo_hostname


#Nie odbierać pocztę z domen, które nie istnieją
smtpd_sender_restrictions = reject_unknown_sender_domain


#uwierzytelnionych klientów może podać dowolną domenę docelową.
#smtpd_relay_restrictions = permit_mynetworks, 
    #permit_sasl_authenticated,
    #reject_unauth_destination


# Spam kontroli: wykluczyć lokalnych klientów i uwierzytelnionych klientów
# z DNSBL sprawdzanie.
smtpd_recipient_restrictions = permit_mynetworks, 
    permit_sasl_authenticated,
    # reject_unauth_destination is not needed here if the mail
    # relay policy is specified under smtpd_relay_restrictions
    # (available with Postfix 2.10 and later).
    reject_unauth_destination
    reject_rbl_client zen.spamhaus.org,
    reject_rhsbl_helo dbl.spamhaus.org,
    reject_rhsbl_sender dbl.spamhaus.org


#Klienci listw mówiące zbyt często.
smtpd_data_restrictions = reject_unauth_pipelining


# Enforce mail volume quota via policy service callouts.
#smtpd_end_of_data_restrictions = check_policy_service unix :p rivate/policy


#TLS
smtpd_tls_auth_only = yes
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/mail.pem
smtpd_tls_cert_file = /etc/postfix/ssl/mail.pem
smtpd_tls_CAfile = /etc/postfix/ssl/mail.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
#smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
#smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache
smtp_tls_session_cache_database = btree:/var/lib/postfix/smtp_scache
tls_random_source = dev:/dev/urandom
i w logach mam teraz tak

mail.log

Kod: Zaznacz cały

Apr  2 11:20:44 donga-server postfix/master[3351]: reload -- version 2.7.1, configuration /etc/postfix
Apr  2 11:20:47 donga-server postfix/master[3351]: terminating on signal 15
Apr  2 11:20:47 donga-server postfix/master[3489]: daemon started -- version 2.7.1, configuration /etc/postfix
Apr  2 11:21:28 donga-server postfix/smtpd[3502]: connect from localhost[127.0.0.1]
Apr  2 11:21:28 donga-server postfix/smtpd[3502]: AFF2A679B: client=localhost[127.0.0.1]
Apr  2 11:21:28 donga-server postfix/cleanup[3506]: AFF2A679B: message-id=<4fee626446b6a20dab5b2708efe07d0e.squirrel@192.168.1.2>
Apr  2 11:21:28 donga-server postfix/smtpd[3502]: disconnect from localhost[127.0.0.1]
Apr  2 11:21:28 donga-server postfix/qmgr[3496]: AFF2A679B: from=<szlejk@donga-server.pl>, size=710, nrcpt=1 (queue active)
Apr  2 11:21:29 donga-server postfix/smtp[3507]: AFF2A679B: to=<szlejk@tlen.pl>, relay=mx11.go2.pl[193.17.41.141]:25, delay=0.55, delays=0.17/0.09/0.27/0.01, dsn=5.0.0, status=bounced (host mx11.go2.pl[193.17.41.141] said: 553 Sender address rejected: Domain not found (in reply to MAIL FROM command))
Apr  2 11:21:29 donga-server postfix/cleanup[3506]: 4B2096905: message-id=<20130402092129.4B2096905@donga-server>
Apr  2 11:21:29 donga-server postfix/bounce[3508]: AFF2A679B: sender non-delivery notification: 4B2096905
Apr  2 11:21:29 donga-server postfix/qmgr[3496]: 4B2096905: from=<>, size=2646, nrcpt=1 (queue active)
Apr  2 11:21:29 donga-server postfix/qmgr[3496]: AFF2A679B: removed
Apr  2 11:21:29 donga-server postfix/local[3509]: 4B2096905: to=<szlejk@donga-server.pl>, relay=local, delay=0.31, delays=0.08/0.06/0/0.17, dsn=2.0.0, status=sent (delivered to maildir)
Apr  2 11:21:29 donga-server postfix/qmgr[3496]: 4B2096905: removed
A w drugą strone dostaje komunikat

Kod: Zaznacz cały

[font=Arial]This is the mail system at host tur.go2.pl.[/font]
I'm sorry to have to inform you that your message could notbe delivered to one or more recipients. It's attached below.For further assistance, please send mail to <postmaster>If you do so, please include this problem report. You candelete your own text from the attached returned message.                   The mail system<[url=http://poczta.o2.pl/?cmd=compose&to=szlejk@donga-server.pl]szlejk@donga-server.pl[/URL]>: Host or domain name not found. Name service errorfor [font=Arial]    name=donga-server.pl type=A: Host not found[/font]
mariaczi
Member
Posty: 1343
Rejestracja: 08 lutego 2008, 12:58
Lokalizacja: localhost@śląskie

Post autor: mariaczi »

Sam podałeś odpowiedź.
szlejk pisze:

Kod: Zaznacz cały

[font=Arial]This is the mail system at host tur.go2.pl.[/font] ... The mail system<[url=http://poczta.o2.pl/?cmd=compose&to=szlejk@donga-server.pl]szlejk@donga-server.pl[/URL]>: Host or domain name not found. Name service errorfor [font=Arial]    name=donga-server.pl type=A: Host not found[/font]
Zatem domena nie rozgłoszona albo 'mailname' niepoprawnie skonfigurowany.
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Post autor: szlejk »

Witam

Co do mailname to mam taki wpis

Kod: Zaznacz cały

szlejk@donga-server:~$ cat /etc/mailname donga-server.pl
A jak sprawdzić czy domena jest rozgłoszona?
Pozdrawiam
Awatar użytkownika
LordRuthwen
Moderator
Posty: 2341
Rejestracja: 18 września 2009, 21:45
Lokalizacja: klikash?

Post autor: LordRuthwen »

A masz jakikolwiek działający wpis w tej domenie?

Kod: Zaznacz cały

*** google-public-dns-a.google.com can't find donga-server.pl: Non-existent domain
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Post autor: szlejk »

Witam
Fakt domena donga-server.pl nie istnieje, posiadam wykupioną domene dla wlasnej strony www (inny adres). Rozumiem że powinienem wykupić najpierw domene, czy subdomena wystarczy?
sethiel
Junior Member
Posty: 762
Rejestracja: 28 stycznia 2008, 11:50
Lokalizacja: Wrocław

Post autor: sethiel »

Subdomena wystarczy. Znaczy się aby nie było nieporozumień adres test@super.sub.domena.mojej.domeny.internetowej.terazpolska.pl powinno działać - chyba jest RFC ograniczenie do 255 znaków, ale niektórzy na serwerach mają 124 ustawione.
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Post autor: szlejk »

Witam

Przepraszam za wykopki , ale problem dalej mam z pocztą.

Domena jest wykupiona (donga-server.pl) , poczta dociera na konta .plusnet.pl .gmail.com .o2.pl.
Problem jest w drugą stronę z odbiorem poczty :(
Proszę o wskazówki

Pozdrawiam
Mirek
Awatar użytkownika
szlejk
Beginner
Posty: 100
Rejestracja: 23 marca 2011, 22:48
Lokalizacja: Warszawa

Post autor: szlejk »

szlejk pisze:Witam

Przepraszam za wykopki , ale problem dalej mam z pocztą.

Domena jest wykupiona (donga-server.pl) , poczta dociera na konta .plusnet.pl .gmail.com .o2.pl.
Problem jest w drugą stronę z odbiorem poczty :(
Proszę o wskazówki

Pozdrawiam
Mirek
Przepraszam za wykopki :D
ODPOWIEDZ